Retrieval method and system for intelligent jewelry
Technical Field
The invention relates to the field of intelligent jewelry, in particular to a method and a system for retrieving intelligent jewelry.
Background
The jewelry has emotional value, value retention value and aesthetic value, can meet the emotional requirements of people with rich internal centers, is rich in long-term historical culture, and is an indispensable decoration for human from ancient times to present. With the improvement of living standard of people, the market demand for jewelry is continuously rising, and people like to decorate themselves with various jewelry, such as necklaces, rings, bracelets and the like. However, the jewelry worn by the user is different in size or incorrect in wearing mode, so that the precious jewelry is easily lost, and secondly, part of lawbreakers concentrate on stealing the precious jewelry.
With the increasing progress of science and technology, a plurality of advanced technologies are integrated into the life of people, the life of people becomes more convenient, but the function of the jewelry is just a decoration function and cannot be matched with the rapidly developed science and technology, people hope that an intelligent control system can be integrated into the jewelry, and a user has enough safety when wearing the intelligent jewelry.
Disclosure of Invention
The purpose of the invention is as follows: in order to overcome the defects in the background art, the embodiment of the invention provides a retrieval method and a retrieval system for intelligent jewelry, which can effectively solve the problems related to the background art.
The technical scheme is as follows: a retrieval method for smart jewelry, comprising the steps of:
101: establishing wireless connection between the intelligent jewelries within a preset range;
102: acquiring position information of the intelligent jewelry and updating the position information in real time;
103: calculating a distance value between every two intelligent jewelries according to the position information and updating the distance value in real time;
104: inputting the two intelligent jewelries and the distance values corresponding to the two intelligent jewelries into a system as preset distance values;
105: establishing a corresponding relation between the intelligent jewelry and a preset distance value and storing the corresponding relation;
106: calculating the distance value between every two intelligent jewelries in real time;
107: searching preset distance values corresponding to the two intelligent jewelries in the corresponding relation;
108: judging whether the distance value is larger than the preset distance value or not;
109: if yes, extracting the two intelligent ornaments to output at a preset vibration frequency.
As a preferred mode of the present invention, calculating a distance value between two pieces of smart jewelry according to the position information and updating the distance value in real time as a preset distance value further includes:
the preset distance value is the maximum distance value between every two intelligent jewelries when the user wears the intelligent jewelries.
As a preferable mode of the present invention, extracting that the pairwise intelligent accessories output at a preset vibration frequency further includes:
the preset distance values are divided into a plurality of grades, and the grades comprise a first-grade distance value, a second-grade distance value and a third-grade distance value;
the primary distance value is smaller than the secondary distance value, and the secondary distance value is smaller than the tertiary distance value;
the preset vibration frequency is divided into a plurality of grades, including a primary vibration frequency, a secondary vibration frequency and a tertiary vibration frequency;
and establishing a one-to-one corresponding relation between the grade of the preset vibration frequency and the grade of the preset distance value.
As a preferable mode of the present invention, extracting that the pairwise intelligent accessories output at a preset vibration frequency further includes:
extracting two intelligent jewelry to output in preset audio frequency;
the preset audio is divided into a plurality of levels, including primary audio, secondary audio and tertiary audio;
and establishing a one-to-one corresponding relation between the grade of the preset audio and the grade of the preset distance value.
As a preferable mode of the present invention, extracting that the pairwise intelligent accessories output at a preset vibration frequency further includes:
extracting two intelligent jewelry to output at preset brightness;
the preset brightness is divided into a plurality of grades, including primary brightness, secondary brightness and tertiary brightness;
and establishing a one-to-one corresponding relation between the grade of the preset brightness and the grade of the preset distance value.
A retrieval system for smart jewelry, comprising:
a wireless connection module configured to transmit and receive wireless signals to establish a connection relationship between smart jewelry;
the positioning module is configured to acquire position information of the intelligent jewelry, update the position information in real time and send the position information to the computing module;
the computing module is configured to compute a distance value between every two intelligent jewelries, update the distance value in real time and send the distance value to the relation establishing module;
the relation establishing module is configured to establish a corresponding relation between the intelligent jewelry and a preset distance value and send the corresponding relation to the storage module;
the storage module is configured to store the corresponding relation between the intelligent jewelry and a preset distance value;
the searching module is configured to enter the storage module, search preset distance values corresponding to the two intelligent jewelries in the corresponding relation and send the preset distance values to the judging module;
the judging module is configured to judge whether the distance value calculated by the calculating module is larger than a preset distance value or not and send a judging result to the vibrating module;
and the vibration module is configured to output at different levels of preset vibration frequencies according to different levels of preset distance values.
As a preferable mode of the present invention, the judging module further includes:
and the preset distance value grade module is configured to divide the grade of the preset distance value and determine the grade of the distance value.
As a preferable mode of the present invention, the judging module further includes:
the preset distance value grade module further comprises:
and the audio output module is configured to output preset audio of different levels according to the preset distance values of different levels.
As a preferred embodiment of the present invention, the present invention further comprises:
and the light output module is configured to output the light with different levels of preset brightness according to different levels of preset distance values.
The invention realizes the following beneficial effects:
the invention provides a searching method for intelligent jewelry, wherein a wireless connection module and a positioning module are arranged in the intelligent jewelry, a calculation module can calculate a distance value between any two intelligent jewelry according to position information sent by the positioning module, and when the distance value is greater than a preset distance value, a vibration module outputs at a preset vibration frequency, wherein the preset distance value is provided with a plurality of grades, the preset vibration frequency is provided with a plurality of grades, and the vibration module can output at preset vibration frequencies of different grades according to preset distance values of different grades; besides reminding the user through vibration feedback, the invention also comprises auditory feedback and visual feedback to make up for errors in touch sense, wherein the audio output module can output preset audio of different grades according to preset distance values of different grades, and the lamplight output module can output preset brightness of different grades according to the preset distance values of different grades.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure. FIG. 1 is a flowchart of a retrieving method for smart jewelry according to the present invention;
FIG. 2 is a flow chart of a method for operating a positioning device according to the present invention;
FIG. 3 is a flow chart of a method for operating a vibration module according to the present invention;
FIG. 4 is a flow chart of a method for operating an audio output module according to the present invention;
FIG. 5 is a flow chart of a working method of the light output module provided by the present invention;
fig. 6 is a block diagram of a retrieval system for smart jewelry according to the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments.
Example one
As shown in fig. 1, the present embodiment provides a retrieving method for smart jewelry, which includes the following steps:
s101: establishing wireless connection between the intelligent jewelries within a preset range;
s102: acquiring position information of the intelligent jewelry and updating the position information in real time;
s103: calculating the distance value between every two intelligent jewelries according to the position information and updating the distance value in real time;
s104: inputting every two intelligent jewelries and the distance values corresponding to the two intelligent jewelries into a system as preset distance values;
s105: establishing a corresponding relation between the intelligent jewelry and a preset distance value and storing the corresponding relation;
s106: calculating the distance value between every two intelligent jewelries in real time;
s107: searching preset distance values corresponding to every two intelligent jewelries in the corresponding relation;
s108: judging whether the distance value is larger than a preset distance value or not;
s109: if yes, every two intelligent ornaments are extracted and output at a preset vibration frequency.
Calculating the distance value between every two intelligent jewelries according to the position information and updating the distance value in real time as a preset distance value further comprises the following steps:
the preset distance value is the maximum distance value between every two intelligent jewelries when the user wears the intelligent jewelries.
Specifically, in step S101, a wireless connection module 401 is built in each smart jewelry, when both smart jewelry are in a wireless signal transceiving range of the wireless connection module 401, the wireless connection module 401 mutually identifies wireless signals and establishes wireless connection, the wireless signal transceiving range is a preset range, and one smart jewelry can establish a connection relationship with a plurality of smart jewelry and be in a plurality of connection relationships.
In step S102, a positioning module 402 is built in the smart jewelry, the positioning module 402 can be connected with a terminal device, the terminal device includes a smart phone, a smart watch, a computer, and the like, a user can control the positioning module 402 to be turned on and off through the terminal device, when the positioning module 402 is turned on, the positioning module 402 obtains position information of the smart jewelry in real time, the position information is used for judging a distance between the smart jewelry, wherein the positioning module 402 can also send the position information to the terminal device connected with the positioning module 402, and the user can view the position information of the smart jewelry through the terminal device.
In step S103, preset distance values are entered according to different use conditions of each user, the user wears all the smart jewelry with the established connection relationship, the positioning module 402 sends the position information of the smart jewelry to which the positioning module 402 belongs to the calculation module 403, the calculation module 403 receives the position information sent by at least two positioning modules 402, the calculation module 403 calculates the distance value between any two smart jewelry according to the received position relationship and sends the distance value to the relationship establishing module 404, and the relationship establishing module 404 extracts the maximum distance value between any two smart jewelry as a preset distance value entry system.
In step S104, the relationship establishing module 404 establishes a corresponding relationship between the smart jewelry and a preset distance value between the smart jewelry and sends the corresponding relationship to the storing module 405.
In step S105, the saving module 405 saves the corresponding relationship, wherein the saving module 405 is also connected to the terminal device, the user can modify the corresponding relationship in the saving module 405 through the terminal device, and after deleting the preset distance value, repeat steps S101 to S104 to re-enter the corresponding relationship between the intelligent jewelry and the preset distance value.
In step S106, after the entry of the corresponding relationship is completed, the user may use the retrieving function provided by the present invention, the user starts the positioning module 402, the positioning module 402 sends the position information of the smart jewelry to which the positioning module 402 belongs to the calculating module 403, and the calculating module 403 calculates a distance value between any two smart jewelry and sends the distance value to the judging module 407.
In step S107, the searching module 406 enters the saving module 405, searches the corresponding relationship for a preset distance value corresponding to two smart jewelry items to which the distance value belongs, and sends the preset distance value to the judging module 407.
In step S108, the determining module 407 determines whether the distance value between any two smart jewelry items is greater than a preset distance value corresponding thereto.
In step S109, if the distance value is greater than the preset distance value, it may be determined that at least one of the two or more pieces of smart jewelry is lost, the vibration module 408 of the two or more pieces of smart jewelry is controlled to output at the preset vibration frequency, and when the user feels the vibration of the smart jewelry, another piece of smart jewelry can be retrieved at the first time.
Example two
Extract two liang of intelligent ornaments and still include with preset vibration frequency output:
the preset distance value is divided into a plurality of grades, including a first-grade distance value, a second-grade distance value and a third-grade distance value;
the first-level distance value is smaller than the second-level distance value, and the second-level distance value is smaller than the third-level distance value;
the preset vibration frequency is divided into a plurality of grades, including a primary vibration frequency, a secondary vibration frequency and a tertiary vibration frequency;
and establishing a one-to-one corresponding relation between the grade of the preset vibration frequency and the grade of the preset distance value.
Specifically, in the present embodiment, three levels are set, including a primary distance value, a secondary distance value, and a tertiary distance value, and the user can also set more levels by himself/herself, wherein the primary distance value is the smallest, the secondary distance value is the second, the tertiary distance value is the largest, the primary distance value cannot be directly changed in value, and the secondary distance value and the tertiary distance value can be set by the user himself/herself as values, and the present invention sets different levels of preset vibration frequencies for different levels of preset distance values, the preset vibration frequencies include a primary vibration frequency, a secondary vibration frequency, and a tertiary vibration frequency, the primary vibration frequency is the lowest, the secondary vibration frequency is the second, the tertiary vibration frequency is the highest, in the corresponding relationship between the preset distance value and the preset vibration frequency, the primary distance value corresponds to the primary vibration frequency, and the secondary distance value corresponds to the secondary vibration frequency, the third order distance value corresponds to the third order vibration frequency.
As shown in fig. 3, the determining module 407 further includes a preset distance value grade module 409, the determining module 407 determines whether the distance value is greater than the preset distance value, that is, the determining module 407 determines whether the distance value is greater than the first distance value, if so, the preset distance value grade module 409 determines whether the distance value is greater than the second distance value, if not, the vibration module 408 outputs at a preset vibration frequency, that is, the vibration module 408 outputs at the first vibration frequency, if so, the preset distance value grade module 409 determines whether the distance value is greater than the third distance value, if not, the vibration module 408 outputs at the second vibration frequency, and if so, the vibration module 408 outputs at the third vibration frequency.
EXAMPLE III
Extract two liang of intelligent ornaments and still include with preset vibration frequency output:
extracting two intelligent jewelry to output in preset audio frequency;
the preset audio is divided into a plurality of levels, including primary audio, secondary audio and tertiary audio;
the level of the preset audio frequency and the level of the preset distance value establish a one-to-one corresponding relation.
Extract two liang of intelligent ornaments and still include with preset vibration frequency output:
extracting two intelligent jewelry to output at preset brightness;
the preset brightness is divided into a plurality of grades, including primary brightness, secondary brightness and tertiary brightness;
and establishing a one-to-one corresponding relation between the grade of the preset brightness and the grade of the preset distance value.
Specifically, the intelligent jewelry reminds users of the outside through vibration feedback, the intelligent jewelry also comprises auditory feedback and visual feedback to make up errors in touch sense, and an audio output module 410 and a light output module 411 are arranged in the intelligent jewelry.
In this embodiment, the preset audio is provided with three levels, including a primary audio, a secondary audio and a tertiary audio, and a user can also set more levels by himself, wherein the loudness of the primary audio is minimum, the loudness of the secondary audio is next maximum, and the loudness of the tertiary audio is maximum. As shown in fig. 4, the determining module 407 determines whether the distance value is greater than the predetermined distance value, that is, the determining module 407 determines whether the distance value is greater than the first-level distance value, if so, the predetermined distance value ranking module 409 determines whether the distance value is greater than the second-level distance value, if not, the audio output module 410 outputs the predetermined audio, that is, the audio output module 410 outputs the first-level audio, if so, the predetermined distance value ranking module 409 determines whether the distance value is greater than the third-level distance value, if not, the audio output module 410 outputs the second-level audio, and if so, the audio output module 410 outputs the third-level audio.
The preset brightness is provided with three levels, including first-level brightness, second-level brightness and third-level brightness, and a user can also set more levels by himself, wherein the brightness of the first-level brightness is minimum, the brightness of the second-level brightness is second, the brightness of the third-level brightness is maximum, and the brightness of each level can be set by the user himself. As shown in fig. 5, the determining module 407 determines whether the distance value is greater than the predetermined distance value, that is, the determining module 407 determines whether the distance value is greater than the first-level distance value, if so, the predetermined distance value ranking module 409 determines whether the distance value is greater than the second-level distance value, if not, the luminance output module outputs at a predetermined luminance, that is, the luminance output module outputs at a first-level luminance, if so, the predetermined distance value ranking module 409 determines whether the distance value is greater than the third-level distance value, if not, the luminance output module outputs at a second-level luminance, and if so, the luminance output module outputs at a third-level luminance.
Example four
As shown in fig. 6, a retrieval system for smart jewelry, comprising:
a wireless connection module 401 configured to transmit and receive wireless signals to establish a connection relationship between smart jewelry;
the positioning module 402 is configured to acquire position information of the smart jewelry, update the position information in real time and send the position information to the calculation module 403;
the calculating module 403 is configured to calculate a distance value between every two pieces of smart jewelry and update the distance value in real time and send the distance value to the relationship establishing module 404;
the relationship establishing module 404 is configured to establish a corresponding relationship between the smart jewelry and a preset distance value and send the corresponding relationship to the storing module 405;
a saving module 405 configured to save a corresponding relationship between the smart jewelry and a preset distance value;
the searching module 406 is configured to enter the storing module 405, search preset distance values corresponding to every two pieces of smart jewelry in the corresponding relationship, and send the preset distance values to the judging module 407;
a judging module 407 configured to judge whether the distance value calculated by the calculating module 403 is greater than a preset distance value and send the judgment result to the vibration module 408;
and a vibration module 408 configured to output at different levels of preset vibration frequencies according to different levels of preset distance values.
The determining module further includes a preset distance value grade module 409 configured to divide the grade of the preset distance value and determine the grade to which the distance value belongs.
And an audio output module 410 configured to output preset audio at different levels according to the preset distance values at different levels.
And a light output module 411 configured to output preset brightness at different levels according to the preset distance values at different levels.
It should be understood that, in the fourth embodiment, the specific implementation process of each module described above may correspond to the description of the above method embodiments (the first to the third embodiments), and is not described in detail here.
The system provided in the fourth embodiment is only illustrated by dividing the functional modules, and in practical applications, the functions may be distributed by different functional modules according to needs, that is, the internal structure of the system is divided into different functional modules to complete all or part of the functions described above.
The above embodiments are merely illustrative of the technical ideas and features of the present invention, and are intended to enable those skilled in the art to understand the contents of the present invention and implement the present invention, and not to limit the scope of the present invention. All equivalent changes or modifications made according to the spirit of the present invention should be covered within the protection scope of the present invention.