CN106341869A - Code pairing method and apparatus - Google Patents

Code pairing method and apparatus Download PDF

Info

Publication number
CN106341869A
CN106341869A CN201610932941.8A CN201610932941A CN106341869A CN 106341869 A CN106341869 A CN 106341869A CN 201610932941 A CN201610932941 A CN 201610932941A CN 106341869 A CN106341869 A CN 106341869A
Authority
CN
China
Prior art keywords
code
signal
receiving terminal
available frequency
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.)
Pending
Application number
CN201610932941.8A
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.)
TCL Corp
Original Assignee
TCL Corp
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 TCL Corp filed Critical TCL Corp
Priority to CN201610932941.8A priority Critical patent/CN106341869A/en
Publication of CN106341869A publication Critical patent/CN106341869A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C17/00Arrangements for transmitting signals characterised by the use of a wireless electrical link
    • G08C17/02Arrangements for transmitting signals characterised by the use of a wireless electrical link using a radio link
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/69Spread spectrum techniques
    • H04B1/707Spread spectrum techniques using direct sequence modulation
    • H04B1/7073Synchronisation aspects
    • H04B1/70735Code identification
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup

Landscapes

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

Abstract

The invention discloses a code pairing method and apparatus. The code pairing method comprises the following steps. If a transmitting end detects a preset operation for triggering the code pairing, searching the available frequency point in a preset frequency band; if the available frequency point is found in the preset frequency band, transmitting to a receiving end a code pairing signal; and if a response signal transmitted by the receiving end is received, recognizing that the code pairing is successful and establishing communication connection with the receiving end according to the frequency point information carried in the response signal. Through the above-mentioned design, the transmitting end and the receiving end can realize automatic code pairing, simplifying the process of wireless code pairing, saving the time for code pairing, and improving the code pairing efficiency and the success rate of code pairing.

Description

One kind is to code method and its device
Technical field
The invention belongs to the communications field, more particularly, to one kind is to code method and its device.
Background technology
With the development of Internet of Things, increasing intelligent home device is used widely.Between intelligent home device Typically data interaction is carried out using twireless radio-frequency communication technology, intelligent home device realize radio-frequency communication connect before, transmitting terminal Need to carry out in advance radio frequency and receiving terminal between code is matched, set up main equipment and sub- equipment point-to-point between radio-frequency communication.
Current needs the artificial key to run of user's manual handling equipment to code stream journey to code method, and searches for two Equipment corresponding communication frequency.But artificial code method is needed with user's two equipment of search corresponding communication frequency one by one manually Point, inconvenient user operation cumbersome to code stream journey, easily maloperation simultaneously.
Content of the invention
The present invention provides one kind to code method and its device, is capable of automated wireless to code, simplifies wirelessly to code stream journey, Save to the code time, improve to code efficiency and improve to code success rate.
For solving the above problems, first aspect present invention provide a kind of to code method, described code method is included:
If transmitting terminal detects the predetermined registration operation to code for the triggering, search available frequency in default frequency range;
If finding available frequency in default frequency range, send to code signal to receiving terminal;
If receiving the answer signal that described receiving terminal sends, it is identified as, to code success, being taken according to described answer signal The frequency point information of band sets up communication connection with described receiving terminal.
For solving the above problems, the present invention provide second aspect provide a kind of to code method, described code method is included: connect Receiving end monitor transmitting terminal send to code signal;
If listen to described to code signal, send described answer signal corresponding to code signal to described transmitting terminal;Its In, described answer signal carries the information that described receiving terminal receives described available frequency corresponding to code signal.
For solving the above problems, the present invention provide the third aspect provide a kind of to code device, described code device is included:
Searching modul, if for the predetermined registration operation to code for the triggering is detected, searches available frequency in default frequency range;
Sending module, if for finding available frequency in default frequency range, sends to code signal to receiving terminal;
Control module, if for receiving the answer signal that described receiving terminal sends, be identified as to code success, according to institute State frequency point information and the described receiving terminal foundation communication connection that answer signal carries.
For solving the above problems, the present invention provide fourth aspect provide a kind of to code device, described code device is included:
Monitor module, for monitor transmitting terminal transmission to code signal;
Sending module, if for described monitoring module listen to described to code signal, send described to described transmitting terminal The corresponding answer signal to code signal;Wherein, described answer signal carry described receiving terminal receive described to code signal correspond to Available frequency information.
Such scheme, if transmitting terminal detects the predetermined registration operation to code for the triggering, searches available frequency in default frequency range;If Find available frequency in default frequency range, then send to code signal to receiving terminal;Receiving terminal monitor transmitting terminal send to code Signal, if receiving terminal listen to described to code signal, send to code signal corresponding answer signal to transmitting terminal;If transmitting terminal Receive the answer signal of receiving terminal transmission, be then identified as to code success, the information of the available frequency being carried according to answer signal Set up communication connection with receiving terminal;Because transmitting terminal and receiving terminal are capable of automatically to code, replace of the prior art artificial To code, can simplify to code stream journey, save to the code time, improve to code efficiency, it is to avoid the artificial situation that maloperation occurs to code Occur.
Brief description
Fig. 1 is the flow chart to code method one embodiment for the present invention;
Fig. 2 is the flow chart to another embodiment of code method for the present invention;
Fig. 3 is the flow chart to code method another embodiment for the present invention;
Fig. 4 is the structural representation to code device one embodiment for the present invention;
Fig. 5 is the structural representation to another embodiment of code device for the present invention;
Fig. 6 is the structural representation to code device another embodiment for the present invention;
Fig. 7 is the structural representation to the another embodiment of code device for the present invention.
Specific embodiment
In order that the objects, technical solutions and advantages of the present invention become more apparent, below in conjunction with drawings and Examples, right The present invention is further elaborated.It should be appreciated that specific embodiment described herein is only in order to explain the present invention, and It is not used in the restriction present invention.
Refer to Fig. 1, Fig. 1 is the flow chart to code method one embodiment for the present invention.In the present embodiment to code method bag Include following steps:
S101: if transmitting terminal detects the predetermined registration operation to code for the triggering, search available frequency in default frequency range.
User, when needing to be carried out to code transmitting terminal with receiving terminal, is carried out with receiving terminal by predetermined registration operation triggering transmitting terminal To code.Wherein, triggering can be that user presses and triggers the button/menu to code in transmitting terminal or receiving terminal to the predetermined registration operation of code Option etc. is preset to code trigger flow to code it is also possible to press, can also be corresponding to code pre- according to the self-defined triggering of actual conditions If operation, it is not limited herein.
Transmitting terminal detect trigger to the predetermined registration operation of code when, judging whether to find in default band limits can Use frequency.Wherein, available frequency is the untapped frequency of transmitting terminal, can set up communication connection in this frequency with receiving terminal.Frequently Point can be understood as certain channel of certain frequency range.
Default frequency range is configured according to the working frequency range of transmitting terminal, for example, when the working frequency range of transmitting terminal is 2.4g frequency Duan Shi, default frequency range could be arranged to 2.412ghz~2.472ghz, but is not limited to this.
It is understood that transmitting terminal can scan default frequency range, judge whether current frequency/frequency is available one by one Frequency.Terminal when finding available frequency, execution step s102.Otherwise, continue to search for the available frequency that default frequency comprises.
S102: if described transmitting terminal finds available frequency in default frequency range, send to code signal to receiving terminal.
When transmitting terminal finds available frequency in default band limits, transmitting terminal continues to receiving terminal in this available frequency Send to code signal.It is understood that certain frequency send to code signal, receiving terminal need with send to code signal phase Same frequency just can receive this to code signal.
Alternatively, code signal can be carried with the information of the available frequency finding.
Can use and be understood by, the available frequency that transmitting terminal finds can be one or at least two.
When transmitting terminal finds an available frequency, transmitting terminal continues to send to receiving terminal with this available frequency to be believed to code Number, till receiving the answer signal of receiving terminal transmission.
When transmitting terminal finds at least two available frequencies, continue to receiving terminal transmitting, code to be believed in each available frequency Number, until receive receiving terminal according to the answer signal that code signal is sent till.
S103: described receiving terminal monitor that transmitting terminal sends to code signal.
Receiving terminal monitors the corresponding default frequency range of transmitting terminal, and judge whether to listen to transmitting terminal transmission to code signal. Wherein, code signal can be carried with the information of the available frequency finding.
Receiving terminal listen to transmitting terminal transmission to code signal when, execution step s104.
S104: if described receiving terminal listen to described to code signal, to described transmitting terminal send described to code signal pair The answer signal answered;Wherein, described answer signal carries described receiving terminal and receives described available frequency corresponding to code signal Information.
Receiving terminal confirm to listen to transmitting terminal transmission to code signal when, parse this to code signal, and in successfully resolved When, obtain the information receiving this available frequency corresponding to code signal, send this corresponding response to code signal to transmitting terminal Signal.Wherein, this answer signal carries the information receiving this available frequency corresponding to code signal.
Available be understood by, receiving terminal can receive transmitting terminal transmission to code signal, that is, identify be currently received right The code corresponding frequency of signal is available frequency.
S105: if described transmitting terminal receives the answer signal that described receiving terminal sends, it is identified as successful to code, according to The information of available frequency that described answer signal carries sets up communication connection with described receiving terminal.
Transmitting terminal, when receiving the answer signal of receiving terminal transmission, is identified as, to code success, being carried according to answer signal The information of available frequency and receiving terminal set up communication connection, to carry out data interaction with receiving terminal in this available frequency point.
Can use and be understood by, when transmitting terminal finds an available frequency, transmitting terminal uniquely can use frequency to send out at this Send to code signal;The information of the available frequency entrained by answer signal that receiving terminal sends is to should uniquely can use frequency.
When transmitting terminal finds at least two available frequencies, transmitting terminal sends to receiving terminal at least two available frequencies To code signal;The information of the available frequency entrained by answer signal that receiving terminal sends corresponds at least two available frequencies One of, and this available frequency receives the corresponding frequency to code signal for receiving terminal.
Further, step s105 may include that and receives described receiving terminal according to the described response letter that code signal is sent Number;Wherein, described answer signal carries the information that described receiving terminal receives the corresponding available frequency of described answer signal;According to The information of the available frequency that described answer signal carries sends confirmation to described receiving terminal;Wherein, described confirmation bag Include the information of the described available frequency that described answer signal carries, be used for notifying described receiving terminal to adopt described confirmation to correspond to Available frequency point communicated.
Specifically, transmitting terminal receives the answer signal that receiving terminal sends when receiving to code signal, parses this response letter Number, and obtain the information of the available frequency that it carries from this answer signal, according to the available frequency getting from answer signal The information of point sends confirmation to receiving terminal.Wherein, confirmation includes the information of the available frequency that answer signal carries, and uses Information corresponding available frequency point in the available frequency notifying receiving terminal to be included using confirmation is communicated.
Further, code method can also be included in the present embodiment: receive described transmitting terminal and believed according to described response Number send confirmation;Wherein, described confirmation includes the information of the described available frequency that described answer signal carries, and uses Communicated using described confirmation corresponding available frequency point in notifying described receiving terminal.
Receiving terminal receives the confirmation that transmitting terminal sends, and parses confirmation, and obtain that this confirmation includes can With the information of frequency, and this available frequency is identified as the frequency that communicates, sets up communication connection in this communication frequency with transmitting terminal, and Carry out data interaction.The available frequency that the response message that the information of the available frequency that confirmation includes sends for receiving terminal carries Information.Such scheme, if transmitting terminal detects the predetermined registration operation to code for the triggering, searches available frequency in default frequency range;If Find available frequency in default frequency range, then send to code signal to receiving terminal;Receiving terminal monitor transmitting terminal send to code Signal, if receiving terminal listen to described to code signal, send to code signal corresponding answer signal to transmitting terminal;If transmitting terminal Receive the answer signal of receiving terminal transmission, be then identified as to code success, the information of the available frequency being carried according to answer signal Set up communication connection with receiving terminal;Because transmitting terminal and receiving terminal are capable of automatically to code, replace of the prior art artificial To code, can simplify to code stream journey, save to the code time, improve to code efficiency, it is to avoid the artificial situation that maloperation occurs to code Occur.
Refer to Fig. 2, Fig. 2 is the flow chart to another embodiment of code method for the present invention.In the present invention, code method is held Row main body is transmitting terminal.Transmitting terminal can be remote control etc., but is not limited to this, can also need the transmission to code for other End, is not limited herein and is not limited herein.Code method is comprised the following steps in the present embodiment:
S201: if transmitting terminal detects the predetermined registration operation to code for the triggering, search available frequency in default frequency range.
User, when needing to be carried out to code transmitting terminal with receiving terminal, is carried out with receiving terminal by predetermined registration operation triggering transmitting terminal To code.Wherein, triggering can be that user presses and triggers the button/menu to code in transmitting terminal or receiving terminal to the predetermined registration operation of code Option etc. is preset to code trigger flow to code it is also possible to press, can also be corresponding to code pre- according to the self-defined triggering of actual conditions If operation, it is not limited herein.
Transmitting terminal detect trigger to the predetermined registration operation of code when, judging whether to find in default band limits can Use frequency.Wherein, available frequency is the untapped frequency of transmitting terminal, can set up communication connection in this frequency with receiving terminal.Frequently Point can be understood as certain channel of certain frequency range.
Default frequency range is configured according to the working frequency range of transmitting terminal, for example, when the working frequency range of transmitting terminal is 2.4g frequency Duan Shi, default frequency range could be arranged to 2.412ghz~2.472ghz, but is not limited to this.
Further, step s201 can be: if transmitting terminal detects the predetermined registration operation to code for the triggering, scanning is default no Line frequency range searches available frequency.
For example, transmitting terminal, when the predetermined registration operation triggering to code is detected, can scan default frequency range, judges current one by one Frequency/frequency be whether available frequency.
Terminal when finding available frequency, execution step s202.Otherwise, continue to search for the available frequency that default frequency comprises Point.
S202: if finding available frequency in default frequency range, send to code signal to receiving terminal.
When transmitting terminal finds available frequency in default band limits, information according to the available frequency finding to Receiving terminal persistently sends to code signal.For example, transmitting terminal is persistently sent to code signal to receiving terminal with this available frequency/frequency. It is understood that certain frequency send to code signal, receiving terminal need with send to code signal identical frequency ability Receive this to code signal.
Alternatively, code signal can be carried with the information of the available frequency finding.When available frequency is carried to code signal Information when, receiving terminal when receiving to code signal, can directly to code signal obtain receive this to code signal pair That answers can be with the information of frequency.Code signal is corresponded with available frequency, one includes an available frequency to code signal Information.
Can use and be understood by, the available frequency that transmitting terminal finds can be one or at least two.
When transmitting terminal finds an available frequency, transmitting terminal continues to send to receiving terminal with this available frequency to be believed to code Number, till receiving the answer signal of receiving terminal transmission.
When transmitting terminal finds at least two available frequencies, continue to receiving terminal transmitting, code to be believed in each available frequency Number, until receive receiving terminal according to the answer signal that code signal is sent till.
S203: if receiving the answer signal that described receiving terminal sends, be identified as, to code success, being believed according to described response Number frequency point information carrying sets up communication connection with described receiving terminal.
Receiving terminal listen to transmitting terminal transmission to code signal when, to transmitting terminal send receive to code signal correspond to Answer signal.Wherein, answer signal carries the information receiving this available frequency corresponding to code signal.Available understanding Be, receiving terminal can receive transmitting terminal transmission to code signal, that is, identify and be currently received the corresponding frequency to code signal and be Available frequency.
Transmitting terminal, when receiving the answer signal of receiving terminal transmission, is identified as, to code success, being carried according to answer signal The information of available frequency and receiving terminal set up communication connection to be communicated in this available frequency point with receiving terminal, and carry out Data interaction.Wherein, the corresponding available frequency of available frequency point information that answer signal carries is identified as the logical of fixation by transmitting terminal Letter frequency, to set up communication connection by this fixing communication frequency and receiving terminal, realizes data interaction.
Can use and be understood by, when transmitting terminal finds an available frequency, transmitting terminal uniquely can use frequency to send out at this Send to code signal;The information of the available frequency entrained by answer signal that receiving terminal sends is to should uniquely can use frequency.
When transmitting terminal finds at least two available frequencies, transmitting terminal sends to receiving terminal at least two available frequencies To code signal;The information of the available frequency entrained by answer signal that receiving terminal sends corresponds at least two available frequencies One of, and this available frequency receives the corresponding frequency to code signal for receiving terminal.
Further, step s203 may comprise steps of:
Receive described receiving terminal according to the described answer signal that code signal is sent;Wherein, described answer signal carries institute State the information that receiving terminal receives the corresponding available frequency of described answer signal;
The information of the available frequency being carried according to described answer signal sends confirmation to described receiving terminal;Wherein, institute State the information that confirmation includes the described available frequency that described answer signal carries, be used for notifying described receiving terminal using described Confirmation corresponding available frequency point is communicated.
Specifically, transmitting terminal receives the answer signal that receiving terminal sends when receiving to code signal, parses this response letter Number, and obtain the information of the available frequency that it carries from this answer signal.Transmitting terminal is according to getting from answer signal The information of available frequency sends confirmation to receiving terminal.
Wherein, confirmation includes the information of the available frequency that answer signal carries, for notifying receiving terminal using confirmation The information corresponding available frequency point of the available frequency that information includes is communicated.
Such scheme, if transmitting terminal detects the predetermined registration operation to code for the triggering, searches available frequency in default frequency range;If Find available frequency in default frequency range, then send to code signal to receiving terminal;If receiving answering of described receiving terminal transmission Answer signal, be then identified as, to code success, setting up communication connection according to the frequency point information that answer signal carries with receiving terminal.Due to sending out Penetrate end and receiving terminal be capable of automatically to code, replace of the prior art artificial to code, can simplify to code stream journey, it is right to save The code time, improve to code efficiency, it is to avoid the artificial situation maloperation to code occurs.
Code signal can be included with the information of available frequency finding, and the information of available frequency is with to code signal one by one Corresponding, receive the information that the receiving terminal to code signal directly can obtain available frequency to code signal, can reduce and connect Receiving end inquire-receive, to the time of the information to the corresponding frequency of code signal, can improve to code efficiency further.
Refer to Fig. 3, Fig. 3 is the flow chart to code method another embodiment for the present invention.In the present invention, code method is held Row main body is receiving terminal.Receiving terminal can be television set, model plane etc., but is not limited to this, can also need to code for other Receiving terminal, is not limited herein.Code method is comprised the following steps in the present embodiment:
S301: receiving terminal monitor transmitting terminal send to code signal;Wherein, described code signal is carried with find available The information of frequency.
Receiving terminal monitors the corresponding default frequency range of transmitting terminal, and judge whether to listen to transmitting terminal transmission to code signal.
Alternatively, the information that code signal can be carried with the available frequency finding receiving.When carrying to code signal During the information of available frequency, receiving terminal, when receiving to code signal, directly can obtain to code signal that to receive this right Code signal is corresponding can be with the information of frequency.Code signal is corresponded with available frequency, one one is included to code signal can Information with frequency.
Receiving terminal listen to transmitting terminal transmission to code signal when, execution step s302.
S302: if listen to described to code signal, send described response letter corresponding to code signal to described transmitting terminal Number;Wherein, described answer signal carries the information that described receiving terminal receives described available frequency corresponding to code signal.
Receiving terminal confirm to listen to transmitting terminal transmission to code signal when, parse this to code signal, and in successfully resolved When, obtain the information receiving this available frequency corresponding to code signal, send this corresponding response to code signal to transmitting terminal Signal.Wherein, this answer signal carries the information receiving this available frequency corresponding to code signal.
It is understood that transmitting terminal certain frequency send to code signal, receiving terminal need with send to code signal Identical frequency just can receive this to code signal.
Available be understood by, receiving terminal can receive transmitting terminal transmission to code signal, that is, identify be currently received right The code corresponding frequency of signal is available frequency.
Further, after step s302, described code method can also be included: receive described transmitting terminal according to described should Answer the confirmation of signal transmission;Wherein, described confirmation includes the letter of the described available frequency that described answer signal carries Breath, is used for notifying described receiving terminal to be communicated using described confirmation corresponding available frequency point.
In transmitting terminal in the answer signal receiving receiving terminal transmission, and the letter of the available frequency being carried according to answer signal When ceasing to receiving terminal transmission confirmation, receiving terminal receives the confirmation that transmitting terminal sends, and parses confirmation, and obtaining should The information of the available frequency that confirmation includes, and this available frequency is identified as the frequency that communicates, in this communication frequency and transmitting Communication connection is set up at end, and carries out data interaction.The response that the information of the available frequency that confirmation includes sends for receiving terminal The information of the available frequency that information carries.Wherein, receiving terminal will confirm that the corresponding available frequency of available frequency point information that information includes Point is identified as the communication frequency of fixation, to set up communication connection by this fixing communication frequency and receiving terminal, realizes data and hands over Mutually.
Such scheme, receiving terminal monitor transmitting terminal send to code signal;If listening to code signal, send out to transmitting terminal Send the corresponding answer signal to code signal;Wherein, answer signal carries described receiving terminal and receives can use corresponding to code signal The information of frequency.Because transmitting terminal and receiving terminal are capable of automatically to code, replace of the prior art artificial to code, Neng Goujian Change to code stream journey, save to the code time, improve to code efficiency, it is to avoid the artificial situation maloperation to code occurs.
Code signal can be included with the information of available frequency finding, and the information of available frequency is with to code signal one by one Corresponding, receive the information that the receiving terminal to code signal directly can obtain available frequency to code signal, can reduce and connect Receiving end inquire-receive, to the time of the information to the corresponding frequency of code signal, can improve to code efficiency further.
Refer to Fig. 4, Fig. 4 is the structural representation to code device one embodiment for the present invention.Can be for sending to code device End equipment, sending ending equipment can be remote control, but is not limited to this, can also be other sending ending equipments to code for the needs, It is not limited herein.Each module included by code device is used for executing each step in the corresponding embodiment of Fig. 2, specifically please join Read the associated description in the corresponding embodiment of Fig. 2 and Fig. 2, do not repeat herein.The present embodiment code device is included search mould Block 410, sending module 420 and control module 430.
If searching modul 410 is used for the predetermined registration operation to code for the triggering is detected, search available frequency in default frequency range.Than As if searching modul 410 detects the predetermined registration operation to code for the triggering, searched available frequency in default frequency range.
Further, if searching modul 410 is default specifically for the triggering wirelessly predetermined registration operation to code, scanning is detected Radio band searches available frequency.Such as, if searching modul 410 detects the triggering wirelessly predetermined registration operation to code, scanning is pre- If radio band searches available frequency.
The information of the available frequency finding is sent by searching modul 410 to sending module 420.
Sending module 420 is used for receiving the information of the available frequency of searching modul 410 transmission, if searching in default frequency range To available frequency, then send to code signal to receiving terminal.
Such as, sending module 420 receives the information of the available frequency that searching modul 410 sends, if looking in default frequency range Find available frequency, then send to code signal to receiving terminal.
Sending module 420, after sending to code signal to receiving terminal, sends announcement information to control module 430, to notify Control module 430 monitors the answer signal that receiving terminal sends.
Control module 430 is used for receiving the announcement information of sending module 420 transmission, if receiving the response of receiving terminal transmission Signal, then be identified as, to code success, setting up communication connection according to the frequency point information that answer signal carries with receiving terminal.
Such as, control module 430 receives the announcement information that sending module 420 sends, if receiving answering of receiving terminal transmission Answer signal, be then identified as, to code success, setting up communication connection according to the frequency point information that answer signal carries with receiving terminal.
Further, control module 430 can use and includes receiving unit 431 and transmitting element 432.
Receiving unit 431 is used for receiving receiving terminal according to the answer signal that code signal is sent;Wherein, answer signal carries Receiving terminal receives the information of available frequency corresponding to code signal;
Transmitting element 432 is used for the information of available frequency that carries according to the answer signal that receiving unit 431 receives to connecing Receiving end sends confirmation;Wherein, confirmation includes the information of the described available frequency that answer signal carries, for notifying State receiving terminal to be communicated using described confirmation corresponding available frequency point.
Such scheme, if code device is detected with the predetermined registration operation to code for the triggering, searches available frequency in default frequency range; If finding available frequency in default frequency range, send to code signal to receiving terminal;If receiving what described receiving terminal sent Answer signal, then be identified as, to code success, setting up communication connection according to the frequency point information that answer signal carries with receiving terminal.Due to Transmitting terminal and receiving terminal are capable of automatically to code, replace of the prior art artificial to code, can simplify to code stream journey, save To the code time, improve to code efficiency, it is to avoid the artificial situation maloperation to code occurs.
Code signal can be included with the information of available frequency finding, and the information of available frequency is with to code signal one by one Corresponding, receive the information that the receiving terminal to code signal directly can obtain available frequency to code signal, can reduce and connect Receiving end inquire-receive, to the time of the information to the corresponding frequency of code signal, can improve to code efficiency further.
Refer to Fig. 5, Fig. 5 is the structural representation to another embodiment of code device for the present invention.Can be for connecing to code device Receiving end equipment, receiving device can be television set, model plane etc., but is not limited to this, for other needs, code can also be connect Receiving end equipment, is not limited herein.Each module included by code device is used for executing each step in the corresponding embodiment of Fig. 3 Suddenly, specifically refer to the associated description in the corresponding embodiment of Fig. 3 and Fig. 3, do not repeat herein.The present embodiment to code device Including monitoring module 510 and sending module 520.
Monitor module 510 be used for monitor transmitting terminal transmission to code signal.
If sending module 520 is used for monitoring module 510 listening to code signal, sending to transmitting terminal and code signal is corresponded to Answer signal;Wherein, answer signal carries the information that receiving terminal receives available frequency corresponding to code signal.
Monitor module 510 to be additionally operable to receive the confirmation that transmitting terminal sends according to answer signal;Wherein, confirmation bag Include the information of the available frequency that answer signal carries, for notifying receiving terminal to be led to using confirmation corresponding available frequency point Letter.
Such scheme, to the monitoring transmitting terminal transmission of code device to code signal;If listening to code signal, to transmitting terminal Send to code signal corresponding answer signal;Wherein, answer signal carry described receiving terminal receive corresponding to code signal can Information with frequency.Because transmitting terminal and receiving terminal are capable of automatically to code, replace of the prior art artificial to code, can Simplify to code stream journey, save to the code time, improve to code efficiency, it is to avoid the artificial situation maloperation to code occurs.
Code signal can be included with the information of available frequency finding, and the information of available frequency is with to code signal one by one Corresponding, receive the information that the receiving terminal to code signal directly can obtain available frequency to code signal, can reduce and connect Receiving end inquire-receive, to the time of the information to the corresponding frequency of code signal, can improve to code efficiency further.
Refer to Fig. 6, Fig. 6 is the structural representation to code device another embodiment for the present invention.Can be for sending out to code device Sending end equipment, sending ending equipment can be remote control, but is not limited to this, for other needs, the transmitting terminal of code can also be set Standby, it is not limited herein.In the present embodiment as shown in Figure 6, one or more processors 610 be may include that to code device; One or more input equipments 620, one or more output equipments 630 and memory 640.Above-mentioned processor 610, input equipment 620th, output equipment 630 and memory 640 are connected by bus 650.
The operation of processor 610 control terminal, processor 610 can also be referred to as cpu (central processing Unit, CPU).Processor 610 is probably a kind of IC chip, has the disposal ability of signal.Processor 610 can also be general processor, digital signal processor (dsp), special IC (asic), ready-made programmable gate array Or other PLDs, discrete gate or transistor logic, discrete hardware components (fpga).General processor Can be microprocessor or this processor can also be any conventional processor etc..
Output equipment 630 is used for sending data.
Memory 640 is used for storage program and instructs.
Memory 640 can include read-only storage and random access memory, and provides instruction sum to processor 610 According to.The a part of of memory 640 can also include nonvolatile RAM (nvram).
Each assembly of terminal is coupled by bus 650, and wherein bus 650, in addition to including data/address bus, is gone back Power bus, controlling bus and status signal bus in addition etc. can be included.But for the sake of clear explanation, will be various total in figure Line is all designated as bus 650.
Memory 640 stores following element, executable module or data structure, or their subset, or Their superset:
Operational order: include various operational orders, be used for realizing various operations.
Operating system: include various system programs, be used for realizing various basic businesses and process hardware based task.
In embodiments of the present invention, processor 610 is by calling operational order (this operational order of memory 640 storage It is storable in operating system), execution is following to be operated:
If processor 610 is used for the predetermined registration operation to code for the triggering is detected, search available frequency in default frequency range;
If processor 610 is additionally operable to find available frequency in default frequency range, send to code signal to receiving terminal;
If processor 610 is additionally operable to receive the answer signal that described receiving terminal sends, it is identified as successful to code, according to The frequency point information that described answer signal carries sets up communication connection with described receiving terminal.
Further, processor 610 is specifically for receiving described receiving terminal according to the described response letter that code signal is sent Number;Wherein, described answer signal carries the information that described receiving terminal receives described available frequency corresponding to code signal;And The information of the available frequency for being carried according to described answer signal sends confirmation to described receiving terminal;Wherein, described true Recognize the information that information includes the described available frequency that described answer signal carries, be used for notifying described receiving terminal to adopt described confirmation Information corresponding available frequency point is communicated.
Further, if processor 610 is specifically for the triggering wirelessly predetermined registration operation to code is detected, scanning is default no Line frequency range searches available frequency.
Such scheme, if code device is detected with the predetermined registration operation to code for the triggering, searches available frequency in default frequency range; If finding available frequency in default frequency range, send to code signal to receiving terminal;If receiving what described receiving terminal sent Answer signal, then be identified as, to code success, setting up communication connection according to the frequency point information that answer signal carries with receiving terminal.Due to Transmitting terminal and receiving terminal are capable of automatically to code, replace of the prior art artificial to code, can simplify to code stream journey, save To the code time, improve to code efficiency, it is to avoid the artificial situation maloperation to code occurs.
Code signal can be included with the information of available frequency finding, and the information of available frequency is with to code signal one by one Corresponding, receive the information that the receiving terminal to code signal directly can obtain available frequency to code signal, can reduce and connect Receiving end inquire-receive, to the time of the information to the corresponding frequency of code signal, can improve to code efficiency further.
Refer to Fig. 7, Fig. 7 is the structural representation to the another embodiment of code device for the present invention.Can be for connecing to code device Receiving end equipment, receiving device can be television set, model plane etc., but is not limited to this, for other needs, code can also be connect Receiving end equipment, is not limited herein.In the present embodiment as shown in Figure 7, one or more process be may include that to code device Device 710;One or more input equipments 720, one or more output equipments 730 and memory 740.Above-mentioned processor 710, defeated Enter equipment 720, output equipment 730 and memory 740 to connect by bus 750.
The operation of processor 710 control terminal, processor 710 can also be referred to as cpu (central processing Unit, CPU).Processor 710 is probably a kind of IC chip, has the disposal ability of signal.Processor 710 can also be general processor, digital signal processor (dsp), special IC (asic), ready-made programmable gate array Or other PLDs, discrete gate or transistor logic, discrete hardware components (fpga).General processor Can be microprocessor or this processor can also be any conventional processor etc..
Output equipment 730 is used for sending data.
Memory 740 is used for storage program and instructs.
Memory 740 can include read-only storage and random access memory, and provides instruction sum to processor 710 According to.The a part of of memory 740 can also include nonvolatile RAM (nvram).
Each assembly of terminal is coupled by bus 750, and wherein bus 750, in addition to including data/address bus, is gone back Power bus, controlling bus and status signal bus in addition etc. can be included.But for the sake of clear explanation, will be various total in figure Line is all designated as bus 750.
Memory 740 stores following element, executable module or data structure, or their subset, or Their superset:
Operational order: include various operational orders, be used for realizing various operations.
Operating system: include various system programs, be used for realizing various basic businesses and process hardware based task.
In embodiments of the present invention, processor 710 is by calling operational order (this operational order of memory 740 storage It is storable in operating system), execution is following to be operated:
Processor 710 be used for monitor transmitting terminal transmission to code signal.
If processor 710 be additionally operable to described monitoring module listen to described to code signal, send institute to described transmitting terminal State the corresponding answer signal to code signal;Wherein, described answer signal carry described receiving terminal receive described to code signal pair The information of the available frequency answered.
Further, processor 710 is additionally operable to receive the confirmation that described transmitting terminal sends according to described answer signal; Wherein, described confirmation includes the information of the described available frequency that described answer signal carries, and is used for notifying described receiving terminal Communicated using described confirmation corresponding available frequency point.
Such scheme, to the monitoring transmitting terminal transmission of code device to code signal;If listening to code signal, to transmitting terminal Send to code signal corresponding answer signal;Wherein, answer signal carry described receiving terminal receive corresponding to code signal can Information with frequency.Because transmitting terminal and receiving terminal are capable of automatically to code, replace of the prior art artificial to code, can Simplify to code stream journey, save to the code time, improve to code efficiency, it is to avoid the artificial situation maloperation to code occurs.
Code signal can be included with the information of available frequency finding, and the information of available frequency is with to code signal one by one Corresponding, receive the information that the receiving terminal to code signal directly can obtain available frequency to code signal, can reduce and connect Receiving end inquire-receive, to the time of the information to the corresponding frequency of code signal, can improve to code efficiency further.
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all essences in the present invention Any modification, equivalent and improvement made within god and principle etc., should be included within the scope of the present invention.

Claims (10)

1. one kind to code method it is characterised in that described include to code method:
If transmitting terminal detects the predetermined registration operation to code for the triggering, search available frequency in default frequency range;
If finding available frequency in default frequency range, send to code signal to receiving terminal;
If receiving the answer signal that described receiving terminal sends, it is identified as, to code success, being carried according to described answer signal Frequency point information sets up communication connection with described receiving terminal.
According to claim 1 to code method it is characterised in that if described receive the response that described receiving terminal sends Signal, then be identified as, to code success, setting up communication connection according to the frequency point information that described answer signal carries with described receiving terminal Including:
Receive described receiving terminal according to the described answer signal that code signal is sent;Wherein, described answer signal carry described in connect Receiving end receives the information of described available frequency corresponding to code signal;
The information of the available frequency being carried according to described answer signal sends confirmation to described receiving terminal;Wherein, described true Recognize the information that information includes the described available frequency that described answer signal carries, be used for notifying described receiving terminal to adopt described confirmation Information corresponding available frequency point is communicated.
If according to claim 1 and 2 to code method it is characterised in that described transmitting terminal detect triggering wirelessly right The predetermined registration operation of code, then search available frequency in default frequency range and include:
The default radio band of scanning searches available frequency.
4. one kind to code method it is characterised in that described include to code method:
Receiving terminal monitor transmitting terminal send to code signal;
If listen to described to code signal, send described answer signal corresponding to code signal to described transmitting terminal;Wherein, institute State answer signal and carry the information that described receiving terminal receives described available frequency corresponding to code signal.
If according to claim 4 to code method it is characterised in that described listen to described to code signal, basis Described to described transmitting terminal, answer signal is sent to code signal after, described code method is also included:
Receive the confirmation that described transmitting terminal sends according to described answer signal;Wherein, described confirmation includes described answering Answer the information of the described available frequency that signal carries, be used for notifying described receiving terminal to adopt the corresponding available frequency of described confirmation Point is communicated.
6. one kind to code device it is characterised in that described include to code device:
Searching modul, if for the predetermined registration operation to code for the triggering is detected, searches available frequency in default frequency range;
Sending module, if for finding available frequency in default frequency range, sends to code signal to receiving terminal;
Control module, if for receiving the answer signal that described receiving terminal sends, be identified as, to code success, being answered according to described Answer frequency point information and the described receiving terminal foundation communication connection that signal carries.
7. according to claim 6 to code device it is characterised in that described control module includes:
Receiving unit, for receiving described receiving terminal according to the described answer signal that code signal is sent;Wherein, described response letter Number carry the information that described receiving terminal receives described available frequency corresponding to code signal;
Transmitting element, the information of the available frequency for being carried according to described answer signal sends confirmation letter to described receiving terminal Breath;Wherein, described confirmation includes the information of the described available frequency that described answer signal carries, and is used for notifying described reception End is communicated using described confirmation corresponding available frequency point.
According to claim 6 or 7 to code device it is characterised in that if described searching modul is specifically for detecting The triggering wirelessly predetermined registration operation to code, then scan default radio band and search available frequency.
9. one kind to code device it is characterised in that described include to code device:
Monitor module, for monitor transmitting terminal transmission to code signal;
Sending module, if for described monitoring module listen to described to code signal, to described transmitting terminal send described to code The corresponding answer signal of signal;Wherein, described answer signal carry described receiving terminal receive described corresponding to code signal can Information with frequency.
10. according to claim 9 to code device it is characterised in that described monitoring module is additionally operable to receive described transmitting The confirmation that end sends according to described answer signal;Wherein, what described confirmation included that described answer signal carries is described The information of available frequency, is used for notifying described receiving terminal to be communicated using described confirmation corresponding available frequency point.
CN201610932941.8A 2016-10-31 2016-10-31 Code pairing method and apparatus Pending CN106341869A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610932941.8A CN106341869A (en) 2016-10-31 2016-10-31 Code pairing method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610932941.8A CN106341869A (en) 2016-10-31 2016-10-31 Code pairing method and apparatus

Publications (1)

Publication Number Publication Date
CN106341869A true CN106341869A (en) 2017-01-18

Family

ID=57840683

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610932941.8A Pending CN106341869A (en) 2016-10-31 2016-10-31 Code pairing method and apparatus

Country Status (1)

Country Link
CN (1) CN106341869A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112559579A (en) * 2020-12-21 2021-03-26 福建星网天合智能科技有限公司 Efficient code matching method, device, equipment and medium for infrared code library
CN113872642A (en) * 2021-10-26 2021-12-31 成都康特电子科技股份有限公司 Power line communication code matching method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101714289A (en) * 2009-10-30 2010-05-26 罗之洪 Remote control method and system capable of automatically adjusting frequency and distributing ID
CN103248543A (en) * 2013-04-24 2013-08-14 华为技术有限公司 Code verification method, code verification control equipment and code verification equipment
CN104581883A (en) * 2014-11-21 2015-04-29 广东瑞德智能科技股份有限公司 Wireless data communication method for intelligent household appliance
CN105306990A (en) * 2014-06-30 2016-02-03 深圳市同方多媒体科技有限公司 Multifunctional communication interface and method for realizing multifunctional communication of interface

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101714289A (en) * 2009-10-30 2010-05-26 罗之洪 Remote control method and system capable of automatically adjusting frequency and distributing ID
CN103248543A (en) * 2013-04-24 2013-08-14 华为技术有限公司 Code verification method, code verification control equipment and code verification equipment
CN105306990A (en) * 2014-06-30 2016-02-03 深圳市同方多媒体科技有限公司 Multifunctional communication interface and method for realizing multifunctional communication of interface
CN104581883A (en) * 2014-11-21 2015-04-29 广东瑞德智能科技股份有限公司 Wireless data communication method for intelligent household appliance

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112559579A (en) * 2020-12-21 2021-03-26 福建星网天合智能科技有限公司 Efficient code matching method, device, equipment and medium for infrared code library
CN113872642A (en) * 2021-10-26 2021-12-31 成都康特电子科技股份有限公司 Power line communication code matching method and device
CN113872642B (en) * 2021-10-26 2023-09-01 成都康特电子科技股份有限公司 Code matching method and device for power line communication

Similar Documents

Publication Publication Date Title
CN112543442B (en) Discontinuous reception parameter configuration method and device
CN110944352B (en) Link failure detection method and terminal for sidelink
CN113490218B (en) Pairing method, pairing device, bluetooth remote controller, intelligent device and storage medium
CN114080065B (en) Discontinuous transmission method, signal transmission processing method and related equipment
CN111869264A (en) Method for returning to high-standard network from low-standard network and communication device
CN110769517B (en) Random access method and related equipment
EP1780949A1 (en) Apparatus and method for responding to unlicensed network failure
CN108124510B (en) Wireless pairing system and pairing method
CN114080066B (en) Discontinuous Reception (DRX) processing method and device, terminal and network side equipment
CN111955049B (en) State control method, device, communication equipment and storage medium
CN104221468A (en) Wireless communication system, communication control device and communication control method
CN113038593B (en) Connection establishment method, device and user equipment
CN113301601B (en) Information reporting method, user equipment and network equipment
CN102274013B (en) Wireless intelligent monitoring system and monitoring terminal equipment
CN106341869A (en) Code pairing method and apparatus
CN113301584A (en) Discontinuous transmission configuration method and user equipment
CN114727367A (en) Wireless remote network distribution method, control center and equipment
CN105721916A (en) Master device, slave device and pairing method of master device and slave device
CN112913182B (en) Signal configuration method, device, communication equipment and storage medium
CN108616851B (en) Bluetooth connection method and Bluetooth device
CN113329471A (en) Method, system, storage medium, and electronic device for establishing peer-to-peer communication
CN113141576A (en) Data transmission method, user equipment and network side equipment
CN105812566A (en) Information reminding method and device of mobile device
JP6121808B2 (en) Wireless communication system and wireless communication method
CN111726452B (en) Wireless local area network WiFi list ordering method and electronic equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170118