CN111093263B - Cordless communication terminal and base registration method - Google Patents

Cordless communication terminal and base registration method Download PDF

Info

Publication number
CN111093263B
CN111093263B CN201911193712.9A CN201911193712A CN111093263B CN 111093263 B CN111093263 B CN 111093263B CN 201911193712 A CN201911193712 A CN 201911193712A CN 111093263 B CN111093263 B CN 111093263B
Authority
CN
China
Prior art keywords
communication terminal
base
registration
gpio port
identification information
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
CN201911193712.9A
Other languages
Chinese (zh)
Other versions
CN111093263A (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.)
Goertek Inc
Original Assignee
Goertek Inc
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 Goertek Inc filed Critical Goertek Inc
Priority to CN201911193712.9A priority Critical patent/CN111093263B/en
Publication of CN111093263A publication Critical patent/CN111093263A/en
Application granted granted Critical
Publication of CN111093263B publication Critical patent/CN111093263B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W60/00Affiliation to network, e.g. registration; Terminating affiliation with the network, e.g. de-registration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/04Arrangements for maintaining operational condition

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a cordless communication terminal and a base registration method, which comprises the following steps: an access detection step, namely detecting the connection state of a GPIO port of the communication terminal and a GPIO port of the base; the method comprises the steps of detecting whether a GPIO port of a communication terminal is connected with a GPIO port of a base, acquiring identity identification information of the base by the communication terminal after detecting that the GPIO port of the communication terminal is connected with the GPIO port of the base, and judging whether the communication terminal needs to be registered with the base or not by the communication terminal, and executing the step of registering if the communication terminal needs to be registered. When the DECT communication interfaces of two parties of the cordless communication equipment are connected, the method automatically judges whether the cordless communication equipment needs to be registered or not and automatically finishes registration when the cordless communication equipment needs to be registered, when any party of the two parties of the cordless communication equipment cannot be used due to faults, only the faulty party needs to be replaced, and the replacement realizes registration in the same way, so that the cost of a user is saved.

Description

Cordless communication terminal and base registration method
Technical Field
The invention belongs to the technical field of cordless communication terminal equipment, and particularly relates to a registration method of a cordless communication terminal.
Background
A Digital Enhanced Cordless Telecommunications (DECT) device includes a communication terminal and a base, which need to be registered for normal communication. Conventional DECT devices are usually registered by means of radio broadcasts, which has the following disadvantages:
(1) The registration can be completed only by manually operating the DECT equipment by a user, and the operation is relatively complicated.
(2) When many products enter the registration mode simultaneously, the products are easy to be confused, which two communication terminals and the base finish the registration cannot be determined, and the efficiency is low.
At present, products are well registered before leaving factories, and when any one of the communication terminal and the base is damaged and cannot be used, the whole set of communication equipment needs to be scrapped.
Disclosure of Invention
The invention provides a registration method of a cordless communication terminal, which aims at the technical problems that the conventional DECT equipment needs manual operation for registration in a wireless broadcast mode, and both parties for registration are easy to cause disorder when a plurality of products are simultaneously registered.
In order to realize the purpose of the invention, the invention is realized by adopting the following technical scheme:
a cordless communication terminal registration method comprising the steps of:
an access detection step, namely detecting the connection state of a GPIO port of the communication terminal and a GPIO port of the base;
an identity identification information acquisition step, wherein after detecting that a GPIO port of the communication terminal is connected with a GPIO port of the base, the communication terminal acquires identity identification information of the base;
and a registration judgment step, in which the communication terminal judges whether the communication terminal needs to be registered with the base or not, and if the communication terminal needs to be registered, the registration step is executed.
Further, the step of obtaining the identification information includes:
a GPIO port of the communication terminal is set to be in an initialization state;
and the communication terminal receives the identity identification information of the base through the GPIO port of the communication terminal.
Further, the initialization mode of the GPIO port of the communication terminal is a receive mode.
Further, in the registration judgment step, the judgment method is as follows:
after receiving the identity identification information of the base, the communication terminal searches a corresponding registration identification locally according to the identity identification information of the base, if the registration identification is registered, registration is not needed, otherwise, the base needs to be registered, and the registration identification is changed.
Further, the step of obtaining the identification information further comprises the step of sending the identification information to the base by the communication terminal.
Further, the step of sending the identification information to the base by the communication terminal includes:
the communication terminal sets a GPIO port of the communication terminal to be in a sending mode;
and the communication terminal sends a falling edge starting signal to the base through the GPIO port of the communication terminal.
Further, the normal state of the GPIO port of the communication terminal is low level.
The invention also provides a registration method of the cordless communication base, which comprises the following steps:
initializing, namely initializing a GPIO port of a base into a falling edge interrupt mode;
when a falling edge trigger signal sent by the communication terminal is received, the GPIO port of the base triggers interruption, and is set to a receiving mode to receive the identity identification information of the communication terminal;
the base judges whether the communication terminal needs to be registered, and if the communication terminal needs to be registered, the base executes the registration step.
Further, when the base judges that the communication terminal needs to be registered, the base locally completes the registration of the communication terminal and sends the identity information of the communication terminal to the communication terminal, otherwise, the base directly sends the identity information of the communication terminal to the communication terminal.
Further, the normal state of the GPIO port of the base is high.
Compared with the prior art, the invention has the advantages and positive effects that: the cordless communication terminal registration method of the invention adopts the DECT communication interface for registration, and both registered parties need to connect the DECT communication interface during registration, thereby preventing the problem that both registered parties can not be determined due to confusion caused by simultaneous registration of a plurality of groups of cordless communication equipment. When the DECT communication interfaces of two parties of the cordless communication equipment are connected, whether registration is needed or not is automatically judged, and the registration is automatically completed when the registration is needed, so that a user only needs to connect the DECT communication interfaces of the two parties, and the registration can be completed without any other operation, thereby being very convenient. When any one of the two parties of the cordless communication equipment cannot be used due to a fault, the fault party is only replaced, and the replacement is registered in the same way, so that the cost of a user is saved.
Other features and advantages of the present invention will become more apparent from the following detailed description of the invention when taken in conjunction with the accompanying drawings.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a flowchart of an embodiment of a cordless communication terminal registration method according to the present invention;
fig. 2 is a flowchart of a preferred embodiment of a cordless communication terminal registration method according to the present invention;
fig. 3 is a schematic diagram of connection of cordless communication devices corresponding to the method for registering a cordless communication terminal according to the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in further detail with reference to the accompanying drawings and examples.
It should be noted that the terms "first" and "second" in the description of the present invention are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
In the first embodiment, the cordless communication device is a communication device comprising a communication terminal and a base, the communication terminal and the base which complete registration adopt DECT communication, and the communication terminal and the base can be connected together for wired communication or short-distance wireless communication, and three connection ports, namely 5V, GND and a GPIO port, are generally arranged between the communication terminal and the base. The cordless communication device may be an earlier cordless telephone or a newly emerging combination of a headset and a base. In order to solve a series of problems caused by registration of the existing communication terminal and the base in a wireless broadcast manner, the embodiment provides a method for registering a cordless communication terminal, as shown in fig. 1, including the following steps:
an access detection step, namely detecting the connection state of a GPIO port of the communication terminal and a GPIO port of the base;
an identity identification information obtaining step, wherein after detecting that the GPIO port of the communication terminal is connected with the GPIO port of the base, the communication terminal obtains identity identification information of the base;
a registration judgment step, in which the communication terminal judges whether the communication terminal needs to register with the base or not, and if the communication terminal needs to register, the registration step is executed;
and a registration step, namely finishing registration.
The registration method requires three connecting ends, namely 5V, GND and a GPIO port, to be arranged between the communication terminal and the base, wherein the GPIO port is used for completing single-wire communication, and 5V is used for charging the communication terminal. The registration method of the embodiment makes full use of GPIO ports of the communication terminal and the base, expands the range of the traditional method which is only used for transmitting voice call data, is used for transmitting identification information of both parties, and completes registration locally when registration is needed. The two registered parties need to connect the DECT communication interface during registration, so that the problem that the two registered parties cannot be determined due to confusion caused by simultaneous registration of a plurality of groups of cordless communication equipment is solved.
When the DECT communication interfaces of both sides of the cordless communication equipment are connected, whether registration is needed or not is automatically judged, and a user only needs to connect the DECT communication interfaces of both sides and can complete registration without any other operation, so that the use experience of the user is improved, and the cordless communication equipment is very convenient. When any one of the two parties of the cordless communication equipment cannot be used due to a fault, the fault party is only replaced, and the replacement is registered in the same way, so that the cost of a user is saved.
From the aspect of the manufacturing cost of the product, the registration can be realized only by connecting the GPIO ports, a UART (universal asynchronous receiver/transmitter) or other communication interfaces of the chip are not occupied, and devices such as an analog switch or a CPLD (complex programmable logic device) and the like are not required to be added on a circuit, so that the cost is saved.
As a preferred embodiment, as shown in fig. 2, the step of obtaining the identification information includes:
a GPIO port of the communication terminal is set to be in an initialization state;
and the communication terminal receives the identity identification information of the base through the GPIO port of the communication terminal.
Because the scheme adopts silent type registration, namely, no instruction control is required for a user, and therefore, before the communication terminal is connected with the base, both sides do not know whether the communication terminal is registered with the other side, and voice transmission cannot be directly carried out. Therefore, the method can acquire and judge the identity identification information by setting the connection between the communication terminal and the base every time, thereby preventing the problem that the communication cannot be normally carried out due to the unregistered communication.
Since the communication terminal and the base transmit and determine the identity information through the GPIO port in this embodiment, it can be understood that one base can register with a plurality of communication terminals, and similarly, one communication terminal can also register with a plurality of bases.
The communication terminals of the cordless communication equipment all have the unique RFPI, namely the identification information, and the communication terminals perform identification marking on the RFPI of the base by receiving the RFPI of the base to complete registration.
Because the communication terminal needs to receive the identification information sent by the base through the GPIO port, the initialization mode of the GPIO port of the communication terminal is the receiving mode.
The communication terminal is written with a registration program, and can automatically complete the registration of the base according to the identity identification information of the base.
In the registration judging step, the judging method for judging whether the communication terminal needs to be registered with the base is as follows:
after the communication terminal receives the identity identification information of the base, the corresponding registration identification is searched locally according to the identity identification information of the base, if the registration identification is registered, registration is not needed, otherwise, the base needs to be registered, and the registration identification is changed.
After the registration mark is changed, when the two are connected again, the communication terminal finds the registration mark after acquiring the identity mark information of the base, and can know that the two are registered and do not perform registration any more.
In this embodiment, a communication terminal is taken as an example for explanation. The earphone comprises a single-ear earphone and a double-ear earphone, the base matched with the single-ear earphone is a single-point base (simple dock), the base matched with the double-ear earphone is a multi-point base (multi dock), and any earphone and base can be successfully registered and can be communicated through DECT. The single-ear earphone or the double-ear earphone is registered to the base through DECT communication, a USB interface of the base is connected to a computer, music is played or a call is made at the computer end, and the music or the call can be transmitted from the base to the earphone end through the DECT.
Because the communication is mutual, in the step of obtaining the identification information, the method also comprises the step of sending the identification information to the base by the communication terminal.
After the communication terminal sends the identification information to the base, the GPIO port of the communication terminal is set to the initialization mode again. That is, the communication terminal has already finished sending its id information, and waits to receive the data sent by the base next time. And after the body finishes registering, can carry on the transmission and analysis of the audio signal with the base, etc..
Before the communication terminal sends the identification information to the base, the method also comprises the step of sending a falling edge starting signal to the base through the GPIO port of the communication terminal, and after the base receives the falling edge starting signal, the GPIO port of the communication terminal is set to be in a receiving mode to receive the identification information sent by the communication terminal. Because the audio signal is transmitted when the main communication data between the communication terminal and the base, the data of the identity information only accounts for a small part of the communication data volume, and therefore, the normal state of the two parties is to wait or transmit the audio signal. And the data types of the audio signal and the identification information are different, so that special marks need to be specially made if the identification information is transmitted by the audio signal and the identification information, so that a receiving party can correctly receive the identification information and correctly enter a next verification identification program.
Therefore, the step of the communication terminal sending its identification information to the base includes:
the communication terminal sets a GPIO port thereof to be in a sending mode;
the communication terminal sends a falling edge starting signal to the base through the GPIO port of the communication terminal, and the base sets the GPIO port of the communication terminal into a receiving mode after receiving the falling edge starting signal and receives the identity identification information sent by the communication terminal.
In a second embodiment, the present embodiment provides a method for registering a cordless communication base, where the cordless communication base is used in cooperation with the cordless communication terminal in the first embodiment.
The cordless communication base registration method comprises the following steps:
initializing, namely initializing a GPIO port of a base into a falling edge interrupt mode;
when a falling edge trigger signal sent by the communication terminal is received, the GPIO port of the base triggers interruption, and is set to a receiving mode to receive the identity identification information of the communication terminal;
the base judges whether the communication terminal needs to be registered, and if the communication terminal needs to be registered, the base executes the registration step.
The base is also written with a registration program which can automatically complete the registration of the communication terminal according to the identity information of the communication terminal.
Specifically, as shown in fig. 2, the communication terminal first sends its identification information to the base, and the base determines whether the communication terminal needs to be registered after receiving the identification information of the communication terminal, and if so, the base completes the registration of the communication terminal locally and sends its identification information to the communication terminal, otherwise, the base directly sends its identification information to the communication terminal.
In order to trigger the base to receive the identification information sent by the communication terminal in time, a GPIO port of the base is initialized to a falling edge interruption mode; before the communication terminal sends the identification information to the base, the method also comprises the step of sending a falling edge starting signal to the base through the GPIO port of the communication terminal.
In the scheme, the falling edge starting signal is set to be a low level with the duration not less than 50ms, after the base receives the falling edge starting signal, the base is informed that the following opposite party is to send the identity identification information, an interrupt mode is triggered, the GPIO port of the base is set to be a receiving mode, receiving preparation is made, the base is used for receiving the identity identification information sent by the communication terminal, and accurate data receiving is guaranteed.
As shown in fig. 3, which is a schematic diagram of circuit connection between the base and the communication terminal, when the GPIO port of the communication terminal and the GPIO port of the base are not connected, the GPIO port of the communication terminal is at a low level, which can be specifically realized by connecting a pull-down resistor, and the GPIO port of the base is at a high level, which can be specifically realized by connecting a pull-up resistor to a 5V dc power supply. After the communication terminal is connected with the GPIO port of the base, 5V on the base pulls up the communication GPIO of the communication terminal, so that rising edge interruption is triggered on the communication GPIO of the communication terminal.
The communication terminal and the base are mutually independent and need to register the other party respectively, so both parties need to receive the identity information of the other party and carry out registration judgment, and when the registration is needed, the information of the other party is registered locally.
The base judges whether the communication terminal needs to be registered, and the judging method comprises the following steps:
after the base receives the identity identification information of the communication terminal, the corresponding registration identification is searched locally according to the identity identification information of the communication terminal, if the registration identification is registered, registration is not needed, otherwise, the registration is needed, and the registration identification is changed.
After the base finishes registering, when the communication terminal is connected with the base through the GPIO port again, after identity identification information is exchanged, the registration identification is detected to be registered, and then re-registration is not needed, communication can be directly carried out, and communication waiting time is shortened.
The above examples are only intended to illustrate the technical solution of the present invention, and not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be apparent to those skilled in the art that modifications may be made to the embodiments described in the foregoing embodiments, or equivalents may be substituted for some of the features thereof; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions.

Claims (9)

1. A cordless communication terminal registration method, comprising the steps of:
an access detection step, namely detecting the connection state of a GPIO port of the communication terminal and a GPIO port of the base;
an identity identification information obtaining step, wherein after detecting that the GPIO port of the communication terminal is connected with the GPIO port of the base, the communication terminal obtains identity identification information of the base;
a registration judgment step, in which the communication terminal judges whether the communication terminal needs to be registered with the base or not, and if the communication terminal needs to be registered, the registration step is executed;
in the registration judging step, the judging method is as follows:
after receiving the identity identification information of the base, the communication terminal searches a corresponding registration identification locally according to the identity identification information of the base, if the registration identification is registered, registration is not needed, otherwise, the base needs to be registered, and the registration identification is changed.
2. The cordless communication terminal registration method according to claim 1, wherein the identification information obtaining step includes:
a GPIO port of the communication terminal is set to be in an initialization state;
and the communication terminal receives the identity identification information of the base through the GPIO port of the communication terminal.
3. The cordless communication terminal registration method according to claim 2, wherein the GPIO port initialization mode of the communication terminal is a receive mode.
4. The cordless communication terminal registration method according to claim 1, wherein the identification information acquiring step further comprises the step of the communication terminal transmitting its identification information to the base.
5. The cordless communication terminal registration method according to claim 4, wherein the step of the communication terminal transmitting its identification information to the base station comprises:
the communication terminal sets a GPIO port of the communication terminal to be in a sending mode;
and the communication terminal sends a falling edge starting signal to the base through the GPIO port of the communication terminal.
6. A cordless communication terminal registration method according to any one of claims 1 to 5, characterized in that the GPIO port of the communication terminal is normally low.
7. A cordless communication base registration method, comprising the steps of:
initializing, namely initializing a GPIO port of a base into a falling edge interrupt mode;
when a falling edge trigger signal sent by the communication terminal is received, the GPIO port of the base triggers interruption, and is set to a receiving mode to receive the identity identification information of the communication terminal;
the base judges whether the communication terminal needs to be registered, and if the communication terminal needs to be registered, the base executes the registration step.
8. The cordless communication base registration method according to claim 7, wherein the base locally completes registration of the communication terminal and sends its identification information to the communication terminal when it determines that registration with the communication terminal is required, otherwise, the base directly sends its identification information to the communication terminal.
9. The cordless communication base registration method of claim 7 or 8, wherein the GPIO port of the base is normally high.
CN201911193712.9A 2019-11-28 2019-11-28 Cordless communication terminal and base registration method Active CN111093263B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911193712.9A CN111093263B (en) 2019-11-28 2019-11-28 Cordless communication terminal and base registration method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911193712.9A CN111093263B (en) 2019-11-28 2019-11-28 Cordless communication terminal and base registration method

Publications (2)

Publication Number Publication Date
CN111093263A CN111093263A (en) 2020-05-01
CN111093263B true CN111093263B (en) 2023-01-10

Family

ID=70393740

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911193712.9A Active CN111093263B (en) 2019-11-28 2019-11-28 Cordless communication terminal and base registration method

Country Status (1)

Country Link
CN (1) CN111093263B (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1892940A1 (en) * 2006-08-23 2008-02-27 Thomson Telecom Belgium Device and method for enabling SIP DECT terminal mobility
CN102186028B (en) * 2011-04-25 2014-04-30 深圳市同洲电子股份有限公司 Master-submachine pairing method and system for integrated digital television
CN103391293B (en) * 2013-07-22 2016-05-25 烽火通信科技股份有限公司 A kind of system and method that utilizes home gateway and smart mobile phone to realize wireless phone
CN209330206U (en) * 2018-12-07 2019-08-30 山东比特智能科技股份有限公司 Wireless automatic Accreditation System
CN109413281B (en) * 2018-12-07 2023-10-24 山东比特智能科技股份有限公司 Automatic registration system for cordless telephone

Also Published As

Publication number Publication date
CN111093263A (en) 2020-05-01

Similar Documents

Publication Publication Date Title
KR101357857B1 (en) Apparatus and method for bluetooth connection in portable terminal
CN101931674B (en) Method and device for sharing Micro-USB interface
CN101431708A (en) Terminal and method for recognizing headphone type
CN103974163B (en) Earphone compatible method and device and mobile terminal
CN102281482A (en) Function extension method and device thereof for earphone jack of smart phone
CN101299684A (en) Apparatus for detecting network household electric equipment communication function
WO2015007170A1 (en) Apparatus and method for identifying audio interface pin, and terminal
EP3477867B1 (en) Method, apparatus and system for implementing virtual sim card, and mobile terminal
CN110247265B (en) Multifunctional data line, switching circuit and switching method
CN111093263B (en) Cordless communication terminal and base registration method
CN103220370B (en) Method and device for achieving single wire protocol (SWP) interface and SWP system
US20130102282A1 (en) Secure device identification protocol with autonomous determination of specific class and capabilities of an electronic device cradle connected to an electronic device
WO2018068214A1 (en) Method for signal transmission in radio frequency network, radio frequency system, and detection device
CN112491102A (en) Single-wire communication method and related product
US6459778B1 (en) Connected apparatus detection system
CN100397725C (en) Connector device for detecting insertion or removal of plug from common jack
CN108616856A (en) A kind of communication means, intelligence module and the storage medium of intelligence module
JP5499838B2 (en) Cordless telephone device and erroneous placement detection method
CN108009110B (en) Equipment identification method and device
CN106817631B (en) Automatic detection method for wireless communication module
CN100396137C (en) A interface circuit turn-on detecting method and device
CN205430621U (en) Equipment system of paiing
CN114339797B (en) WIFI module testing device and power supply control method thereof
CN113127401B (en) Earphone box and earphone communication method and system
CN201178489Y (en) Outlay earphone of mobile phone

Legal Events

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