CN105227237B - A kind of information matching method, intelligent shoe and electronic equipment - Google Patents

A kind of information matching method, intelligent shoe and electronic equipment Download PDF

Info

Publication number
CN105227237B
CN105227237B CN201510531472.4A CN201510531472A CN105227237B CN 105227237 B CN105227237 B CN 105227237B CN 201510531472 A CN201510531472 A CN 201510531472A CN 105227237 B CN105227237 B CN 105227237B
Authority
CN
China
Prior art keywords
equipment
spectrum
pairing
attribute information
luminescence unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510531472.4A
Other languages
Chinese (zh)
Other versions
CN105227237A (en
Inventor
吴杨华
杨润
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201510531472.4A priority Critical patent/CN105227237B/en
Publication of CN105227237A publication Critical patent/CN105227237A/en
Application granted granted Critical
Publication of CN105227237B publication Critical patent/CN105227237B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephone Function (AREA)

Abstract

The invention discloses a kind of information matching method, intelligent shoe and electronic equipments, it is related to electronic technology field, to solve the technical problem that the power consumption of intelligent shoe in the prior art and electronic equipment with clock synchronization is larger and matching efficiency is low, which comprises obtain the attribute information of the first equipment;Based on the attribute information, the configuration information of the first pairing spectrum is generated;Based on the configuration information, luminescence unit transmitting the first pairing spectrum is controlled.The embodiment of the present invention is matched for information.

Description

A kind of information matching method, intelligent shoe and electronic equipment
Technical field
This application involves electronic technology field more particularly to a kind of information matching methods, intelligent shoe and electronic equipment.
Background technique
Extensive with various electronic products is popularized, and the fast development of micromation research, sets in conventional shoe Enter electronic product, conventional shoe intelligence is made to become feasible scheme.For example, step counting has may be implemented in existing intelligent shoe, Check weighing, the functions such as temperature measurement, new experience is provided for user.
Check that the data of intelligent shoe record, the prior art are usually by the data synchronous transfer of intelligent shoe in order to facilitate user To the handheld device of user, and before data are synchronous, need to carry out between intelligent shoe and handheld device by Bluetooth technology Certification pairing, still, the power consumption for opening bluetooth progress broadcast search are larger, and since the setting of pair-wise key is comparatively laborious, The efficiency for causing intelligent shoe to be matched with handheld device is lower.
Summary of the invention
The embodiment of the invention provides a kind of information matching method, intelligent shoe and electronic equipments, to solve the prior art The technical problem that the power consumption of middle intelligent shoe and electronic equipment with clock synchronization is larger and matching efficiency is low.
In order to reach foregoing invention purpose, one aspect of the present invention provides a kind of information matching method, comprising:
Obtain the attribute information of the first equipment;
Based on the attribute information, the configuration information of the first pairing spectrum is generated;
Based on the configuration information, luminescence unit transmitting the first pairing spectrum is controlled;Wherein, the first pairing light Spectrum carries the attribute information, so that the second equipment is after collecting the first pairing spectrum, based on the attribute information into Row connection pairing.
Optionally, the luminescence unit that first equipment includes is one or more, described to be based on the attribute information, life At the configuration information of the first pairing spectrum, comprising:
Based on the attribute information, matching for the corresponding luminescent color of luminescence unit for configuring that first equipment includes is generated Confidence breath.
Optionally, the luminescence unit that first equipment includes is one or more, described to be based on the attribute information, life At the configuration information of the first pairing spectrum, comprising:
Based on the attribute information, matching for the corresponding light emission luminance of luminescence unit for configuring that first equipment includes is generated Confidence breath.
Optionally, the luminescence unit that first equipment includes is one or more, generates the first pairing spectrum described Configuration information before, further includes:
Acquire the ambient light spectrum of the first equipment current environment;
Second frequency range is determined according to the first frequency range of the ambient light spectrum, wherein the second frequency range It is not be overlapped with the first frequency range;
It is described to be based on the attribute information, generate the configuration information of the first pairing spectrum, comprising:
Based on the attribute information, generate the spectral frequency for the luminescence unit transmitting that first equipment includes matches confidence Breath, the spectral frequency are within the scope of the second frequency.
Optionally, before first equipment transmitting the first pairing spectrum, further includes:
Obtain input operation;
Correspondingly, the first pairing of the first equipment transmitting spectrum, comprising:
When input operation meets preset condition, emit the first pairing spectrum.
Optionally, after control luminescence unit transmitting the first pairing spectrum, the method also includes:
Acquire the second pairing spectrum of the second equipment transmitting;
Successful matching is determined whether based on the second pairing spectrum.
Optionally, the attribute information includes the device identification of first equipment.
Another aspect of the present invention also provides another information matching method, comprising:
Second equipment acquires the first pairing spectrum of the first equipment transmitting;
The first pairing spectrum is parsed, the attribute letter for first equipment that the first pairing spectrum carries is obtained Breath;
Pairing is attached based on the attribute information.
It is optionally, described that pairing is attached based on the attribute information, comprising:
Judge whether the attribute information meets preset pairing condition;
According to judging result transmitting the second pairing spectrum, so that first equipment is determined based on the second pairing spectrum Whether successful matching.
Optionally, the attribute information includes the device identification of first equipment;
It is described to judge whether the attribute information meets preset pairing condition, comprising:
Judge the device identification of first equipment and second equipment is reserved identify whether it is consistent, if so, really Surely meet the pairing condition, if not, it is determined that be unsatisfactory for the pairing condition.
Another aspect of the present invention also provides a kind of first equipment, including processor, first acquisition unit and luminescence unit;
The processor is used for, and the attribute information of first equipment is obtained based on the first acquisition unit;
Based on the attribute information, the configuration information of the first pairing spectrum is generated;
Based on the configuration information, the luminescence unit transmitting the first pairing spectrum is controlled;Wherein, described first matches The attribute information is carried to spectrum, so that the second equipment is after collecting the first pairing spectrum, is believed based on the attribute Breath is attached pairing.
Optionally, the luminescence unit that first equipment includes is one or more, and the processor is also used to:
Based on the attribute information, matching for the corresponding luminescent color of luminescence unit for configuring that first equipment includes is generated Confidence breath.
Optionally, the luminescence unit that first equipment includes is one or more, and the processor is also used to:
Based on the attribute information, matching for the corresponding light emission luminance of luminescence unit for configuring that first equipment includes is generated Confidence breath.
Optionally, the luminescence unit that first equipment includes is one or more, first equipment further include: gloss Collect unit;The processor is also used to:
The ambient light spectrum of the first equipment current environment is acquired based on the light collection unit;
Second frequency range is determined according to the first frequency range of the ambient light spectrum, wherein the second frequency range It is not be overlapped with the first frequency range;
Based on the attribute information, generate the spectral frequency for the luminescence unit transmitting that first equipment includes matches confidence Breath, the spectral frequency are within the scope of the second frequency.
Optionally, first equipment further includes second acquisition unit, and the processor is also used to:
Input operation is obtained based on the second acquisition unit;
When input operation meets preset condition, emit the first pairing spectrum.
Optionally, the processor is also used to:
The second pairing spectrum of the second equipment transmitting is acquired based on light collection unit;
Successful matching is determined whether based on the second pairing spectrum.
Another aspect of the present invention provides another second equipment, comprising: processor, light collection unit, resolution unit;
The processor is used for, and the first pairing spectrum of the first equipment transmitting is acquired based on the light collection unit;
Based on resolution unit parsing the first pairing spectrum, the first pairing spectrum carries described the is obtained The attribute information of one equipment;
Pairing is attached based on the attribute information.
Optionally, second equipment further includes luminescence unit, and the processor is also used to:
Judge whether the attribute information meets preset pairing condition;
It is based on institute's luminescence unit transmitting the second pairing spectrum according to judging result, so that first equipment is based on described the Two pairing spectrum determine whether successful matching.
Optionally, the attribute information includes the device identification of first equipment;The processor is also used to:
Judge the device identification of first equipment and second equipment is reserved identify whether it is consistent, if so, really Surely meet the pairing condition, if not, it is determined that be unsatisfactory for the pairing condition.
Said one or multiple technical solutions in the embodiment of the present invention, at least have the following technical effect that
1, the first equipment obtains the attribute information of itself, and is based on the attribute information, generates matching for the first pairing spectrum Confidence breath is based on the configuration information, control luminescence unit transmitting the first pairing spectrum, wherein the first pairing light Spectrum carries the attribute information, so that the second equipment is after collecting the first pairing spectrum, based on the attribute information into Row connection pairing.Wherein, the power consumption of the first equipment emission spectrum is far below the function that pairing is scanned for using bluetooth or wifi Consumption, therefore, information matching method provided by the invention reduces power consumption, saves equipment electricity.
2, the first pairing spectrum that the first equipment is sent carries the attribute information of first equipment, and the second equipment exists After collecting the first pairing spectrum, pairing is attached based on the attribute information, compared to needing user in Bluetooth technology Pair-wise key is being set with clock synchronization every time, information matching method provided by the invention is more simple and fast.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, required use in being described below to embodiment Attached drawing be briefly described, it should be apparent that, drawings in the following description are some embodiments of the invention, for ability For the those of ordinary skill of domain, without creative efforts, it can also be obtained according to these attached drawings other attached Figure.
Fig. 1 is a kind of flow diagram of information matching method provided in an embodiment of the present invention;
Fig. 2 is a kind of structural schematic diagram of mobile phone provided in an embodiment of the present invention;
Fig. 3 is a kind of structural schematic diagram of intelligent shoe provided in an embodiment of the present invention;
Fig. 4 is the schematic diagram that spectrum is acquired between a kind of intelligent shoe provided in an embodiment of the present invention and mobile phone;
Fig. 5 is the flow diagram of another information matching method provided in an embodiment of the present invention;
Fig. 6 is a kind of structural schematic diagram of first equipment provided in an embodiment of the present invention;
Fig. 7 is a kind of structural schematic diagram of second equipment provided in an embodiment of the present invention.
Specific embodiment
The embodiment of the present invention provides a kind of information matching method, intelligent shoe and electronic equipment, for solving in the prior art The technical problem that the power consumption of intelligent shoe and electronic equipment with clock synchronization is larger and matching efficiency is low, general thought are as follows:
A kind of information matching method, which comprises obtain the attribute information of the first equipment;Believed based on the attribute Breath generates the configuration information of the first pairing spectrum;Based on the configuration information, luminescence unit transmitting the first pairing light is controlled Spectrum;Wherein, the first pairing spectrum carries the attribute information, so that the second equipment is collecting the first pairing spectrum Afterwards, pairing is attached based on the attribute information.
The explanation of value, the first equipment described in the embodiment of the present invention can be intelligent shoe, and the second equipment can be Smart machine, such as mobile phone or tablet computer, alternatively, first equipment is smart machine, the second equipment is intelligent shoe.
In this way, scanning for the function matched using bluetooth or wifi since the power consumption of the first equipment emission spectrum is far below Consumption, therefore, information matching method provided in an embodiment of the present invention reduces power consumption, saves equipment electricity, also, due to first The first pairing spectrum that equipment is sent carries the attribute information of first equipment, and the second equipment can be based on the attribute Information is attached pairing, compared to needed in Bluetooth technology user every time with clock synchronization be arranged pair-wise key, the embodiment of the present invention The information matching method of offer is more simple and fast.
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
Embodiment one
Fig. 1 show a kind of flow chart of information matching method provided in an embodiment of the present invention, and the method is applied to the One equipment, first equipment can be intelligent shoe, be also possible to smart machine, such as mobile phone or tablet computer, the side Method includes:
S101, the attribute information for obtaining the first equipment.
Optionally, the attribute information includes the device identification of first equipment.
The explanation of value, the device identification specifically can be the sequence number or device type of first equipment, Or device name etc., which is not limited by the present invention.
S102, it is based on the attribute information, generates the configuration information of the first pairing spectrum.
Optionally, the luminescence unit that first equipment includes is one or more, and the step S102 includes following three Kind implementation:
Mode one, first equipment are based on the attribute information, generate and configure the luminous list that first equipment includes The configuration information of the corresponding luminescent color of member.
It is illustrated using first equipment as mobile phone, as shown in Fig. 2, the light filling light emitting diode of diagram mobile phone (full name in English: Light-Emitting Diode, abbreviation: LED) is the luminescence unit of the mobile phone, first equipment Attribute information is the equipment Serial Number of the mobile phone, for example, 1465200423, then the mobile phone can store digital 0-6 and seven The one-to-one relationship of coloured light, i.e., 0 is corresponding red, and 1 correspondence is orange, and 2 corresponding yellow, 3 corresponding greens, 4 corresponding cyans, 5 is corresponding Blue, 6 corresponding purples, in this way, being directed to equipment Serial Number 1465200423, the configuration information of the first pairing spectrum can match Set the luminescence unit, i.e., the luminescent color of the light filling LED of the described mobile phone is followed successively by orange spectrum, cyan spectrum, purple spectrum, Blue color spectrum, yellow spectrum, red spectrum, red spectrum, cyan spectrum, yellow spectrum, green spectral, in addition, confidence should be matched Breath can also configure the luminous frequency of the light filling LED, for example, configuring the light filling LED emits orange spectrum for first second, second Second transmitting cyan spectrum, third second transmitting purple spectrum ... ..., the tenth second transmitting green spectral, and according to ten seconds a cycles Circulation emits above-mentioned spectrum.
It is above-mentioned to be merely illustrative, wherein a kind of spectrum of the corresponding color of each number, in this way, it is desirable that luminescence unit The spectrum of a variety of different colours can be emitted, and require the second equipment after receiving the first pairing spectrum, can be identified more The spectrum of kind color, the device and calculating to equipment are more demanding, therefore, in the preferred realization of one kind of the embodiment of the present invention In mode, equipment Serial Number can be converted to binary numeral by first equipment, since binary numeral only includes 0 and 1 Two numbers, therefore, first equipment can transmit the equipment Serial Number of first equipment using the spectrum of two kinds of colors, For example, being still illustrated with Fig. 2, equipment Serial Number 1465200423 is converted to binary numeral by the mobile phone 1010111010101010010111100100111, in this way, the mobile phone can transmit described set using the spectrum of two colors Standby sequence number, for example, using the corresponding number 0 of red spectrum, the corresponding number 1 of blue color spectrum, that is to say, that the light filling of the mobile phone LED is only required to send the spectrum of two kinds of colors, and the second equipment is only required to the spectrum of two kinds of colors of identification, reduces pair The requirement of luminescence unit, and the calculating requirement to the second equipment.
For another example, first equipment is intelligent shoe, as shown in figure 3, the luminescence unit that the intelligent shoe includes Be 10, at this point, if the equipment Serial Number of the intelligent shoe be 1465200423, and the intelligent shoe be stored with digital 0-6 with The one-to-one relationship of seven-colour-light, for example, 0 is corresponding red, 1 correspondence is orange, 2 corresponding yellow, 3 corresponding greens, 4 corresponding cyans, and 5 Corresponding blue, 6 corresponding purples, in this way, being directed to equipment Serial Number 1465200423, the configuration information of the first pairing spectrum can To configure the luminescent color of each luminescence unit are as follows: first luminescence unit emits orange spectrum, second luminescence unit hair Cyan spectrum is penetrated, third luminescence unit emits purple spectrum, blue color spectrum, and the 5th luminescence unit emits yellow spectrum, the Six luminescence units emit red spectrum, and the 7th luminescence unit emits red spectrum, and the 8th luminescence unit emits cyan light Spectrum, the 9th luminescence unit emit yellow spectrum, and the tenth luminescence unit emits green spectral.
The example above is only the special situation of one kind of the embodiment of the present invention, i.e., the digital number of equipment Serial Number with it is described The luminescence unit number that first equipment includes is identical, and in the specific implementation process, the luminescence unit number that first equipment includes is logical The often less than digital number of equipment Serial Number, also, equipment Serial Number is converted into binary numeral in first equipment, and In the case where sending the binary numeral using the spectrum of two kinds of colors, the digital number that first equipment needs to send is more More, therefore, in a kind of preferred implementation of the embodiment of the present invention, first electronic equipment can be by equipment Serial Number It is divided intoA part, and configure the luminescence unit that first equipment includes and existIt is sent in a period, wherein N For the digital number of equipment row number, n is the luminescence unit number that first equipment includes.For example, being directed to the two of equipment Serial Number Binary value 1010111010101010010111100100111, digital number are 31, and first equipment includes 10 hairs Light unit, then first equipment, which can divide the binary numeral 1010111010101010010111100100111, isPart, for example, 1010111010,1010100101,1110010011,1 totally 4 parts, and control described 10 Luminescence unit corresponds to the spectrum of the color of each number in first time period according to 1010111010 transmittings, in second time period The spectrum of the interior color according to the corresponding each number of 1010100101 transmittings, according to 1110010011 transmittings within the third period The spectrum of the color of corresponding each number, and control a luminescence unit within the 4th period and emit digital 1 corresponding color Spectrum.
In addition, in the specific implementation process, each luminescence unit of the first equipment may can only emit a kind of color Spectrum, intelligent shoe as shown in connection with fig. 3, each luminescence unit that the intelligent shoe includes are a LED, wherein each LED A kind of spectrum of color can only be sent, then in the alternatively possible implementation of the embodiment of the present invention, for equipment sequence Numbers 1465200423, if 0 is corresponding red, 1 correspondence is orange, 2 corresponding yellow, 3 corresponding greens, 4 corresponding cyans, 5 corresponding blues, and 6 Corresponding purple, then the intelligent shoe can successively control the orange LED emission spectrum in 10 LED, cyan LED emission spectrum, Purple LED emission spectrum, blue LED emission spectrum ... ..., green LED emission spectrum, similarly, the intelligent shoe can also will be set Standby sequence number is converted to binary numeral, in this way, the intelligent shoe only needs to include the spectrum that can emit two kinds of colors LED, such as send the LED of green spectral and send the LED of red spectrum, then the intelligent shoe can be directed to the binary number Number 0 in value controls the LED emission spectrum that can send green spectral, controls for the number 1 in the binary numeral The LED emission spectrum of red spectrum can be sent.
Mode two, first equipment are based on the attribute information, generate and configure the luminous list that first equipment includes The configuration information of the corresponding light emission luminance of member.
In mode one, first equipment is same by a kind of spectrum of the corresponding color of each number of equipment Serial Number Reason, mode two can also be by a kind of spectrum of the corresponding brightness of each number of the equipment Serial Number of first equipment, specifically The process for generating the configuration information of configuration the first pairing spectrum is referred to the description of mode one kind, that is to say, that for first Equipment includes the case where one or more luminescence units, and mode two can also generate matching for the first pairing spectrum as mode one Confidence breath, unlike, in mode one, quantify the different digital of the attribute information of first equipment in the first pairing spectrum Different colors is shown as, and in mode two, the different digital for quantifying the attribute information of first equipment matches light first Different brightness is shown as in spectrum, details are not described herein again.
Mode three, first equipment are before the configuration information for generating the first pairing spectrum, acquisition described first The ambient light spectrum of equipment current environment, and second frequency range is determined according to the first frequency range of the ambient light spectrum, Wherein, the second frequency range and the first frequency range be not be overlapped, then first equipment is based on the attribute information, The configuration information of the first pairing spectrum is generated, specifically include: first equipment is based on the attribute information, generates described first The configuration information of the spectral frequency for the luminescence unit transmitting that equipment includes, the spectral frequency are in the second frequency range It is interior.
That is, in mode three, in order to avoid environment light generates the first pairing spectrum that first equipment is sent Interference, first equipment, can be based on described in the acquisitions of light collection unit before the configuration information that spectrum is matched in generation first The ambient light spectrum of first equipment current environment, and first frequency range locating for the ambient light spectrum is analyzed, in this way, described The configuration information of the spectral frequency for the luminescence unit transmitting that first equipment generates, it is ensured that the spectrum of each luminescence unit transmitting Frequency and the first frequency range it is not be overlapped.Avoid ambient light interference.
Illustratively, if the frequency range of the ambient light spectrum of the first equipment current environment is 5.0 × 1014~5.2 ×1014Hz, then first equipment can be in frequency range 6.0 × 1014~10 × 1014It selects frequency to generate first in Hz to match When to the configuration information of spectrum, so that the frequency of the spectrum of each luminescence unit transmitting is not at the frequency of the ambient light spectrum Range avoids the interference of ambient light spectrum.
S103, the configuration information, control luminescence unit transmitting the first pairing spectrum are based on.
Wherein, the first pairing spectrum carries the attribute information, so that the second equipment is matched collecting described first After spectrum, pairing is attached based on the attribute information.
Optionally, before first equipment transmitting the first pairing spectrum, first equipment can also obtain input Operation, correspondingly, the first pairing of the first equipment transmitting spectrum, comprising: when input operation meets preset condition, hair Penetrate the first pairing spectrum.
Illustratively, if first equipment is intelligent shoe, the preset condition can be preset operation in intelligent shoe Track, in this way, the intelligent shoe meets preset operation rail in the running track for detecting user after user is worn by intelligent shoe When mark, emit the first pairing spectrum.
If first equipment is smart machine, such as mobile phone, then the preset condition can be preset user's operation, example Such as, when mobile phone detects the operation of double-click touch screen of user under camera status, transmitting the first pairing spectrum.
Above-mentioned to be merely illustrative, in the specific implementation process, the preset condition in the first equipment can be according to specific Using being preset, which is not limited by the present invention.
Further, after luminescence unit transmitting the first pairing spectrum of first equipment, second equipment can lead to Light collection unit acquisition the first pairing spectrum is crossed, and parses the first pairing spectrum and obtains the attribute of first equipment Information is matched according to the attribute information of first equipment, and sends second to first equipment according to pairing result Match spectrum, that is to say, that the first equipment can also acquire the second pairing light of the second equipment transmitting after step S103 Spectrum, and successful matching is determined whether based on the second pairing spectrum.
It as shown in Figures 2 and 3, include light collection unit, for adopting no matter the first equipment is intelligent shoe or mobile phone Collect the second pairing spectrum of the second equipment transmission.
Below using the first equipment as intelligent shoe, the second equipment is that mobile phone carries out illustrated in greater detail, as shown in figure 4, described Intelligent shoe includes the LED for emitting the first pairing spectrum, and the optical sensor for acquiring the second pairing spectrum, the hand The first pairing spectrum that the LED that the camera of machine is used to acquire the intelligent shoe is sent, the light filling LED of the mobile phone are used for Emit the second pairing spectrum.In this way, the intelligent shoe, after above-mentioned steps S101 to step S103, user can open The camera of mobile phone, and hand-held mobile phone, by the LED of intelligent shoe described in camera alignment, the LED for acquiring the intelligent shoe is sent out The the first pairing spectrum penetrated, the mobile phone obtain the attribute information for the intelligent shoe that the first pairing spectrum carries in parsing Afterwards, pairing connection, and the light of the light filling LED alignment intelligent shoe according to pairing result control mobile phone are carried out based on the attribute information Sensor sends the second pairing spectrum, so that the intelligent shoe is collecting the second pairing spectrum based on the optical sensor Afterwards, successful matching is determined whether according to the second pairing spectrum.
Using information matching method provided in an embodiment of the present invention, at least have the following technical effect that
1, the first equipment obtains the attribute information of itself, and is based on the attribute information, generates matching for the first pairing spectrum Confidence breath is based on the configuration information, control luminescence unit transmitting the first pairing spectrum, wherein the first pairing light Spectrum carries the attribute information, so that the second equipment is after collecting the first pairing spectrum, based on the attribute information into Row connection pairing.Wherein, the power consumption of the first equipment emission spectrum is far below the function that pairing is scanned for using bluetooth or wifi Consumption, therefore, information matching method provided by the invention reduces power consumption, saves equipment electricity.
2, the first pairing spectrum that the first equipment is sent carries the attribute information of first equipment, and the second equipment exists After collecting the first pairing spectrum, pairing is attached based on the attribute information, compared to needing user in Bluetooth technology Pair-wise key is being set with clock synchronization every time, information matching method provided by the invention is more simple and fast.
Embodiment two
Fig. 5 show the embodiment of the present invention and provides the flow chart of another information matching method, and the method is applied to the Two equipment, second equipment can be intelligent shoe, is also possible to smart machine, which comprises
S501, the second equipment acquire the first pairing spectrum of the first equipment transmitting.
S502, second equipment parsing the first pairing spectrum, obtain the described of the first pairing spectrum carrying The attribute information of first equipment.
Illustratively, the information matching method provided referring to the embodiment of the present invention one, first equipment can be according to described The luminescence unit transmitting of the equipment Serial Number of first equipment, the first equipment of control has different colours, perhaps different brightness or The spectrum of different frequency, referring in particular to corresponding description in embodiment one, details are not described herein again, in this way, second equipment is being adopted It, can be bright according to the spectrum for the different colours for including in the first pairing spectrum, or difference after collecting the first pairing spectrum The spectrum of degree or the spectrum resolution of different frequency obtain the equipment Serial Number of first equipment.
S503, second equipment are based on the attribute information and are attached pairing.
Optionally, step S503 includes: that second equipment judges whether the attribute information meets preset pairing item Part;According to judging result transmitting the second pairing spectrum, determine whether so that first equipment is based on the second pairing spectrum Successful matching.
Illustratively, device identification is reserved in second equipment, the attribute information of first equipment includes described The device identification of one equipment, then second equipment is by judging that the device identification of first equipment and second equipment are pre- Whether the device identification stayed is consistent, that is, can be determined whether to meet preset pairing condition.
Further, second equipment is after the attribute information for determining first equipment meets the pairing condition, It can control luminescence unit transmitting the second pairing spectrum of the second equipment, wherein the second pairing spectrum may include described the The device identification of two equipment, in this way, if first equipment is set in the device identification for determining second equipment with described first When the mark reserved in standby is consistent, successful matching is determined;Second equipment is determining the attribute information of first equipment not After meeting the pairing condition, it includes matching the second of failed message to match that the luminescence unit that can control second equipment, which is sent, To spectrum, to notify the first device pairing connection failure.
Using information matching method provided in an embodiment of the present invention, at least have the following technical effect that
Using the second equipment provided in an embodiment of the present invention, at least have the following technical effect that
1, since the first pairing spectrum that first equipment is sent carries the attribute information of first equipment, because This, the second equipment is attached pairing based on the attribute information, compares bluetooth skill after collecting the first pairing spectrum Need user that pair-wise key is being set with clock synchronization every time in art, information matching method provided by the invention is more simple and fast.
2, it is matched between second equipment and the first equipment by spectrum, power consumption, which is far below, utilizes bluetooth or wifi The power consumption of pairing is scanned for, therefore, information matching method provided by the invention reduces power consumption, saves equipment electricity.
Embodiment three
The embodiment of the present invention provides a kind of first equipment 60, and a kind of information for implementing the offer of the embodiment of the present invention one is matched To method, as shown in fig. 6, first equipment includes processor 61, first acquisition unit 62 and luminescence unit 63.
The processor 61 is used for, and the attribute information of first equipment is obtained based on the first acquisition unit 62;
Based on the attribute information, the configuration information of the first pairing spectrum is generated;
Based on the configuration information, controls the luminescence unit 63 and emit the first pairing spectrum;Wherein, described first It matches spectrum and carries the attribute information, so that the second equipment is after collecting the first pairing spectrum, be based on the attribute Information is attached pairing.
Optionally, the luminescence unit that first equipment includes is one or more, and the processor 61 is also used to:
Based on the attribute information, matching for the corresponding luminescent color of luminescence unit for configuring that first equipment includes is generated Confidence breath.
Optionally, the luminescence unit that first equipment includes is one or more, and the processor 61 is also used to:
Based on the attribute information, matching for the corresponding light emission luminance of luminescence unit for configuring that first equipment includes is generated Confidence breath.
Optionally, the luminescence unit that first equipment includes is one or more, first equipment further include: gloss Collect unit 64;The processor 61 is also used to:
The ambient light spectrum of the first equipment current environment is acquired based on the light collection unit 64;
Second frequency range is determined according to the first frequency range of the ambient light spectrum, wherein the second frequency range It is not be overlapped with the first frequency range;
Based on the attribute information, generate the spectral frequency for the luminescence unit transmitting that first equipment includes matches confidence Breath, the spectral frequency are within the scope of the second frequency.
Optionally, first equipment further includes second acquisition unit 65, and the processor 61 is also used to:
Input operation is obtained based on the second acquisition unit;
When input operation meets preset condition, emit the first pairing spectrum.
Optionally, the processor 61 is also used to:
The second pairing spectrum of the second equipment transmitting is acquired based on light collection unit 64;
Successful matching is determined whether based on the second pairing spectrum.
Using the first equipment provided in an embodiment of the present invention, at least have the following technical effect that
1, the power consumption of the first equipment emission spectrum is far below the power consumption that pairing is scanned for using bluetooth or wifi, because This, information matching method provided by the invention reduces power consumption, saves equipment electricity.
2, the first pairing spectrum that the first equipment is sent carries the attribute information of first equipment, and the second equipment exists After collecting the first pairing spectrum, pairing is attached based on the attribute information, compared to needing user in Bluetooth technology Pair-wise key is being set with clock synchronization every time, information matching method provided by the invention is more simple and fast.
Affiliated those skilled in the art can be understood that, for convenience and simplicity of description, the of foregoing description The specific work process and description of two equipment, can refer to corresponding processes in the foregoing method embodiment, details are not described herein.
Example IV
The embodiment of the present invention provides a kind of second equipment 70, matches for implementing a kind of information provided by Embodiment 2 of the present invention To method, as shown in fig. 7, second equipment 70 includes: processor 71, light collection unit 72, resolution unit 73.
The processor 71 is used for, and the first pairing spectrum of the first equipment transmitting is acquired based on the light collection unit 72;
The first pairing spectrum is parsed based on the resolution unit 73, obtains the described of the first pairing spectrum carrying The attribute information of first equipment;
Pairing is attached based on the attribute information.
Optionally, second equipment further includes luminescence unit 74, and the processor 71 is also used to:
Judge whether the attribute information meets preset pairing condition;
It is based on institute's luminescence unit transmitting the second pairing spectrum according to judging result, so that first equipment is based on described the Two pairing spectrum determine whether successful matching.
Optionally, the attribute information includes the device identification of first equipment;The processor 71 is also used to:
Judge the device identification of first equipment and second equipment is reserved identify whether it is consistent, if so, really Surely meet the pairing condition, if not, it is determined that be unsatisfactory for the pairing condition.
Using the second equipment provided in an embodiment of the present invention, at least have the following technical effect that
1, since the first pairing spectrum that first equipment is sent carries the attribute information of first equipment, because This, the second equipment is attached pairing based on the attribute information, compares bluetooth skill after collecting the first pairing spectrum Need user that pair-wise key is being set with clock synchronization every time in art, information matching method provided by the invention is more simple and fast.
2, it is matched between second equipment and the first equipment by spectrum, power consumption, which is far below, utilizes bluetooth or wifi The power consumption of pairing is scanned for, therefore, information matching method provided by the invention reduces power consumption, saves equipment electricity.
Affiliated those skilled in the art can be understood that, for convenience and simplicity of description, the of foregoing description The specific work process and description of two equipment, can refer to corresponding processes in the foregoing method embodiment, details are not described herein.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more, The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces The form of product.
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.
Specifically, the corresponding computer program instructions of information processing method in the embodiment of the present application can be stored in CD, hard disk, on the storage mediums such as USB flash disk, when the computer program instructions quilt corresponding with guiding method of operating in storage medium One electronic equipment reads or is performed, and includes the following steps:
Obtain the attribute information of the first equipment;
Based on the attribute information, the configuration information of the first pairing spectrum is generated;
Based on the configuration information, luminescence unit transmitting the first pairing spectrum is controlled;Wherein, the first pairing light Spectrum carries the attribute information, so that the second equipment is after collecting the first pairing spectrum, based on the attribute information into Row connection pairing.
Optionally, the luminescence unit that first equipment includes is one or more, described to be based on the attribute information, life At the configuration information of the first pairing spectrum, comprising:
Based on the attribute information, matching for the corresponding luminescent color of luminescence unit for configuring that first equipment includes is generated Confidence breath.
Optionally, the luminescence unit that first equipment includes is one or more, described to be based on the attribute information, life At the configuration information of the first pairing spectrum, comprising:
Based on the attribute information, matching for the corresponding light emission luminance of luminescence unit for configuring that first equipment includes is generated Confidence breath.
Optionally, the luminescence unit that first equipment includes is one or more, generates the first pairing spectrum described Configuration information before, further includes:
Acquire the ambient light spectrum of the first equipment current environment;
Second frequency range is determined according to the first frequency range of the ambient light spectrum, wherein the second frequency range It is not be overlapped with the first frequency range;
It is described to be based on the attribute information, generate the configuration information of the first pairing spectrum, comprising:
Based on the attribute information, generate the spectral frequency for the luminescence unit transmitting that first equipment includes matches confidence Breath, the spectral frequency are within the scope of the second frequency.
Optionally, before first equipment transmitting the first pairing spectrum, further includes:
Obtain input operation;
Correspondingly, the first pairing of the first equipment transmitting spectrum, comprising:
When input operation meets preset condition, emit the first pairing spectrum.
Optionally, after control luminescence unit transmitting the first pairing spectrum, the method also includes:
Acquire the second pairing spectrum of the second equipment transmitting;
Successful matching is determined whether based on the second pairing spectrum.
Optionally, the attribute information includes the device identification of first equipment.
Although the preferred embodiment of the application has been described, but one of ordinary skilled in the art once knows substantially Creative concept, then additional changes and modifications may be made to these embodiments.It is wrapped so the following claims are intended to be interpreted as It includes preferred embodiment and falls into all change and modification of the application range.
Obviously, those skilled in the art can carry out various modification and variations without departing from the essence of the application to the application Mind and range.In this way, if these modifications and variations of the application belong to the range of the claim of this application and its equivalent technologies Within, then the application is also intended to include these modifications and variations.

Claims (17)

1. a kind of information matching method characterized by comprising
Obtain the attribute information of the first equipment;
Based on the attribute information, the configuration information of the first pairing spectrum is generated;
Based on the configuration information, luminescence unit transmitting the first pairing spectrum is controlled;Wherein, the first pairing spectrum is taken Connected so that the second equipment is after collecting the first pairing spectrum based on the attribute information with the attribute information Connect pairing;Wherein,
The luminescence unit that first equipment includes be one or more, it is described generate first pairing spectrum configuration information it Before, further includes:
Acquire the ambient light spectrum of the first equipment current environment;
Second frequency range is determined according to the first frequency range of the ambient light spectrum, wherein the second frequency range and institute First frequency range is stated not to be overlapped;
It is described to be based on the attribute information, generate the configuration information of the first pairing spectrum, comprising:
Based on the attribute information, the configuration information of the spectral frequency for the luminescence unit transmitting that first equipment includes is generated, The spectral frequency is within the scope of the second frequency.
2. the method according to claim 1, wherein the luminescence unit that first equipment includes is one or more It is a, it is described to be based on the attribute information, generate the configuration information of the first pairing spectrum, comprising:
Based on the attribute information, generate the corresponding luminescent color of luminescence unit for configuring that first equipment includes matches confidence Breath.
3. the method according to claim 1, wherein the luminescence unit that first equipment includes is one or more It is a, it is described to be based on the attribute information, generate the configuration information of the first pairing spectrum, comprising:
Based on the attribute information, generate the corresponding light emission luminance of luminescence unit for configuring that first equipment includes matches confidence Breath.
4. method according to any one of claims 1 to 3, which is characterized in that in the first pairing of first equipment transmitting Before spectrum, further includes:
Obtain input operation;
Correspondingly, the first pairing of the first equipment transmitting spectrum, comprising:
When input operation meets preset condition, emit the first pairing spectrum.
5. method according to any one of claims 1 to 3, which is characterized in that emit first in the control luminescence unit After matching spectrum, the method also includes:
Acquire the second pairing spectrum of the second equipment transmitting;
Successful matching is determined whether based on the second pairing spectrum.
6. method according to any one of claims 1 to 3, which is characterized in that the attribute information includes described first setting Standby device identification.
7. a kind of information matching method characterized by comprising
Second equipment acquires the first pairing spectrum of the first equipment transmitting;
The first pairing spectrum is parsed, the attribute information for first equipment that the first pairing spectrum carries is obtained;
Pairing is attached based on the attribute information;Wherein,
First equipment includes one or more luminescence units, and acquire the transmitting of the first equipment in second equipment first is matched Before spectrum, further includes:
Second equipment acquires the ambient light spectrum of the first equipment current environment;
Second frequency range is determined according to the first frequency range of the ambient light spectrum, wherein the second frequency range and institute First frequency range is stated not to be overlapped;
First pairing spectrum of the first equipment transmitting, comprising:
Based on the attribute information, the configuration information of the spectral frequency for the luminescence unit transmitting that first equipment includes is generated, The spectral frequency is within the scope of the second frequency.
8. being wrapped the method according to the description of claim 7 is characterized in that described be attached pairing based on the attribute information It includes:
Judge whether the attribute information meets preset pairing condition;
According to judging result transmitting the second pairing spectrum, determine whether so that first equipment is based on the second pairing spectrum Successful matching.
9. according to the method described in claim 8, it is characterized in that, the attribute information includes the equipment mark of first equipment Know;
It is described to judge whether the attribute information meets preset pairing condition, comprising:
Judge the device identification of first equipment and second equipment is reserved identify whether it is consistent, if so, determining full The foot pairing condition, if not, it is determined that be unsatisfactory for the pairing condition.
10. a kind of first equipment, which is characterized in that including processor, first acquisition unit and luminescence unit;
The processor is used for, and the attribute information of first equipment is obtained based on the first acquisition unit;
Based on the attribute information, the configuration information of the first pairing spectrum is generated;
Based on the configuration information, the luminescence unit transmitting the first pairing spectrum is controlled;Wherein, the first pairing light Spectrum carries the attribute information, so that the second equipment is after collecting the first pairing spectrum, based on the attribute information into Row connection pairing;Wherein,
The luminescence unit that first equipment includes is one or more, first equipment further include: light collection unit;It is described Processor is also used to:
The ambient light spectrum of the first equipment current environment is acquired based on the light collection unit;
Second frequency range is determined according to the first frequency range of the ambient light spectrum, wherein the second frequency range and institute First frequency range is stated not to be overlapped;
Based on the attribute information, the configuration information of the spectral frequency for the luminescence unit transmitting that first equipment includes is generated, The spectral frequency is within the scope of the second frequency.
11. the first equipment according to claim 10, which is characterized in that the luminescence unit that first equipment includes is one A or multiple, the processor is also used to:
Based on the attribute information, generate the corresponding luminescent color of luminescence unit for configuring that first equipment includes matches confidence Breath.
12. the first equipment according to claim 10, which is characterized in that the luminescence unit that first equipment includes is one A or multiple, the processor is also used to:
Based on the attribute information, generate the corresponding light emission luminance of luminescence unit for configuring that first equipment includes matches confidence Breath.
13. 0 to 12 described in any item first equipment according to claim 1, which is characterized in that first equipment further includes Two acquiring units, the processor are also used to:
Input operation is obtained based on the second acquisition unit;
When input operation meets preset condition, emit the first pairing spectrum.
14. 0 to 12 described in any item first equipment according to claim 1, which is characterized in that the processor is also used to:
The second pairing spectrum of the second equipment transmitting is acquired based on light collection unit;
Successful matching is determined whether based on the second pairing spectrum.
15. a kind of second equipment characterized by comprising processor, light collection unit, resolution unit;
The processor is used for, and the first pairing spectrum of the first equipment transmitting is acquired based on the light collection unit;
Based on resolution unit parsing the first pairing spectrum, obtains the first pairing spectrum carries described first and set Standby attribute information;
Pairing is attached based on the attribute information;Wherein,
The luminescence unit that first equipment includes is one or more, and the processor is also used to:
The ambient light spectrum of the first equipment current environment is acquired based on the light collection unit;
Second frequency range is determined according to the first frequency range of the ambient light spectrum, wherein the second frequency range and institute First frequency range is stated not to be overlapped;
Based on the attribute information, the configuration information of the spectral frequency for the luminescence unit transmitting that first equipment includes is generated, The spectral frequency is within the scope of the second frequency.
16. the second equipment according to claim 15, which is characterized in that second equipment further includes luminescence unit, institute Processor is stated to be also used to:
Judge whether the attribute information meets preset pairing condition;
It is based on institute's luminescence unit transmitting the second pairing spectrum according to judging result, is matched so that first equipment is based on described second Successful matching is determined whether to spectrum.
17. the second equipment according to claim 16, which is characterized in that the attribute information includes first equipment Device identification;The processor is also used to:
Judge the device identification of first equipment and second equipment is reserved identify whether it is consistent, if so, determining full The foot pairing condition, if not, it is determined that be unsatisfactory for the pairing condition.
CN201510531472.4A 2015-08-26 2015-08-26 A kind of information matching method, intelligent shoe and electronic equipment Active CN105227237B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510531472.4A CN105227237B (en) 2015-08-26 2015-08-26 A kind of information matching method, intelligent shoe and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510531472.4A CN105227237B (en) 2015-08-26 2015-08-26 A kind of information matching method, intelligent shoe and electronic equipment

Publications (2)

Publication Number Publication Date
CN105227237A CN105227237A (en) 2016-01-06
CN105227237B true CN105227237B (en) 2018-12-14

Family

ID=54995974

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510531472.4A Active CN105227237B (en) 2015-08-26 2015-08-26 A kind of information matching method, intelligent shoe and electronic equipment

Country Status (1)

Country Link
CN (1) CN105227237B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105898827A (en) * 2016-04-05 2016-08-24 深圳市文鼎创数据科技有限公司 Wireless device connection method, wireless device and intelligent terminal
KR101863858B1 (en) * 2017-06-26 2018-06-29 솔티드벤처 주식회사 Shoes, user terminal and pairing method thereof

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101536434A (en) * 2006-11-09 2009-09-16 索尼爱立信移动通讯股份有限公司 Pairing system and method for mobile devices
CN103997570A (en) * 2014-05-16 2014-08-20 深圳市欧珀通信软件有限公司 Pairing method and system for mobile terminals and mobile terminals
CN104104441A (en) * 2014-08-12 2014-10-15 陈思源 Near field communication method and near field communication system for intelligent terminals
CN104410603A (en) * 2014-10-20 2015-03-11 北京数字天域科技股份有限公司 Method, device and system of verifying terminal identity

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3558125B2 (en) * 2000-10-17 2004-08-25 日本電気株式会社 Wireless communication connection destination identification method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101536434A (en) * 2006-11-09 2009-09-16 索尼爱立信移动通讯股份有限公司 Pairing system and method for mobile devices
CN103997570A (en) * 2014-05-16 2014-08-20 深圳市欧珀通信软件有限公司 Pairing method and system for mobile terminals and mobile terminals
CN104104441A (en) * 2014-08-12 2014-10-15 陈思源 Near field communication method and near field communication system for intelligent terminals
CN104410603A (en) * 2014-10-20 2015-03-11 北京数字天域科技股份有限公司 Method, device and system of verifying terminal identity

Also Published As

Publication number Publication date
CN105227237A (en) 2016-01-06

Similar Documents

Publication Publication Date Title
US9054799B2 (en) Wireless light communication system and wireless light communication method using the same
Montanari et al. A study of bluetooth low energy performance for human proximity detection in the workplace
US11231146B2 (en) Wireless lighting control system
CN105187732B (en) A kind of visible light signal method for transmitting information and device using the different colours from light source
US10075235B2 (en) Method and apparatus for data transmission
US9119240B2 (en) Lighting control system
ES2539706T3 (en) A lighting system, a light source, a device and a device authorization procedure by the light source
US20160157315A1 (en) Coordinated wearable lighting system
CN106165545A (en) Lighting unit and the method and apparatus of illumination apparatus is controlled for debugging and control touch control and gesture
US11251652B2 (en) Wireless energy transmission method and device
CN105227237B (en) A kind of information matching method, intelligent shoe and electronic equipment
US9454913B2 (en) Simulator tool for physical exercise device
CN108700912A (en) The method and system of equipment is operated by augmented reality
US8634776B2 (en) Communication terminal and pairing method thereof
CN107016895B (en) Military mine clearance simulation training device and method
Afifah et al. Design of low power mobile application for smart home
US20230106748A1 (en) Aerosol atomization device, test device, control method therefor, and control apparatus thereof
CN107204807A (en) The matching method and system of bluetooth equipment
CN105227244B (en) A kind of signaling method, signal acceptance method, send equipment and receiving device
CN108805381B (en) Configuration unit, detection system and detection method
US9210766B2 (en) Method of imposing a dynamic color scheme on light of a lighting unit
CN106612530A (en) Control method, device and system for networking equipment
CN106465520A (en) Apparatus and method for controlling lighting device in electronic device
CN108432158A (en) Issue method, the method and device of access device of configuration information
KR20120006254A (en) Feeling message transfer system using mobile terminal and lighting apparatus and method for the same

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