The invention relates to the technical field of pet equipment, in particular to a method and system for controlling a wireless electronic pet fence.
Background technique:
Along with the raising of people's living standard, pet keeping is more and more subject to people's favor. In order to prevent the pet dog from getting lost or accidents, it is usually necessary to limit the pet's activities within a certain range, such as putting a collar or leash on the pet and then tying it to a fixed location or using pet cages, pet fences, etc. Specifies the range of activities. However, tying pets by collars or belts makes the range of activities of raising pets only limited within the radius of the collar belts, and even the belts will wrap around the neck and cause suffocation. The pet cage has a sense of oppression, and the activity space of the pet is limited very little, so it is not easy for the pet to move freely.
At present, with the development of wireless communication technology (bluetooth, infrared, wifi, gsm, etc.), electronic pet fence technology has emerged. This electronic pet fence technology realizes the electronic fence function through dog training devices. Most dog training devices include a transmitter The transmitter and a receiver worn on the pet, a wireless communication connection can be realized between the transmitter and the receiver, so that the transmitter can send an instruction to start the setting mode to the receiver, so that the receiver executes the setting mode according to the instruction For example, if the pet runs out of the set range, the transmitter sends an instruction to start the set reminder mode to the receiver, so that the receiver can execute the set reminder mode, thereby realizing the electronic fence function.
However, most of the functions of existing dog training devices are relatively simple. They only realize one-way communication and can only send instructions unilaterally through the transmitter. They cannot accurately realize the wireless fence function, cannot accurately determine the distance between the transmitter and the receiver, and It is impossible to judge whether the receiver executes the corresponding instructions and other defects.
In view of this, it is necessary to provide a wireless electronic pet fence control system and method with two-way communication function, so as to accurately realize the wireless fence function, accurately judge the distance between the transmitter and the receiver, and accurately judge whether the receiver executes the corresponding function. instructions.
Technical realization elements:
The purpose of the present invention is to overcome the shortcomings of the above-mentioned prior art, and provide a wireless electronic pet fence control system and method based on two-way communication technology, so as to accurately realize the wireless fence function and accurately judge the distance between the transmitter and the receiver And accurately judge whether the receiver executes the corresponding instruction.
The present invention is realized in this way, a kind of wireless electronic pet fence control method, comprises the following steps:
Establish a two-way communication connection between the transmitter and the receiver;
The transmitter transmits a power level signal corresponding to the preset first setting range, and automatically adjusts and transmits different power level signals according to whether the signal fed back by the receiver is received, so as to calculate the the distance between the transmitter and said receiver;
The transmitter determines whether the distance exceeds the first set range;
If the distance does not exceed the first set range but exceeds the second range, the transmitter sends an instruction to the receiver to control the receiver to start the set first reminder mode, so that the receiver can execute The first reminder mode, at the same time, the transmitter sends out an alarm signal;
After the receiver executes the first reminder mode, if the distance is equal to the second set range, the transmitter sends an instruction to control the receiver to start the set second reminder mode to the receiver, so that the receiver executes the second reminder mode, and at the same time, the transmitter sends out an alarm signal;
After the receiver executes the second reminder mode, if the distance exceeds the first setting range and exceeds the third setting range, the transmitter sends a command to control the receiver to start the set third reminder mode Instructions are given to the receiver so that the receiver executes a third reminder mode, and at the same time, the transmitter sends out an alarm signal;
Wherein, the first setting range is larger than the second setting range, and the third setting range is larger than the first setting range.
Further, the step of establishing a two-way communication connection between the transmitter and the receiver specifically includes:
The transmitter establishes a two-way communication connection with the receiver via bluetooth, cdma2000, gsm, infrared (ir), ism or rfid.
Further, the first reminder mode is a sound reminder mode or a combination of sound and vibration reminder mode, the second reminder mode is a vibration reminder mode or a vibration reminder mode of a combination of different vibration intensities, and the third reminder mode is an ultrasonic Reminder mode or electric shock reminder mode.
Further, after the receiver receives the instruction sent by the transmitter to control the receiver to start the set first reminder mode, the receiver executes the first reminder mode and sends a message to the transmitter Execute the response signal of the first reminder mode;
Alternatively, after the receiver receives an instruction from the transmitter to control the receiver to start the set second reminder mode, the receiver executes the second reminder mode and sends an execution message to the transmitter. The response signal of the second reminder mode;
Alternatively, after the receiver receives an instruction from the transmitter to control the receiver to start the set third reminder mode, the receiver executes the third reminder mode and sends an execution message to the transmitter. Answer signal for the third alert mode.
Further, if the distance does not exceed the first set range but exceeds the second set range, the transmitter sends an instruction for controlling the receiver to start the set first reminder mode to the receiver , so that after the receiver performs the step of the first reminder mode, it further includes:
If the distance does not exceed the second set range, the receiver stops executing the first reminding mode.
Further, after the receiver executes the first reminder mode, if the distance is equal to the first set range, the transmitter sends an instruction to control the receiver to start the set second reminder mode. The receiver, so that after the receiver executes the step of the second reminder mode, it further includes:
If the distance does not exceed the first set range but exceeds the second set range, then the receiver stops executing the second reminder mode, and at the same time, the transmitter resends the first set of instructions to control the start of the receiver. An instruction of the reminder mode is given to the receiver, so that the receiver re-executes the first reminder mode;
After the receiver executes the first reminding mode again, if the distance does not exceed the second set range, the receiver stops executing the first reminding mode.
Further, after the receiver executes the second reminder mode, if the distance exceeds the first setting range and exceeds the third setting range, the transmitter sends a command to control the receiver to start the setting The instruction of the third reminder mode is given to the receiver, so that after the receiver executes the steps of the third reminder mode, it also includes:
If the distance does not exceed the third set range but exceeds the first set range, then the receiver stops executing the third reminding mode, and at the same time, the transmitter resends the second message that controls the receiver to start setting. An instruction of the reminder mode is given to the receiver, so that the receiver re-executes the second reminder mode;
After the receiver re-executes the second reminder mode, if the distance does not exceed the first setting range but exceeds the second setting range, the receiver stops executing the second reminder mode, and the transmitter re-sending an instruction for controlling the receiver to activate the set first reminder mode to the receiver, so that the receiver re-executes the first reminder mode;
After the receiver executes the first reminding mode again, if the distance does not exceed the second set range, the receiver stops executing the first reminding mode.
Correspondingly, the present invention also provides a wireless electronic pet fence control system, which includes a transmitter and a receiver worn on the pet, and the transmitter and the receiver are connected in two-way communication; wherein,
The transmitter transmits a power level signal corresponding to the preset first setting range, and automatically adjusts and transmits different power level signals according to whether the signal fed back by the receiver is received, so as to calculate the the distance between the transmitter and the receiver; the transmitter determines whether the distance exceeds the first set range;
If the distance does not exceed the first set range but exceeds the second range, the transmitter sends an instruction to the receiver to control the receiver to start the set first reminder mode, so that the receiver can execute The first reminder mode, at the same time, the transmitter sends an alarm signal, and the receiver executes the first reminder mode after receiving the instruction sent by the transmitter to control the receiver to start the set first reminder mode. A first reminder mode, and sending a response signal to the transmitter to execute the first reminder mode;
After the receiver executes the first reminder mode, if the distance is equal to the second set range, the transmitter sends an instruction to control the receiver to start the set second reminder mode to the receiver, In order for the receiver to execute the second reminder mode, at the same time, the transmitter sends out an alarm signal, and the receiver receives the instruction sent by the transmitter to control the receiver to start the set second reminder mode , the receiver executes the second reminder mode, and sends a response signal to the transmitter to execute the second reminder mode;
After the receiver executes the second reminder mode, if the distance exceeds the first setting range and exceeds the third setting range, the transmitter sends a command to control the receiver to start the set third reminder mode Give instructions to the receiver so that the receiver executes the third reminder mode, and at the same time, the transmitter sends out an alarm signal, and the receiver starts the set alarm signal after receiving the control sent by the transmitter After the instruction of the third reminder mode, the receiver executes the third reminder mode, and sends a response signal to the transmitter to execute the third reminder mode;
Wherein, the first setting range is larger than the second setting range, and the third setting range is larger than the first setting range.
Further, if the distance does not exceed the first set range but exceeds the second set range, the transmitter sends an instruction for controlling the receiver to start the set first reminder mode to the receiver , so that after the receiver performs the step of the first reminder mode, it further includes:
If the distance does not exceed the second set range, the receiver stops executing the first reminder mode;
Alternatively, after the receiver executes the first reminder mode, if the distance is equal to the first set range, the transmitter sends an instruction to control the receiver to start the set second reminder mode to the receiver. The receiver, so that after the receiver executes the step of the second reminder mode, it also includes:
If the distance does not exceed the first set range but exceeds the second set range, then the receiver stops executing the second reminder mode, and at the same time, the transmitter resends the first set of instructions to control the start of the receiver. An instruction of the reminder mode is given to the receiver, so that the receiver re-executes the first reminder mode;
After the receiver re-executes the first reminder mode, if the distance does not exceed the second set range, the receiver stops executing the first reminder mode;
Or, after the receiver executes the second reminding mode, if the distance exceeds the first setting range and exceeds the third setting range, the transmitter sends the first setting for controlling the receiver to start The instruction of the third reminder mode is given to the receiver, so that after the receiver performs the steps of the third reminder mode, it also includes:
If the distance does not exceed the third set range but exceeds the first set range, then the receiver stops executing the third reminding mode, and at the same time, the transmitter resends the second message that controls the receiver to start setting. An instruction of the reminder mode is given to the receiver, so that the receiver re-executes the second reminder mode;
After the receiver re-executes the second reminder mode, if the distance does not exceed the first setting range but exceeds the second setting range, the receiver stops executing the second reminder mode, and the transmitter re-sending an instruction for controlling the receiver to activate the set first reminder mode to the receiver, so that the receiver re-executes the first reminder mode;
After the receiver executes the first reminding mode again, if the distance does not exceed the second set range, the receiver stops executing the first reminding mode.
Further, the transmitter establishes a two-way communication connection with the receiver via bluetooth, cdma2000, gsm, infrared(ir), ism or rfid.
In summary, owing to adopting above-mentioned technical scheme, the beneficial effect of the present invention is:
1. A wireless electronic pet fence control method according to the present invention, after the two-way communication connection is established between the transmitter and the receiver, the transmitter transmits a power level signal corresponding to the preset first setting range , and according to whether the received signal fed back by the receiver is automatically adjusted to transmit signals of different power levels, so as to calculate the distance between the transmitter and the receiver, so that the transmitter and receiver can be accurately judged The distance between the receivers solves the defect that the existing dog trainers based on one-way communication cannot accurately judge the distance between the sending end and the receiver.
2. In the method for controlling a wireless electronic pet fence according to the present invention, if the distance does not exceed the first set range but exceeds the second range, the transmitter sends and controls the receiver to start the set first An instruction of the reminding mode is given to the receiver so that the receiver executes the first reminding mode; after the receiver executes the first reminding mode, if the distance is equal to the second set range, the transmitter sends An instruction to control the receiver to start the set second reminder mode is given to the receiver so that the receiver executes the second reminder mode; after the receiver executes the second reminder mode, if the distance exceeds the first When a set range exceeds a third set range, the transmitter sends an instruction for controlling the receiver to start the set third reminder mode to the receiver, so that the receiver executes the third reminder mode, Among them, the reminder function of the first reminder mode, the second reminder mode and the third reminder mode is gradually strengthened, so that when the pet exceeds the set range, the receiver executes the first reminder mode or the second reminder mode or the third reminder mode. Three reminder modes, so as to realize the function of wireless electronic fence, and solve the defect that the existing dog trainer based on one-way communication cannot accurately realize the function of wireless fence.
3. In the method for controlling a wireless electronic pet fence according to the present invention, the receiver receives the instruction sent by the transmitter to control the receiver to start the set first reminder mode or the second reminder mode. After the command or the command of the third reminder mode, the receiver starts the set first reminder mode or the second reminder mode or the third reminder mode, and sends a response signal to the transmitter to execute the first reminder mode or the second reminder mode. The response signal of the second reminder mode or the response signal of the third reminder mode enables the transmitter to accurately determine whether the receiver executes the corresponding command, which solves the problem that the existing dog trainer based on one-way communication cannot accurately determine whether the receiver executes the command. Corresponding instruction defects.
Technical Summary
The invention provides a method for controlling a wireless electronic pet fence, which includes: a transmitter judges whether the distance exceeds the first set range; if the distance does not exceed the first set range but exceeds the second range, the transmitter sends a control receiver An instruction to start the set first reminder mode is sent to the receiver; after the receiver executes the first reminder mode, if the distance is equal to the second setting range, the transmitter sends an instruction to control the receiver to start the second reminder mode To the receiver; after the receiver executes the second reminder mode, if the distance exceeds the first setting range and exceeds the third setting range, the transmitter sends an instruction to control the receiver to start the set third reminder mode to the receiver Because the reminder functions of the first reminder mode, the second reminder mode and the third reminder mode are gradually strengthened, the function of the wireless electronic pet fence is realized. The invention also provides a wireless electronic pet fence control system.
Post time: Nov-08-2023