CN112702742A - Pairing method and device for DECT (digital enhanced cordless Telecommunications) earphones - Google Patents

Pairing method and device for DECT (digital enhanced cordless Telecommunications) earphones Download PDF

Info

Publication number
CN112702742A
CN112702742A CN202011504419.2A CN202011504419A CN112702742A CN 112702742 A CN112702742 A CN 112702742A CN 202011504419 A CN202011504419 A CN 202011504419A CN 112702742 A CN112702742 A CN 112702742A
Authority
CN
China
Prior art keywords
dect
earphone
base station
information
pairing
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.)
Pending
Application number
CN202011504419.2A
Other languages
Chinese (zh)
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.)
Xiamen Yealink Network Technology Co Ltd
Original Assignee
Xiamen Yealink Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xiamen Yealink Network Technology Co Ltd filed Critical Xiamen Yealink Network Technology Co Ltd
Priority to CN202011504419.2A priority Critical patent/CN112702742A/en
Publication of CN112702742A publication Critical patent/CN112702742A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a pairing method and a pairing device of a DECT earphone, which are applied to a DECT base station communicated with the DECT earphone, and the method comprises the following steps: when the connection with the DECT earphone is determined to be successful, acquiring the state information of the DECT earphone; judging whether the DECT earphone is allowed to be paired or not according to the state information; when the DECT earphone is determined to be allowed to be paired, generating and sending encryption information of a base station and an information acquisition request to the DECT earphone so that the DECT earphone can perform first pairing authentication on the encryption information of the base station, and responding to the information acquisition request to generate encryption information of the earphone; receiving earphone encryption information sent by the DECT earphone, and performing second pairing authentication according to the earphone encryption information; and when the first pairing authentication and the second pairing authentication are both successful, completing the pairing of the DECT base station and the DECT earphone. According to the invention, pairing verification is automatically carried out by the DECT base station and the DECT earphone without manual input, so that pairing operation is simplified and pairing efficiency is improved.

Description

Pairing method and device for DECT (digital enhanced cordless Telecommunications) earphones
Technical Field
The invention relates to the technical field of earphones, in particular to a pairing method and device of a DECT earphone.
Background
Digital Enhanced Cordless Telecommunications (DECT) systems are an open, constantly evolving Digital communication standard. A framework for providing voice and data high quality service cordless communication for high user density, small range communications.
Before the DECT earphone is used, the DECT earphone and the DECT base station need to be paired and connected, and after the DECT earphone and the DECT base station are paired, wireless signal transmission between the DECT earphone and the DECT base station can be realized. In the prior art, common pairing methods include pairing by manually inputting device information by a user or pairing by a base station scanning device.
However, the prior art has the following defects: most of the existing DECT headsets do not have a UI interface for users to perform additional operations, so that the scheme of pairing through manually inputting device information or password information is difficult to implement. For the DECT earphone configured with the UI interface, when the existing pairing mode is used for pairing, not only the additional addition of the UI interface for pairing is needed, which increases the pairing cost, but also the earphone has small volume, and the user is easy to make mistakes during input, and the pairing efficiency is low. In addition, if wireless pairing of the base station and the headset is used, the pairing process requires that the base station scans the headset equipment first and then pairing can be performed, which is time-consuming.
Disclosure of Invention
The invention provides a pairing method and device of a DECT earphone, which can reduce the error probability and pairing cost during pairing and improve the accuracy and efficiency of pairing.
An embodiment of the present invention provides a pairing method for a DECT headset, which is applied to a DECT base station communicating with the DECT headset, and the method includes:
when the connection with the DECT earphone is determined to be successful, acquiring the state information of the DECT earphone;
judging whether the DECT earphone is allowed to be paired or not according to the state information;
when the DECT earphone is determined to be allowed to be paired, generating and sending base station encryption information and an information acquisition request to the DECT earphone so that the DECT earphone can perform first pairing authentication on the base station encryption information, and responding to the information acquisition request to generate earphone encryption information;
receiving the earphone encryption information sent by the DECT earphone, and performing second pairing authentication according to the earphone encryption information;
and when the first pairing authentication and the second pairing authentication are both successful, completing the pairing of the DECT base station and the DECT earphone.
Further, the state information includes version information and earphone pairing information;
judging whether the DECT earphone is allowed to be paired according to the state information, wherein the judging comprises the following steps:
determining whether the version information is the same as preset version information, determining whether the version information is matched with a preset DECT earphone or not, and determining whether verification information matched with the earphone pairing information exists in a preset database or not;
when the version information is determined to be the same as the preset version information, no matching with a preset DECT earphone is determined to be completed, and no verification information matched with the earphone pairing information is determined to be in a preset database, determining that the DECT earphone is allowed to be paired;
otherwise, it is determined that the DECT headset does not allow pairing.
Further, the generating and sending base station encryption information and an information acquisition request to the DECT headset includes:
generating a base station random number;
splicing the base station random number and an RFPI code of a DECT base station to generate a string of base station keys, and using the base station keys and the RFPI code as base station encryption information;
and generating an information acquisition request, and sending the base station encryption information and the information acquisition request to the DECT earphone.
Further, the receiving the encryption information of the headset sent by the DECT headset and performing second pairing authentication according to the encryption information of the headset includes:
receiving the earphone encryption information, storing the earphone encryption information in a preset database, wherein the earphone encryption information comprises an earphone key and an IPUI code of the DECT earphone, and splicing and generating the earphone random number and the IPUI code of the DECT earphone after the earphone key generates an earphone random number for the DECT earphone;
determining whether the headset key and the IPUI code are modified based on a DSA digital signature algorithm;
and if the earphone key and the IPUI code are not modified, finishing second pairing authentication.
Further, before the step of determining that the connection between the DECT base station and the DECT headset is successful, the method further comprises:
sending a hello command to the DECT earphone according to a preset period;
determining to connect with the DECT headset when feedback information returned by the DECT headset in response to the hello command is received;
otherwise, the hello command is repeatedly sent.
Furthermore, the DECT earphone is provided with three earphone contacts, and the DECT base station is provided with three base station contacts;
before the step of sending hello commands to the DECT headphones according to the preset period, the method further comprises:
and generating a hello command when the three base station contacts are respectively connected with the three earphone contacts in a one-to-one correspondence manner.
Further, the method further comprises:
acquiring firmware information of the DECT earphone;
acquiring a firmware model from the firmware information, and determining whether the firmware model is the same as the current firmware model of the DECT base station;
and if not, sending firmware data and a firmware upgrading command to the DECT earphone so that the DECT earphone responds to the firmware upgrading command and adopts the firmware data to upgrade the firmware.
Correspondingly, the embodiment of the present application further provides a pairing device for a DECT headset, where the device includes:
the obtaining module is used for obtaining the state information of the DECT earphone when the connection with the DECT earphone is determined to be successful;
the judging module is used for judging whether the DECT earphone is allowed to be paired or not according to the state information;
the generating module is used for generating and sending base station encryption information and an information acquisition request to the DECT earphone when the DECT earphone is determined to be allowed to be paired, so that the DECT earphone can carry out first pairing authentication on the base station encryption information, and the information acquisition request is responded to generate earphone encryption information;
the second pairing module is used for receiving the earphone encryption information sent by the DECT earphone and performing second pairing authentication according to the earphone encryption information;
and the pairing completion module is used for completing pairing of the DECT base station and the DECT earphone when the first pairing authentication and the second pairing authentication are both successful.
Further, the state information includes version information and earphone pairing information;
the judging module is further configured to:
the determining module is used for determining whether the version information is the same as the preset version information, determining whether the matching with a preset DECT earphone is completed or not and determining whether verification information matched with the earphone matching information exists in a preset database or not;
the pairing allowing module is used for determining that the DECT earphone is allowed to be paired when the version information is determined to be the same as the preset version information, the DECT earphone is determined not to be matched with the preset DECT earphone and the verification information matched with the earphone pairing information is determined not to be in a preset database;
a disallowance pairing module to determine that the DECT headset is not allowed to be paired otherwise.
Further, the generating module is further configured to:
the base station random number module is used for generating a base station random number;
the base station encryption module is used for splicing the base station random number and an RFPI code of a DECT base station to generate a string of base station keys, and the base station keys and the RFPI code are used as base station encryption information;
and the information acquisition request module is used for generating an information acquisition request and sending the base station encryption information and the information acquisition request to the DECT earphone.
Further, the second pairing module is further configured to:
receiving the earphone encryption information, storing the earphone encryption information in a preset database, wherein the earphone encryption information comprises an earphone key and an IPUI code of the DECT earphone, and splicing and generating the earphone random number and the IPUI code of the DECT earphone after the earphone key generates an earphone random number for the DECT earphone;
determining whether the headset key and the IPUI code are modified based on a DSA digital signature algorithm;
and if the earphone key and the IPUI code are not modified, finishing second pairing authentication.
Further, the apparatus further comprises:
the command sending module is used for sending a hello command to the DECT earphone according to a preset period;
the contact determining module is used for determining connection with the DECT earphone when feedback information returned by the DECT earphone in response to the hello command is received;
otherwise, the hello command is repeatedly sent.
Furthermore, the DECT earphone is provided with three earphone contacts, and the DECT base station is provided with three base station contacts;
the device further comprises:
and the command generation module is used for generating a hello command when the three base station contacts are respectively connected with the three earphone contacts in a one-to-one correspondence manner.
Further, the apparatus further comprises:
the firmware information acquisition module is used for acquiring the firmware information of the DECT earphone;
a firmware model determining module, configured to obtain a firmware model from the firmware information, and determine whether the firmware model is the same as a current firmware model of the DECT base station;
and the firmware upgrading module is used for sending firmware data and a firmware upgrading command to the DECT earphone if the firmware data and the firmware upgrading command are different, so that the DECT earphone responds to the firmware upgrading command and adopts the firmware data to upgrade the firmware.
Compared with the prior art, the pairing method and device for the DECT earphones provided by the embodiment of the invention have the beneficial effects that: according to the method and the device, after the DECT base station is in contact connection with the DECT earphone, pairing verification can be automatically performed by the DECT base station and the DECT earphone, manual input is not needed, pairing operation is simplified, pairing efficiency is improved, a UI (user interface) for pairing is not additionally arranged, and pairing cost can be further reduced; compare simultaneously and pair in wireless mode, the DECT base station directly pairs through the DATA DATA line with the DECT earphone, can further improve and pair efficiency to can carry out software upgrading fast when software loophole or bug appear, satisfy user's user demand, promote user's use and experience.
Drawings
Fig. 1 is a schematic structural diagram of a DECT headset and a DECT base station according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of a pairing method for a DECT headset according to an embodiment of the present invention;
fig. 3 is a schematic connection operation flow diagram of a pairing method for a DECT headset according to an embodiment of the present invention;
fig. 4 is a schematic diagram of a pairing operation flow of a pairing method of a DECT headset according to an embodiment of the present invention;
fig. 5 is a schematic flow chart of hardware upgrade of a pairing method of a DECT headset according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a pairing apparatus of a DECT headset according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Most of the existing DECT headsets do not have a UI interface for users to perform additional operations, so that the scheme of pairing through manually inputting device information or password information is difficult to implement. For the DECT earphone configured with the UI interface, when the existing pairing mode is used for pairing, not only the additional addition of the UI interface for pairing is needed, which increases the pairing cost, but also the earphone has small volume, and the user is easy to make mistakes during input, and the pairing efficiency is low. In addition, if wireless pairing of the base station and the headset is used, the pairing process requires that the base station scans the headset equipment first and then pairing can be performed, which is time-consuming.
In order to solve the above problem, the pairing method of the DECT headset according to the embodiment of the present application will be described and explained in detail through the following specific embodiments.
In this embodiment, the pairing method of the DECT headset can be applied to a DECT base station, and referring to fig. 1, a schematic structural diagram of the DECT headset and the DECT base station according to an embodiment of the present invention is shown. The DECT base station is provided with three base station contacts which correspond to three types of VCC, GND and DATA DATA lines, respectively. The DECT headset is also provided with three headset contacts, corresponding to VCC, GND and DATA lines, respectively. The same type of DATA line interconnect, when using, the DECT earphone can set up on the DECT base station, VCC, GND of DECT earphone are charged by VCC and GND of DECT base station, because the DATA DATA line of DECT base station is connected with the DATA DATA line of DECT earphone for the DECT base station can communicate with the DECT earphone.
Referring to fig. 2, a flowchart of a pairing method for a DECT headset according to an embodiment of the present invention is shown.
As an example, the pairing method of the DECT headset may include:
and S11, sending hello commands to the DECT earphone according to a preset period.
The preset period may be a period for sending a command set by a user, and may be once every 5 seconds and once every 10 seconds.
In this embodiment, since the DECT headset and the DECT base station need to be connected to each other and then acquire to communicate, it needs to be determined that both are connected to each other before sending the hello command.
As an example, before step S11, the method further includes:
and generating a hello command when the three base station contacts are respectively connected with the three earphone contacts in a one-to-one correspondence manner.
In practice, the DECT base station may generate a hello command and transmit it to the DECT headset via the DATA line when the three contacts of the DECT base station and the three contacts of the DECT headset are connected in a one-to-one correspondence.
S12, when receiving the feedback information returned by the DECT earphone responding to the hello command, determining to connect with the DECT earphone;
in this embodiment, the feedback information may be a reply message generated by the DECT headset after receiving the hello command. The feedback information may also be a hello command.
In particular, the DECT headset may receive hello commands over a DATA line of the DECT headset and transmit feedback information to the DECT base station over the DATA line of the DECT headset.
S13, otherwise, repeatedly sending hello command.
In this embodiment, when the feedback information of the DECT headset is not received by the DECT, the hello command may be repeatedly transmitted until the feedback information is received, or the transmission of the hello command may be stopped when the feedback information is not received for a certain time interval.
Specifically, referring to fig. 3, a schematic connection operation flow diagram of a pairing method for a DECT headset according to an embodiment of the present invention is shown. The DECT base station sends a hello command to the DECT earphone, waits for the response of the DECT earphone, and when the DECT earphone feeds back the hello command to the DECT base station, the DECT base station can determine that the DECT earphone is placed on the DECT base station, the DECT base station determines that the connection with the DECT earphone is successful, otherwise, the DECT base station determines that the connection with the DECT earphone is unsuccessful.
S14, when the connection with the DECT earphone is determined to be successful, acquiring the state information of the DECT earphone.
In this embodiment, if the DECT base station determines that the connection with the DECT headset is successful, the state information of the DECT headset may be received through a DATA line of the DECT base station. Specifically, the DECT base station may send a status information acquisition request to the DECT headset when determining that the connection with the DECT headset is successful, and the DECT headset sends the status information to the DECT base station after receiving the status information acquisition request.
And S15, judging whether the DECT earphone allows pairing according to the state information.
Since each base station is paired with a DECT headset, if the DECT base station or DECT headset is paired, it can no longer be paired with other DECT base stations or DECT headsets. In order to ensure that the DECT ear piece can be paired, the decision can be made by means of status information.
In this embodiment, the status information includes version information and headset pairing information. The version information may be country region version information of the DECT headset. The headset pairing information may be current pairing state information corresponding to the DECT headset after pairing is completed.
Specifically, step S15 may include the following sub-steps:
and a substep S151 of determining whether the version information is the same as the preset version information, determining whether the matching with the preset DECT headset is completed, and determining whether verification information matched with the headset pairing information exists in a preset database.
The preset version information is country region version information of the DECT base station. The DECT base station can determine whether the preset DECT earphone is matched or not by whether the DECT base station is currently communicated with the DECT earphone, and when the DECT base station is currently communicated with the DECT earphone, the DECT base station can determine that the preset DECT earphone is matched or not, otherwise, the DECT base station does not complete the matching. The authentication information may be status information after pairing of the DECT base station with the DECT headset is completed.
And a substep S152, determining that the DECT headset is allowed to be paired when the version information is determined to be the same as the preset version information, it is determined that no matching with the preset DECT headset is completed, and it is determined that no verification information matched with the headset pairing information exists in a preset database.
Substep S153, otherwise, determining that the DECT headset does not allow pairing.
In this embodiment, when the DECT base station determines that the version information is the same as the preset version information, determines that matching with the preset DECT headset is not completed, and determines that there is no authentication information matching with the headset pairing information in the preset database, the DECT base station determines that the DECT headset is permitted to be paired.
On the contrary, when the DECT base station determines that the version information is not the same as the preset version information or determines that the DECT headset is matched with the preset DECT headset or determines that any one of the verification information matched with the headset pairing information exists in the preset database, the DECT base station may determine that the current DECT headset is not allowed to be paired.
S16, when the DECT earphone is determined to be allowed to be paired, generating and sending base station encryption information and an information acquisition request to the DECT earphone so that the DECT earphone can carry out first pairing authentication on the base station encryption information, and generating earphone encryption information in response to the information acquisition request.
The DECT base station may perform the first pairing authentication on the DECT base station by the DECT headset by transmitting base station encryption information and an information acquisition request to the DECT headset. The DECT headset may transmit the headset encryption information to the DECT base station after generating the headset encryption information.
In order to improve the security of the encrypted information of the base station, in this embodiment, the step S16 may include the following sub-steps:
and a substep S161 of generating a base station random number.
The base station random number may be any one of 0 to 100, or any one of natural numbers.
Substep S162, concatenating the base station random number and the RFPI code of the DECT base station to generate a string of base station keys, and using the base station keys and the RFPI code as base station encryption information.
The RFPI code can be an identification code of a base station, the DECT base station can splice a base station random number and the RFPI code to generate a base station key, and the base station key and the RFPI code are used as base station encryption information.
And a substep S163 of generating an information acquisition request, and transmitting the base station encryption information and the information acquisition request to the DECT headset.
In this embodiment, after generating the base station encryption information, the DECT base station may generate an information acquisition request, and transmit the information acquisition request and the base station encryption information to the DECT headset at the same time.
Specifically, after the DECT headset receives the base station key and the RFPI code, the DECT headset may verify whether the base station key and the RFPI code are correct, and if both the base station key and the RFPI code are correct, the first pairing authentication is successfully completed, otherwise, the first pairing authentication is unsuccessful.
S17, receiving the earphone encryption information sent by the DECT earphone, and performing second pairing authentication according to the earphone encryption information.
The DECT base station can receive the earphone encryption information sent by the DECT earphone and carry out second pairing authentication by adopting the earphone encryption information. The step of the second pairing authentication may be the same as the step of the first pairing authentication.
In this embodiment, step S17 may include the following sub-steps:
and a substep S171, receiving the earphone encryption information, and storing the earphone encryption information in a preset database, wherein the earphone encryption information comprises an earphone key and an IPUI code of the DECT earphone, and the earphone key is generated by splicing the earphone random number and the IPUI code of the DECT earphone after the earphone key generates an earphone random number for the DECT earphone.
The IPUI code may be the identification code of the headset. The earphone random number may be any natural number, or any number within a range of values. The DECT base station stores the earphone encryption information to a preset database, so that pairing authentication can be conveniently carried out by the DECT base station later. The DECT headset need not be re-authenticated.
Specifically, the DECT headset may generate a headset random number after receiving the information acquisition request of the DECT base station, then concatenate the headset random number and the IPUI code of the DECT headset to generate a headset key, and then the DECT headset encrypts information with the IPUI code and the headset key as the headset encryption information and sends the headset encryption information to the DECT base station.
And a substep S172, determining whether the earphone key and the IPUI code are modified based on DSA digital signature algorithm.
And a substep S173, if the headset key and the IPUI code are not modified, completing a second pairing authentication.
In this embodiment, the DECT base station may determine whether the headphone key and the IPUI code are modified through a DSA digital signature algorithm, and if neither the headphone key nor the IPUI code is modified, successfully complete the second pairing authentication, otherwise, the second pairing authentication is unsuccessful.
Similarly, when the DECT earphone receives the RFPI code and the base station key sent by the DECT base station, the DECT earphone may also determine whether the RFPI code and the base station key are modified through the DSA digital signature algorithm, and if the DECT earphone determines that the RFPI code and the base station key sent by the DECT base station are not modified, it determines that the DECT base station completes the first pairing authentication.
The DECT base station and the DECT earphone can verify whether the RFPI and the IPUI are legal or not in the subsequent wireless communication process. The identity authentication method specifically comprises the steps of storing the RFPI code after the first pairing authentication is completed, storing the IPUI code after the second pairing authentication is completed, and then performing identity authentication and pairing through the stored RFPI code and the stored IPUI code in the subsequent communication process.
S18, when the first pairing authentication and the second pairing authentication are both successful, completing the pairing of the DECT base station and the DECT earphone.
When the first pairing authentication of the DECT headset is successful and the second pairing authentication of the DECT base station is both successful, it can be determined that the DECT base station is paired with the DECT headset.
Specifically, referring to fig. 4, a schematic diagram of a pairing operation flow of a pairing method of a DECT headset according to an embodiment of the present invention is shown. When the DECT base station determines that the DECT earphone is placed on the DECT base station and the DECT base station is connected, the DECT base station requests the DECT earphone to acquire state information of the earphone, whether the DECT base station allows pairing is determined through the state information of the earphone, when the DECT earphone does not allow pairing, the operation is finished, when the DECT earphone allows pairing, the DECT base station can send an RFPI code and a base station key of the base station to the DECT earphone and request an IPUI code of the DECT earphone, then the DECT base station performs pairing authentication on the IPUI code, when the DECT base station passes the pairing authentication and the DECT earphone also passes the pairing authentication, the DECT base station can generate and store the IPUI code and the earphone key of the DECT earphone, and pairing is finished.
In addition, the original accessories or programs can have bugs or bugs, and the firmware of the DECT earphone can be upgraded in order to improve the functions of the earphone, enhance the stability of the earphone and repair machine bugs.
Specifically, the method may further include:
and S19, acquiring the firmware information of the DECT earphone.
The firmware information may be the current firmware version information of the DECT headset, e.g. version signal, version type.
S20, acquiring the firmware model from the firmware information, and determining whether the firmware model is the same as the current firmware model of the DECT base station.
The DECT base station can acquire the current firmware model of the DECT earphone from the firmware information of the DECT earphone, and the DECT base station can determine whether the DECT earphone needs to be upgraded by judging whether the firmware model is the same as the current firmware model of the DECT base station.
And S21, if the firmware data and the firmware upgrading command are different, sending the firmware data and the firmware upgrading command to the DECT earphone so that the DECT earphone responds to the firmware upgrading command and adopts the firmware data to upgrade the firmware.
In this embodiment, when the DECT base station determines that the current firmware model of the DECT headset is the same as the current firmware model of the DECT base station, the DECT base station may determine that the DECT headset does not need to be upgraded; when the DECT base station determines that the current firmware model of the DECT headset is not the same as the current firmware model of the DECT base station, the DECT base station may determine that the DECT headset requires a firmware upgrade.
At this time, the DECT base station may transmit firmware data, which is data required for firmware upgrade, and a firmware upgrade command to the DECT headset. After receiving the firmware data and the firmware upgrading command, the DECT earphone can respond to the firmware upgrading command and upgrade the firmware by adopting the firmware data.
The problems of bug and compatibility existing in the prior art can be effectively solved through firmware upgrading, the operation mode can be improved, more convenient and more humanized functions can be provided, more music formats can be provided, and the use requirements of users can be met.
Referring to fig. 5, a schematic flow chart of hardware upgrade of a pairing method of a DECT headset according to an embodiment of the present invention is shown. In practice, the DECT base station may send a firmware acquisition request to the DECT headset when the DECT headset is placed on the DECT base station, and the DECT headset may send the current firmware information of the DECT headset to the DECT base station after receiving the firmware acquisition request. The DECT base station can determine whether the DECT earphone needs to be upgraded or not through the firmware information, when the firmware is required to be upgraded, the DECT base station can send firmware data and a firmware upgrading command to the earphone, wait for the DECT earphone to finish upgrading, after the DECT earphone finishes upgrading, the DECT earphone can send upgrading finishing information to the DECT base station, and after the DECT base station receives the upgrading finishing information, the upgrading operation is finished.
In this embodiment, an embodiment of the present invention provides a pairing method for a DECT headset, which has the following beneficial effects: according to the method and the device, after the DECT base station is in contact connection with the DECT earphone, pairing verification can be automatically performed by the DECT base station and the DECT earphone, manual input is not needed, pairing operation is simplified, pairing efficiency is improved, a UI (user interface) for pairing is not additionally arranged, and pairing cost can be further reduced; compare simultaneously and pair in wireless mode, the DECT base station directly pairs through the DATA DATA line with the DECT earphone, can further improve and pair efficiency to can carry out software upgrading fast when software loophole or bug appear, satisfy user's user demand, promote user's use and experience.
An embodiment of the present invention further provides a pairing device for a DECT headset, and referring to fig. 6, a schematic structural diagram of a pairing device for a DECT headset according to an embodiment of the present invention is shown.
Wherein, as an example, the pairing device of the DECT earphone comprises:
an obtaining module 601, configured to obtain status information of the DECT headset when it is determined that the connection with the DECT headset is successful;
a determining module 602, configured to determine whether the DECT headset allows pairing according to the state information;
a generating module 603, configured to generate and send base station encryption information and an information obtaining request to the DECT headset when it is determined that the DECT headset allows pairing, so that the DECT headset performs first pairing authentication on the base station encryption information, and generates headset encryption information in response to the information obtaining request;
a second pairing module 604, configured to receive the headset encryption information sent by the DECT headset, and perform second pairing authentication according to the headset encryption information;
a pairing completion module 605 configured to complete pairing of the DECT base station and the DECT headset when both the first pairing authentication and the second pairing authentication are successful.
Further, the state information includes version information and earphone pairing information;
the judging module is further configured to:
the determining module is used for determining whether the version information is the same as the preset version information, determining whether the matching with a preset DECT earphone is completed or not and determining whether verification information matched with the earphone matching information exists in a preset database or not;
the pairing allowing module is used for determining that the DECT earphone is allowed to be paired when the version information is determined to be the same as the preset version information, the DECT earphone is determined not to be matched with the preset DECT earphone and the verification information matched with the earphone pairing information is determined not to be in a preset database;
a disallowance pairing module to determine that the DECT headset is not allowed to be paired otherwise.
Further, the generating module is further configured to:
the base station random number module is used for generating a base station random number;
the base station encryption module is used for splicing the base station random number and an RFPI code of a DECT base station to generate a string of base station keys, and the base station keys and the RFPI code are used as base station encryption information;
and the information acquisition request module is used for generating an information acquisition request and sending the base station encryption information and the information acquisition request to the DECT earphone.
Further, the second pairing module is further configured to:
receiving the earphone encryption information, storing the earphone encryption information in a preset database, wherein the earphone encryption information comprises an earphone key and an IPUI code of the DECT earphone, and splicing and generating the earphone random number and the IPUI code of the DECT earphone after the earphone key generates an earphone random number for the DECT earphone;
determining whether the headset key and the IPUI code are modified based on a DSA digital signature algorithm;
and if the earphone key and the IPUI code are not modified, finishing second pairing authentication.
Further, the apparatus further comprises:
the command sending module is used for sending a hello command to the DECT earphone according to a preset period;
the contact determining module is used for determining connection with the DECT earphone when feedback information returned by the DECT earphone in response to the hello command is received;
otherwise, the hello command is repeatedly sent.
Furthermore, the DECT earphone is provided with three earphone contacts, and the DECT base station is provided with three base station contacts;
the device further comprises:
and the command generation module is used for generating a hello command when the three base station contacts are respectively connected with the three earphone contacts in a one-to-one correspondence manner.
Further, the apparatus further comprises:
the firmware information acquisition module is used for acquiring the firmware information of the DECT earphone;
a firmware model determining module, configured to obtain a firmware model from the firmware information, and determine whether the firmware model is the same as a current firmware model of the DECT base station;
and the firmware upgrading module is used for sending firmware data and a firmware upgrading command to the DECT earphone if the firmware data and the firmware upgrading command are different, so that the DECT earphone responds to the firmware upgrading command and adopts the firmware data to upgrade the firmware.
Further, an embodiment of the present application further provides an electronic device, including: memory, processor and computer program stored on the memory and executable on the processor, which when executed by the processor implements the pairing method for a DECT headset as described in the embodiments above.
Further, the present application also provides a computer-readable storage medium storing computer-executable instructions for causing a computer to perform the pairing method of the DECT headset according to the above embodiment.
While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention.

Claims (10)

1. A pairing method for DECT headsets, applied to a DECT base station communicating with DECT headsets, the method comprising:
when the connection with the DECT earphone is determined to be successful, acquiring the state information of the DECT earphone;
judging whether the DECT earphone is allowed to be paired or not according to the state information;
when the DECT earphone is determined to be allowed to be paired, generating and sending base station encryption information and an information acquisition request to the DECT earphone so that the DECT earphone can perform first pairing authentication on the base station encryption information, and responding to the information acquisition request to generate earphone encryption information;
receiving the earphone encryption information sent by the DECT earphone, and performing second pairing authentication according to the earphone encryption information;
and when the first pairing authentication and the second pairing authentication are both successful, completing the pairing of the DECT base station and the DECT earphone.
2. Pairing method for DECT headphones according to claim 1, characterized in that the status information comprises version information, headphone pairing information;
judging whether the DECT earphone is allowed to be paired according to the state information, wherein the judging comprises the following steps:
determining whether the version information is the same as preset version information, determining whether the version information is matched with a preset DECT earphone or not, and determining whether verification information matched with the earphone pairing information exists in a preset database or not;
when the version information is determined to be the same as the preset version information, no matching with a preset DECT earphone is determined to be completed, and no verification information matched with the earphone pairing information is determined to be in a preset database, determining that the DECT earphone is allowed to be paired;
otherwise, it is determined that the DECT headset does not allow pairing.
3. Pairing method of DECT headphones according to claim 1, wherein the generating and sending base station encryption information and information acquisition requests to the DECT headphones comprises:
generating a base station random number;
splicing the base station random number and an RFPI code of a DECT base station to generate a string of base station keys, and using the base station keys and the RFPI code as base station encryption information;
and generating an information acquisition request, and sending the base station encryption information and the information acquisition request to the DECT earphone.
4. The pairing method of the DECT headset of claim 1, wherein the receiving the headset encryption information transmitted by the DECT headset and performing a second pairing authentication according to the headset encryption information comprises:
receiving the earphone encryption information, storing the earphone encryption information in a preset database, wherein the earphone encryption information comprises an earphone key and an IPUI code of the DECT earphone, and splicing and generating the earphone random number and the IPUI code of the DECT earphone after the earphone key generates an earphone random number for the DECT earphone;
determining whether the headset key and the IPUI code are modified based on a DSA digital signature algorithm;
and if the earphone key and the IPUI code are not modified, finishing second pairing authentication.
5. Pairing method of DECT headphones according to claim 1, characterized in that before the step of determining that the DECT base station is successfully connected to the DECT headphones, the method further comprises:
sending a hello command to the DECT earphone according to a preset period;
determining to connect with the DECT headset when feedback information returned by the DECT headset in response to the hello command is received;
otherwise, the hello command is repeatedly sent.
6. Pairing method for a DECT headset according to claim 5, characterized in that the DECT headset is provided with three headset contacts and the DECT base station is provided with three base station contacts;
before the step of sending hello commands to the DECT headphones according to the preset period, the method further comprises:
and generating a hello command when the three base station contacts are respectively connected with the three earphone contacts in a one-to-one correspondence manner.
7. Pairing method of DECT headphones according to claim 1, characterized in that the method further comprises:
acquiring firmware information of the DECT earphone;
acquiring a firmware model from the firmware information, and determining whether the firmware model is the same as the current firmware model of the DECT base station;
and if not, sending firmware data and a firmware upgrading command to the DECT earphone so that the DECT earphone responds to the firmware upgrading command and adopts the firmware data to upgrade the firmware.
8. Pairing device for a DECT headset, characterized in that it comprises:
the obtaining module is used for obtaining the state information of the DECT earphone when the connection with the DECT earphone is determined to be successful;
the judging module is used for judging whether the DECT earphone is allowed to be paired or not according to the state information;
the generating module is used for generating and sending base station encryption information and an information acquisition request to the DECT earphone when the DECT earphone is determined to be allowed to be paired, so that the DECT earphone can carry out first pairing authentication on the base station encryption information, and the information acquisition request is responded to generate earphone encryption information;
the second pairing module is used for receiving the earphone encryption information sent by the DECT earphone and performing second pairing authentication according to the earphone encryption information;
and the pairing completion module is used for completing pairing of the DECT base station and the DECT earphone when the first pairing authentication and the second pairing authentication are both successful.
9. Pairing device of DECT headphones according to claim 8, characterized in that the status information comprises version information, headphone pairing information;
the judging module is further configured to:
the determining module is used for determining whether the version information is the same as the preset version information, determining whether the matching with a preset DECT earphone is completed or not and determining whether verification information matched with the earphone matching information exists in a preset database or not;
the pairing allowing module is used for determining that the DECT earphone is allowed to be paired when the version information is determined to be the same as the preset version information, the DECT earphone is determined not to be matched with the preset DECT earphone and the verification information matched with the earphone pairing information is determined not to be in a preset database;
a disallowance pairing module to determine that the DECT headset is not allowed to be paired otherwise.
10. Pairing device of a DECT headset according to claim 8, characterized in that the generating module is further configured to:
the base station random number module is used for generating a base station random number;
the base station encryption module is used for splicing the base station random number and an RFPI code of a DECT base station to generate a string of base station keys, and the base station keys and the RFPI code are used as base station encryption information;
and the information acquisition request module is used for generating an information acquisition request and sending the base station encryption information and the information acquisition request to the DECT earphone.
CN202011504419.2A 2020-12-18 2020-12-18 Pairing method and device for DECT (digital enhanced cordless Telecommunications) earphones Pending CN112702742A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011504419.2A CN112702742A (en) 2020-12-18 2020-12-18 Pairing method and device for DECT (digital enhanced cordless Telecommunications) earphones

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011504419.2A CN112702742A (en) 2020-12-18 2020-12-18 Pairing method and device for DECT (digital enhanced cordless Telecommunications) earphones

Publications (1)

Publication Number Publication Date
CN112702742A true CN112702742A (en) 2021-04-23

Family

ID=75507378

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011504419.2A Pending CN112702742A (en) 2020-12-18 2020-12-18 Pairing method and device for DECT (digital enhanced cordless Telecommunications) earphones

Country Status (1)

Country Link
CN (1) CN112702742A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP4304202A3 (en) * 2022-11-25 2024-04-24 Yealink (Xiamen) Network Technology Co., Ltd. Method and system for deploying wireless headset based on thirdparty platform

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1290438A (en) * 1998-02-11 2001-04-04 艾利森电话股份有限公司 System, method and apparatus for secure transmission of confidential information
WO2007073245A1 (en) * 2005-12-19 2007-06-28 Infineon Technologies Ag Method and arrangement for slot assignment in a dect system
CN102164016A (en) * 2009-12-17 2011-08-24 奥迪康有限公司 An assistive listening system adapted for using dect
US20140094170A1 (en) * 2012-03-13 2014-04-03 Jochen KILIAN System for allowing registration of dect devices
CN104080027A (en) * 2013-03-26 2014-10-01 Gn奈康有限公司 Headset firmware update from headset base unit
CN107070659A (en) * 2015-12-22 2017-08-18 森海塞尔通信公司 Base station and the certification of headphone
US20180014145A1 (en) * 2016-07-07 2018-01-11 Plantronics, Inc. Enhanced Security for Near Field Communication Enabled Bluetooth Devices
CN107969001A (en) * 2018-01-17 2018-04-27 飞天诚信科技股份有限公司 A kind of method and device of Bluetooth pairing two-way authentication
CN111770231A (en) * 2020-06-05 2020-10-13 厦门亿联网络技术股份有限公司 DECT base station, handle and communication system

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1290438A (en) * 1998-02-11 2001-04-04 艾利森电话股份有限公司 System, method and apparatus for secure transmission of confidential information
WO2007073245A1 (en) * 2005-12-19 2007-06-28 Infineon Technologies Ag Method and arrangement for slot assignment in a dect system
CN102164016A (en) * 2009-12-17 2011-08-24 奥迪康有限公司 An assistive listening system adapted for using dect
US20140094170A1 (en) * 2012-03-13 2014-04-03 Jochen KILIAN System for allowing registration of dect devices
CN104080027A (en) * 2013-03-26 2014-10-01 Gn奈康有限公司 Headset firmware update from headset base unit
CN107070659A (en) * 2015-12-22 2017-08-18 森海塞尔通信公司 Base station and the certification of headphone
US20180014145A1 (en) * 2016-07-07 2018-01-11 Plantronics, Inc. Enhanced Security for Near Field Communication Enabled Bluetooth Devices
CN107969001A (en) * 2018-01-17 2018-04-27 飞天诚信科技股份有限公司 A kind of method and device of Bluetooth pairing two-way authentication
CN111770231A (en) * 2020-06-05 2020-10-13 厦门亿联网络技术股份有限公司 DECT base station, handle and communication system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
IWEN COISEL等: "Practical Interception of DECT Encrypted Voice Communication in Unified Communications Environments", 《2014 IEEE JOINT INTELLIGENCE AND SECURITY INFORMATICS CONFERENCE》, 6 December 2014 (2014-12-06) *
周智等: "泛欧数字无绳电话(DECT)鉴权与加密机制介绍", 《移动通信》, 25 June 1997 (1997-06-25) *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP4304202A3 (en) * 2022-11-25 2024-04-24 Yealink (Xiamen) Network Technology Co., Ltd. Method and system for deploying wireless headset based on thirdparty platform

Similar Documents

Publication Publication Date Title
CN112771826B (en) Application program login method, application program login device and mobile terminal
US5390252A (en) Authentication method and communication terminal and communication processing unit using the method
CN108471610B (en) Bluetooth connection control system
EP3001351A1 (en) User identity authentication method, terminal and service terminal
CN111726886A (en) Network configuration method and device and electronic equipment
CN107612889B (en) Method for preventing user information leakage
WO2021258993A1 (en) Method for securely connecting vehicle and bluetooth key, and bluetooth module and bluetooth key
CN109890029B (en) Automatic network distribution method of intelligent wireless equipment
CN112533206A (en) Network distribution method and device, storage medium and electronic equipment
CN113301167B (en) Cross-specification sharing method, device and equipment for digital key
CN112512048B (en) Mobile network access system, method, storage medium and electronic device
CN110809892B (en) Authentication method, terminal and network equipment
CN115527292B (en) Mobile phone terminal remote vehicle unlocking method of security chip and security chip device
CN112702742A (en) Pairing method and device for DECT (digital enhanced cordless Telecommunications) earphones
CN105554693B (en) The matching method and device of bluetooth equipment
WO2019091458A1 (en) Wireless connection method, wireless access point, terminal, and device having storage function
CN114760112A (en) Wireless local area network-oriented intelligent household equipment network access method, system, equipment and storage medium
WO2024109874A1 (en) Networking method, apparatus and device for set-top box, and readable storage medium
CN113709737B (en) Voice communication method and device based on TWS Bluetooth headset
CN110650057B (en) Method and system for configuring equipment through portable mobile terminal
CN111682951A (en) Cluster activity session sharing device and method and computer readable storage medium
WO2014071886A1 (en) Information configuration method, device and system
CN117177247A (en) Auxiliary pairing method and device for wireless equipment and wireless equipment
KR101542653B1 (en) Method for Creating One Time Password based on Time Verification by using Near Field Communication
CN115734221B (en) Internet of things equipment management method, equipment, mobile terminal, device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination