CN115002936A - A bicycle electronic transmission communication method, device and bicycle - Google Patents
A bicycle electronic transmission communication method, device and bicycle Download PDFInfo
- Publication number
- CN115002936A CN115002936A CN202210818432.8A CN202210818432A CN115002936A CN 115002936 A CN115002936 A CN 115002936A CN 202210818432 A CN202210818432 A CN 202210818432A CN 115002936 A CN115002936 A CN 115002936A
- Authority
- CN
- China
- Prior art keywords
- operating device
- channel
- transmission
- communication
- new
- 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.)
- Granted
Links
- 230000005540 biological transmission Effects 0.000 title claims abstract description 73
- 238000000034 method Methods 0.000 title claims abstract description 20
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/11—Allocation or use of connection identifiers
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B62—LAND VEHICLES FOR TRAVELLING OTHERWISE THAN ON RAILS
- B62M—RIDER PROPULSION OF WHEELED VEHICLES OR SLEDGES; POWERED PROPULSION OF SLEDGES OR SINGLE-TRACK CYCLES; TRANSMISSIONS SPECIALLY ADAPTED FOR SUCH VEHICLES
- B62M25/00—Actuators for gearing speed-change mechanisms specially adapted for cycles
- B62M25/08—Actuators for gearing speed-change mechanisms specially adapted for cycles with electrical or fluid transmitting systems
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/50—Secure pairing of devices
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Chemical & Material Sciences (AREA)
- Combustion & Propulsion (AREA)
- Transportation (AREA)
- Mechanical Engineering (AREA)
- Computer Security & Cryptography (AREA)
- Selective Calling Equipment (AREA)
Abstract
本发明公开了一种自行车电子变速器通信方法、装置及自行车,自行车电子变速器通信方法包括操作装置和变速装置中预设相同的信道和相同的设备地址;操作装置和变速装置之间建立信道通信;所述操作装置和所述变速装置之间通过唯一识别码进行配对;变速装置和操作装置分别将唯一识别码通过同一预设规则转换成新的信道和新的设备地址;变速装置和操作装置通过新的信道和新的设备地址建立信道通信。本发明通过在操作装置和变速装置之间建立初步通信,并根据同一唯一识别码通过同一预设规则转换出新的信道和新的设备地址进行通信,故不会受到其他设备的影响。
The invention discloses a communication method and device for a bicycle electronic transmission and a bicycle. The communication method for the bicycle electronic transmission comprises the same channel and the same device address preset in the operation device and the transmission device; and channel communication is established between the operation device and the transmission device; The operation device and the transmission device are paired through a unique identification code; the transmission device and the operation device respectively convert the unique identification code into a new channel and a new device address through the same preset rule; the transmission device and the operation device pass The new channel and the new device address establish channel communication. The present invention establishes preliminary communication between the operating device and the speed change device, and converts a new channel and a new device address to communicate according to the same unique identification code through the same preset rule, so it will not be affected by other devices.
Description
技术领域technical field
本发明涉及自行车电子变速器无线通信技术领域,尤其涉及一种自行车电子变速器通信方法、装置及自行车。The invention relates to the technical field of wireless communication of bicycle electronic transmissions, in particular to a communication method and device of bicycle electronic transmissions and a bicycle.
背景技术Background technique
现有的通信系统采用同一个无线频率和相同的设备地址进行电子变速器和控制器之间的通信,使得多个产品在同一空间中同时使用时,容易出现信道干扰,从而出现控制失效的情况。The existing communication system uses the same radio frequency and the same device address to communicate between the electronic transmission and the controller, so that when multiple products are used at the same time in the same space, channel interference is prone to occur, resulting in control failure.
且现有的通信系统因为采用同一个无线频率和相同的设备地址,使得发射器发出的指令在其他的设备上也能得到反馈,而非只有目标设备上才能得到反馈,使得发射器无法确认发送的信息是否被目标设备正确接收。And the existing communication system uses the same radio frequency and the same device address, so that the commands sent by the transmitter can also be fed back on other devices, not only on the target device, so that the transmitter cannot confirm the transmission. whether the information is correctly received by the target device.
发明内容SUMMARY OF THE INVENTION
本发明的目的是提供一种自行车电子变速器通信方法、装置及自行车,旨在解决现有技术中,多个产品在同一空间中同时使用时,容易出现信道干扰,从而出现控制失效的问题。The purpose of the present invention is to provide a bicycle electronic transmission communication method, device and bicycle, aiming to solve the problem of channel interference and control failure in the prior art when multiple products are used simultaneously in the same space.
第一方面,本发明实施例提供了一种自行车电子变速器通信方法,包括:In a first aspect, an embodiment of the present invention provides a communication method for a bicycle electronic transmission, including:
操作装置和变速装置中预设相同的信道和相同的设备地址;The same channel and the same device address are preset in the operating device and in the transmission;
所述操作装置和变速装置之间建立信道通信;establishing channel communication between the operating device and the shifting device;
所述操作装置和所述变速装置之间通过唯一识别码进行配对;pairing between the operating device and the shifting device through a unique identification code;
所述变速装置和所述操作装置分别将所述唯一识别码通过同一预设规则转换成新的信道和新的设备地址;The transmission device and the operating device respectively convert the unique identification code into a new channel and a new device address through the same preset rule;
所述变速装置和所述操作装置通过新的信道和新的设备地址建立信道通信。The transmission device and the operating device establish channel communication through the new channel and the new device address.
进一步的,所述操作装置和变速装置中预设相同的信道和相同的设备地址,包括:Further, the same channel and the same device address are preset in the operating device and the speed change device, including:
通过程序软件将所述操作装置中的操作装置通讯模块和所述变速装置中的拨链通讯模块中的信道和设备地址设置成一致的;Set the channel and device address in the operating device communication module in the operating device and the derailleur communication module in the speed change device to be consistent through program software;
其中,所述操作装置通讯模块和所述拨链通讯模块属于2.4G通信模块。Wherein, the operating device communication module and the derailleur communication module belong to 2.4G communication modules.
进一步的,所述操作装置和所述变速装置之间通过唯一识别码进行配对,包括:Further, the pairing between the operating device and the shifting device is performed through a unique identification code, including:
当检测到对所述操作装置进行配对操作时,控制所述操作装置进入配对模式;When it is detected that a pairing operation is performed on the operating device, controlling the operating device to enter a pairing mode;
当检测到对所述变速装置上的配对按钮的配对操作时,控制所述变速装置向所述操作装置发送含变速装置信息的配对信息;When detecting a pairing operation on the pairing button on the speed change device, controlling the speed change device to send pairing information including speed change device information to the operating device;
与所述变速装置具有相同信道和设备地址的所述操作装置接收到所述配对信息时,配对成功。When the operating device having the same channel and device address as the transmission device receives the pairing information, the pairing is successful.
进一步的,所述唯一识别码为六位数的产品身份识别ID。Further, the unique identification code is a six-digit product identification ID.
进一步的,所述预设规则包括:Further, the preset rules include:
取所述唯一识别码中的前五位作为设备地址。Take the first five digits of the unique identification code as the device address.
进一步的,所述预设规则包括:Further, the preset rules include:
对所述唯一识别码进行求和得到第一结果;Summing the unique identification code to obtain a first result;
将第一结果对78取余得到第二结果;The second result is obtained by taking the remainder of the first result to 78;
将第二结果加2得到信道。Add 2 to the second result to get the channel.
进一步的,所述变速装置和所述操作装置通过新的信道和新的设备地址建立信道通信,之后包括:Further, the transmission device and the operating device establish channel communication through a new channel and a new device address, and then include:
发送指令步骤:所述操作装置向所述变速装置发出指令后检测是否收到所述变速装置发出的反馈;The step of sending an instruction: after the operating device sends an instruction to the speed change device, it detects whether it receives the feedback sent by the speed change device;
若所述操作装置收到所述变速装置发出的反馈;if the operating device receives feedback from the transmission;
则判定通信成功;Then it is determined that the communication is successful;
若所述操作装置没有收到所述变速装置发出的反馈;if the operating device does not receive feedback from the transmission;
则返回所述发送指令步骤。Then return to the step of sending an instruction.
进一步的,所述返回所述发送指令步骤,之前包括:Further, the step of returning to the sending instruction includes:
所述操作装置获取指令发送时间;The operating device obtains the instruction sending time;
所述操作装置比较指令发送时间与预设时间;The operating device compares the command sending time with the preset time;
若所述指令发送时间大于或等于所述预设时间;If the command sending time is greater than or equal to the preset time;
则判定指令发送失败;Then it is judged that the command sending failed;
若所述指令发送时间小于所述预设时间;if the command sending time is less than the preset time;
则返回所述发送指令步骤。Then return to the step of sending an instruction.
第二方面,本发明实施例提供了一种自行车电子变速器通信装置,包括操作装置和变速装置;In a second aspect, an embodiment of the present invention provides a communication device for a bicycle electronic transmission, including an operation device and a transmission device;
其中,操作装置和变速装置中预设有相同的信道和设备地址,在操作装置和变速装置建立初步的信道通信后,所述操作装置和所述变速装置之间通过唯一识别码进行配对;Wherein, the same channel and device address are preset in the operating device and the speed changing device, and after the operating device and the speed changing device establish preliminary channel communication, the operating device and the speed changing device are paired through a unique identification code;
所述变速装置和所述操作装置通过同一预设规则将所述唯一识别码转换成新的信道和新的设备地址,并通过新的信道和新的设备地址建立信道通信。The transmission device and the operating device convert the unique identification code into a new channel and a new device address through the same preset rule, and establish channel communication through the new channel and the new device address.
第三方面,本发明实施例提供了一种自行车,包括所述的自行车电子变速器通信装置,且运用所述自行车电子变速器通信方法。In a third aspect, an embodiment of the present invention provides a bicycle, including the bicycle electronic transmission communication device, and using the bicycle electronic transmission communication method.
本发明通过在操作装置和变速装置中预设有初步相同的信道和相同的设备地址,使得两者可以初步建立信道通信,然后在通信中,变速装置将其预先存储的唯一识别码发送至操作装置中,操作装置在接收到该唯一识别码后,判定配对成功,之后操作装置和变速装置会根据唯一识别码,通过同一预设规则对唯一识别码进行转换,形成新的信道和设备地址,由于操作装置和变速装置转换唯一识别码时的预设规则是相同的,故转换成的信道也是相同的,设备地址同样是相同的,操作装置和变速装置还可以在新的信道和设备地址上建立新的信道通信,同时该信道通信是独一无二的,故不会受到其他设备的影响。The present invention preliminarily presets the same channel and the same device address in the operation device and the speed change device, so that the two can initially establish channel communication, and then during the communication, the speed change device sends its pre-stored unique identification code to the operation device. In the device, after receiving the unique identification code, the operating device determines that the pairing is successful, and then the operating device and the transmission device will convert the unique identification code through the same preset rule according to the unique identification code to form a new channel and device address, Since the preset rules for the operation device and the transmission device to convert the unique identification code are the same, the converted channels are also the same, and the device address is also the same. The operation device and the transmission device can also be on the new channel and device address. Establish a new channel communication, and the channel communication is unique, so it will not be affected by other devices.
附图说明Description of drawings
为了更清楚地说明本发明实施例技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to explain the technical solutions of the embodiments of the present invention more clearly, the following briefly introduces the accompanying drawings used in the description of the embodiments. Obviously, the drawings in the following description are some embodiments of the present invention, which are of great significance to the art For those of ordinary skill, other drawings can also be obtained from these drawings without any creative effort.
图1为本发明实施例提供的自行车电子变速器通信方法的流程图。FIG. 1 is a flowchart of a communication method for a bicycle electronic transmission provided by an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施倒是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described implementations are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
应当理解,当在本说明书和所附权利要求书中使用时,术语“包括”和“包含”指示所描述特征、整体、步骤、操作、元素和/或组件的存在,但并不排除一个或多个其它特征、整体、步骤、操作、元素、组件和/或其集合的存在或添加。It is to be understood that, when used in this specification and the appended claims, the terms "comprising" and "comprising" indicate the presence of the described features, integers, steps, operations, elements and/or components, but do not exclude one or The presence or addition of a number of other features, integers, steps, operations, elements, components, and/or sets thereof.
还应当理解,在此本发明说明书中所使用的术语仅仅是出于描述特定实施例的目的而并不意在限制本发明。如在本发明说明书和所附权利要求书中所使用的那样,除非上下文清楚地指明其它情况,否则单数形式的“一”、“一个”及“该”意在包括复数形式。It is also to be understood that the terminology used in this specification of the present invention is for the purpose of describing particular embodiments only and is not intended to limit the present invention. As used in this specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural unless the context clearly dictates otherwise.
还应当进一步理解,在本发明说明书和所附权利要求书中使用的术语“和/或”是指相关联列出的项中的一个或多个的任何组合以及所有可能组合,并且包括这些组合。It should further be understood that, as used in this specification and the appended claims, the term "and/or" refers to and including any and all possible combinations of one or more of the associated listed items .
请参阅图1,一种自行车电子变速器通信方法,包括:Please refer to Fig. 1, a communication method of bicycle electronic transmission, including:
S101,操作装置和变速装置中预设相同的信道和相同的设备地址;S101, the same channel and the same device address are preset in the operating device and the speed change device;
S102,所述操作装置和变速装置之间建立信道通信;S102, establishing channel communication between the operating device and the speed change device;
S103,所述操作装置和所述变速装置之间通过唯一识别码进行配对;S103, the operation device and the speed change device are paired through a unique identification code;
S104,所述变速装置和所述操作装置分别将所述唯一识别码通过同一预设规则转换成新的信道和新的设备地址;S104, the speed change device and the operation device respectively convert the unique identification code into a new channel and a new device address through the same preset rule;
S105,所述变速装置和所述操作装置通过新的信道和新的设备地址建立信道通信。S105, the transmission device and the operating device establish channel communication through a new channel and a new device address.
在本实施例中,通过在操作装置和变速装置中预设有初步相同的信道和相同的设备地址,使得两者可以初步建立信道通信,在通信中,可以是在所述操作装置接收到所述变速装置发送的唯一识别码或所述变速装置接收到所述操作装置发送的唯一识别码时,配对成功,之后操作装置和变速装置会根据唯一识别码,通过同一预设规则对唯一识别码进行转换,形成新的信道和设备地址,由于操作装置和变速装置转换唯一识别码时的预设规则是相同的,故转换成的信道也是相同的,设备地址同样是相同的,操作装置和变速装置还可以在新的信道和设备地址上建立新的信道通信,同时该信道通信是独一无二的,故不会受到其他设备的影响。In this embodiment, the operation device and the transmission device are preset with the same preliminary channel and the same device address, so that the two can initially establish channel communication. When the unique identification code sent by the transmission device or the transmission device receives the unique identification code sent by the operation device, the pairing is successful, and then the operation device and the transmission device will pair the unique identification code with the same preset rule according to the unique identification code. Convert to form a new channel and device address. Since the preset rules for converting the unique identification code of the operating device and the speed change device are the same, the converted channel is also the same, and the device address is also the same. The device can also establish a new channel communication on the new channel and device address, and the channel communication is unique, so it will not be affected by other devices.
其中,若所述操作装置没有接收到所述变速装置发送的唯一识别码,则在一定时间后关闭,该时间可以是10-20s。Wherein, if the operating device does not receive the unique identification code sent by the transmission device, it will be turned off after a certain time, and the time may be 10-20s.
其中,操作装置可以是指拨或手变,指拨是相对于山地自行车的叫法,手变是相对于公路自行车的叫法,两者均为操作变速的装置。Among them, the operating device can be a dial or a manual change, the dial is the name relative to the mountain bike, and the hand change is the name relative to the road bicycle, both of which are devices for operating the speed change.
其中,变速装置为拨链器,可以是前拨和/或后拨。Wherein, the shifting device is a derailleur, which may be a front derailleur and/or a rear derailleur.
在一实施例中,所述操作装置和变速装置中预设相同的信道和相同的设备地址,包括:In an embodiment, the same channel and the same device address are preset in the operating device and the speed change device, including:
通过程序软件将所述操作装置中的操作装置通讯模块和所述变速装置中的拨链通讯模块中的信道和设备地址设置成一致的;Set the channel and device address in the operating device communication module in the operating device and the derailleur communication module in the speed change device to be consistent through program software;
其中,所述操作装置通讯模块和所述拨链通讯模块属于2.4G通信模块。Wherein, the operating device communication module and the derailleur communication module belong to 2.4G communication modules.
在本实施例中,在预先设置时,通过程序软件连上操作装置通讯模块和拨链通讯模块进行设置,而且所述操作装置通讯模块和所述拨链通讯模块属于2.4G通信模块。In this embodiment, during the preset setting, the operating device communication module and the derailleur communication module are connected through program software for setting, and the operating device communication module and the derailleur communication module belong to 2.4G communication modules.
其中,2.4G通信模块的型号是SI24R01,可设置的频率范围是2402M-2480M,信道个数为78个。Among them, the model of the 2.4G communication module is SI24R01, the frequency range that can be set is 2402M-2480M, and the number of channels is 78.
其中,上述操作装置和变速装置获得新的信道和设备地址后,将对其上对应的通信模块进行设置。Wherein, after the above-mentioned operating device and speed change device obtain a new channel and device address, the corresponding communication modules on them will be set.
在一实施例中,所述操作装置和所述变速装置之间通过唯一识别码进行配对。包括:In one embodiment, a unique identification code is used for pairing between the operating device and the transmission device. include:
当检测到对所述操作装置进行配对操作时,控制所述操作装置进入配对模式;When it is detected that a pairing operation is performed on the operating device, controlling the operating device to enter a pairing mode;
当检测到对所述变速装置上的配对按钮的配对操作时,控制所述变速装置向所述操作装置发送含变速装置信息的配对信息;When detecting a pairing operation on the pairing button on the speed change device, controlling the speed change device to send pairing information including speed change device information to the operating device;
与所述变速装置具有相同信道和设备地址的所述操作装置接收到所述配对信息时,配对成功。When the operating device having the same channel and device address as the transmission device receives the pairing information, the pairing is successful.
在本实施例中,在检测到对所述操作装置进行配对操作时,使操作装置进入配对模式(此时的操作装置可以处于信号接收状态,不发射信号);并在按下(可以是长按、单击或者双击等操作)变速装置上的配对按钮后,变速装置单次发射含变速装置信息的配对信号给操作装置,此时的变速装置可以不接收信号,与所述变速装置具有相同信道和设备地址的所述操作装置接收到所述配对信息时,配对成功。In this embodiment, when it is detected that a pairing operation is performed on the operating device, the operating device is brought into a pairing mode (the operating device at this time may be in a signal receiving state without transmitting a signal); After the pairing button on the transmission device is pressed, clicked or double-clicked), the transmission device transmits a pairing signal containing the information of the transmission device to the operating device at a time. At this time, the transmission device may not receive the signal, which is the same as the transmission device When the operating device of the channel and device address receives the pairing information, the pairing is successful.
其中,“操作装置进行配对操作”可以是断电再上电配对,或按下单独的配对按键配对,或是同时按下降档和升档按键配对,或是长按升档/降档按键配对等方式。Among them, the "operating device for pairing operation" can be pairing after power off and on, or pairing by pressing a separate pairing button, or pairing by pressing the downshift and upshift buttons at the same time, or long pressing the upshift/downshift button for pairing and so on.
上述实施例只是一种配对情况,另一种配对情况为变速装置先进入配对模式,然后通过操作装置向变速装置发送配对信号,变速装置回馈含变速装置信息的信号,变速装置接收到该信号时,配对成功。The above embodiment is only a pairing situation, and another pairing situation is that the speed change device first enters the pairing mode, and then sends a pairing signal to the speed change device through the operating device, and the speed change device returns a signal containing the speed change device information. , the pairing is successful.
在一实施例中,所述唯一识别码为六位数的产品身份识别ID。In one embodiment, the unique identification code is a six-digit product identification ID.
在本实施例中,产品身份识别ID可以是产品的SN码,例如3F、68、5E、8A、6C、4E,对应十进制数63、104、94、138、108、78。In this embodiment, the product identification ID may be the SN code of the product, such as 3F, 68, 5E, 8A, 6C, 4E, corresponding to decimal numbers 63, 104, 94, 138, 108, and 78.
在一实施例中,所述预设规则包括:In one embodiment, the preset rules include:
取所述唯一识别码中的前五位作为设备地址。Take the first five digits of the unique identification code as the device address.
在本实施例中,在SN码为3F、68、5E、8A、6C、4E时,设备地址取3F、68、5E、8A、6C。In this embodiment, when the SN codes are 3F, 68, 5E, 8A, 6C, and 4E, the device addresses are 3F, 68, 5E, 8A, and 6C.
在一实施例中,所述预设规则包括:In one embodiment, the preset rules include:
对所述唯一识别码进行求和得到第一结果;Summing the unique identification code to obtain a first result;
将第一结果对78取余得到第二结果;The second result is obtained by taking the remainder of the first result to 78;
将第二结果加2得到信道。Add 2 to the second result to get the channel.
在本实施例中,唯一识别码的计算需要转换成十进制,例如SN码为3F、68、5E、8A、6C、4E时,也即对应十进制数63、104、94、138、108、78,对上述十进制数求和得585,585%78=39,39+2=41,该SN码对应的信道为41。In this embodiment, the calculation of the unique identification code needs to be converted into decimal, for example, when the SN code is 3F, 68, 5E, 8A, 6C, 4E, it corresponds to decimal numbers 63, 104, 94, 138, 108, 78, Summing the above decimal numbers to get 585, 585%78=39, 39+2=41, the channel corresponding to the SN code is 41.
在一实施例中,所述变速装置和所述操作装置通过新的信道和新的设备地址建立信道通信,之后包括:In an embodiment, the transmission device and the operating device establish channel communication through a new channel and a new device address, and then include:
发送指令步骤:所述操作装置向所述变速装置发出指令后检测是否收到所述变速装置发出的反馈;The step of sending an instruction: after the operating device sends an instruction to the speed change device, it detects whether it receives the feedback sent by the speed change device;
若所述操作装置收到所述变速装置发出的反馈;if the operating device receives feedback from the transmission;
则判定通信成功;Then it is determined that the communication is successful;
若所述操作装置没有收到所述变速装置发出的反馈;if the operating device does not receive feedback from the transmission;
则返回所述发送指令步骤。Then return to the step of sending an instruction.
在本实施例中,在新的信道和设备地址上建立信道通信后,操作装置在定向向变速装置发出指令后,变速装置亦能定向向操作装置发出接收反馈,告诉操作装置已接收到指令,避免控制失效而导致操作者使用体验差。In this embodiment, after the channel communication is established on the new channel and the device address, after the operating device sends a command to the speed changing device, the speed changing device can also send receiving feedback directed to the operating device, telling the operating device that the command has been received, Avoid control failures and lead to poor operator experience.
在操作装置未收到对应的变速装置发送的接收反馈时,会持续的向其发出指令,直至成功。When the operating device does not receive the reception feedback sent by the corresponding speed change device, it will continue to send commands to it until it succeeds.
在一实施例中,所述返回所述发送指令步骤,之前包括:In one embodiment, the step of returning to the sending instruction includes:
所述操作装置获取指令发送时间;The operating device obtains the instruction sending time;
所述操作装置比较指令发送时间与预设时间;The operating device compares the command sending time with the preset time;
若所述指令发送时间大于或等于所述预设时间;If the command sending time is greater than or equal to the preset time;
则判定指令发送失败;Then it is judged that the command sending failed;
若所述指令发送时间小于所述预设时间;if the command sending time is less than the preset time;
则返回所述发送指令步骤。Then return to the step of sending an instruction.
在本实施例中,通过设定预设时间,使得操作装置在预设时间内重复发送指令,在超过预设时间后,操作装置判定指令发送失败并停止发送,节省电源。In this embodiment, by setting a preset time, the operating device repeatedly sends the instruction within the preset time, and after the preset time exceeds, the operating device determines that the instruction sending fails and stops sending, saving power.
其中,指令发送时间为操作装置发送该指令时到获取动作发生时所经过的时间长度。Wherein, the command sending time is the length of time that elapses from when the operating device sends the command to when the acquisition action occurs.
其中,预设时间范围可以是100-200ms。Wherein, the preset time range may be 100-200ms.
具体的,所述返回所述发送指令步骤,之前包括:操作装置经过预设间隔时间后,返回所述发送指令步骤。Specifically, the step of returning to the sending instruction previously includes: the operating device returns to the sending instruction step after a preset interval time has passed.
其中,预设间隔时间范围可以是10-50ms。Wherein, the preset interval time range may be 10-50ms.
本发明实施例还公开了一种自行车电子变速器通信装置,包括操作装置和变速装置;The embodiment of the present invention also discloses a bicycle electronic transmission communication device, which includes an operation device and a transmission device;
其中,操作装置和变速装置中预设有相同的信道和设备地址,在操作装置和变速装置建立初步的信道通信后,所述操作装置和所述变速装置之间通过唯一识别码进行配对;Wherein, the same channel and device address are preset in the operating device and the speed changing device, and after the operating device and the speed changing device establish preliminary channel communication, the operating device and the speed changing device are paired through a unique identification code;
所述变速装置和所述操作装置通过同一预设规则将所述唯一识别码转换成新的信道和新的设备地址,并通过新的信道和新的设备地址建立信道通信。The transmission device and the operating device convert the unique identification code into a new channel and a new device address through the same preset rule, and establish channel communication through the new channel and the new device address.
本发明实施例还公开了一种自行车,包括所述的自行车电子变速器通信装置,且运用所述自行车电子变速器通信方法。The embodiment of the present invention also discloses a bicycle, which includes the communication device of the bicycle electronic transmission, and uses the communication method of the bicycle electronic transmission.
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到各种等效的修改或替换,这些修改或替换都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以权利要求的保护范围为准。The above are only specific embodiments of the present invention, but the protection scope of the present invention is not limited to this. Any person skilled in the art can easily think of various equivalents within the technical scope disclosed by the present invention. Modifications or substitutions should be included within the protection scope of the present invention. Therefore, the protection scope of the present invention should be subject to the protection scope of the claims.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210818432.8A CN115002936B (en) | 2022-07-11 | 2022-07-11 | A bicycle electronic transmission communication method, device and bicycle |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210818432.8A CN115002936B (en) | 2022-07-11 | 2022-07-11 | A bicycle electronic transmission communication method, device and bicycle |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN115002936A true CN115002936A (en) | 2022-09-02 |
| CN115002936B CN115002936B (en) | 2024-11-05 |
Family
ID=83020489
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202210818432.8A Active CN115002936B (en) | 2022-07-11 | 2022-07-11 | A bicycle electronic transmission communication method, device and bicycle |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN115002936B (en) |
Citations (11)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR20070109497A (en) * | 2006-05-11 | 2007-11-15 | 삼성전자주식회사 | Wireless communication terminal capable of changing channel and its channel changing method |
| CN108985122A (en) * | 2018-07-16 | 2018-12-11 | 天津物联传感科技有限公司 | The wireless trigger method of data collector and its matching method with wireless trigger device |
| CN109068398A (en) * | 2018-11-09 | 2018-12-21 | 浙江国自机器人技术有限公司 | The wireless connection method and mobile-robot system of mobile robot and manual operator |
| CN109168145A (en) * | 2018-11-09 | 2019-01-08 | 浙江国自机器人技术有限公司 | The wireless pairing method, apparatus and manual operator of manual operator and mobile robot |
| US20190182662A1 (en) * | 2016-08-19 | 2019-06-13 | Roche Diabetes Care. Inc. | Methods and systems for enhanced bluetooth® bonding |
| CN110191378A (en) * | 2019-06-17 | 2019-08-30 | 深圳市慧智慧科技有限公司 | A kind of intercommunication means of communication, device, system, storage medium and intercom |
| WO2019179370A1 (en) * | 2018-03-21 | 2019-09-26 | 中兴通讯股份有限公司 | Data transmission channel address allocation method, association method, apparatus, and storage medium |
| CN112954088A (en) * | 2021-02-21 | 2021-06-11 | 深圳逸驰云动科技有限公司 | Equipment address allocation method and equipment of CAN network and electronic equipment |
| CN113203189A (en) * | 2021-04-30 | 2021-08-03 | 佛山市顺德区美的电子科技有限公司 | Pairing method and device of air conditioner based on power line communication and storage medium |
| CN114205887A (en) * | 2021-12-13 | 2022-03-18 | 上海布鲁可积木科技有限公司 | Communication control method and system based on controller and actuator |
| CN114572339A (en) * | 2022-03-16 | 2022-06-03 | 珠海蓝图控制器科技有限公司 | Bicycle component and pairing method thereof |
-
2022
- 2022-07-11 CN CN202210818432.8A patent/CN115002936B/en active Active
Patent Citations (11)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR20070109497A (en) * | 2006-05-11 | 2007-11-15 | 삼성전자주식회사 | Wireless communication terminal capable of changing channel and its channel changing method |
| US20190182662A1 (en) * | 2016-08-19 | 2019-06-13 | Roche Diabetes Care. Inc. | Methods and systems for enhanced bluetooth® bonding |
| WO2019179370A1 (en) * | 2018-03-21 | 2019-09-26 | 中兴通讯股份有限公司 | Data transmission channel address allocation method, association method, apparatus, and storage medium |
| CN108985122A (en) * | 2018-07-16 | 2018-12-11 | 天津物联传感科技有限公司 | The wireless trigger method of data collector and its matching method with wireless trigger device |
| CN109068398A (en) * | 2018-11-09 | 2018-12-21 | 浙江国自机器人技术有限公司 | The wireless connection method and mobile-robot system of mobile robot and manual operator |
| CN109168145A (en) * | 2018-11-09 | 2019-01-08 | 浙江国自机器人技术有限公司 | The wireless pairing method, apparatus and manual operator of manual operator and mobile robot |
| CN110191378A (en) * | 2019-06-17 | 2019-08-30 | 深圳市慧智慧科技有限公司 | A kind of intercommunication means of communication, device, system, storage medium and intercom |
| CN112954088A (en) * | 2021-02-21 | 2021-06-11 | 深圳逸驰云动科技有限公司 | Equipment address allocation method and equipment of CAN network and electronic equipment |
| CN113203189A (en) * | 2021-04-30 | 2021-08-03 | 佛山市顺德区美的电子科技有限公司 | Pairing method and device of air conditioner based on power line communication and storage medium |
| CN114205887A (en) * | 2021-12-13 | 2022-03-18 | 上海布鲁可积木科技有限公司 | Communication control method and system based on controller and actuator |
| CN114572339A (en) * | 2022-03-16 | 2022-06-03 | 珠海蓝图控制器科技有限公司 | Bicycle component and pairing method thereof |
Also Published As
| Publication number | Publication date |
|---|---|
| CN115002936B (en) | 2024-11-05 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US8736427B2 (en) | Intelligent infrared remote pairing | |
| CN101257326B (en) | Method and system for matching pair of wireless transmitting kit and wireless receiving kit | |
| CN202976430U (en) | System for achieving pairing, and control terminal and controlled terminal for achieving pairing | |
| CN103856302A (en) | Intelligent-equipment control method | |
| CN110126971A (en) | Wireless communication method and system for bicycle | |
| JPH1066165A (en) | Remote control system | |
| CN101645752B (en) | Automatic detection system and automatic detection method of communication protocol | |
| JP2011010256A (en) | Rf remote-control device capable of remotely controlling a plurality of pieces of ir (infrared) equipment and remote control method thereof | |
| TW201216049A (en) | Testing and pairing system of wireless peripheral device production process | |
| CN115002936A (en) | A bicycle electronic transmission communication method, device and bicycle | |
| CN201860324U (en) | Multifunctional wireless apparatus | |
| CN101635086A (en) | Remote controller provided with wire communication interface and wire communication method | |
| CN105871422B (en) | For wireless between transmitting terminal and receiving terminal to code method and from mobile adsorption system | |
| JP2020198514A (en) | Communication device, baud rate automatic setting method and communication system | |
| CN110113209B (en) | MIPI (Mobile industry processor interface) protocol-based inter-device communication method and equipment topological structure | |
| CN103236145B (en) | The frequency modulation method of engineering machinery Digiplex | |
| JP2002091519A (en) | Programmable controller and incorrect wiring correction method | |
| JPH11261465A (en) | Wireless communication device | |
| CN1988537A (en) | Data transmission protocol | |
| KR101236529B1 (en) | System and method for simultaneous implementation of sequential and simultaneous communication based on serial communication | |
| CN107195169A (en) | A kind of DTU data transmission systems and the method that data are transmitted with the system | |
| CN101610371B (en) | Television and communication method of chip in television | |
| CN104967892A (en) | Remote controller data transmitting and receiving methods and device | |
| CN109819291A (en) | A kind of blue Tooth remote controller intelligence system and control method with NFC function | |
| CN103079002A (en) | Communication sending end, communication receiving end, data transmission system and data transmission method |
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 | ||
| CB02 | Change of applicant information |
Address after: 519000 building B-2, No. 8, Honghui fifth road, Shuanglin District, LIANGANG Industrial Zone, Jinwan District, Zhuhai City, Guangdong Province Applicant after: Zhuhai Blueprint Sports Technology Co.,Ltd. Address before: 519000 building B-2, No. 8, Honghui fifth road, Shuanglin District, LIANGANG Industrial Zone, Jinwan District, Zhuhai City, Guangdong Province Applicant before: ZHUHAI LTWOO CONTROLLER TECHNOLOGY CO.,LTD. |
|
| CB02 | Change of applicant information | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| CP03 | Change of name, title or address |
Address after: 519040, No. 296, Sanzao Pingdingwan Third Road, Jinwan District, Zhuhai City, Guangdong Province Patentee after: Zhuhai Blueprint Sports Technology Co.,Ltd. Country or region after: China Address before: 519000 building B-2, No. 8, Honghui fifth road, Shuanglin District, LIANGANG Industrial Zone, Jinwan District, Zhuhai City, Guangdong Province Patentee before: Zhuhai Blueprint Sports Technology Co.,Ltd. Country or region before: China |
|
| CP03 | Change of name, title or address |