Invention content
It is of the existing technology in order to solve the problems, such as, at least one embodiment of the present invention provide a kind of intelligent buoy,
The working method and storage medium of intelligent buoy.
In a first aspect, an embodiment of the present invention provides a kind of working method of intelligent buoy, the working method includes:
Setting pattern:S1, sensitivity of the number of predetermined registration operation to the intelligent buoy is carried out according to the intelligent buoy
Grade is set;
Operating mode:S2, upper fish waveform model accordingly is obtained according to the sensitivity level;
The posture information of the intelligent buoy of S3, in real time detection judges the intelligent buoy whether in state of fishing, when described
Intelligent buoy is in when fishing state, and the posture information is fitted to upper fish waveform in real time;
S4, the fish waveform upper in real time is compared with the upper fish waveform model, obtains wave-form similarity grade, root
Different alarm signals is sent out respectively according to the wave-form similarity grade.
Based on the above-mentioned technical proposal, the embodiment of the present invention can also make following improvement.
With reference to first aspect, in the first embodiment of first aspect, the predetermined registration operation includes:Charging operations, electricity
Slot operation is inserted into or by the intelligent buoy close to magnetic material in pond.
The first embodiment with reference to first aspect is also wrapped in second of embodiment of first aspect after the S4
It includes:
When the intelligent buoy for entering operating mode carries out the predetermined registration operation again, the intelligent buoy is arranged
For suspend mode standby mode.
Second of embodiment with reference to first aspect before the S1, is also wrapped in the third embodiment of first aspect
It includes:
If the intelligent buoy is waken up from suspend mode standby mode by manual operation, the sensitivity of the intelligence buoy
Grade is set as predetermined level, into operating mode, executes S2;
If being waken up the intelligent buoy from suspend mode standby mode by the predetermined registration operation, enters Setting pattern, hold
Row S1.
The third embodiment with reference to first aspect, in the 4th kind of embodiment of first aspect, the S1 is specific to wrap
It includes:
After carrying out the charging operations to the intelligent buoy every time, the charging operations are counted, are grasped
Make number;And the number that warning light sends out alarm is controlled according to the number of operations;
The sensitivity level of the intelligent buoy is set according to the number of operations.
The third embodiment with reference to first aspect, in the 5th kind of embodiment of first aspect, the S1 is specific to wrap
It includes:
Every time by the intelligent buoy after magnetic material, to it is described by the intelligent buoy close to magnetic material into
Row counts, and obtains number of operations;And the number that indicator light sends out alarm is controlled according to the number of operations;
The sensitivity level of the intelligent buoy is set according to the number of operations.
With reference to first aspect, in the 6th kind of embodiment of first aspect, the S1 is specifically included:
After carrying out battery to the intelligent buoy every time and being inserted into slot operation, operation is inserted into the battery and is counted
Number, obtains number of operations;And the number that warning light sends out alarm is controlled according to the number of operations;
The sensitivity level of the intelligent buoy is set according to the number of operations.
Appointing with reference to first aspect or in the first, second, third, fourth, the 5th or the 6th kind of embodiment of first aspect
A kind of embodiment, in the 7th kind of embodiment of first aspect, which is characterized in that the S3 is specifically included:
Whether the posture information for detecting the intelligent buoy confirms the intelligent buoy in vertical according to the posture information
Straight state;
If the intelligence buoy is in plumbness, the intelligence buoy is in state of fishing, by the posture information
Real-time fitting is real-time upper fish waveform.
Second aspect, the embodiment of the present inventionization provide a kind of intelligent buoy, including:Memory, processor and at least one
Be stored in the memory and be configured as the computer program executed by the processor, the computer program by with
It is set to the working method of the intelligent buoy for executing the offer of first aspect any embodiment.
The third aspect, an embodiment of the present invention provides a kind of computer readable storage medium, the computer-readable storage
Computer program is stored in medium, the computer program can be executed by processor to realize that first aspect any embodiment carries
The working method of the intelligent buoy supplied.
The above-mentioned technical proposal of the present invention has the following advantages that compared with prior art:The embodiment of the present invention is floating according to intelligence
Drift carry out predetermined registration operation number intelligent buoy sensitivity is adjusted, according to it is real-time go up fish waveform and sensitivity it is corresponding on
The similarity grade of fish waveform model sends out alarm, to prompt the upper fish of user, the embodiment of the present invention by comparison of wave shape to whether
The case where upper fish confirmed, the accuracy of fish signal in raising.
Specific implementation mode
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention
In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is
A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people
The every other embodiment that member is obtained without making creative work, shall fall within the protection scope of the present invention.
As shown in Figure 1, a kind of working method of intelligent buoy provided in an embodiment of the present invention, working method include:
Setting pattern:S1, the number that predetermined registration operation is carried out according to intelligent buoy carry out the sensitivity level of intelligent buoy
Setting.
In this step, sensitivity refers to certain method to the response quautity caused by unit concentration or the variation of unit quantity test substance
Variation degree, it can be retouched with the ratio between the response quautity of instrument or other indicatrixs and the concentration of corresponding test substance or amount
It states.Since the fluctuating range of the water surface in the environment fished is different, same buoy only can be suitably used for sheet of water domain, in other environment
The case where will appear the wrong report of fish signal in waters or fish signal can not be sent out, in this step, according to set by user time
It is several that sensitivity level is adjusted so that the case where intelligent buoy is adapted to different water environments improves intelligent buoy
Use scope.
Since the sensitivity level meeting of intelligent buoy is there are one maximum value, so being carried out according to the number of predetermined registration operation sensitive
When degree setting, it can re-start counting when the number of predetermined registration operation reaches the maximum value or set sensitivity level
For x=F-n*f, and x≤f, wherein x is sensitivity level, and F is the number of predetermined registration operation, and n can be arbitrary integer, and f is intelligence
The maximum value of the sensitivity level of energy buoy, ensures that sensitivity level is set in sensitivity level most by above-mentioned two formula
Within big value.
In the present embodiment, predetermined registration operation includes:Charging operations, battery are inserted into slot operation or by intelligent buoy close to magnetic
Property material, in this step, charging operations, battery are inserted into slot operation or are only default behaviour close to magnetic material by intelligent buoy
One kind in work, user sees that acquiring the predetermined registration operation that other operations substitute herein according to other devices or mode counts, real
Now to the adjustment of sensitivity so that buoy is adapted to different water environments, wherein by intelligent buoy close to magnetic material and
It is consistent technical solution by the close intelligent buoy of magnetic material, only realizes the induction to magnetic material, details are not described herein again.
As shown in Fig. 2, for example, in the present embodiment, step S1 carries out the number of predetermined registration operation to intelligence according to intelligent buoy
Can the method that is set of sensitivity level of buoy include:
S21, every time to intelligent buoy carry out charging operations after, charging operations are counted, number of operations is obtained;And
The number that warning light sends out alarm is controlled according to number of operations;In the present embodiment, when the power supply in buoy can be charged,
The operation that intelligent buoy is charged is predetermined registration operation, and the number to charge to intelligent buoy counts, according to operation
Number control warning light sends out the number of alarm, for example, warning light is according to y=F1- n*f, and y≤f, wherein y sends out for warning light
Go out the number of alarm, for example warning light can send out alarm, F by flicker1For the number of charging operations, n can be arbitrary integer,
F is the maximum value of the sensitivity level of intelligent buoy, and when y meets above-mentioned formula, then warning light sends out the number of alarm thus
When buoy sensitivity level, facilitate user to know sensitivity level at this time, improve the accuracy of sensitivity level adjustment.
S22, the sensitivity level that intelligent buoy is set according to number of operations;Pass through the intelligence of above-mentioned setting means setting at this time
The sensitivity level of energy buoy so that current indicator light alarm number is consistent with the intelligent sensitivity level of buoy, facilitates use
Family could be aware that the sensitivity level of intelligent buoy at this time after operate accordingly.
As shown in figure 3, for example, in the present embodiment, step S1 carries out the number of predetermined registration operation to intelligence according to intelligent buoy
Can the method that is set of sensitivity level of buoy include:
S31, every time by intelligent buoy after magnetic material, to intelligent buoy is counted close to magnetic material,
Obtain number of operations;And the number that indicator light sends out alarm is controlled according to number of operations;In the present embodiment, intelligent buoy is leaned on
The operation of nearly magnetic material is predetermined registration operation, such as by the way that magnetic inductor is arranged in intelligent buoy, you can passes through magnetic inductor
Whether intelligent buoy is detected close to magnetic material, the number to intelligent buoy close to magnetic material counts, according to
Number of operations control warning light sends out the number of alarm, for example, warning light is according to z=F2- n*f, and z≤f, wherein z is prompt
Lamp sends out the number of alarm, and warning light can send out alarm, F by flicker2It is intelligent buoy close to the number of magnetic material, n can
Think that arbitrary integer, f are the maximum value of the sensitivity level of intelligent buoy, when y meets above-mentioned formula, then warning light sends out police
The number of report is the sensitivity level of buoy at this time, facilitates user to know sensitivity level at this time, improves sensitivity level tune
Whole accuracy.
S32, the sensitivity level that intelligent buoy is set according to number of operations;Pass through the intelligence of above-mentioned setting means setting at this time
The sensitivity level of energy buoy so that current indicator light alarm number is consistent with the intelligent sensitivity level of buoy, facilitates use
Family could be aware that the sensitivity level of intelligent buoy at this time after operate accordingly.
As shown in figure 4, for example, in the present embodiment, step S1 carries out the number of predetermined registration operation to intelligence according to intelligent buoy
Can the method that is set of sensitivity level of buoy include:
S41, every time to intelligent buoy carry out battery be inserted into slot operation after, to battery be inserted into insert operation count,
Obtain number of operations;And the number that warning light sends out alarm is controlled according to number of operations;In the present embodiment, battery is inserted into
Slot operation is predetermined registration operation, for example is inserted into detection device by the way that battery is arranged in intelligent buoy, you can is inserted into and is examined by battery
It surveys device to be detected to whether intelligent buoy carries out battery insertion operation, and carries out time of battery insertion operation to intelligent buoy
Number is counted, and the number that warning light sends out alarm is controlled according to number of operations, for example, warning light is according to z=F2- n*f, and z
≤ f, wherein z is the number that warning light sends out alarm, and warning light can send out alarm, F by flicker2It is intelligent buoy close to magnetic
Property material number, n can be arbitrary integer, and f is the maximum value of the sensitivity level of intelligent buoy, when y meets above-mentioned formula
When, then the number that warning light sends out alarm is the sensitivity level of buoy at this time, and user is facilitated to know sensitivity level at this time,
Improve the accuracy of sensitivity level adjustment.
Wherein, battery is inserted into slot operation, after battery takes out slot, by carrying out persistence to the counting of counter,
Allow intelligent buoy to continue upper primary counting when lower primary cell is inserted into slot, avoids counting loss.
S42, the sensitivity level that intelligent buoy is set according to number of operations, pass through the intelligence of above-mentioned setting means setting at this time
The sensitivity level of energy buoy so that current indicator light alarm number is consistent with the intelligent sensitivity level of buoy, facilitates use
Family could be aware that the sensitivity level of intelligent buoy at this time after operate accordingly.
Operating mode:S2, upper fish waveform model accordingly is obtained according to sensitivity level.
In this step, through the above steps in sensitivity obtain upper fish waveform model accordingly, in database or
Store multiple and different upper fish waveform models in other storage mediums, and according to the wave-shape amplitude of each upper fish waveform model come by
It is corresponding with sensitivity, to which count value in realizing through the above steps selects different upper fish waveform models, phase
When in the setting for the sensitivity for completing intelligent buoy.
Upper fish waveform model in this step can be obtained by detecting to compare in real time, such as the different water environments the case where
The waveform of lower fish upper when being fished, wherein the waveform is fluctuated by real-time waters and pullling for fish is constituted when upper fish, sensitive
, can be by by the smaller correspondence value in higher sensitivity of fluctuating range in upper fish waveform model when degree is higher, it can also be according to tool
The fluctuating range of upper fish waveform model is turned up or is reduced, can be set with reference to the case where different water environments by body situation.
The posture information of the intelligent buoy of S3, in real time detection judges intelligent buoy whether in state of fishing, when intelligent buoy
In fish state when, posture information is fitted to upper fish waveform in real time.
It in this step, can be by gravity sensor, acceleration transducer and/or gyroscope come the pose to intelligent buoy
Information is acquired, and judges whether intelligent buoy is in state of fishing by the posture information of the intelligent buoy detected in real time,
For example buoy is in plumbness after in running order, then can determine whether that the intelligence buoy is in state of fishing, pose is believed
Breath is fitted to upper fish waveform in real time, the i.e. posture information of the intelligent buoy of acquisition in real time, and posture information is fitted to wavy curve,
The fit approach of the wavy curve should in above-mentioned steps by the way of it is consistent, to ensure that upper fish signal prompt is accurate, for example,
The fluctuation situation that moves up and move down in the wave process of waters according to intelligent buoy builds corresponding wavy curve, also may be used herein
To take the misalignment on other directions to build wavy curve to adapt to different environment of fishing.
S4, real-time upper fish waveform is compared with upper fish waveform model, wave-form similarity grade is obtained, according to waveform phase
Different alarm signals is sent out respectively like degree grade.
In this step, by the fish waveform upper in real time obtained in real-time whiffing process and the upper fish wave obtained according to sensitivity
Shape model is compared, and obtains wave-form similarity grade, confirms whether upper fish signal is accurate according to the similarity of the two, and
Different alarm signals is sent when different similarity grade, for example, carrying out alarm by LED etc., fish signal as above is very slight,
Show to be possible to only small fish and encountered buoy, LED light is flashed slightly;Upper fish signal is larger, shows to be likely to be and stings hook
Action, LED light comparatively fast connect sudden strain of a muscle several times;Fish signal as above is very big, and buoy is dropped very severe, shows that being likely to be fish stings
Dead mouth, then the quick-fried sudden strain of a muscle of LED light, the upper fish signal for prompting user different by setting light flash in this programme, is only one of which
Embodiment can also change the speed frequency of the upper fish signal of instruction or turn colors to prompt to show using different colours.
In the present embodiment, further include after S4:
When the intelligent buoy for entering operating mode carries out predetermined registration operation again, it sets intelligent buoy to the standby mould of suspend mode
Formula.
When in this step, by carrying out pointing operation herein, sets intelligent buoy to suspend mode standby mode, reduce consumption
Electricity improves device standby duration, and can improve the service life of equipment.
Standby mode is will to be currently at the data of operating status to preserve in memory, and machine only powers to memory, and hard
The components such as disk, screen and CPU then stop powering, and in the present embodiment, power supply is only powered memory, and it is all to close other
The power supply of component.Since data are stored in fireballing memory, the speed ratio for entering wait state and wake-up is very fast.
In the present embodiment, before step S1, further include:
Equipment awakening phase:If intelligent buoy is waken up from suspend mode standby mode by manual operation, intelligent buoy
Sensitivity level is set as predetermined level, into operating mode, executes S2;In this step, when user is directly by intelligent buoy
When being waken up from suspend mode standby mode, for example, when experiencing user by pressure sensor and taking manually, the automatic intelligent buoy of setting
Sensitivity level, which can be that user voluntarily sets according to environment used in oneself usually buoy, with
It is user-friendly, and above-mentioned steps S2 is directly executed, rapidly enter operating mode.
If by predetermined registration operation by intelligent buoy from suspend mode standby mode wake up, enter Setting pattern, execute S1, into
Before entering Setting pattern, if being waken up intelligent buoy by predetermined registration operation, intelligent buoy enters Setting pattern from suspend mode,
And configured in the setup mode into line sensitivity, wherein the predetermined registration operation for waking up intelligent buoy is not counted in subsequent Setting pattern
In predetermined registration operation number.
As shown in figure 5, the embodiment of the present invention additionally provides a kind of intelligent buoy, including:Float foot, drift body and buoy tail composition;
It is provided with power supply, LED light and internal circuit board in drift body;Power supply, internal circuit board and LED light are sequentially connected.
In the present embodiment, operation detection device, counter, the selection of upper fish waveform model are additionally provided in internal circuit board
Device, memory, Position and attitude sensor, microcontroller, data window monitor.
In the present embodiment, operation detection device is connect with counter;Counter detects operation detection device pre-
If the number of operation is counted.
Specifically, operation detection device includes:Magnetic Sensor, battery are inserted into detection device and/or charging detection device;Magnetic
Whether close to magnetic material, battery is inserted into detection device and has detected whether that battery is inserted into slot the intelligent buoy of sensor detection, fills
Whether the intelligent buoy of electric detection means detection carries out charging operations, wherein Magnetic Sensor includes:Geomagnetic sensor and hall sensing
At least one of device, when the power supply of intelligent buoy does not have charge function, such as dry battery power can be used magnetic material
Predetermined registration operation is realized close to the mode of intelligence buoy and the mode that whether has battery to be inserted into slot, when the power supply tool of intelligent buoy
When standby charge function, detect whether intelligent buoy carries out charging operations, whether has battery insertion slot and detection magnetic material to be
The no mode close to intelligent buoy can carry out.
Specifically, further including counting resetting device in internal circuit board, counts resetting device and connect with counter, in counter one
After task, the number of counter counts is reset.
Counter, upper fish waveform model selector and memory are sequentially connected;Upper fish waveform model selector is according to default
The number of operation obtains fish waveform model from memory;The number of predetermined registration operation in through the above steps is corresponding to obtain
Upper fish waveform model multiple and different upper fish waveform models is stored in database or other storage mediums in the present embodiment,
And according to the wave-shape amplitude of each upper fish waveform model come it is corresponding with sensitivity, in realizing through the above steps
Number of operations selects different upper fish waveform models, is equivalent to the setting for the sensitivity for completing intelligent buoy.
Position and attitude sensor, microcontroller and data window monitor are sequentially connected;Position and attitude sensor includes:Gravity sensitive
At least one of device, acceleration transducer and gyroscope, microcontroller include:State judging and the first control instruction generate
Whether device judges intelligent buoy according to the posture information of intelligent buoy in state of fishing by state judging, for example floats
Float on it is in running order after, be in plumbness, then can determine whether the intelligence buoy in fishing state, when intelligent buoy is in
When state of fishing, control instruction is generated by the first control instruction generator and is sent to data window monitor, to control data
Window monitor starts, and carries out data monitoring.
Position and attitude sensor is connect with data window monitor;Position and attitude sensor inspection is detected in real time by data window monitor
The posture information measured, and posture information is fitted to wavy curve as real-time upper fish waveform.
Upper fish waveform model selector, data window monitor are connect with microcontroller respectively;The microcontroller includes:
Waveform comparator and the second control instruction generator;
By waveform comparator, by upper fish waveform model and in real time, upper fish waveform is compared, in confirmations fish waveform model with
The similarity grade of upper fish waveform in real time generates control instruction by the second control instruction generator according to similarity grade and sends
To LED light, the case where LED etc. sends out alarm according to control instruction, and similarity higher grade explanation more meets fish, fish as above
Signal is very slight, shows to be possible to only small fish and has encountered buoy, LED light is flashed slightly;Upper fish signal is larger, shows have
May be to sting hook action, LED light comparatively fast connects sudden strain of a muscle several times;Fish signal as above is very big, and buoy is dropped very severe, shows have
May be that fish kills mouth, then the quick-fried sudden strain of a muscle of LED light, the upper fish signal for prompting user different by setting light flash in this programme, only
One of which embodiment, can also be changed using different colours the speed frequency of the upper fish signal of instruction or turn colors come
Prompt is shown.
As shown in fig. 6, the embodiment of the present invention also provides a kind of intelligent buoy, including:Memory, processor and at least one
It is stored in memory and is configured as the computer program executed by processor, computer program is configurable for executing
The working method for the intelligent buoy that first aspect any embodiment provides.
To the software of system or device offer for recording the function that above-described embodiment may be implemented in above-described embodiment
The storage medium of the program code of program, and read and execute by the computer (or CPU or MPU) of system or device and be stored in
Program code in storage medium.
In this case, the program code itself read from storage medium executes the function of above-described embodiment, and stores
The storage medium of program code constitutes the embodiment of the present invention.
As the storage medium for providing program code, for example, floppy disk, hard disk, CD, magneto-optic disk, CD-ROM, CD-R,
Tape, Nonvolatile memory card, ROM, and the like can use.
The function of above-described embodiment can not only realize by executing the program code read by computer, Er Qieke
At some or all of reality by the OS run on computers (operating system) according to the instruction execution of program code
Reason operates to realize.
In addition, the embodiment of the invention also includes such a case, i.e., write in the program code read from storage medium
Enter to be inserted into after the function expansion card of computer, or depositing of being provided in the functional expansion unit being connected with computer is provided
After reservoir, executed according to the order of program code in CPU that function expansion card or functional expansion unit include or the like
Part processing or all processing, to realize the function of above-described embodiment.
An embodiment of the present invention provides a kind of computer readable storage medium, meter is stored in computer readable storage medium
Calculation machine program, computer program can be executed by processor the work of the intelligent buoy to realize the offer of first aspect any embodiment
Method.
Finally it should be noted that:The above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although
Present invention has been described in detail with reference to the aforementioned embodiments, it will be understood by those of ordinary skill in the art that:It still may be used
With technical scheme described in the above embodiments is modified or equivalent replacement of some of the technical features;
And these modifications or replacements, various embodiments of the present invention technical solution that it does not separate the essence of the corresponding technical solution spirit and
Range.