CN110428888A - A kind of label management method and system - Google Patents
A kind of label management method and system Download PDFInfo
- Publication number
- CN110428888A CN110428888A CN201910520031.2A CN201910520031A CN110428888A CN 110428888 A CN110428888 A CN 110428888A CN 201910520031 A CN201910520031 A CN 201910520031A CN 110428888 A CN110428888 A CN 110428888A
- Authority
- CN
- China
- Prior art keywords
- electronic tag
- data
- training
- coordinate
- preset
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000007726 management method Methods 0.000 title claims abstract description 41
- 238000004422 calculation algorithm Methods 0.000 claims abstract description 40
- 238000012545 processing Methods 0.000 claims abstract description 18
- 238000000034 method Methods 0.000 claims abstract description 17
- 238000010606 normalization Methods 0.000 claims abstract description 17
- 238000005070 sampling Methods 0.000 claims description 48
- 238000012549 training Methods 0.000 claims description 48
- 238000012795 verification Methods 0.000 claims description 18
- 238000004364 calculation method Methods 0.000 claims description 15
- 238000003066 decision tree Methods 0.000 claims description 12
- 238000006243 chemical reaction Methods 0.000 claims description 6
- 239000000835 fiber Substances 0.000 abstract 1
- 229920000728 polyester Polymers 0.000 abstract 1
- 238000010586 diagram Methods 0.000 description 6
- 239000004973 liquid crystal related substance Substances 0.000 description 4
- 238000004891 communication Methods 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 2
- 238000004590 computer program Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/21—Design or setup of recognition systems or techniques; Extraction of features in feature space; Blind source separation
- G06F18/214—Generating training patterns; Bootstrap methods, e.g. bagging or boosting
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/24—Classification techniques
- G06F18/243—Classification techniques relating to the number of classes
- G06F18/24323—Tree-organised classifiers
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K17/00—Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
- G06K17/0022—Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisions for transferring data to distant stations, e.g. from a sensing device
-
- G—PHYSICS
- G16—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
- G16H—HEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
- G16H40/00—ICT specially adapted for the management or administration of healthcare resources or facilities; ICT specially adapted for the management or operation of medical equipment or devices
- G16H40/20—ICT specially adapted for the management or administration of healthcare resources or facilities; ICT specially adapted for the management or operation of medical equipment or devices for the management or administration of healthcare resources or facilities, e.g. managing hospital staff or surgery rooms
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- Life Sciences & Earth Sciences (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Evolutionary Computation (AREA)
- Evolutionary Biology (AREA)
- Bioinformatics & Computational Biology (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Artificial Intelligence (AREA)
- Health & Medical Sciences (AREA)
- General Business, Economics & Management (AREA)
- Business, Economics & Management (AREA)
- Biomedical Technology (AREA)
- Epidemiology (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Public Health (AREA)
- Primary Health Care (AREA)
- Radar Systems Or Details Thereof (AREA)
Abstract
The present invention relates to data processing technique, a kind of label management method and system are provided.The signal that the electronic tag of this method elder generation the first preset quantity of timing acquisition issues, using the intensity data of the signal as characteristic value, and normalized is made to the characteristic value, signal strength data again based on each electronic tag, the first position coordinate of each electronic tag is calculated using triangle polyester fibre algorithm, based on the signal strength data after each electronic tag normalization, utilize preset location algorithm, the second position coordinate of each electronic tag is calculated, the coordinate value of the coordinate value of the first position coordinate and second position coordinate is inputted in predetermined formula, obtain each electronic tag final position coordinate.The accuracy of prediction electronic tag position can be improved in the present invention.
Description
Technical Field
The invention relates to the technical field of positioning, in particular to a label management method and a label management system.
Background
At present, large hospitals generally attach electronic tags to medical staff, patients in clinic, security personnel, protection personnel and other people in the form of industrial cards, bangles and the like. In addition, the electronic tags are attached to various mobile medical devices in hospitals, and it is very important to acquire accurate position information of each electronic tag.
At present, a triangular intensity algorithm is usually adopted to predict the indoor position of the electronic tag, but the triangular intensity algorithm has low precision and high positioning error rate and is difficult to meet the indoor positioning requirement.
Therefore, how to improve the accuracy of label management has become a technical problem to be solved urgently by those skilled in the art.
Disclosure of Invention
In view of the above, the present invention provides a tag management method and system, which aims to improve the accuracy of tag management.
In order to achieve the above object, the present invention provides a tag management method, including:
an acquisition step: the method comprises the steps of regularly acquiring signals sent by a first preset number of electronic tags, taking intensity data of the signals as characteristic values, and carrying out normalization processing on the characteristic values;
a first calculation step: calculating to obtain a first position coordinate of each electronic tag by utilizing a triangulation algorithm based on the signal intensity data of each electronic tag;
a second calculation step: calculating to obtain a second position coordinate of each electronic tag by using a preset positioning algorithm based on the normalized signal intensity data of each electronic tag; and
a prediction step: and inputting the coordinate value of the first position coordinate and the coordinate value of the second position coordinate into a predetermined formula to obtain the final position coordinate of each electronic tag.
Preferably, the preset positioning algorithm is obtained by training a gradient boosting decision tree model, and the specific training steps include:
acquiring electronic tag signal data detected by a second preset number of sampling points, and extracting signal intensity data of each sampling point from the electronic tag signal data as a characteristic value of the sampling point;
acquiring the position coordinates of each sampling point, and forming a sample set by the position coordinates of each sampling point and the characteristic values corresponding to each sampling point;
dividing the sample set into a first data set and a second data set according to a preset proportion, wherein the first data set is a training set, the second data set is a verification set, and the number of the training sets is larger than that of the verification sets;
training a gradient lifting decision tree model by using the training set to obtain the second preset algorithm; and
and verifying the accuracy of the second preset algorithm by using the verification set, and finishing training if the accuracy is greater than or equal to a preset threshold, or increasing the number of samples and re-executing the training step if the accuracy is less than the preset threshold.
Preferably, the electronic tag is an active electronic tag, and when the electric quantity of the electronic tag is detected to be lower than a preset threshold value, a warning message is sent out.
Preferably, the normalizing the characteristic values specifically includes normalizing the signal intensity data into a data set with a mean value of 0 and a standard deviation of 1, and the conversion formula is as follows:
,
wherein,represents a normalized value of the signal strength data,represents an average of the signal strength data,a standard deviation representing the signal strength data,a value representing each of said signal strength data.
Preferably, the predetermined formula is:
F(M) = a×+b×,
wherein F (M) represents the final predicted coordinates of the electronic tag,a coordinate value representing the coordinate of the first position,and a and b are predetermined weight values.
In order to achieve the above object, the present invention also provides a tag management system, including: the device is characterized in that an automatic conference record generation program is stored in the memory and executed by the processor, and the automatic conference record generation program realizes the following steps:
an acquisition step: the method comprises the steps of regularly acquiring signals sent by a first preset number of electronic tags, taking intensity data of the signals as characteristic values, and carrying out normalization processing on the characteristic values;
a first calculation step: calculating to obtain a first position coordinate of each electronic tag by utilizing a triangulation algorithm based on the signal intensity data of each electronic tag;
a second calculation step: calculating to obtain a second position coordinate of each electronic tag by using a preset positioning algorithm based on the normalized signal intensity data of each electronic tag; and
a prediction step: and inputting the coordinate value of the first position coordinate and the coordinate value of the second position coordinate into a predetermined formula to obtain the final position coordinate of each electronic tag.
Preferably, the preset positioning algorithm is obtained by training a gradient boosting decision tree model, and the specific training steps include:
acquiring electronic tag signal data detected by a second preset number of sampling points, and extracting signal intensity data of each sampling point from the electronic tag signal data as a characteristic value of the sampling point;
acquiring the position coordinates of each sampling point, and forming a sample set by the position coordinates of each sampling point and the characteristic values corresponding to each sampling point;
dividing the sample set into a first data set and a second data set according to a preset proportion, wherein the first data set is a training set, the second data set is a verification set, and the number of the training sets is larger than that of the verification sets;
training a gradient lifting decision tree model by using the training set to obtain the second preset algorithm; and
and verifying the accuracy of the second preset algorithm by using the verification set, and finishing training if the accuracy is greater than or equal to a preset threshold, or increasing the number of samples and re-executing the training step if the accuracy is less than the preset threshold.
Preferably, the normalizing the characteristic values specifically includes normalizing the signal intensity data into a data set with a mean value of 0 and a standard deviation of 1, and the conversion formula is as follows:
,
wherein,represents a normalized value of the signal strength data,represents an average of the signal strength data,a standard deviation representing the signal strength data,a value representing each of said signal strength data.
Preferably, the predetermined formula is:
F(M) = a×+b×,
wherein F (M) represents the final predicted coordinates of the electronic tag,a coordinate value representing the coordinate of the first position,and a and b are predetermined weight values.
According to the label management method and system, signals sent by a first preset number of electronic labels are obtained at regular time, intensity data of the signals are used as characteristic values, normalization processing is conducted on the characteristic values, a first position coordinate of each electronic label is calculated by using a triangular positioning algorithm based on the signal intensity data of each electronic label, a second position coordinate of each electronic label is calculated by using a preset positioning algorithm based on the signal intensity data after normalization of each electronic label, the coordinate value of the first position coordinate and the coordinate value of the second position coordinate are input into a predetermined formula to obtain the final position coordinate of each electronic label, and therefore the accuracy of label management can be improved.
Drawings
FIG. 1 is a diagram of a preferred embodiment of a tag management system according to the present invention;
FIG. 2 is a block diagram illustrating a preferred embodiment of a process of the tag management method of FIG. 1;
FIG. 3 is a flow chart of a preferred embodiment of a tag management method of the present invention;
the implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, a schematic diagram of a tag management system 1 according to a preferred embodiment of the present invention is shown.
The tag management system 1 includes but is not limited to: memory 11, processor 12, display 13, and network interface 14. The tag management system 1 is connected to a network through a network interface 14 to obtain original data. The network may be a wireless or wired network such as an Intranet (Intranet), the Internet (Internet), a 4G network, a 5G network, Bluetooth (Bluetooth), Wi-Fi, or a communication network.
The memory 11 includes at least one type of readable storage medium including a flash memory, a hard disk, a multimedia card, a card type memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a Read Only Memory (ROM), an Electrically Erasable Programmable Read Only Memory (EEPROM), a Programmable Read Only Memory (PROM), a magnetic memory, a magnetic disk, an optical disk, etc. In this embodiment, the memory 11 is generally used for storing an operating system and various application software installed in the tag management system 1, such as program codes of the tag management program 10. Further, the memory 11 may also be used to temporarily store various types of data that have been output or are to be output.
Processor 12 may be a Central Processing Unit (CPU), controller, microcontroller, microprocessor, or other data Processing chip in some embodiments. The processor 12 is generally used for controlling the overall operation of the tag management system 1, such as performing data interaction or communication related control and processing. In this embodiment, the processor 12 is configured to run the program code stored in the memory 11 or process data, for example, run the program code of the tag management program 10.
The display 13 may be referred to as a display screen or display unit. The display 13 may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, and the like in some embodiments. The display 13 is used for displaying information processed in the tag management system 1 and for displaying a visual work interface, for example, displaying the results of data statistics.
The network interface 14 may optionally comprise a standard wired interface, a wireless interface (e.g. WI-FI interface), the network interface 14 typically being used for establishing a communication connection between the tag management system 1 and other electronic devices.
Optionally, the label management system 1 may further include a user interface, the user interface may include a Display (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface may further include a standard wired interface and a wireless interface. Alternatively, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, or the like.
The tag management system 1 may further include a Radio Frequency (RF) circuit, a sensor, an audio circuit, and the like, which will not be described herein.
In the above embodiment, the processor 12 may implement the following steps when executing the program for obtaining the electronic tag location 10 stored in the memory 11:
an acquisition step: the method comprises the steps of regularly acquiring signals sent by a first preset number of electronic tags, taking intensity data of the signals as characteristic values, and carrying out normalization processing on the characteristic values;
a first calculation step: calculating to obtain a first position coordinate of each electronic tag by utilizing a triangulation algorithm based on the signal intensity data of each electronic tag;
a second calculation step: calculating to obtain a second position coordinate of each electronic tag by using a preset positioning algorithm based on the normalized signal intensity data of each electronic tag; and
a prediction step: and inputting the coordinate value of the first position coordinate and the coordinate value of the second position coordinate into a predetermined formula to obtain the final position coordinate of each electronic tag.
For a detailed description of the above steps, please refer to the following description of fig. 2 regarding a program module diagram of an embodiment of the tag management program 10, and fig. 3 regarding a flowchart of an embodiment of a tag management method.
In other embodiments, the tag management program 10 may be divided into a plurality of modules, which are stored in the memory 12 and executed by the processor 13 to accomplish the present invention. The modules referred to herein are referred to as a series of computer program instruction segments capable of performing specified functions.
Referring to fig. 2, a block diagram of an embodiment of the tag management program 10 of fig. 1 is shown. In this embodiment, the tag management program 10 may be divided into: an acquisition module 110, a first calculation module 120, a second module 130, and a prediction module 140.
The receiving module 110 is configured to obtain signals sent by a first preset number of electronic tags at regular time, use the intensity data of the signals as a feature value, and perform normalization processing on the feature value.
In this embodiment, signals sent by a preset number (e.g., 500) of electronic tags are acquired at preset time intervals (e.g., 1 second), and the acquired signal strength data of each electronic tag is used as a characteristic value of the electronic tag, where the acquired information includes identification information that can uniquely identify the electronic tag, such as the signal strength data of a plurality of electronic tags, and MAC addresses or Service Set Identifiers (SSIDs) of corresponding electronic tags.
Then, normalization processing is performed on the characteristic values, and the data of the signal intensity can be normalized into a data set with a mean value of 0 and a standard deviation of 1, wherein the conversion formula is as follows:
,
wherein,represents a normalized value of the signal strength data,represents the average of the signal strength data,represents the standard deviation of the signal strength data,values representing respective signal strength data.
In an embodiment, all data of each feature value can be linearly converted into the [0, 1] interval according to the maximum value of the signal intensity data and the minimum value of the signal intensity data in the feature values.
The first calculating module 120 is configured to calculate, by using a triangulation algorithm, a first position coordinate of each electronic tag based on the signal strength data of each electronic tag.
The position coordinates of the electronic tags can be calculated by adopting a triangulation algorithm, when the position coordinates of three or more electronic tags are determined, and the distances from other electronic tags to the known electronic tags can be determined according to the detected signal intensity of the electronic tags, the first position coordinates of the electronic tags can be calculated according to the information.
The second calculating module 130 is configured to calculate, based on the normalized signal intensity data of each electronic tag, a second position coordinate of each electronic tag by using a preset positioning algorithm.
And inputting the characteristic value after the normalization processing into a preset positioning algorithm, and calculating to obtain a second position coordinate of the electronic tag corresponding to the characteristic value.
The preset positioning algorithm is obtained by training a gradient boosting decision tree model, and the specific training steps comprise:
acquiring electronic tag signal data detected by a preset number (for example, 10000) of sampling points in a specified area (for example, a hospital), and extracting signal intensity data of each sampling point from the electronic tag signal data as a characteristic value of the sampling point;
determining and acquiring a position coordinate of each sampling point, wherein a determination reference point of the position coordinate may be a certain point in a school (for example, a hospital portal), and the position coordinate of each sampling point and a feature value corresponding to each sampling point are combined into a sample set;
dividing the sample set into a first data set and a second data set according to a preset proportion, wherein the first data set is a training set, the second data set is a verification set, and the number of samples in the training set is greater than that in the verification set, for example: randomly extracting (for example, 70%) positions of sampling points and feature values corresponding to the sampling points from the sample set as a training set, and randomly extracting (for example, 30%) positions of the sampling points and feature values corresponding to the sampling points from the sample set as a verification set;
training the gradient lifting decision tree model by using 70% of sample data, determining model parameters of the position positioning model, and obtaining a relation between position coordinates of sampling points and electronic tag signal intensity data corresponding to the sampling points;
and verifying the accuracy of the position positioning model by using 30% of sample data, and finishing the training if the accuracy is greater than or equal to a preset accuracy (for example, 95%), or increasing the number of samples and re-executing the training step if the accuracy is less than the preset accuracy (for example, 95%).
And the prediction module 140 is configured to input the coordinate value of the first position coordinate and the coordinate value of the second position coordinate into a predetermined formula, so as to obtain a final position coordinate of each electronic tag.
In this embodiment, the coordinate value of the first position coordinate and the coordinate value of the second position coordinate of each electronic tag obtained by the above calculation are input into a predetermined formula to obtain the final position coordinate of the electronic tag, specifically, corresponding weight values are given to the first position coordinate and the second position coordinate, and the predetermined formula is:
F(M) = a×+b×,
wherein F (M) represents the final predicted coordinates of the electronic tag,a coordinate value representing the coordinate of the first position,and a and b are predetermined weight values. For example: the value of a is 40% and the value of b is 60%.
In another embodiment, the electronic tag is an active electronic tag, and when the power of the electronic tag is detected to be lower than a preset threshold, a warning message is sent out. Furthermore, a corresponding electronic fence can be set for each electronic tag, and when the moving range of the electronic tag is detected to exceed the corresponding electronic fence, warning information is sent out.
In addition, the invention also provides a label management method. Referring to fig. 3, a method flow diagram of an embodiment of the method for label management according to the present invention is shown. The following steps of the method of implementing label management when the processor 12 of the label management system 1 executes the label management program 10 stored in the memory 11:
step S10: the method comprises the steps of obtaining signals sent by a first preset number of electronic tags at regular time, using intensity data of the signals as characteristic values, and carrying out normalization processing on the characteristic values.
In this embodiment, signals sent by a preset number (e.g., 500) of electronic tags are acquired at preset time intervals (e.g., 1 second), and the acquired signal strength data of each electronic tag is used as a characteristic value of the electronic tag, where the acquired information includes identification information that can uniquely identify the electronic tag, such as the signal strength data of a plurality of electronic tags, and MAC addresses or Service Set Identifiers (SSIDs) of corresponding electronic tags.
Then, normalization processing is performed on the characteristic values, and the data of the signal intensity can be normalized into a data set with a mean value of 0 and a standard deviation of 1, wherein the conversion formula is as follows:
,
wherein,represents a normalized value of the signal strength data,represents the average of the signal strength data,represents the standard deviation of the signal strength data,values representing respective signal strength data.
Step S20: and calculating to obtain a first position coordinate of each electronic tag by utilizing a triangulation algorithm based on the signal intensity data of each electronic tag.
In this embodiment, a triangulation algorithm may be used to calculate the position coordinates of the electronic tags, and when the position coordinates of three or more electronic tags are determined, and the distances from other electronic tags to the known electronic tags can be determined according to the detected signal strength of the electronic tags, the first position coordinates of the electronic tags can be calculated according to the above information.
Step S30: and calculating to obtain a second position coordinate of each electronic tag by using a preset positioning algorithm based on the normalized signal intensity data of each electronic tag.
And inputting the characteristic value after the normalization processing into a preset positioning algorithm, and calculating to obtain a second position coordinate of the electronic tag corresponding to the characteristic value.
The preset positioning algorithm is obtained by training a gradient boosting decision tree model, and the specific training steps comprise:
acquiring electronic tag signal data detected by a preset number (for example, 10000) of sampling points in a specified area (for example, a hospital), and extracting signal intensity data of each sampling point from the electronic tag signal data as a characteristic value of the sampling point;
determining and acquiring a position coordinate of each sampling point, wherein a determination reference point of the position coordinate may be a certain point in a school (for example, a hospital portal), and the position coordinate of each sampling point and a feature value corresponding to each sampling point are combined into a sample set;
dividing the sample set into a first data set and a second data set according to a preset proportion, wherein the first data set is a training set, the second data set is a verification set, and the number of samples in the training set is greater than that in the verification set, for example: randomly extracting (for example, 70%) positions of sampling points and feature values corresponding to the sampling points from the sample set as a training set, and randomly extracting (for example, 30%) positions of the sampling points and feature values corresponding to the sampling points from the sample set as a verification set;
training the gradient lifting decision tree model by using 70% of sample data, determining model parameters of the position positioning model, and obtaining a relation between position coordinates of sampling points and electronic tag signal intensity data corresponding to the sampling points;
and verifying the accuracy of the position positioning model by using 30% of sample data, and finishing the training if the accuracy is greater than or equal to a preset accuracy (for example, 95%), or increasing the number of samples and re-executing the training step if the accuracy is less than the preset accuracy (for example, 95%).
Step S40: and inputting the coordinate value of the first position coordinate and the coordinate value of the second position coordinate into a predetermined formula to obtain the final position coordinate of each electronic tag.
In this embodiment, the coordinate value of the first position coordinate and the coordinate value of the second position coordinate of each electronic tag obtained by the above calculation are input into a predetermined formula to obtain the final position coordinate of the electronic tag, specifically, corresponding weight values are given to the first position coordinate and the second position coordinate, and the predetermined formula is:
F(M) = a×+b×,
wherein F (M) represents the final predicted coordinates of the electronic tag,a coordinate value representing the coordinate of the first position,and a and b are predetermined weight values. For example: the value of a is 40% and the value of b is 60%.
In another embodiment, the electronic tag is an active electronic tag, and when the power of the electronic tag is detected to be lower than a preset threshold, a warning message is sent out. Furthermore, a corresponding electronic fence can be set for each electronic tag, and when the moving range of the electronic tag is detected to exceed the corresponding electronic fence, warning information is sent out.
Furthermore, the embodiment of the present invention also provides a computer-readable storage medium, which may be any one or any combination of a hard disk, a multimedia card, an SD card, a flash memory card, an SMC, a Read Only Memory (ROM), an Erasable Programmable Read Only Memory (EPROM), a portable compact disc read only memory (CD-ROM), a USB memory, and the like. The computer readable storage medium includes a tag management program 10, and when executed by a processor, the tag management program 10 implements the following operations:
an acquisition step: the method comprises the steps of regularly acquiring signals sent by a first preset number of electronic tags, taking intensity data of the signals as characteristic values, and carrying out normalization processing on the characteristic values;
a first calculation step: calculating to obtain a first position coordinate of each electronic tag by utilizing a triangulation algorithm based on the signal intensity data of each electronic tag;
a second calculation step: calculating to obtain a second position coordinate of each electronic tag by using a preset positioning algorithm based on the normalized signal intensity data of each electronic tag; and
a prediction step: and inputting the coordinate value of the first position coordinate and the coordinate value of the second position coordinate into a predetermined formula to obtain the final position coordinate of each electronic tag.
The specific implementation of the computer-readable storage medium of the present invention is substantially the same as the specific implementation of the above-mentioned label management method, and will not be described herein again.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a tag management system, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.
Claims (9)
1. A label management method is applied to a label management system and is characterized by comprising the following steps:
an acquisition step: the method comprises the steps of regularly acquiring signals sent by a first preset number of electronic tags, taking intensity data of the signals as characteristic values, and carrying out normalization processing on the characteristic values;
a first calculation step: calculating to obtain a first position coordinate of each electronic tag by utilizing a triangulation algorithm based on the signal intensity data of each electronic tag;
a second calculation step: calculating to obtain a second position coordinate of each electronic tag by using a preset positioning algorithm based on the normalized signal intensity data of each electronic tag; and
a prediction step: and inputting the coordinate value of the first position coordinate and the coordinate value of the second position coordinate into a predetermined formula to obtain the final position coordinate of each electronic tag.
2. The label management method of claim 1, wherein the predetermined positioning algorithm is obtained by training a gradient boosting decision tree model, and the specific training steps include:
acquiring electronic tag signal data detected by a second preset number of sampling points, and extracting signal intensity data of each sampling point from the electronic tag signal data as a characteristic value of the sampling point;
acquiring the position coordinates of each sampling point, and forming a sample set by the position coordinates of each sampling point and the characteristic values corresponding to each sampling point;
dividing the sample set into a first data set and a second data set according to a preset proportion, wherein the first data set is a training set, the second data set is a verification set, and the number of the training sets is larger than that of the verification sets;
training a gradient lifting decision tree model by using the training set to obtain the second preset algorithm; and
and verifying the accuracy of the second preset algorithm by using the verification set, and finishing training if the accuracy is greater than or equal to a preset threshold, or increasing the number of samples and re-executing the training step if the accuracy is less than the preset threshold.
3. The tag management method according to claim 1, wherein the electronic tag is an active electronic tag, and when it is detected that the power of the electronic tag is lower than a preset threshold, a warning message is issued.
4. The tag management method according to claim 1, wherein the normalization processing of the feature values specifically includes normalizing each signal intensity data into a data set having a mean value of 0 and a standard deviation of 1, and a conversion formula is as follows:
,
wherein,represents a normalized value of the signal strength data,representing an average of said signal strength dataThe value of the one or more of,a standard deviation representing the signal strength data,a value representing each of said signal strength data.
5. The label management method of claim 1, wherein the predetermined formula is:
F(M) = a×+b×,
wherein F (M) represents the final predicted coordinates of the electronic tag,a coordinate value representing the coordinate of the first position,and a and b are predetermined weight values.
6. A tag management system, comprising a memory and a processor, wherein the memory stores a tag management program, and the tag management program is executed by the processor, and the following steps are implemented:
an acquisition step: the method comprises the steps of regularly acquiring signals sent by a first preset number of electronic tags, taking intensity data of the signals as characteristic values, and carrying out normalization processing on the characteristic values;
a first calculation step: calculating to obtain a first position coordinate of each electronic tag by utilizing a triangulation algorithm based on the signal intensity data of each electronic tag;
a second calculation step: calculating to obtain a second position coordinate of each electronic tag by using a preset positioning algorithm based on the normalized signal intensity data of each electronic tag; and
a prediction step: and inputting the coordinate value of the first position coordinate and the coordinate value of the second position coordinate into a predetermined formula to obtain the final position coordinate of each electronic tag.
7. The label management system of claim 6, wherein the predetermined positioning algorithm is obtained by training a gradient boosting decision tree model, and the specific training steps include:
acquiring electronic tag signal data detected by a second preset number of sampling points, and extracting signal intensity data of each sampling point from the electronic tag signal data as a characteristic value of the sampling point;
acquiring the position coordinates of each sampling point, and forming a sample set by the position coordinates of each sampling point and the characteristic values corresponding to each sampling point;
dividing the sample set into a first data set and a second data set according to a preset proportion, wherein the first data set is a training set, the second data set is a verification set, and the number of the training sets is larger than that of the verification sets;
training a gradient lifting decision tree model by using the training set to obtain the second preset algorithm; and
and verifying the accuracy of the second preset algorithm by using the verification set, and finishing training if the accuracy is greater than or equal to a preset threshold, or increasing the number of samples and re-executing the training step if the accuracy is less than the preset threshold.
8. The tag management system of claim 6, wherein the normalization of the eigenvalues specifically comprises normalizing each signal strength data to a data set with a mean value of 0 and a standard deviation of 1, the conversion formula being as follows:
,
wherein,represents a normalized value of the signal strength data,represents an average of the signal strength data,a standard deviation representing the signal strength data,a value representing each of said signal strength data.
9. The label management system of claim 6, wherein the predetermined formula is:
F(M) = a×+b×,
wherein F (M) represents the final predicted coordinates of the electronic tag,a coordinate value representing the coordinate of the first position,and a and b are predetermined weight values.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910520031.2A CN110428888A (en) | 2019-06-17 | 2019-06-17 | A kind of label management method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910520031.2A CN110428888A (en) | 2019-06-17 | 2019-06-17 | A kind of label management method and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110428888A true CN110428888A (en) | 2019-11-08 |
Family
ID=68407709
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910520031.2A Pending CN110428888A (en) | 2019-06-17 | 2019-06-17 | A kind of label management method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110428888A (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8111141B1 (en) * | 2007-03-30 | 2012-02-07 | Savi Technology, Inc. | Received signal strength distance determination of low frequency tags |
US20150257014A1 (en) * | 2014-03-07 | 2015-09-10 | Tata Consultancy Services Limited | Computer implemented system and method for wi-fi based indoor localization |
CN106610292A (en) * | 2015-10-22 | 2017-05-03 | 北京金坤科创技术有限公司 | Method of indoor positioning through combination of WIFI and pedestrian dead reckoning (PDR) |
US20180373906A1 (en) * | 2015-12-22 | 2018-12-27 | Intel Corporation | Rfid location detection |
CN109157217A (en) * | 2018-07-11 | 2019-01-08 | 芜湖帮许来诺医疗设备科技有限公司 | A kind of malcoils localization method based on passive RFID |
CN111132012A (en) * | 2019-12-30 | 2020-05-08 | 京信通信系统(中国)有限公司 | Hybrid positioning method, system, computer equipment and storage medium |
-
2019
- 2019-06-17 CN CN201910520031.2A patent/CN110428888A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8111141B1 (en) * | 2007-03-30 | 2012-02-07 | Savi Technology, Inc. | Received signal strength distance determination of low frequency tags |
US20150257014A1 (en) * | 2014-03-07 | 2015-09-10 | Tata Consultancy Services Limited | Computer implemented system and method for wi-fi based indoor localization |
CN106610292A (en) * | 2015-10-22 | 2017-05-03 | 北京金坤科创技术有限公司 | Method of indoor positioning through combination of WIFI and pedestrian dead reckoning (PDR) |
US20180373906A1 (en) * | 2015-12-22 | 2018-12-27 | Intel Corporation | Rfid location detection |
CN109157217A (en) * | 2018-07-11 | 2019-01-08 | 芜湖帮许来诺医疗设备科技有限公司 | A kind of malcoils localization method based on passive RFID |
CN111132012A (en) * | 2019-12-30 | 2020-05-08 | 京信通信系统(中国)有限公司 | Hybrid positioning method, system, computer equipment and storage medium |
Non-Patent Citations (1)
Title |
---|
张会清等: "基于线性判别分析和梯度提升决策树的WLAN室内定位算法" * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110363076B (en) | Personnel information association method and device and terminal equipment | |
CN112383891B (en) | Equipment registration method and device based on object model automatic matching | |
KR20180017606A (en) | Method for providing parking location information of a vehicle and electronic device thereof | |
CN113205037B (en) | Event detection method, event detection device, electronic equipment and readable storage medium | |
CN107835520B (en) | Wifi hotspot connection method and device and storage medium | |
CN111462381A (en) | Access control method based on face temperature identification, electronic device and storage medium | |
KR20170062808A (en) | Method and system for physical inspection of location of assets by using wireless-recognized tags | |
CN112612462B (en) | Method and device for adjusting conversation configuration, electronic equipment and storage medium | |
CN113361468A (en) | Business quality inspection method, device, equipment and storage medium | |
CN112926710A (en) | NFC analog card switching method, mobile terminal and computer readable storage medium | |
CN115757075A (en) | Task abnormity detection method and device, computer equipment and storage medium | |
US20210319684A1 (en) | Method and system for acquiring item placing state | |
CN113807794A (en) | Warehouse article monitoring method, device and system and terminal equipment | |
CN111784042B (en) | Power utilization node safety risk prediction method and device and storage medium | |
CN113743547A (en) | Asset supervision method and platform based on RFID (radio frequency identification) tag and storage medium | |
CN110428888A (en) | A kind of label management method and system | |
CN110598995B (en) | Smart client rating method, smart client rating device and computer readable storage medium | |
CN115550615B (en) | Video recording method and device of intelligent equipment, electronic equipment and storage medium | |
CN113706111B (en) | Medical institution flow data processing method, device, equipment and medium | |
CN114928827A (en) | Equipment state monitoring method, server, system and electronic equipment | |
CN115099259A (en) | Data identification method and device for civil air defense materials and electronic equipment | |
US20220027885A1 (en) | Portable point-of-sale terminal | |
CN113780855A (en) | Medical institution supervision method and device, computer equipment and storage medium | |
CN115145393A (en) | Equipment inspection method and system based on MR technology | |
CN113724845B (en) | Medical personnel proportioning detection method based on artificial intelligence and related device |
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 | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20191108 |
|
WD01 | Invention patent application deemed withdrawn after publication |