CN109274445A - Electronic equipment matching method, device, electronic equipment and storage medium - Google Patents
Electronic equipment matching method, device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN109274445A CN109274445A CN201811175874.5A CN201811175874A CN109274445A CN 109274445 A CN109274445 A CN 109274445A CN 201811175874 A CN201811175874 A CN 201811175874A CN 109274445 A CN109274445 A CN 109274445A
- Authority
- CN
- China
- Prior art keywords
- pairing
- frequency
- electronic equipment
- gateway
- communication channel
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B17/00—Monitoring; Testing
- H04B17/30—Monitoring; Testing of propagation channels
- H04B17/382—Monitoring; Testing of propagation channels for resource allocation, admission control or handover
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W72/00—Local resource management
- H04W72/04—Wireless resource allocation
- H04W72/044—Wireless resource allocation based on the type of the allocated resource
- H04W72/0453—Resources in frequency domain, e.g. a carrier in FDMA
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- Electromagnetism (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
This application involves a kind of electronic equipment matching method, device, electronic equipment and storage mediums.This method comprises:, by the frequency error factor of communication channel to pair frequency, pairing trigger signal is electromagnetic induction signal when detecting pairing trigger signal;The working frequency of paired device is obtained by communication channel;By the frequency error factor of communication channel to working frequency, to be communicated based on working frequency with paired device.The pairing that electronic equipment can be rapidly completed using this method and match between gateway is handled, and is increased paired communication device without additional, is thereby reduced the cost of electronic equipment.
Description
Technical field
This application involves technical field of electronic communication, set more particularly to a kind of electronic equipment matching method, device, electronics
Standby and storage medium.
Background technique
With the development of wireless communication technique, realize that the beam communication of short distance is widely used in using wireless communication technique
During we live.And in order to realize short distance beam communication, it usually needs matched to related electronic equipment, establish electricity
Binding relationship between sub- equipment is realized by the binding relationship and orients this function.For example, in ballot system, device of voting
It needs to be matched with main control end, so that ballot device only carries out data interaction with the main control end of pairing.
However, when matching clock synchronization using induction type, needing additionally to increase paired communication in current electronic equipment matching method
Device is to carry out pairing processing, for example, being provided with NFC in electronic equipment, (Near Field Communication, near field are logical
News) read-write chip, the pairing of electronic equipment and base station is realized using NFC technique.This additional increase paired communication device is matched
To mode, the cost of electronic equipment is added somewhat to.
Summary of the invention
Based on this, it is necessary in view of the above technical problems, provide a kind of electronic equipment that can reduce electronic equipment cost
Matching method, device, electronic equipment and storage medium.
A kind of electronic equipment matching method, which comprises
When detecting pairing trigger signal, by the frequency error factor of communication channel to pair frequency, the pairing triggering letter
Number be electromagnetic induction signal;
The working frequency of pairing gateway is obtained by the communication channel;
By the frequency error factor of the communication channel to the working frequency, based on the working frequency and the pairing net
Put capable communication into.
A kind of electronic equipment contrast means, described device include:
Match trigger module, for when detect pairing trigger signal when, by the frequency error factor of communication channel to match frequency
Rate, the pairing trigger signal are electromagnetic induction signal;
Working frequency obtains module, for obtaining the working frequency of pairing gateway by the communication channel;
Frequency error factor module, for by the frequency error factor of the communication channel to the working frequency, to be based on the work
Working frequency is communicated with the pairing gateway.
A kind of electronic equipment, including memory and processor, the memory are stored with computer program, the processor
It is performed the steps of when executing the computer program
When detecting pairing trigger signal, by the frequency error factor of communication channel to pair frequency, the pairing triggering letter
Number be electromagnetic induction signal;
The working frequency of pairing gateway is obtained by the communication channel;
By the frequency error factor of the communication channel to the working frequency, based on the working frequency and the pairing net
Put capable communication into.
A kind of computer readable storage medium, is stored thereon with computer program, and the computer program is held by processor
It is performed the steps of when row
When detecting pairing trigger signal, by the frequency error factor of communication channel to pair frequency, the pairing triggering letter
Number be electromagnetic induction signal;
The working frequency of pairing gateway is obtained by the communication channel;
By the frequency error factor of the communication channel to the working frequency, based on the working frequency and the pairing net
Put capable communication into.
Above-mentioned electronic equipment matching method, device, electronic equipment and storage medium, when detecting pairing trigger signal,
By the frequency error factor of communication channel to pair frequency, wherein pairing trigger signal is electromagnetic induction signal.By being matched in triggering
When, first by the frequency error factor of communication channel to general pair frequency, to receive the working frequency of pairing gateway, and receiving
After to pairing signal by the frequency error factor of communication channel be corresponding working frequency so that current device and pairing gateway later press
It is communicated according to specific working frequency, realize current device and matches the pairing between gateway.That is, passing through communication channel
Frequency error factor, the pairing processing between electronic equipment can be rapidly completed, increase paired communication device without additional, and then drop
The low cost of electronic equipment.
Detailed description of the invention
Fig. 1 is the applied environment figure of electronic equipment matching method in one embodiment;
Fig. 2 is the flow diagram of electronic equipment matching method in one embodiment;
Fig. 3 is the flow diagram of electronic equipment matching method in one embodiment;
Fig. 4 is the timing diagram of electronic equipment matching method in one embodiment;
Fig. 5 is the structural block diagram of electronic equipment contrast means in one embodiment;
Fig. 6 is the internal structure chart of electronic equipment in one embodiment.
Specific embodiment
It is with reference to the accompanying drawings and embodiments, right in order to which the objects, technical solutions and advantages of the application are more clearly understood
The application is further elaborated.It should be appreciated that specific embodiment described herein is only used to explain the application, not
For limiting the application.
Electronic equipment matching method provided by the present application, can be applied in application environment as shown in Figure 1.Referring to Fig.1,
The electronic equipment matching method is applied to electronic equipment pair system.The electronic equipment pair system includes 102 He of electronic equipment
Match gateway 104.Wherein, applying electronic equipment 102 is communicated with pairing gateway 104 by wireless network.Electronic equipment 102
Refer to that electric terminal, electric terminal can be, but not limited to be various personal computers, laptop, smart phone, plate electricity
Brain and portable wearable device.More specifically, by taking electronic equipment pair system is answering system or ballot system as an example, then
Electronic equipment 102 can be device for answering question, ballot device in answering system or ballot system etc..Pairing gateway 104 refers to and electricity
The gateway that sub- equipment 102 is matched.More specifically, can be the base station etc. in answering system or ballot system.
Wherein, electronic equipment 102 includes memory, processor and magneto sensor connected to the processor.Wherein, magnetosensitive member
Pairing trigger signal is generated when part is used for close to magnetic bodies, pairing trigger signal is electromagnetic induction signal;Memory is stored with
The step of computer program, processor realizes following electronic equipment matching method when executing computer program.Electronic equipment herein
The step of matching method, can be the step in the electronic equipment matching method of following each embodiment.
Specifically, when electronic equipment 102 is close to magnetic bodies, the magneto sensor of electronic equipment 102 is close to magnetic in other words
Property object when, magneto sensor can generate an electromagnetic induction signal, the electromagnetic induction signal as pairing trigger signal, be transmitted to
Processor, when processor detects the electromagnetic induction signal of magneto sensor output, starting pairing process.Wherein, electromagnetic induction is believed
Number refer to the electric signal that magneto sensor is generated according to magnetic signal.By can quickly trigger and criticize using magneto sensor triggering pairing
Amount electronic equipment is matched, and avoids the need for executing each electronic equipment one by one button operation to trigger the cumbersome of pairing.
In one embodiment, as shown in Fig. 2, providing a kind of electronic equipment matching method, it is applied to Fig. 1 in this way
In electronic equipment for be illustrated, comprising the following steps:
S202, when detecting pairing trigger signal, by the frequency error factor of communication channel to pair frequency, pairing triggering letter
Number be electromagnetic induction signal.
When processor detects the electromagnetic induction signal of magneto sensor output, into pairing mode, by the electronic equipment
Communication channel frequency error factor to pair frequency, to establish the communication based on pair frequency between electronic equipment and pairing gateway
Channel.
Pair frequency, which refers to, to be carried out with clock synchronization, the communication channel frequency point of electronic equipment and pairing gateway.Pair frequency is
Preconfigured general fixed frequency point, and pair frequency belongs to the fixed frequency range of the communication channel of electronic equipment.With answering system
Or for ballot system, the communication channel of the system generallys use the wireless channel of 2.4GHz frequency range, then pair frequency can match
The fixed frequency point of one be set in 2.4GHz frequency range.
S204 obtains the working frequency of pairing gateway by communication channel.
After triggering into pairing mode, electronic equipment monitors pairing gateway hair based on pair frequency locating for communication channel
The wireless instructions sent obtain the working frequency of pairing gateway according to the wireless instructions received.
Working frequency refers to that after the completion of pairing, electronic equipment, which matches used communication when gateway is communicated with it, to be believed
Road frequency point, working frequency also belong to the fixed frequency range of the communication channel of electronic equipment.Each pairing gateway has unique work
Frequency, and electronic equipment can be made by the way that different working frequencies is arranged to different pairing gateways different from pair frequency
It is communicated based on different working frequencies from different pairing gateways, avoids the interference between signal.With answering system or throwing
For bill system, different base stations has different working frequencies, and electronic equipment can be with work frequency based on different working frequencies
The corresponding base station of rate is communicated, so that interference-free between the signal of communication of different base station.Within the system, the work of base station
Frequency can be configured to a fixed frequency point in 2.4GHz frequency range, and the fixation frequency point is different from pair frequency.
In this application, in same electronic equipment pair system, pair frequency and working frequency belong in same frequency range.
That is, in same electronic equipment pair system, after the completion of either still being matched with clock synchronization, electronic equipment and pairing net
The communication channel that pass is all made of the same frequency range is communicated.
S206, by the frequency error factor of communication channel to working frequency, to be communicated based on working frequency with pairing gateway.
Specifically, it when the processor of electronic equipment obtains the working frequency of pairing gateway, controls the frequency of communication channel
Rate switches to working frequency, to establish the electronic equipment communication channel matched between gateway corresponding with the working frequency, and base
It is communicated in the working frequency with corresponding pairing gateway.For example, by the work frequency of the frequency error factor of communication channel to base station
Rate carries out answer data or the transmission of polled data etc. with base station.
Above-mentioned electronic equipment matching method, when detecting pairing trigger signal, by the frequency error factor of communication channel to matching
To frequency, wherein pairing trigger signal is electromagnetic induction signal.By matching clock synchronization in triggering, first by the frequency of communication channel
General pair frequency is switched to, to receive the working frequency of pairing gateway, and by communication channel after receiving pairing signal
Frequency error factor be corresponding working frequency so that current device and pairing gateway are led to according to specific working frequency later
Letter realizes current device and matches the pairing between gateway.That is, by the frequency error factor of communication channel, it can be quickly complete
At the pairing processing between electronic equipment, increases paired communication device without additional, thereby reduce the cost of electronic equipment.
In one embodiment, the step of obtaining the working frequency of pairing gateway by communication channel includes: to work as to pass through communication
When channel receives the pairing signal for carrying working frequency, parsing pairing signal obtains the working frequency of pairing gateway.
Pairing signal refers to the configuration information issued by pairing gateway.Wherein, configuration information includes but is not limited to match net
The working frequency of pass, for example can also include the unique code of channel, pairing code etc..Pairing code refers to the identifying code in communication data,
Each pairing gateway has corresponding unique pairing code, for judging the legitimacy of received data.
In the present embodiment, judge whether the data received by communication channel are pairing signal, when the number received
When according to for pairing signal, pairing signal is parsed, identification obtains the working frequency of pairing gateway in the data analytically obtained.So as to
The frequency error factor of communication channel is carried out based on working frequency obtained.
In one embodiment, the data that electronic equipment and pairing gateway are sent include pairing code, to realize to data
The verifying of legitimacy.Such as, the received pairing code of electronic equipment storage, and pairing code, pairing are carried in the data of transmission
After gateway receives data, judge whether the pairing code carried in data is consistent with the pairing code of itself, if unanimously, then it represents that should
Data are legal namely the data are destined to the pairing gateway, and then data are further processed;If inconsistent,
Then abandon the data received.Similarly, pairing gateway also carries pairing code in the data of transmission, and electronic equipment receives
When data, judge whether data are pairing signal, if so, executing processing relevant to pairing signal;If it is not, then continuing to judge
Whether the pairing code carried in data and the pairing code stored are consistent, if unanimously, then it represents that the data are legal, carry out to data
Further processing;If inconsistent, the data received are abandoned.
In one embodiment, when detecting pairing trigger signal, by the frequency error factor of communication channel to pair frequency
After step, further includes: obtain the monitoring time-consuming for monitoring pairing signal;When monitoring time-consuming reaches default monitoring duration, will lead to
Believe the frequency error factor of channel to history working frequency.
It monitors time-consuming to refer to when not receiving pairing signal, at the time of frequency error factor to the pair frequency of communication channel extremely
The total duration at current time.Before monitoring time-consuming and reaching preset duration or be to receive pairing signal, electronic equipment is always
In the state for monitoring pairing signal.
Specifically, when by the frequency error factor of communication channel to pair frequency, start to time-consuming timing is monitored, obtain prison
Time-consuming is listened, and judges whether monitoring time-consuming reaches default duration of monitoring and when the judgment result is yes cut the frequency of communication channel
Shift to history working frequency.Wherein, history working frequency refers to the working frequency before switching to pair frequency.In addition, if
Pairing signal is received, then terminates the timing to time-consuming is monitored.
That is, when not receiving pairing signal in default monitoring duration, communication is believed after triggering into pairing mode
The frequency error factor in road is to history working frequency, so that electronic equipment is based on the continuation of history working frequency and history working frequency institute is right
The pairing gateway answered is communicated, and avoids causing the communication disruption for matching gateway with history because false triggering is matched.
In one embodiment, after the step of obtaining the working frequency of pairing gateway by communication channel, further includes: generate
Carry the pairing application information of facility information;Pairing application information is sent to pairing gateway, so that pairing gateway is according to matching
Facility information is obtained to application information.
Wherein, facility information refers to the relevant information of electronic equipment itself.Facility information include but is not limited to device identification,
User identifier etc..Device identification specifically can be device id.Pairing application information is used to facility information being sent to pairing gateway
Record and/or verifying, to carry out pairing check.
Specifically, facility information is obtained, and pairing application information is generated according to facility information, pairing application information is sent
To pairing gateway, so that pairing gateway obtains facility information according to pairing application information, to match gateway to matching therewith
Pair the facility information of electronic equipment recorded and counted.By taking ballot system as an example, the ballot device device ID that voted is sent to
Base station, base station record the ballot device ID received after receiving ballot device ID, for example, ballot device ID is recorded in white list
In, in order to which subsequent voting results count and analyze.Further, facility information can also be sent to ballot system by base station
Main control end is recorded by main control end and is counted.
The sending step of application information is matched either by the frequency error factor of communication channel to working frequency the step of
It executes, is executed after being also possible to by the frequency error factor of communication channel to working frequency the step of before.That is, pairing application
Information can both be sent based on pair frequency, can also be sent based on working frequency.
In one embodiment, electronic equipment matching method further include: receive pairing gateway according to pairing application information feedback
Confirmation message, confirmation message is for confirming successful matching.
When pairing gateway receives the pairing application information of electronic equipment transmission, the electronic equipment is set if being completed
Standby information is recorded and/or is verified, then generates a confirmation message, and logical by what is established between pairing gateway and the electronic equipment
Believe channel, which is sent to the electronic equipment, when electronic equipment receives confirmation message, confirms successful matching, move back
Pairing mode out.
Wherein, pairing gateway is received according to the confirmation message of pairing application information feedback, and confirmation message is for confirming pairing
Successful step is also possible to either executing before the step of by the frequency error factor of communication channel to working frequency
It will be executed later the step of the frequency error factor of communication channel to working frequency.
In one embodiment, after the step of pairing application information being sent to pairing gateway, further includes: obtain pairing Shen
It please be time-consuming;When pairing application time-consuming reaches default application duration, by the frequency error factor of communication channel to history working frequency.
Pairing application time-consuming refers to when not receiving confirmation message, at the time of pairing application information is sent to pairing gateway
To the total duration at current time.
Specifically, when that will match application information and be sent to pairing gateway, start the timing time-consuming to pairing application, obtain
Pairing application is time-consuming, and judges whether pairing application time-consuming reaches default application duration and when the judgment result is yes believe communication
The frequency error factor in road is to history working frequency.In addition, terminating the timing time-consuming to pairing application if receiving confirmation message.
That is, applying not receiving corresponding confirmation message in duration when default after having sent pairing application information
When, indicate that pairing gateway does not carry out pairing check, at this time by the frequency error factor of communication channel to history working frequency, so that electric
Sub- equipment continues to be communicated with pairing gateway corresponding to history working frequency based on history working frequency, avoids because being paired with
Accidentally cause the communication disruption that gateway is matched with history.
In one embodiment, as shown in figure 3, electronic equipment matching method the following steps are included:
S301, when detecting pairing trigger signal, by the frequency error factor of communication channel to pair frequency, pairing triggering letter
Number be electromagnetic induction signal.
S302 monitors pairing signal.
S303 judges whether to receive the pairing signal for carrying working frequency.If so, executing step S307;Otherwise, it holds
Row step S304.
S304 obtains the monitoring time-consuming for monitoring pairing signal.
S305 judges that monitoring time-consuming reaches default monitoring duration.If so, executing step S306;Otherwise, return step
S302。
S306, by the frequency error factor of communication channel to history working frequency.And terminate to match.
S307, parsing pairing signal obtain the working frequency of pairing gateway.
S308, by the frequency error factor of communication channel to working frequency, to be communicated based on working frequency with pairing gateway.
S309 generates the pairing application information for carrying facility information.
Pairing application information is sent to pairing gateway by S310, so that pairing gateway is set according to pairing application information acquisition
Standby information.
S311 judges whether to receive pairing gateway according to the confirmation message of pairing application information feedback.If so, terminating
Pairing;Otherwise, step S312 is executed.
It is time-consuming to obtain pairing application by S312.
S313, judges whether pairing application time-consuming reaches default application duration.If so, executing step S306;Otherwise, it executes
Step S311.
Above-mentioned electronic equipment matching method, by can quickly trigger batch electronics and set using magneto sensor triggering pairing
It is standby to be matched, avoid the need for executing each electronic equipment one by one button operation to trigger the cumbersome of pairing.And matching
Pair and the transmission of subsequent data in be all made of the communication channel of same frequency range, it is only necessary to by the frequency error factor to communication channel,
Data transmission after coming area's distribution clock synchronization and pairing, the pairing that electronic equipment is rapidly completed and matches between gateway are handled, nothing
Paired communication device need to additionally be increased, thereby reduce the cost of electronic equipment.
Below by taking ballot system as an example, further electronic equipment matching method is illustrated.Wherein, ballot system includes
Main control end, base station and multiple needs are matched and the ballot device including magneto sensor with base station.As shown in figure 4, in the throwing
In bill system, the step of specifically executing following electronic equipment matching method:
Main control end sends matched order to base station, and base station enters pairing mode after receiving matched order, based on pairing frequency
Rate regularly sends pairing signal.Working frequency and pairing code are included at least in the present embodiment, in pairing signal.Wherein, it fixes time
Every can be configured according to demand, for example fixed time interval can be set to 200ms, base station sends primary pairing letter every 200ms
Number.
When device of voting is close to magnetisable material, the magneto sensor in device of voting generates electromagnetic induction signal, and exports and extremely throw
Processor in ticket device, when processor detects electromagnetic induction signal, by the frequency error factor of the communication channel for device of voting to pairing
Frequency, when receiving the pairing signal for carrying working frequency by communication channel, parsing pairing signal obtains the work of base station
Working frequency and pairing code, by the frequency error factor of communication channel to working frequency, while storing pairing code, then generate and carry throwing
Pairing application information is sent to base station by the pairing application information of ticket device ID and pairing code.
Base station receive pairing application information, and judge match application information in pairing code whether the pairing code one with itself
It causes, if unanimously, obtaining the ballot device ID in pairing application information, ballot device ID is added in white list, and the device ID that will vote
Main control end is sent to be recorded.Meanwhile base station generates confirmation message, and will confirm that information is sent to the pairing application information pair
The ballot device answered.When ballot device receives the confirmation message of base station transmission, terminate pairing (exiting pairing mode).
Above-mentioned electronic equipment matching method triggers pairing by the magneto sensor in ballot device, can quickly trigger batch
Ballot device is matched, and avoids the need for executing button operation one by one to each ballot device to trigger the cumbersome of pairing.And
The communication channel of same frequency range is all made of in pairing and the transmission of subsequent polled data, it is only necessary to pass through the frequency to communication channel
Switching, the data transmission after coming area's distribution clock synchronization and pairing, the pairing being rapidly completed between ballot device and base station are handled, are not necessarily to
Additionally increase paired communication device in ballot device, thereby reduces the cost of electronic equipment.
It should be understood that although each step in the flow chart of Fig. 2-4 is successively shown according to the instruction of arrow,
These steps are not that the inevitable sequence according to arrow instruction successively executes.Unless expressly stating otherwise herein, these steps
Execution there is no stringent sequences to limit, these steps can execute in other order.Moreover, at least one in Fig. 2-4
Part steps may include that perhaps these sub-steps of multiple stages or stage are not necessarily in synchronization to multiple sub-steps
Completion is executed, but can be executed at different times, the execution sequence in these sub-steps or stage is also not necessarily successively
It carries out, but can be at least part of the sub-step or stage of other steps or other steps in turn or alternately
It executes.
In one embodiment, as shown in figure 5, providing a kind of electronic equipment contrast means, comprising: pairing trigger module
502, working frequency obtains module 504 and frequency error factor module 506, in which:
Trigger module 502 is matched, for when detecting pairing trigger signal, the frequency error factor of communication channel extremely to be matched
Frequency, pairing trigger signal are electromagnetic induction signal.
Specifically, when matching the electromagnetic induction signal that trigger module 502 detects that magneto sensor exports, into matched dies
Formula, by the frequency error factor of the communication channel of the electronic equipment to pair frequency, to establish base between electronic equipment and pairing gateway
In the communication channel of pair frequency.
Working frequency obtains module 504, for obtaining the working frequency of pairing gateway by communication channel.Enter in triggering
After pairing mode, working frequency obtains module 504 and monitors the nothing that pairing gateway is sent based on pair frequency locating for communication channel
Line obtains the working frequency of pairing gateway according to the wireless instructions received.
Frequency error factor module 506, for by the frequency error factor of communication channel to working frequency, based on working frequency and to match
Gateway is communicated.
Specifically, when working frequency, which obtains module 504, obtains the working frequency of pairing gateway, frequency error factor module 506
Control by the frequency error factor of communication channel to working frequency, with establish electronic equipment pairing gateway corresponding with the working frequency it
Between communication channel, and communicated with corresponding pairing gateway based on the working frequency.For example, the frequency of communication channel is cut
The working frequency for shifting to base station carries out answer data or the transmission of polled data etc. with base station.
Above-mentioned electronic equipment contrast means match clock synchronization by electromagnetic induction signal triggering, first by the frequency of communication channel
General pair frequency is switched to, to receive the working frequency of pairing gateway, and by communication channel after receiving pairing signal
Frequency error factor be corresponding working frequency so that current device and pairing gateway are led to according to specific working frequency later
Letter realizes current device and matches the pairing between gateway.That is, by the frequency error factor of communication channel, it can be quickly complete
It is handled at the pairing between electronic equipment and pairing gateway, increases paired communication device without additional, thereby reduce electronics and set
Standby cost.
In one embodiment, electronic equipment contrast means further include signal judgment module, pass through communication channel for judging
Whether the data received are pairing signal.Further, working frequency obtains module 504, is connect for working as by communication channel
When receiving the pairing signal for carrying working frequency, parsing pairing signal obtains the working frequency of pairing gateway.
Pairing signal refers to the configuration information issued by pairing gateway.Wherein, configuration information includes but is not limited to match net
The working frequency of pass, for example can also include the unique code of channel, pairing code etc..Pairing code refers to the identifying code in communication data,
Each pairing gateway has corresponding unique pairing code, for judging the legitimacy of received data.
It in the present embodiment, whether is pairing signal by the data that receive of signal judgment module judgement, when receiving
Data when being pairing signal, working frequency obtains module 504 and parses pairing signal, identifies in the data analytically obtained and obtains
Match the working frequency of gateway.To carry out the frequency error factor of communication channel based on working frequency obtained.
In one embodiment, electronic equipment contrast means further include monitoring time-consuming processing module.Monitor time-consuming processing module
For obtaining the monitoring time-consuming for monitoring pairing signal.Specifically, it when by the frequency error factor of communication channel to pair frequency, monitors
It is time-consuming to obtain monitoring to time-consuming timing is monitored for time-consuming processing module starting.
In addition, monitoring time-consuming processing module is also used to judge whether monitoring time-consuming reaches default and monitor duration, and receiving
When to pairing signal, terminate to monitoring time-consuming timing.
In the present embodiment, frequency error factor module 506 is also used to when the judging result for monitoring time-consuming processing module is to be, will
The frequency error factor of communication channel is to history working frequency.Wherein, history working frequency refers to before switching to pair frequency
Working frequency.
That is, when not receiving pairing signal in default monitoring duration, communication is believed after triggering into pairing mode
The frequency error factor in road is to history working frequency, so that electronic equipment is based on the continuation of history working frequency and history working frequency institute is right
The pairing gateway answered is communicated, and avoids causing the communication disruption for matching gateway with history because false triggering is matched.
In one embodiment, electronic equipment contrast means further include that pairing application generation module and pairing application send mould
Block.Wherein, pairing application generation module, for generating the pairing application information for carrying facility information;Pairing application sends mould
Block is sent to pairing gateway for that will match application information, so that pairing gateway obtains facility information according to pairing application information.
Specifically, pairing application generation module obtains facility information, and generates pairing application information according to facility information, and
It is sent to pairing gateway by application information is matched by pairing application sending module, so that pairing gateway is according to pairing application information
Facility information is obtained, is recorded and is counted to match gateway to the facility information of the electronic equipment matched therewith.
In one embodiment, electronic equipment contrast means further include confirmation message processing module, for receiving pairing gateway
According to the confirmation message of pairing application information feedback, confirmation message is for confirming successful matching.
In one embodiment, when confirmation message processing module is also used to receive confirmation message, confirms successful matching, exit
Pairing mode.
Further, electronic equipment contrast means further include that time-consuming processing module is applied in pairing.The time-consuming processing of pairing application
Module is time-consuming for obtaining pairing application.Specifically, when that will match application information and be sent to pairing gateway, pairing application is time-consuming
The processing module starting timing time-consuming to pairing application, it is time-consuming to obtain pairing application.
In addition, pairing applies for that time-consuming processing module is also used to judge whether pairing application time-consuming reaches default application duration,
And when receiving confirmation message, the timing time-consuming to pairing application is terminated.
In the present embodiment, frequency error factor module 506 is also used to apply for that the judging result of time-consuming processing module is yes when pairing
When, by the frequency error factor of communication channel to history working frequency.
That is, applying not receiving corresponding confirmation message in duration when default after having sent pairing application information
When, indicate that pairing gateway does not carry out pairing check, at this time by the frequency error factor of communication channel to history working frequency, so that electric
Sub- equipment continues to be communicated with pairing gateway corresponding to history working frequency based on history working frequency, avoids because being paired with
Accidentally cause the communication disruption that gateway is matched with history.
Above-mentioned electronic equipment contrast means, by can quickly trigger batch electronics and set using magneto sensor triggering pairing
It is standby to be matched, avoid the need for executing each electronic equipment one by one button operation to trigger the cumbersome of pairing.And matching
Pair and the transmission of subsequent data in be all made of the communication channel of same frequency range, it is only necessary to by the frequency error factor to communication channel,
Data transmission after coming area's distribution clock synchronization and pairing, the pairing that electronic equipment is rapidly completed and matches between gateway are handled, nothing
Paired communication device need to additionally be increased, thereby reduce the cost of electronic equipment.
Specific about electronic equipment contrast means limits the limit that may refer to above for electronic equipment matching method
Fixed, details are not described herein.Modules in above-mentioned electronic equipment contrast means can fully or partially through software, hardware and its
Combination is to realize.Above-mentioned each module can be embedded in the form of hardware or independently of in the processor in electronic equipment, can also be with
Software form is stored in the memory in electronic equipment, executes the corresponding behaviour of the above modules in order to which processor calls
Make.
In one embodiment, a kind of electronic equipment is provided, which can be electric terminal, internal structure
Figure can be as shown in Figure 6.The electronic equipment includes processor, the memory, network interface, display screen connected by system bus
And input unit.Wherein, the processor of the electronic equipment is for providing calculating and control ability.The memory packet of the electronic equipment
Include non-volatile memory medium, built-in storage.The non-volatile memory medium is stored with operating system and computer program.This is interior
Memory provides environment for the operation of operating system and computer program in non-volatile memory medium.The net of the electronic equipment
Network interface is used to communicate with external terminal by network connection.To realize a kind of electricity when the computer program is executed by processor
Sub- device pairing method.The display screen of the electronic equipment can be liquid crystal display or electric ink display screen, which sets
Standby input unit can be the touch layer covered on display screen, be also possible to the key being arranged on electronic equipment casing, track
Ball or Trackpad can also be external keyboard, Trackpad or mouse etc..
It will be understood by those skilled in the art that structure shown in Fig. 6, only part relevant to application scheme is tied
The block diagram of structure, does not constitute the restriction for the electronic equipment being applied thereon to application scheme, and specific electronic equipment can be with
Including than more or fewer components as shown in the figure, perhaps combining certain components or with different component layouts.
In one embodiment, a kind of computer readable storage medium is provided, computer program is stored thereon with, is calculated
Machine program realizes the step of above-mentioned electronic equipment matching method when being executed by processor.The step of electronic equipment matching method herein
It can be the step in the electronic equipment matching method of above-mentioned each embodiment.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with
Instruct relevant hardware to complete by computer program, computer program to can be stored in a non-volatile computer readable
It takes in storage medium, the computer program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, this Shen
Please provided by any reference used in each embodiment to memory, storage, database or other media, may each comprise
Non-volatile and/or volatile memory.Nonvolatile memory may include read-only memory (ROM), programming ROM
(PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include
Random access memory (RAM) or external cache.By way of illustration and not limitation, RAM is available in many forms,
Such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDRSDRAM), enhancing
Type SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM
(RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
Each technical characteristic of above embodiments can be combined arbitrarily, for simplicity of description, not to above-described embodiment
In each technical characteristic it is all possible combination be all described, as long as however, the combination of these technical characteristics be not present lance
Shield all should be considered as described in this specification.
Above embodiments only express the several embodiments of the application, and the description thereof is more specific and detailed, but can not
Therefore it is construed as limiting the scope of the patent.It should be pointed out that for those of ordinary skill in the art,
Under the premise of not departing from the application design, various modifications and improvements can be made, these belong to the protection scope of the application.
Therefore, the scope of protection shall be subject to the appended claims for the application patent.
Claims (10)
1. a kind of electronic equipment matching method, which is characterized in that the described method includes:
When detecting pairing trigger signal, by the frequency error factor of communication channel to pair frequency, the pairing trigger signal is
Electromagnetic induction signal;
The working frequency of pairing gateway is obtained by the communication channel;
By the frequency error factor of the communication channel to the working frequency, with based on the working frequency and the pairing gateway into
Row communication.
2. the method according to claim 1, wherein the work for obtaining pairing gateway by the communication channel
Working frequency, comprising:
When receiving the pairing signal for carrying working frequency by the communication channel, parses the pairing signal and matched
To the working frequency of gateway.
3. according to the method described in claim 2, it is characterized in that, it is described when detect pairing trigger signal when, will communication letter
After the frequency error factor to pair frequency in road, further includes:
Obtain the monitoring time-consuming for monitoring pairing signal;
When the monitoring time-consuming reaches default monitoring duration, by the frequency error factor of the communication channel to history working frequency.
4. the method according to claim 1, wherein the work for obtaining pairing gateway by the communication channel
After working frequency, further includes:
Generate the pairing application information for carrying facility information;
The pairing application information is sent to the pairing gateway, so that the pairing gateway is according to the pairing application information
Obtain the facility information.
5. according to the method described in claim 4, it is characterized in that, the method also includes:
The pairing gateway is received according to the confirmation message of the pairing application information feedback, the confirmation message is matched for confirming
To success.
6. according to the method described in claim 4, it is characterized in that, described be sent to the pairing for the pairing application information
After gateway, further includes:
It is time-consuming to obtain pairing application;
When pairing application time-consuming reaches default application duration, the frequency error factor of the communication channel to history is worked frequently
Rate.
7. a kind of electronic equipment contrast means, which is characterized in that described device includes:
Match trigger module, for when detect pairing trigger signal when, by the frequency error factor of communication channel to pair frequency, institute
Stating pairing trigger signal is electromagnetic induction signal;
Working frequency obtains module, for obtaining the working frequency of pairing gateway by the communication channel;
Frequency error factor module, for by the frequency error factor of the communication channel to the working frequency, based on the work frequency
Rate is communicated with the pairing gateway.
8. device according to claim 7, which is characterized in that described device further include:
Pairing application generation module, for generating the pairing application information for carrying facility information;
Pairing application sending module, for the pairing application information to be sent to the pairing gateway, so that the pairing net
It closes and the facility information is obtained according to the pairing application information.
9. a kind of electronic equipment, which is characterized in that the electronic equipment includes: memory, processor and connects with the processor
The magneto sensor connect;
Pairing trigger signal is generated when the magneto sensor is used for close to magnetic bodies, the pairing trigger signal is electromagnetic induction
Signal;
The memory is stored with computer program, and the processor realizes claim 1 to 6 when executing the computer program
Any one of the method the step of.
10. a kind of readable storage medium storing program for executing, is stored thereon with computer program, which is characterized in that the computer program is processed
The step of device realizes method described in any one of claims 1 to 6 when executing.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811175874.5A CN109274445B (en) | 2018-10-10 | 2018-10-10 | Electronic equipment pairing method and device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811175874.5A CN109274445B (en) | 2018-10-10 | 2018-10-10 | Electronic equipment pairing method and device, electronic equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109274445A true CN109274445A (en) | 2019-01-25 |
CN109274445B CN109274445B (en) | 2021-09-24 |
Family
ID=65195417
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811175874.5A Active CN109274445B (en) | 2018-10-10 | 2018-10-10 | Electronic equipment pairing method and device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109274445B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111897394A (en) * | 2020-06-28 | 2020-11-06 | 北京凌宇智控科技有限公司 | Equipment pairing method, equipment pairing device and equipment pairing system |
CN113423084A (en) * | 2021-06-22 | 2021-09-21 | 欧梯恩智能科技(苏州)有限公司 | LoRa gateway and equipment pairing arrangement method and application in bridge pier impact detection |
CN113596805A (en) * | 2021-06-11 | 2021-11-02 | 珠海派诺科技股份有限公司 | Wireless communication pairing method, device and medium |
CN114185313A (en) * | 2021-11-12 | 2022-03-15 | 北京天玛智控科技股份有限公司 | Sensor data acquisition method and device suitable for underground |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1362795A (en) * | 2000-12-27 | 2002-08-07 | 株式会社东芝 | Method and apparatus for executing radio communication using spread spectrum-frequency hopping |
CN104410435A (en) * | 2014-05-07 | 2015-03-11 | 丰唐物联技术(深圳)有限公司 | Method for triggering networking, node and gateway |
CN104506333A (en) * | 2014-12-31 | 2015-04-08 | 深圳市明微电子股份有限公司 | Control method based on radio frequency communication |
CN104885404A (en) * | 2012-11-12 | 2015-09-02 | 奥林奇公司 | Method of mutual authentication between a radio tag and a reader |
US20170086112A1 (en) * | 2015-09-17 | 2017-03-23 | Qualcomm Incorporated | Techniques for wireless communication channel management in shared frequency bands |
-
2018
- 2018-10-10 CN CN201811175874.5A patent/CN109274445B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1362795A (en) * | 2000-12-27 | 2002-08-07 | 株式会社东芝 | Method and apparatus for executing radio communication using spread spectrum-frequency hopping |
CN104885404A (en) * | 2012-11-12 | 2015-09-02 | 奥林奇公司 | Method of mutual authentication between a radio tag and a reader |
CN104410435A (en) * | 2014-05-07 | 2015-03-11 | 丰唐物联技术(深圳)有限公司 | Method for triggering networking, node and gateway |
CN104506333A (en) * | 2014-12-31 | 2015-04-08 | 深圳市明微电子股份有限公司 | Control method based on radio frequency communication |
US20170086112A1 (en) * | 2015-09-17 | 2017-03-23 | Qualcomm Incorporated | Techniques for wireless communication channel management in shared frequency bands |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111897394A (en) * | 2020-06-28 | 2020-11-06 | 北京凌宇智控科技有限公司 | Equipment pairing method, equipment pairing device and equipment pairing system |
CN113596805A (en) * | 2021-06-11 | 2021-11-02 | 珠海派诺科技股份有限公司 | Wireless communication pairing method, device and medium |
CN113423084A (en) * | 2021-06-22 | 2021-09-21 | 欧梯恩智能科技(苏州)有限公司 | LoRa gateway and equipment pairing arrangement method and application in bridge pier impact detection |
CN114185313A (en) * | 2021-11-12 | 2022-03-15 | 北京天玛智控科技股份有限公司 | Sensor data acquisition method and device suitable for underground |
Also Published As
Publication number | Publication date |
---|---|
CN109274445B (en) | 2021-09-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109274445A (en) | Electronic equipment matching method, device, electronic equipment and storage medium | |
US9774407B2 (en) | Apparatus and method for non-determinative testing using unscripted communications between a network simulator and an equipment under test | |
CN104346560B (en) | A kind of safe verification method and device | |
CN101432749A (en) | Communications device monitoring | |
CN104796385A (en) | Terminal binding method, device and system | |
CN105701873B (en) | A kind of Non-contact attendance recording method and attendance record system | |
CN104091376A (en) | Intelligent lock control method and apparatus thereof | |
CN105450643A (en) | Network access authentication method, apparatus and system | |
CN104158659B (en) | Anti-counterfeit authentication method, device and system | |
CN105653864A (en) | Medical record information sharing method and device | |
CN110012455B (en) | Account information management method and device and electronic equipment | |
CN103327467B (en) | Mobile terminal calling shifting method and system | |
CN108288168A (en) | Borrow or lend money register method, terminal and the computer readable storage medium of service account | |
CN107948970A (en) | System of real name method of network entry, system and the mobile terminal of subordinate terminal | |
CN106294027A (en) | A kind of data back up method, device, carrier server and mobile terminal | |
CN106843693B (en) | A kind of information processing method and mobile terminal | |
CN109328482A (en) | Control instruction transmission method, base station, terminal and storage medium | |
CN102667806B (en) | A chip card, an electronic system, a method being implemented by a chip card and a computer program product | |
CN113989958A (en) | Digital key sharing system, method and apparatus, vehicle and storage medium | |
CN106230702A (en) | Identity information verification method, Apparatus and system | |
CN105512542B (en) | Data inputting method and device | |
CN103338320A (en) | Recharging data processing method and device for mobile user | |
CN111107093A (en) | Application login method, device, terminal and storage medium | |
CN114285657B (en) | Firewall security policy change verification method and device | |
CN105843696A (en) | Touch screen restoration method and device |
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 |