CN105228261B - A kind of information processing method and electronic equipment - Google Patents
A kind of information processing method and electronic equipment Download PDFInfo
- Publication number
- CN105228261B CN105228261B CN201410264603.2A CN201410264603A CN105228261B CN 105228261 B CN105228261 B CN 105228261B CN 201410264603 A CN201410264603 A CN 201410264603A CN 105228261 B CN105228261 B CN 105228261B
- Authority
- CN
- China
- Prior art keywords
- module
- electronic equipment
- wireless
- parameter
- wireless communication
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
The embodiment of the invention discloses a kind of information processing method and electronic equipments;Wireless communication module and wireless module are provided in the electronic equipment;Wherein, the information processing method includes: the first information that the first electronic equipment obtains second electronic equipment by first wireless communication module;The first information includes: the second parameter of the attribute information of unpaired message and characterization second electronic equipment;Judge whether second parameter matches with first parameter, obtains the first judging result;When first judging result is that second parameter is matched with first parameter, unpaired message in the first information is configured in first wireless module, is established and is wirelessly connected by the second wireless module of first wireless module and second electronic equipment.
Description
Technical field
The present invention relates to the information processing technologies, and in particular to a kind of information processing method and electronic equipment.
Background technique
Currently, the use of wireless device is more and more frequent, such as wireless mouse, Wireless Keyboard, wireless sound box.Use this
When a little wireless devices, generally require a wireless adapter, by the wireless adapter by universal serial bus (USB,
Universal Serial Bus) interface is inserted on the host device, although passing through the plug wireless adapter, it may be convenient to
Using these wireless devices, but the wireless adapter still needs to occupy a USB interface.
Summary of the invention
To solve existing technical problem, the embodiment of the present invention provides a kind of information processing method and electronic equipment,
It just can be realized the use of wireless device without one wireless adapter of extrapolation on the host device.
In order to achieve the above objectives, the technical solution of the embodiment of the present invention is achieved in that
The embodiment of the invention provides a kind of information processing methods, are applied in the first electronic equipment, first electronics
Equipment is provided with the first wireless communication module and the first wireless module;Second electronic equipment be provided with the second wireless communication module and
Second wireless module;First electronic equipment and second electronic equipment can pass through the first wireless telecommunications mould respectively
Block and second wireless communication module are communicated;First wireless module is stored with to be set for characterizing first electronics
First parameter of standby attribute information;The described method includes:
The first information of second electronic equipment is obtained by first wireless communication module;Wherein, described first
Information includes: the second parameter of the attribute information of unpaired message and characterization second electronic equipment;
Judge whether second parameter matches with first parameter, obtains the first judging result;
It, will be in the first information when first judging result is that second parameter is matched with first parameter
Unpaired message configure in first wireless module, pass through the of first wireless module and second electronic equipment
Two wireless modules, which are established, to be wirelessly connected.
The embodiment of the invention also provides a kind of electronic equipment, the electronic equipment is the first electronic equipment;The electronics
Equipment includes: the first wireless communication module, the first wireless module and first processing module;Wherein,
First wireless communication module, for obtaining the first information of second electronic equipment;The first information
It include: the second parameter of the attribute information of unpaired message and characterization second electronic equipment;
First wireless module, for storing the first parameter;Wherein, first parameter is for characterizing first electricity
The attribute information of sub- equipment;It is also used to be set according to the unpaired message that the first processing module configures with second electronics
The second standby wireless module, which is established, to be wirelessly connected;
The first processing module, for judge second parameter that first wireless communication module obtains with it is described
Whether the first parameter of the first wireless module storage matches, and obtains the first judging result;When first judging result is described
When second parameter is matched with first parameter, the unpaired message in the first information is configured in first wireless module
In.
Information processing method and electronic equipment provided in an embodiment of the present invention, the first electronic equipment pass through the first wireless telecommunications
Module obtains the first information of second electronic equipment;Wherein, the first information includes: unpaired message and characterizes described the
Second parameter of the attribute information of two electronic equipments;Judge whether second parameter matches with first parameter, obtains the
One judging result;When first judging result is that second parameter is matched with first parameter, described first is believed
Unpaired message in breath configures in first wireless module, passes through first wireless module and second electronic equipment
The second wireless module establish be wirelessly connected.In this way, can pass through without using the USB interface on first electronic equipment
It establishes and is wirelessly connected in the second wireless module of the first wireless module and the second electronic equipment built in the first electronic equipment, solve
Need the problem of one wireless adapter of extrapolation is just able to achieve the use of wireless device on the host device in the prior art, greatly
The experience of user is improved greatly.
Detailed description of the invention
Fig. 1 is the flow diagram of the information processing method of the embodiment of the present invention one;
Fig. 2 is the flow diagram of the information processing method of the embodiment of the present invention two;
Fig. 3 is the flow diagram of the information processing method of the embodiment of the present invention three;
Fig. 4 is the flow diagram of the information processing method of the embodiment of the present invention four;
Fig. 5 is the composed structure schematic diagram of the electronic equipment of the embodiment of the present invention five;
Fig. 6 is the composed structure schematic diagram of the electronic equipment of the embodiment of the present invention six;
Fig. 7 is the composed structure schematic diagram of the electronic equipment of the embodiment of the present invention seven.
Specific embodiment
With reference to the accompanying drawing and specific embodiment the present invention is described in further detail.
The embodiment of the invention provides a kind of information processing method, the information processing method is applied to the first electronic equipment
In, first electronic equipment is provided with the first wireless communication module and the first wireless module;Fig. 1 is the embodiment of the present invention one
The flow diagram of information processing method;As shown in Figure 1, which comprises
Step 101: the first information of second electronic equipment is obtained by first wireless communication module;Wherein,
The first information includes: the second parameter of the attribute information of unpaired message and characterization second electronic equipment.
In the present embodiment, first electronic equipment is provided with the first wireless communication module and the first wireless module;Together
Sample, second electronic equipment is provided with the second wireless communication module and the second wireless module;Wherein, first electronics is set
Standby and described second electronic equipment can respectively by first wireless communication module and second wireless communication module into
Row communication.
Here, the first information includes: the second of the attribute information of unpaired message and characterization second electronic equipment
Parameter;Wherein, the attribute information of the second electronic equipment described in the second parameter characterization, such as equipment of second electronic equipment
The facility informations such as board, device type or device number;The unpaired message specifically can be the information such as username and password.
Step 102: judging whether second parameter matches with the first parameter, obtain the first judging result.
In the present embodiment, the attribute information for characterizing first electronic equipment is stored in first wireless module
The first parameter;By judging whether second parameter matches with the first parameter, to obtain first electronic equipment
Whether the second wireless module of the first wireless module and second electronic equipment matches;Wherein, the first parameter characterization institute
State the attribute information of the first electronic equipment, such as equipment brand, device type or the device number equipment of first electronic equipment
Information.
It is described to judge whether second parameter matches with first parameter in the present embodiment, it specifically can be following
At least one of matching way: the equipment brand and described second of first electronic equipment of matching first parameter characterization
Whether the equipment brand of second electronic equipment of parameter characterization matches, or the equipment class of matching first parameter characterization
Whether type matches with the device type of second electronic equipment of second parameter characterization, or matching first parameter
Whether the device number of characterization matches with the device number of second electronic equipment.
For example, work as the electronic equipment that the first electronic equipment described in first parameter characterization is the number one brand first kind,
When second electronic equipment described in second parameter characterization is the electronic equipment of the Second Type of the second brand, i.e., described first ginseng
Several to mismatch with second parameter, first electronic equipment and second electronic equipment can not establish wireless connection;When
First electronic equipment described in first parameter characterization is the electronic equipment of the number one brand first kind, second parameter characterization
When second electronic equipment is the electronic equipment of the first kind of number one brand, first electronic equipment and second electricity
Sub- equipment can establish wireless connection.
Step 103: when first judging result is that second parameter is matched with first parameter, by described the
Unpaired message in one information configures in first wireless module, passes through first wireless module and second electronics
Second wireless module of equipment, which is established, to be wirelessly connected.
Here, by unpaired message configuration in first wireless module, the of second electronic equipment at this time
Same unpaired message is configured in two wireless modules, then first wireless module and second wireless module are paired into
Function, first electronic equipment can be established by the second wireless module of first wireless module and second electronic equipment
It is wirelessly connected.
In the present embodiment, the wireless connection that first wireless module and second wireless module are established can be existing
There are the wireless connection of any way in technology, including but not limited to bluetooth (Bluetooth), 2.4G wireless technology.
It, can be with without using the USB interface on first electronic equipment in this way, using the technical solution of the present embodiment
It is established and is wirelessly connected by the second wireless module in the first wireless module and the second electronic equipment built in the first electronic equipment,
Solve need in the prior art one wireless adapter of extrapolation on the host device be just able to achieve wireless device use ask
Topic, greatly improves the experience of user.
The embodiment of the invention also provides a kind of information processing method, the information processing method is applied to the first electronics and sets
In standby, first electronic equipment is provided with the first wireless communication module and the first wireless module;Fig. 2 is the embodiment of the present invention two
Information processing method flow diagram;As shown in Figure 2, which comprises
Step 201: the first information of second electronic equipment is obtained by first wireless communication module;Wherein,
The first information includes: the second parameter of the attribute information of unpaired message and characterization second electronic equipment.
In the present embodiment, first electronic equipment is provided with the first wireless communication module and the first wireless module;Together
Sample, second electronic equipment is provided with the second wireless communication module and the second wireless module;Wherein, first electronics is set
Standby and described second electronic equipment can respectively by first wireless communication module and second wireless communication module into
Row communication.
Here, the first information includes: the second of the attribute information of unpaired message and characterization second electronic equipment
Parameter;Wherein, the attribute information of the second electronic equipment described in the second parameter characterization, such as the equipment class of second electronic equipment
The physical hardwares information such as type, device number;The unpaired message specifically can be the information such as username and password.
Step 202: judging whether second parameter matches with first parameter, obtain the first judging result.
In the present embodiment, the attribute information for characterizing first electronic equipment is stored in first wireless module
The first parameter;By judging whether second parameter matches with the first parameter, to obtain first electronic equipment
Whether the second wireless module of the first wireless module and second electronic equipment matches;Wherein, the first parameter characterization institute
State the attribute information of the first electronic equipment, such as equipment brand, device type or the device number equipment of first electronic equipment
Information.
It is described to judge whether second parameter matches with first parameter in the present embodiment, it specifically can be following
At least one of matching way: the equipment brand and described second of first electronic equipment of matching first parameter characterization
Whether the equipment brand of second electronic equipment of parameter characterization matches, or the equipment class of matching first parameter characterization
Whether type matches with the device type of second electronic equipment of second parameter characterization, or matching first parameter
Whether the device number of characterization matches with the device number of second electronic equipment.
For example, work as the electronic equipment that the first electronic equipment described in first parameter characterization is the number one brand first kind,
When second electronic equipment described in second parameter characterization is the electronic equipment of the Second Type of the second brand, i.e., described first ginseng
Several to mismatch with second parameter, first electronic equipment and second electronic equipment can not establish wireless connection;When
First electronic equipment described in first parameter characterization is the electronic equipment of the number one brand first kind, second parameter characterization
When second electronic equipment is the electronic equipment of the first kind of number one brand, first electronic equipment and second electricity
Sub- equipment can establish wireless connection.
Step 203: when first judging result is that second parameter is matched with first parameter, by described the
Unpaired message in one information configures in first wireless module, passes through first wireless module and second electronics
Second wireless module of equipment, which is established, to be wirelessly connected.
Here, by unpaired message configuration in first wireless module, the of second electronic equipment at this time
Same unpaired message is configured in two wireless modules, then first wireless module and second wireless module are paired into
Function, first electronic equipment can be established by the second wireless module of first wireless module and second electronic equipment
It is wirelessly connected.
In the present embodiment, the wireless connection that first wireless module and second wireless module are established can be existing
There are the wireless connection of any way in technology, including but not limited to bluetooth (Bluetooth), 2.4G wireless technology.
Step 204: first wireless communication module detects third parameter, judges whether the third parameter meets
One preset condition obtains the second judging result.
In the present embodiment, the detection of the third parameter disconnects and second electricity for triggering first electronic equipment
Connection between sub- equipment;Specifically, the third parameter can be the distance between described second electronic equipment;Because this
Be in embodiment, between first electronic equipment and second electronic equipment by be wirelessly connected, when pass through described first
When wireless communication module detects that the third parameter alreadys exceed a certain distance range, first electronics can be triggered and set
The standby connection disconnected between second electronic equipment;The third parameter is also possible to first wireless communication module and connects
The information received, when first wireless communication module receives the information that second electronic equipment is sent,
Trigger the connection between the first electronic equipment disconnection and second electronic equipment.
Specifically, first wireless communication module can be the first near field communication (NFC) (NFC, Near
Field Communication) module, second wireless communication module is the second NFC module;The first NFC module energy
Enough detect the first distance between second NFC module;
First wireless communication module detects third parameter, judges whether the third parameter meets the first default item
Part obtains the second judging result, comprising:
By first NFC module detection second NFC module between first distance, judge described first away from
From whether reaching the first preset threshold;
When the first distance reaches first preset threshold, determine second judging result for third ginseng
Number meets first preset condition;
When the first distance is not up to first preset threshold, determine that second judging result is the third
Parameter does not meet first preset condition.
Here, the first distance can be set in first electronic equipment;It can also be set when first electronics
Standby and described second electronic equipment is in wireless connection procedures, is detected and the 2nd NFC by first NFC module
When variation between the distance between module reaches preset threshold, determine that the third parameter meets the first preset condition;Detection
When variation between to the distance between second NFC module is not up to preset threshold, determine that the third parameter is less than
The first preset condition of foot.
For example, first electronic equipment and second electronic equipment be during wireless connection, the first NFC
Module detects the distance between described second NFC module always at 40 centimetres or so, and distance change is no more than five centimetres;
Presetting first preset threshold is ten centimetres, that is, detects that the distance between described second NFC module reaches 30
Within centimetre or except 50 centimetres, it is determined that the third parameter meets the first preset condition;It detects and the 2nd NFC
The distance between module is between 30 centimetres to 50 centimetres, it is determined that the third parameter does not meet the described first default item
Part.
Step 205: when second judging result is that the third parameter meets first preset condition, generating the
The unpaired message stored in first wireless module is revised as presupposed information according to first instruction, disconnected by one instruction
Wireless connection between first wireless module and second wireless module.
Here, the presupposed information is different from the unpaired message, so that when the pairing in first wireless module
When information is revised as the presupposed information, due in the first wireless module of first electronic equipment presupposed information with it is described
Unpaired message in second wireless module of the second electronic equipment is different, causes described the first of first electronic equipment wireless
The connection of second wireless module of module and second electronic equipment is voluntarily interrupted.
It, can be with without using the USB interface on first electronic equipment in this way, using the technical solution of the present embodiment
It is established and is wirelessly connected by the second wireless module in the first wireless module and the second electronic equipment built in the first electronic equipment,
And voluntarily disconnection of wireless connection is realized, it solves and needs one wireless adapter ability of extrapolation on the host device in the prior art
The problem of being able to achieve the use of wireless device greatly improves the experience of user.
The embodiment of the invention also provides a kind of information processing method, the information processing method is applied to the second electronics and sets
In standby, second electronic equipment is provided with the second wireless communication module and the second wireless module;Fig. 3 is the embodiment of the present invention three
Information processing method flow diagram;As shown in Figure 3, which comprises
Step 301: the first information is sent to first electronic equipment by second wireless communication module;Described
One information includes: the second parameter of the attribute information of unpaired message and characterization second electronic equipment.
In the present embodiment, second electronic equipment is provided with the second wireless communication module and the second wireless module;Together
Sample, first electronic equipment is provided with the first wireless communication module and the first wireless module;Wherein, first electronics is set
Standby and described second electronic equipment can respectively by first wireless communication module and second wireless communication module into
Row communication.
Here, the first information includes: the second of the attribute information of unpaired message and characterization second electronic equipment
Parameter;Wherein, the attribute information of the second electronic equipment described in the second parameter characterization, such as equipment of second electronic equipment
The facility informations such as board, device type or device number;The unpaired message specifically can be the information such as username and password.
Step 302: after the first wireless module of first electronic equipment configures the unpaired message, passing through described the
Two wireless modules and first wireless module, which are established, to be wirelessly connected.
Here, the unpaired message stored in the first wireless module of first electronic equipment, at this time second electronics
It is configured with same unpaired message in second wireless module of equipment, then first wireless module and second wireless module
Successful matching, first electronic equipment can pass through the second wireless mould of first wireless module and second electronic equipment
Block, which is established, to be wirelessly connected.
In the present embodiment, the wireless connection that first wireless module and second wireless module are established can be existing
There are the wireless connection of any way in technology, including but not limited to bluetooth (Bluetooth), 2.4G wireless technology.
In this way, using the technical solution of the present embodiment, without using the USB interface on first electronic equipment, second
Second wireless module of electronic equipment can be wirelessly connected by establishing in the first wireless module built in the first electronic equipment, solution
It has determined and has needed the problem of one wireless adapter of extrapolation is just able to achieve the use of wireless device on the host device in the prior art,
Greatly improve the experience of user.
The embodiment of the invention also provides a kind of information processing method, the information processing method is applied to the second electronics and sets
In standby, second electronic equipment is provided with the second wireless communication module and the second wireless module;Fig. 4 is the embodiment of the present invention four
Information processing method flow diagram;As shown in Figure 4, which comprises
Step 401: the 4th parameter being detected by second wireless communication module, judges whether the 4th parameter is full
The second preset condition of foot, obtains third judging result.
Here, the detection of the 4th parameter connects first electronic equipment for triggering second electronic equipment;
Specifically, the 4th parameter can be the distance between described first electronic equipment;Since in the present embodiment, described second
It is to be detected by being wirelessly connected when by second wireless communication module between electronic equipment and first electronic equipment
When 4th parameter meets the second preset condition, second electronic equipment can be triggered and initiated to first electronic equipment
Connection.
Specifically, second wireless communication module is the second NFC module;First wireless communication module is first
NFC module, second NFC module are able to detect that the second distance between first NFC module;Then second nothing
Line communication module detects the 4th parameter, judges whether the 4th parameter meets the second preset condition, obtains third judgement knot
Fruit, comprising:
By second NFC module detection first NFC module between second distance, judge described second away from
From whether reaching the second preset threshold;
When the second distance reaches second preset threshold, determine that the third judging result is the 4th ginseng
Number meets second preset condition;
When the second distance is not up to second preset threshold, determine that the third judging result is the described 4th
Parameter does not meet second preset condition.
Here, second preset threshold can be second NFC module and first NFC module can between energy
Enough detect that distance, i.e. two module times are able to carry out any number in the maximum range of communication;Described second is default
Threshold value can be set in second electronic equipment, can also be directly using the maximum value as second preset threshold.
Step 402: when the third judging result is that the 4th parameter meets second preset condition, generating the
Two instructions send the first letter to first electronic equipment by second wireless communication module according to second instruction
Breath.
Here, the first information includes: the second of the attribute information of unpaired message and characterization second electronic equipment
Parameter;Wherein, the attribute information of the second electronic equipment described in the second parameter characterization, such as equipment of second electronic equipment
The facility informations such as board, device type or device number;The unpaired message specifically can be the information such as username and password.
Step 403: after the first wireless module of first electronic equipment configures the unpaired message, passing through described the
Two wireless modules and first wireless module, which are established, to be wirelessly connected.
Here, the unpaired message stored in the first wireless module of first electronic equipment, at this time second electronics
It is configured with same unpaired message in second wireless module of equipment, then first wireless module and second wireless module
Successful matching, first electronic equipment can pass through the second wireless mould of first wireless module and second electronic equipment
Block, which is established, to be wirelessly connected.
In the present embodiment, the wireless connection that first wireless module and second wireless module are established can be existing
There are the wireless connection of any way in technology, including but not limited to bluetooth (Bluetooth), 2.4G wireless technology.
In this way, using the technical solution of the present embodiment, without using the USB interface on first electronic equipment, second
Second wireless module of electronic equipment can be wirelessly connected by establishing in the first wireless module built in the first electronic equipment, solution
It has determined and has needed the problem of one wireless adapter of extrapolation is just able to achieve the use of wireless device on the host device in the prior art,
Greatly improve the experience of user.
The embodiment of the invention also provides a kind of electronic equipment, the electronic equipment is as the first electronic equipment;Fig. 5 is this
The composed structure schematic diagram of the electronic equipment of inventive embodiments five;As shown in figure 5, the electronic equipment includes: the first channel radio
Interrogate module 51, the first wireless module 52 and first processing module 53;Wherein,
First wireless communication module 51, for obtaining the first information of second electronic equipment;First letter
Breath includes: the second parameter of the attribute information of unpaired message and characterization second electronic equipment;
First wireless module 52, for storing the first parameter;Wherein, first parameter is for characterizing described first
The attribute information of electronic equipment;It is also used to the unpaired message and second electronics configured according to the first processing module
Second wireless module of equipment, which is established, to be wirelessly connected;
The first processing module 53, for judge second parameter that first wireless communication module 51 obtains with
Whether the first parameter that first wireless module 52 stores matches, and obtains the first judging result;When first judging result
When being matched for second parameter with first parameter, the unpaired message in the first information is configured in first nothing
In wire module 52.
Wherein, first electronic equipment in practical applications, can be realized by host equipments such as computer, tablet computers;Institute
State first processing module 53 in the first electronic equipment in practical applications, it can be by the central processing in first electronic equipment
Device (CPU, Central Processing Unit), digital signal processor (DSP, Digital Signal Processor)
Or programmable gate array (FPGA, Field-Programmable Gate Array) is realized;First wireless module 52 exists
In practical application, can by first electronic equipment bluetooth module or the wireless modules such as 2.4G wireless technology module realize,
It is not limited to above two wireless module;First wireless communication module 51 in practical applications, can be set by first electronics
Wireless communication device in standby is realized, specifically, first wireless communication module 51 can be NFC module.
It will be appreciated by those skilled in the art that in the electronic equipment of the embodiment of the present invention each processing unit function, can join
According to aforementioned information processing method associated description and understand, each processing unit in the electronic equipment of the embodiment of the present invention, can pass through
It realizes the analog circuit of function described in the embodiment of the present invention and realizes, it can also be by executing function described in the embodiment of the present invention
Can operation of the software on intelligent terminal and realize.
The embodiment of the invention also provides a kind of electronic equipment, the electronic equipment is as the first electronic equipment;Such as Fig. 5 institute
Show, the electronic equipment includes: the first wireless communication module 51, the first wireless module 52 and first processing module 53;Wherein,
First wireless communication module 51, for obtaining the first information of second electronic equipment;First letter
Breath includes: the second parameter of the attribute information of unpaired message and characterization second electronic equipment;It is also used to detect that third is joined
Number;
First wireless module 52, for storing the first parameter;Wherein, first parameter is for characterizing described first
The attribute information of electronic equipment;It is also used to the unpaired message and second electronics configured according to the first processing module
Second wireless module of equipment, which is established, to be wirelessly connected;The presupposed information for being also used to be modified according to the first processing module is disconnected
Open the wireless connection between second wireless module;
The first processing module 53, for judge second parameter that first wireless communication module 51 obtains with
Whether the first parameter that first wireless module 52 stores matches, and obtains the first judging result;When first judging result
When being matched for second parameter with first parameter, the unpaired message in the first information is configured in first nothing
In wire module 52;It is also used to judge whether the third parameter that first wireless communication module 51 detects meets first in advance
If condition, the second judging result is obtained;When second judging result is that the third parameter meets first preset condition
When, the first instruction is generated, is revised as the unpaired message stored in first wireless module 52 according to first instruction pre-
If information.
Specifically, first wireless communication module 51 is the first NFC module;Second wireless communication module is second
NFC module;First NFC module 51 is able to detect that the first distance between second NFC module, then the third
Parameter is the first distance;Then specifically,
First wireless communication module 51, for detecting the first distance between second wireless communication module;
The first processing module 53 is also used to judge the first distance that first wireless communication module 51 detects
Whether first preset threshold is reached;When the first distance reaches first preset threshold, the second judgement knot is determined
Fruit is that the third parameter meets first preset condition;When the first distance is not up to first preset threshold,
Determine that second judging result is that the third parameter does not meet first preset condition.
Wherein, first electronic equipment in practical applications, can be realized by host equipments such as computer, tablet computers;Institute
State first processing module 53 in the first electronic equipment in practical applications, it can be by CPU, DSP in first electronic equipment
Or FPGA is realized;First wireless module 52 in practical applications, can by first electronic equipment bluetooth module or
The wireless modules such as 2.4G wireless technology module are realized, above two wireless module is not limited to;First wireless communication module 51
In practical applications, it can be realized by the wireless communication device in first electronic equipment, specifically, first wireless telecommunications
Module 51 can be NFC module.
It will be appreciated by those skilled in the art that in the electronic equipment of the embodiment of the present invention each processing unit function, can join
According to aforementioned information processing method associated description and understand, each processing unit in the electronic equipment of the embodiment of the present invention, can pass through
It realizes the analog circuit of function described in the embodiment of the present invention and realizes, it can also be by executing function described in the embodiment of the present invention
Can operation of the software on intelligent terminal and realize.
The embodiment of the invention also provides a kind of electronic equipment, the electronic equipment is as the second electronic equipment;Fig. 6 is this
The composed structure schematic diagram of the electronic equipment of inventive embodiments six;As shown in fig. 6, the electronic equipment includes: the second channel radio
Interrogate module 61 and the second wireless module 62;Wherein,
Second wireless communication module 61, for sending the first information to first electronic equipment;First letter
Breath includes: the second parameter of the attribute information of unpaired message and characterization second electronic equipment;
Second wireless module 62 configures the pairing letter for the first wireless module when first electronic equipment
After breath, establishes and be wirelessly connected with first wireless module.
Wherein, second electronic equipment in practical applications, can be realized by the equipment with wireless connecting function, described
Equipment such as keyboard, mouse, speaker etc.;Second wireless module 62 in second electronic equipment in practical applications,
Can by second electronic equipment bluetooth module or the wireless modules such as 2.4G wireless technology module realize, be not limited to above-mentioned two
Kind wireless module;Second wireless communication module 61 in practical applications, can be by the channel radio in second electronic equipment
T unit is realized, specifically, second wireless communication module 61 can be NFC module.
It will be appreciated by those skilled in the art that in the electronic equipment of the embodiment of the present invention each processing unit function, can join
According to aforementioned information processing method associated description and understand, each processing unit in the electronic equipment of the embodiment of the present invention, can pass through
It realizes the analog circuit of function described in the embodiment of the present invention and realizes, it can also be by executing function described in the embodiment of the present invention
Can operation of the software on intelligent terminal and realize.
The embodiment of the invention also provides a kind of electronic equipment, the electronic equipment is as the second electronic equipment;Fig. 7 is this
The composed structure schematic diagram of the electronic equipment of inventive embodiments seven;As shown in fig. 7, the electronic equipment includes: the second channel radio
Interrogate module 61, the second wireless module 62 and Second processing module 63;Wherein,
Second wireless communication module 61, for detecting the 4th parameter;It is also used to according to the Second processing module
Described the second of 63 transmissions, which instructs to first electronic equipment, sends the first information;
The Second processing module 63, the 4th parameter for judging that second wireless communication module 61 detects are
The second preset condition of no satisfaction obtains third judging result;When the third judging result is described in the 4th parameter meets
When the second preset condition, the second instruction is generated, the second wireless communication module of Xiang Suoshu 61 sends second instruction;
Second wireless module 62 configures the pairing letter for the first wireless module when first electronic equipment
After breath, establishes and be wirelessly connected with first wireless module.
Here, second wireless communication module is the second near field communication (NFC) NFC module;Described first is wireless
Communication module be the first NFC module, second NFC module be able to detect that between first NFC module second away from
From then the 4th parameter is the second distance;Then specifically,
Second wireless communication module 61, for detecting the second distance between first wireless communication module;
The Second processing module 63, the second distance for judging that second wireless communication module 61 detects are
It is no to reach the second preset threshold;When the second distance reaches second preset threshold, the third judging result is determined
Meet second preset condition for the 4th parameter;When the second distance is not up to second preset threshold, really
The fixed third judging result is that the 4th parameter does not meet second preset condition.
Wherein, second electronic equipment in practical applications, can be realized by the equipment with wireless connecting function, described
Equipment such as keyboard, mouse, speaker etc.;Second processing module 63 in second electronic equipment in practical applications, can be by
CPU, DSP or FPGA in second electronic equipment are realized;Second wireless module 62 in practical applications, can be by described
The wireless modules such as bluetooth module or 2.4G wireless technology module in the second electronic equipment are realized, above two wireless mould is not limited to
Block;Second wireless communication module 61 in practical applications, can be real by the wireless communication device in second electronic equipment
It is existing, specifically, second wireless communication module 61 can be NFC module.
It will be appreciated by those skilled in the art that in the electronic equipment of the embodiment of the present invention each processing unit function, can join
According to aforementioned information processing method associated description and understand, each processing unit in the electronic equipment of the embodiment of the present invention, can pass through
It realizes the analog circuit of function described in the embodiment of the present invention and realizes, it can also be by executing function described in the embodiment of the present invention
Can operation of the software on intelligent terminal and realize.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, equipment or computer program
Product.Therefore, the shape of hardware embodiment, software implementation or embodiment combining software and hardware aspects can be used in the present invention
Formula.Moreover, the present invention, which can be used, can use storage in the computer that one or more wherein includes computer usable program code
The form for the computer program product implemented on medium (including but not limited to magnetic disk storage and optical memory etc.).
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real
The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
The foregoing is only a preferred embodiment of the present invention, is not intended to limit the scope of the present invention.
Claims (10)
1. a kind of information processing method is applied in the first electronic equipment, which is characterized in that first electronic equipment is provided with
First wireless communication module and the first wireless module;Second electronic equipment is provided with the second wireless communication module and the second wireless mould
Block;First electronic equipment and second electronic equipment can pass through first wireless communication module and described the respectively
Two wireless communication modules are communicated;First wireless module is stored with the letter of the attribute for characterizing first electronic equipment
First parameter of breath;The described method includes:
The first information of second electronic equipment is obtained by first wireless communication module;Wherein, the first information
It include: the second parameter of the attribute information of unpaired message and characterization second electronic equipment;
Judge whether second parameter matches with first parameter, obtains the first judging result;
When first judging result is that second parameter is matched with first parameter, by matching in the first information
To information configuration in first wireless module, so that first wireless module and second wireless module are paired into
Function is established by the second wireless module of first wireless module and second electronic equipment and is wirelessly connected;
The method also includes: first wireless communication module detects third parameter, judges whether the third parameter is full
The first preset condition of foot, obtains the second judging result;When second judging result is that the third parameter meets described first
When preset condition, the first instruction is generated, is repaired the unpaired message stored in first wireless module according to first instruction
It is changed to presupposed information, disconnects the wireless connection between first wireless module and second wireless module.
2. the method according to claim 1, wherein first wireless communication module is the first near radio
Mechanics of communication NFC module, second wireless communication module are the second NFC module;First NFC module be able to detect that with
First distance between second NFC module;First wireless communication module detects third parameter, judges the third
Whether parameter meets the first preset condition, obtains the second judging result, comprising:
By the first distance between first NFC module detection and second NFC module, judge that the first distance is
It is no to reach the first preset threshold;
When the first distance reaches first preset threshold, determine that second judging result is full for the third parameter
Foot first preset condition;
When the first distance is not up to first preset threshold, determine that second judging result is the third parameter
First preset condition is not met.
3. a kind of information processing method is applied in the second electronic equipment, which is characterized in that second electronic equipment is provided with
Second wireless communication module and the second wireless module;First electronic equipment is provided with the first wireless communication module and the first wireless mould
Block;Second electronic equipment and first electronic equipment can pass through second wireless communication module and described the respectively
One wireless communication module is communicated;Second wireless communication module is stored with unpaired message and for characterizing second electricity
Second parameter of the attribute information of sub- equipment;The described method includes:
The first information is sent to first electronic equipment by second wireless communication module;The first information includes:
Second parameter of the attribute information of unpaired message and characterization second electronic equipment;
When first electronic equipment the first wireless module configure the unpaired message after so that first wireless module and
The second wireless module successful matching is established by second wireless module and first wireless module and is wirelessly connected;
When the unpaired message stored in the first wireless module of first electronic equipment is revised as presupposed information, described in disconnection
Wireless connection between second wireless module and first wireless module.
4. according to the method described in claim 3, it is characterized in that, it is described by second wireless communication module to described
One electronic equipment sends the first information, comprising:
Second wireless communication module detects the 4th parameter, judges whether the 4th parameter meets the second preset condition,
Obtain third judging result;
When the third judging result is that the 4th parameter meets second preset condition, the second instruction is generated, according to
Second instruction sends the first information to first electronic equipment by second wireless communication module.
5. according to the method described in claim 4, it is characterized in that, second wireless communication module is the second near radio
Mechanics of communication NFC module;First wireless communication module be the first NFC module, second NFC module be able to detect that with
Second distance between first NFC module;Second wireless communication module detects the 4th parameter, judges the described 4th
Whether parameter meets the second preset condition, obtains third judging result, comprising:
By the second distance between second NFC module detection and first NFC module, judge that the second distance is
It is no to reach the second preset threshold;
When the second distance reaches second preset threshold, determine that the third judging result is full for the 4th parameter
Foot second preset condition;
When the second distance is not up to second preset threshold, determine that the third judging result is the 4th parameter
Second preset condition is not met.
6. a kind of electronic equipment, the electronic equipment is the first electronic equipment;It is characterized in that, the electronic equipment includes:
One wireless communication module, the first wireless module and first processing module;Wherein,
First wireless communication module, for obtaining the first information of the second electronic equipment;The first information includes: pairing
Second parameter of the attribute information of information and characterization second electronic equipment;Second electronic equipment includes the second channel radio
Interrogate module and the second wireless module;
First wireless module, for storing the first parameter;Wherein, first parameter is set for characterizing first electronics
Standby attribute information;The unpaired message for being also used to be configured according to the first processing module and second electronic equipment
Second wireless module, which is established, to be wirelessly connected;
The first processing module, second parameter and described first obtained for judging first wireless communication module
Whether the first parameter of wireless module storage matches, and obtains the first judging result;When first judging result is described second
When parameter is matched with first parameter, the unpaired message in the first information is configured in first wireless module,
So that first wireless module and the second wireless module successful matching;
First wireless communication module, is also used to detect third parameter;
The first processing module is also used to judge whether the third parameter that first wireless communication module detects is full
The first preset condition of foot, obtains the second judging result;When second judging result is that the third parameter meets described first
When preset condition, the first instruction is generated, is repaired the unpaired message stored in first wireless module according to first instruction
It is changed to presupposed information;
First wireless module is also used to be disconnected and described the according to the presupposed information that the first processing module is modified
Wireless connection between two wireless modules.
7. electronic equipment according to claim 6, which is characterized in that first wireless communication module is the first short distance
Wireless communication technique NFC module;Second wireless communication module is the second NFC module;First NFC module is able to detect
First distance between second NFC module, then the third parameter is the first distance;
First wireless communication module is also used to detect the first distance between second wireless communication module;
The first processing module, is also used to judge whether the first distance of the first wireless communication module detection reaches
First preset threshold;When the first distance reaches first preset threshold, determine that second judging result is described
Third parameter meets first preset condition;When the first distance is not up to first preset threshold, described in determination
Second judging result is that the third parameter does not meet first preset condition.
8. a kind of electronic equipment, the electronic equipment is the second electronic equipment;It is characterized in that, the electronic equipment includes:
Two wireless communication modules and the second wireless module;Wherein,
Second wireless communication module, for sending the first information to the first electronic equipment;The first information includes: pairing
Second parameter of the attribute information of information and characterization second electronic equipment;First electronic equipment includes the first channel radio
Interrogate module and the first wireless module;
Second wireless module, for when first electronic equipment the first wireless module configure the unpaired message after,
So that establishing and being wirelessly connected with first wireless module with the first wireless module successful matching;
Second wireless module is also used to repair when the unpaired message stored in the first wireless module of first electronic equipment
When being changed to presupposed information, the wireless connection between second wireless module and first wireless module is disconnected.
9. electronic equipment according to claim 8, which is characterized in that the electronic equipment further includes Second processing module;
Second wireless communication module, for detecting the 4th parameter;It is also used to be sent according to the Second processing module
Second instructs to first electronic equipment transmission first information;
The Second processing module, for judging whether the 4th parameter of second wireless communication module detection meets the
Two preset conditions obtain third judging result;It is preset when the third judging result meets described second for the 4th parameter
When condition, the second instruction is generated, the second wireless communication module of Xiang Suoshu sends second instruction.
10. electronic equipment according to claim 9, which is characterized in that second wireless communication module is the second low coverage
From wireless communication technique NFC module;First wireless communication module is the first NFC module, and second NFC module can be examined
The second distance between first NFC module is measured, then the 4th parameter is the second distance;
Second wireless communication module, for detecting the second distance between first wireless communication module;
The Second processing module, for judging whether the second distance of second wireless communication module detection reaches the
Two preset thresholds;When the second distance reaches second preset threshold, determine that the third judging result is described the
Four parameters meet second preset condition;When the second distance is not up to second preset threshold, described is determined
Three judging results are that the 4th parameter does not meet second preset condition.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410264603.2A CN105228261B (en) | 2014-06-13 | 2014-06-13 | A kind of information processing method and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410264603.2A CN105228261B (en) | 2014-06-13 | 2014-06-13 | A kind of information processing method and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105228261A CN105228261A (en) | 2016-01-06 |
CN105228261B true CN105228261B (en) | 2019-11-26 |
Family
ID=54996857
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410264603.2A Active CN105228261B (en) | 2014-06-13 | 2014-06-13 | A kind of information processing method and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105228261B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111780360B (en) * | 2020-06-12 | 2022-12-09 | 海信空调有限公司 | Method for linking air conditioner and controlled household appliance and air conditioner |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1351789A (en) * | 1999-05-21 | 2002-05-29 | 国际商业机器公司 | Method and apparatus for initializing secure communications among and for exclusively pairing wireless devices |
CN102170299A (en) * | 2010-02-26 | 2011-08-31 | 通用汽车环球科技运作有限责任公司 | Simplified vehicle bluetooth pairing employing near field communication tags |
CN102315864A (en) * | 2011-09-07 | 2012-01-11 | 百度在线网络技术(北京)有限公司 | Method of point-to-point data transmission for mobile device and device |
TWM427630U (en) * | 2011-12-06 | 2012-04-21 | Prodigid Ltd | Registration system for electronic devices |
CN102780513A (en) * | 2011-05-13 | 2012-11-14 | 希姆通信息技术(上海)有限公司 | Mobile terminal and method for realizing Bluetooth communication between mobile terminals |
CN103209009A (en) * | 2013-02-28 | 2013-07-17 | 山东大学 | Server wireless input device adopting near field communication (NFC) matching and working method thereof |
CN103391118A (en) * | 2013-07-23 | 2013-11-13 | 广东欧珀移动通信有限公司 | Bluetooth headset and audio sharing method by virtue of Bluetooth headsets |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101760911B1 (en) * | 2011-05-18 | 2017-07-24 | 엘지전자 주식회사 | Mobile Terminal |
CN202931302U (en) * | 2012-10-24 | 2013-05-08 | 贾明燕 | Wireless transmitter-receiver set for automobile electronic equipment and automobile electronic equipment |
-
2014
- 2014-06-13 CN CN201410264603.2A patent/CN105228261B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1351789A (en) * | 1999-05-21 | 2002-05-29 | 国际商业机器公司 | Method and apparatus for initializing secure communications among and for exclusively pairing wireless devices |
CN102170299A (en) * | 2010-02-26 | 2011-08-31 | 通用汽车环球科技运作有限责任公司 | Simplified vehicle bluetooth pairing employing near field communication tags |
CN102780513A (en) * | 2011-05-13 | 2012-11-14 | 希姆通信息技术(上海)有限公司 | Mobile terminal and method for realizing Bluetooth communication between mobile terminals |
CN102315864A (en) * | 2011-09-07 | 2012-01-11 | 百度在线网络技术(北京)有限公司 | Method of point-to-point data transmission for mobile device and device |
TWM427630U (en) * | 2011-12-06 | 2012-04-21 | Prodigid Ltd | Registration system for electronic devices |
CN103209009A (en) * | 2013-02-28 | 2013-07-17 | 山东大学 | Server wireless input device adopting near field communication (NFC) matching and working method thereof |
CN103391118A (en) * | 2013-07-23 | 2013-11-13 | 广东欧珀移动通信有限公司 | Bluetooth headset and audio sharing method by virtue of Bluetooth headsets |
Also Published As
Publication number | Publication date |
---|---|
CN105228261A (en) | 2016-01-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9448611B2 (en) | Interface expending method and device for tablet computer | |
TWI626814B (en) | Method and device for controlling charging, power adapter and mobile terminal | |
TWI628972B (en) | Method and apparatus for matching a wireless device | |
CN103716906B (en) | The method of the electric power of short-range wireless communication means and control short-range wireless communication means | |
KR101784405B1 (en) | System and method for using multiple network addresses to establish synchronization of a device under test and test equipment controlling the test | |
TWI724019B (en) | Method for testing a low power radio frequency (rf) data packet signal transceiver | |
CN104202729B (en) | The adding method of a kind of contact person, Apparatus and system | |
CN104767091A (en) | Communication control pins in dual row connector | |
JP6768794B2 (en) | How to Test a Low Output Radio Frequency (RF) Data Packet Signal Transmitter | |
CN104053215A (en) | Method and device for selecting optimum position of access point | |
CN104764973B (en) | Induction type wiring harness tester and detection method | |
TWI662821B (en) | System and method for testing a radio frequency transceiver by controlling test flow via an induced interrupt | |
KR102611724B1 (en) | How to Test Radio Frequency (RF) Data Packet Signal Transceivers Using Implicit Synchronization | |
CN105228261B (en) | A kind of information processing method and electronic equipment | |
CN105159648A (en) | Voice information output method and electronic equipment | |
CN104850203A (en) | Electronic apparatus reset method and electronic apparatus | |
CN104156592B (en) | Data processing method and data processing equipment | |
CN111289817A (en) | Method, device and system for monitoring faults of electric appliance and storage medium | |
EP2819349A1 (en) | Communication device, communication method, and management device | |
CN106160073B (en) | A kind of electronic equipment and its control method | |
CN105701049B (en) | System, method, apparatus and the mobile terminal of charge flag position is written | |
CN108200558A (en) | A kind of Bluetooth pairing methods and device | |
CN104850522B (en) | A kind of signal output method and device | |
CN103812830A (en) | Protocol authentication method used for bus slave station equipment | |
CN103945414B (en) | Method and equipment for determining mapping relation between frequency band and long-distance power transfer inclination angle |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |