CN115242269A - Device communication method, device, storage medium, and electronic apparatus - Google Patents
Device communication method, device, storage medium, and electronic apparatus Download PDFInfo
- Publication number
- CN115242269A CN115242269A CN202210346899.7A CN202210346899A CN115242269A CN 115242269 A CN115242269 A CN 115242269A CN 202210346899 A CN202210346899 A CN 202210346899A CN 115242269 A CN115242269 A CN 115242269A
- Authority
- CN
- China
- Prior art keywords
- wireless module
- target data
- resonant frequency
- preset
- adjusting
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 63
- 230000006854 communication Effects 0.000 title claims abstract description 53
- 238000004891 communication Methods 0.000 title claims abstract description 52
- 238000001514 detection method Methods 0.000 claims description 14
- 230000003247 decreasing effect Effects 0.000 claims description 11
- 230000008569 process Effects 0.000 claims description 10
- 238000005516 engineering process Methods 0.000 abstract description 17
- 230000006978 adaptation Effects 0.000 description 12
- 230000002159 abnormal effect Effects 0.000 description 10
- 238000010411 cooking Methods 0.000 description 10
- 238000010586 diagram Methods 0.000 description 10
- 238000004590 computer program Methods 0.000 description 8
- 230000000694 effects Effects 0.000 description 7
- 230000006870 function Effects 0.000 description 6
- 238000012545 processing Methods 0.000 description 5
- 230000005540 biological transmission Effects 0.000 description 4
- 230000008859 change Effects 0.000 description 4
- 238000010408 sweeping Methods 0.000 description 4
- 230000005856 abnormality Effects 0.000 description 2
- 230000004913 activation Effects 0.000 description 2
- 238000009529 body temperature measurement Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000003044 adaptive effect Effects 0.000 description 1
- 239000003990 capacitor Substances 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B5/00—Near-field transmission systems, e.g. inductive or capacitive transmission systems
- H04B5/70—Near-field transmission systems, e.g. inductive or capacitive transmission systems specially adapted for specific purposes
- H04B5/72—Near-field transmission systems, e.g. inductive or capacitive transmission systems specially adapted for specific purposes for local intradevice communication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B1/00—Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
- H04B1/06—Receivers
- H04B1/10—Means associated with receiver for limiting or suppressing noise or interference
- H04B1/1027—Means associated with receiver for limiting or suppressing noise or interference assessing signal quality or detecting noise/interference for the received signal
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B5/00—Near-field transmission systems, e.g. inductive or capacitive transmission systems
- H04B5/20—Near-field transmission systems, e.g. inductive or capacitive transmission systems characterised by the transmission technique; characterised by the transmission medium
- H04B5/24—Inductive coupling
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B5/00—Near-field transmission systems, e.g. inductive or capacitive transmission systems
- H04B5/70—Near-field transmission systems, e.g. inductive or capacitive transmission systems specially adapted for specific purposes
- H04B5/77—Near-field transmission systems, e.g. inductive or capacitive transmission systems specially adapted for specific purposes for interrogation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B1/00—Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
- H04B1/06—Receivers
- H04B1/10—Means associated with receiver for limiting or suppressing noise or interference
- H04B1/1027—Means associated with receiver for limiting or suppressing noise or interference assessing signal quality or detecting noise/interference for the received signal
- H04B2001/1072—Means associated with receiver for limiting or suppressing noise or interference assessing signal quality or detecting noise/interference for the received signal by tuning the receiver frequency
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Arrangements For Transmission Of Measured Signals (AREA)
Abstract
The application discloses a device communication method, a device communication apparatus, a storage medium and an electronic apparatus. The method comprises the following steps: sending a starting signal to the first wireless module through the second wireless module, and judging whether the second wireless module receives target data sent by the first wireless module; and under the condition that the second wireless module does not receive the target data sent by the first wireless module, adjusting the resonant frequency of the second wireless module among a plurality of preset frequencies until the second wireless module receives the target data, or until the traversal finishes the plurality of preset frequencies. Through the method and the device, the problem that different wireless modules cannot transmit data through the radio frequency identification technology due to the influence of temperature in the related technology is solved.
Description
Technical Field
The present application relates to the field of communications, and in particular, to a device communication method, apparatus, storage medium, and electronic apparatus.
Background
When RFID (Radio Frequency Identification) technology is used for non-contact data communication, the same resonant Frequency is set for the wireless lower module and the wireless upper module, and the resonant circuit of the wireless upper module is close to the resonant circuit of the wireless lower module, so that the wireless lower module and the wireless upper module can transmit data through the inductance coil in the resonant circuit.
However, when the wireless module is used, the temperature of the resonant circuit is usually changed due to the influence of an externally attached carrier or the influence of internal operation. Under the condition that the resonant circuit is an RLC series resonant circuit, the capacitance value of the capacitor in the resonant circuit can be changed under the condition that the capacitance value is out of the normal working range, and the frequency in the resonant circuit can be changed according to the change of the capacitance value, so that the wireless lower module and the wireless upper module cannot be accurately identified, and communication and data transmission cannot be normally performed.
Aiming at the problem that different wireless modules cannot transmit data through a radio frequency identification technology due to the influence of temperature in the related technology, an effective solution is not provided at present.
Disclosure of Invention
The application provides a device communication method, a device, a storage medium and an electronic device, which are used for solving the problem that different wireless modules cannot transmit data through a radio frequency identification technology due to the influence of temperature in the related technology.
According to one aspect of the present application, a device communication method is provided. The method comprises the following steps: sending a starting signal to a first wireless module through a second wireless module, and judging whether the second wireless module receives target data sent by the first wireless module, wherein the second wireless module is arranged on a main body of target equipment, the first wireless module is arranged on a cover body of the target equipment, and the first wireless module sends the target data to the second wireless module after being started; and under the condition that the second wireless module does not receive the target data sent by the first wireless module, adjusting the resonant frequency of the second wireless module among a plurality of preset frequencies until the second wireless module receives the target data, or until the target data is traversed and the plurality of preset frequencies are finished. By adjusting the resonant frequency of the second wireless module to be adaptive to the resonant frequency of the first wireless module, the second wireless module can normally communicate with the first wireless module under the condition that the resonant frequency of the first wireless module changes.
Optionally, sending a start signal to the first wireless module through the second wireless module, and determining whether the second wireless module receives the target data sent by the first wireless module includes: sending a starting signal to the first wireless module through the second wireless module according to a preset time interval, and judging whether the second wireless module receives target data or not when the sending times of the starting signal reach the target times; when the sending times of the starting signal reach the target times and the second wireless module does not receive the target data, determining that the second wireless module does not receive the target data sent by the first wireless module; or sending a starting signal to the first wireless module through the second wireless module according to a preset time interval, and judging whether the second wireless module receives target data within a preset time length after the starting signal is sent for the first time; and under the condition that the second wireless module does not receive the target data within the preset time length, determining that the second wireless module does not receive the target data sent by the first wireless module. The situation that the second wireless module cannot receive the target data due to the influence of accidental factors is eliminated, and therefore whether the second wireless module receives the target data or not is accurately determined.
Optionally, adjusting the resonant frequency of the second wireless module between a plurality of preset frequencies until the second wireless module receives the target data includes: and adjusting the resonant frequency of the second wireless module among a plurality of preset frequencies according to a preset sequence until the second wireless module receives the target data. The efficiency of the second wireless module is adjusted according to the sequence, the adaptation speed of the resonant frequency of the second wireless module and the resonant frequency of the first wireless module is improved, and therefore the effect of improving the wireless connection efficiency between the second wireless module and the first wireless module is achieved.
Optionally, adjusting the resonant frequency of the second wireless module between a plurality of preset frequencies until the second wireless module receives the target data includes: the resonant frequency is adjusted by subtracting the preset frequency value on the basis of the resonant frequency, and if the target data is received by the second wireless module before the first number of preset frequency values is subtracted on the basis of the resonant frequency, the adjustment of the resonant frequency is stopped, wherein the first number is determined by the number of the plurality of preset frequencies. Because the resonant frequency of the resonant circuit is usually reduced due to temperature anomaly, the resonant frequency is adjusted in a mode of decreasing the frequency value on the basis of the resonant frequency, and the effect of improving the wireless connection efficiency between the second wireless module and the first wireless module is achieved.
Optionally, adjusting the resonant frequency of the second wireless module between a plurality of preset frequencies until the second wireless module receives the target data includes: the resonant frequency is adjusted by increasing the preset frequency value on the basis of the resonant frequency, and if the second wireless module receives the target data before the preset frequency value is increased by a second number on the basis of the resonant frequency, the adjustment of the resonant frequency is stopped, wherein the second number is determined by the number of the preset frequencies. Due to the fact that the resonant frequency of the resonant circuit is increased due to temperature abnormity, the resonant frequency is adjusted in a mode of increasing the frequency value on the basis of the resonant frequency, and wireless connection between the second wireless module and the first wireless module can be achieved under the condition that the resonant frequency of the first wireless module is increased.
Optionally, adjusting the resonant frequency of the second wireless module between a plurality of preset frequencies until the second wireless module receives the target data includes: adjusting the resonant frequency by subtracting the preset frequency value on the basis of the resonant frequency, and stopping adjusting the resonant frequency if the second wireless module receives the target data before the third preset frequency value is subtracted on the basis of the resonant frequency; if the second wireless module does not receive the target data after the third preset frequency value is decreased on the basis of the resonant frequency, adjusting the resonant frequency in a manner of increasing the preset frequency value on the basis of the resonant frequency; and stopping the adjustment of the resonant frequency if the second wireless module receives the target data before the fourth preset frequency value is increased on the basis of the resonant frequency, wherein the sum of the third frequency and the fourth frequency is determined by the number of the plurality of preset frequencies. Due to the fact that temperature abnormality usually causes the reduction of the resonant frequency of the resonant circuit, the resonant frequency of the resonant circuit is increased, the resonant frequency is adjusted in a mode that the frequency value is decreased gradually and then increased gradually on the basis of the resonant frequency, and the effect of improving the wireless connection efficiency between the second wireless module and the first wireless module is achieved.
Optionally, in a case that the second wireless module does not receive the target data sent by the first wireless module, the method further includes: and sending the received target data to the controller through the second wireless module. And a data base is laid for judging the opening and closing state of the equipment according to the target data.
Optionally, in the process of adjusting the resonant frequency of the second wireless module among the plurality of preset frequencies, if the second wireless module still does not receive the target data after traversing the plurality of preset frequencies, sending a prompt message to the controller through the second wireless module, where the prompt message is used to prompt that the target device is in an uncapped state. Under the condition that the target data is not received even after the resonant frequency of the second wireless module is adjusted for multiple times, the device is prompted to be in an uncovering state, and invalid adjustment operation of the resonant frequency under the uncovering condition is avoided.
Optionally, a temperature detection device is arranged on the cover body of the target device, the temperature detection device is connected with the first wireless module, and the first wireless module is used for receiving temperature data collected by the temperature detection device and sending the temperature data to the second wireless module as target data. And a data base is laid for determining the state of the cover body of the equipment through the temperature data.
According to another aspect of the present application, a device communication apparatus is provided. The device includes: the first sending unit is used for sending a starting signal to the first wireless module through the second wireless module and judging whether the second wireless module receives target data sent by the first wireless module, wherein the second wireless module is arranged on a main body of target equipment, the first wireless module is arranged on a cover body of the target equipment, and the first wireless module sends the target data to the second wireless module after being started; and the adjusting unit is used for adjusting the resonant frequency of the second wireless module among a plurality of preset frequencies under the condition that the second wireless module does not receive the target data sent by the first wireless module until the second wireless module receives the target data or a plurality of preset frequencies are traversed.
According to another aspect of the embodiments of the present invention, there is also provided a computer storage medium for storing a program, wherein the program controls an apparatus in which the computer storage medium is located to perform an apparatus communication method when executed.
According to another aspect of the embodiments of the present invention, there is also provided an electronic device, including a processor and a memory; the memory has stored therein computer readable instructions, and the processor is configured to execute the computer readable instructions, wherein the computer readable instructions when executed perform a method of device communication.
Through the application, the following steps are adopted: sending a starting signal to a first wireless module through a second wireless module, and judging whether the second wireless module receives target data sent by the first wireless module, wherein the second wireless module is arranged on a main body of target equipment, the first wireless module is arranged on a cover body of the target equipment, and the first wireless module sends the target data to the second wireless module after being started; under the condition that the second wireless module does not receive the target data sent by the first wireless module, the resonant frequency of the second wireless module is adjusted among the preset frequencies until the second wireless module receives the target data, or the preset frequencies are traversed, so that the problem that different wireless modules cannot transmit data through the radio frequency identification technology due to the influence of temperature in the related art is solved. Through adjusting the resonant frequency adaptation of the second wireless module and the resonant frequency adaptation of the first wireless module, the second wireless module can also normally communicate with the first wireless module under the condition that the resonant frequency of the first wireless module changes, and then the effect that the second wireless module and the first wireless module can normally transmit data under the condition that the temperature is abnormal is achieved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this application, are included to provide a further understanding of the application, and the description of the exemplary embodiments of the application are intended to be illustrative of the application and are not intended to limit the application. In the drawings:
fig. 1 is a flowchart of a device communication method provided according to an embodiment of the present application;
fig. 2 is a flow chart of an alternative device communication method provided in accordance with an embodiment of the present application;
fig. 3 is a schematic diagram of a device communication apparatus provided according to an embodiment of the present application.
Detailed Description
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only partial embodiments of the present application, but not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without making any creative effort shall fall within the protection scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It should be understood that the data so used may be interchanged under appropriate circumstances in order to facilitate the description of the embodiments of the application herein. Moreover, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It should be noted that, the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for presentation, analyzed data, etc.) referred to in the present disclosure are information and data authorized by the user or sufficiently authorized by each party.
The device communication method, apparatus, storage medium, and electronic apparatus identified in the present disclosure may be used in the field of communications, and may also be used in any field other than the field of communications.
According to an embodiment of the present application, there is provided a device communication method.
Fig. 1 is a flowchart of a device communication method provided according to an embodiment of the present application. As shown in fig. 1, the method comprises the steps of:
step S102, sending a start signal to the first wireless module through the second wireless module, and determining whether the second wireless module receives target data sent by the first wireless module, where the second wireless module is disposed on the main body of the target device, the first wireless module is disposed on the cover of the target device, and the first wireless module sends the target data to the second wireless module after being started.
Specifically, the second wireless module can be for reading the ware, can install in target device's main part, and power supply for reading the ware power supply through target device, and first wireless module can be the transponder, installs on the lid, and the transponder can not connect the power, reads the ware and constantly sends start signal to the transponder to supply power to the transponder through inductance coils. The reader and the responder can communicate by adopting an RFID (Radio Frequency Identification) technology, specifically, the reader and the responder agree to communicate at a preset resonant Frequency, the reader responder transmits a target data signal according to the preset resonant Frequency, and the reader receives the target data signal transmitted by the responder according to the preset resonant Frequency.
For example, the target device may be cooking equipment, the target data may be temperature data, the temperature measurement module and the transponder may be installed on a lid of the cooking equipment, the reader and the control module may be installed on a main body of the cooking equipment, the temperature measurement module sends the temperature data to the transponder after detecting the temperature of the lid of the equipment, after the reader sends a start signal to the transponder, the transponder starts to operate, a wireless connection may be established between the reader and the transponder, at this time, the reader may acquire the temperature data sent by the transponder, and send the temperature data to the control module, the control module may perform the judgment of the status of the lid of the equipment according to the frequency acquired by the temperature data and the temperature data.
Step S104, when the second wireless module does not receive the target data sent by the first wireless module, adjusting the resonant frequency of the second wireless module among a plurality of preset frequencies until the second wireless module receives the target data, or until the second wireless module finishes traversing the plurality of preset frequencies.
Specifically, the second wireless module may be a reader, the first wireless module may be a transponder, and when the sweep frequency oscillator does not receive the target data sent by the transponder, it indicates that the resonant frequency of the resonant circuit in the transponder is changed due to the influence of temperature, so that the resonant frequency of the reader is different from the resonant frequency of the transponder, and therefore the reader cannot receive the target data sent by the transponder. Therefore, the frequency sweeping function can be integrated in the reader to form the frequency sweeping oscillator, the resonant frequency of the frequency sweeping oscillator can be sequentially adjusted among a plurality of preset frequencies, whether target data sent by the transponder can be received under the resonant frequency after each adjustment is judged, the adjustment operation of the resonant frequency is stopped under the condition that the target data is received, the resonant frequency of the reader is continuously adjusted under the condition that the target data cannot be received until all the preset frequencies are traversed, namely, the resonant frequency of the transponder is searched in a frequency sweeping mode, so that the resonant frequencies of the reader and the transponder are consistent, and the wireless transmission of the data is completed.
For example, the target device may be a cooking device, the transponder is mounted on a cover of the cooking device, the reader is mounted on a main body of the cooking device, when the cooking device is in operation, a temperature of the cover is continuously increased, when the temperature of the cover is too high, a resonant frequency of the transponder changes due to a change in a capacitance value in the resonant circuit, and at this time, target data transmitted by the transponder cannot be acquired by the reader, and a resonant frequency of the reader may be sequentially adjusted among a plurality of preset frequencies, for example, the preset resonant frequency of the transponder and the reader may be 13.56M, and the plurality of preset frequencies may include 13.55M and 13.45M, where the reader cannot receive the target data transmitted by the transponder when the resonant frequency is 13.56M, and adjust the resonant frequency of the reader to 13.55M, and determine whether the target data can be received, where the target data can be received, if the target data can be received, the adjustment of the resonant frequency is stopped, and if the target data cannot be received, the adjustment of the resonant frequency of the reader is stopped, and if all the target data cannot be received, the target data is traversed, the adjustment is also completed.
It should be noted that, the number and specific numerical values of the multiple preset frequencies are not limited in this embodiment, in addition, the resonant frequency may be periodically adjusted among the multiple preset frequencies, and the number of times of periodically adjusting the resonant frequency may be set, for example, the number of times is set to 3 times, and the resonant frequency may be adjusted among the multiple preset frequencies in 3 rounds until the reader receives the target data, and the adjustment of the resonant frequency is stopped, or the adjustment of the resonant frequency is stopped until 3 rounds of traversal is completed, so that the adjustment error is reduced.
According to the device communication method provided by the embodiment of the application, a starting signal is sent to a first wireless module through a second wireless module, and whether the second wireless module receives target data sent by the first wireless module is judged, wherein the second wireless module is arranged on a main body of target equipment, the first wireless module is arranged on a cover body of the target equipment, and the first wireless module sends the target data to the second wireless module after being started; under the condition that the second wireless module does not receive the target data sent by the first wireless module, the resonant frequency of the second wireless module is adjusted among the preset frequencies until the second wireless module receives the target data, or the preset frequencies are reached after traversal is completed, and the problem that different wireless modules cannot transmit data through a radio frequency identification technology due to temperature factors in the related technology is solved. Through adjusting the resonant frequency adaptation of the second wireless module and the resonant frequency adaptation of the first wireless module, the second wireless module can also normally communicate with the first wireless module under the condition that the resonant frequency of the first wireless module changes, and then the effect that the second wireless module and the first wireless module can normally transmit data under the condition that the temperature is abnormal is achieved.
In order to prevent the misjudgment of the receiving condition of the target signal caused by the reason that the signal is interfered, optionally, in the device communication method provided in this embodiment of the application, the sending the start signal to the first wireless module by the second wireless module, and determining whether the second wireless module receives the target data sent by the first wireless module includes: sending a starting signal to the first wireless module through the second wireless module according to a preset time interval, and judging whether the second wireless module receives target data or not when the sending times of the starting signal reach the target times; when the sending times of the starting signal reach the target times and the second wireless module does not receive the target data, determining that the second wireless module does not receive the target data sent by the first wireless module; or sending a starting signal to the first wireless module through the second wireless module according to a preset time interval, and judging whether the second wireless module receives the target data within a preset time length after the starting signal is sent for the first time; and under the condition that the second wireless module does not receive the target data within the preset time length, determining that the second wireless module does not receive the target data sent by the first wireless module.
Specifically, the second wireless module may be a reader, the first wireless module may be a transponder, and the reader supplies power to the transponder by continuously sending an activation signal to the transponder, for example, the activation signal may be sent to the transponder every 200ms, and the sending times are counted at the same time.
In an optional implementation manner, whether the reader receives the target data sent by the transponder may be determined by the number of times the reader sends the start signal, and if the target data is not received yet when the number of times the reader sends the start signal reaches the target sending number, it may be determined that the target data cannot be received due to the fact that the resonant frequencies of the reader and the transponder are different, and at this time, it may be determined that the reader does not receive the target data sent by the transponder, and the resonant frequency of the reader may be adjusted among a plurality of preset frequencies.
For example, the target number of times may be 4, when the reader sends the start signal to the transponder 1 to 3 times, the reader may not receive the target data due to poor signal or incomplete start, and at this time, it cannot be determined that the temperature affects the resonant frequency of the transponder, and the reader cannot receive the target data sent by the transponder, and if the target data is not received by continuously sending the start signal for 4 times, it may be determined that the target data cannot be received due to the difference between the resonant frequencies of the reader and the transponder.
In another optional implementation manner, whether the target data sent by the transponder is received by the reader or not may be determined by determining whether the target data is received within a preset time period after the reader sends the start signal for the first time, the sending time is recorded when the reader sends the start signal to the transponder, and the target data is not received within the preset sending time period after the start signal is sent for the first time, which may be determined to be caused by different resonant frequencies of the reader and the transponder, and at this time, it may be determined that the target data sent by the transponder is not received by the reader, and the resonant frequency of the reader may be adjusted among a plurality of preset frequencies.
For example, the preset time duration may be 2s, when the reader sends the first start signal to the transponder, the reader may not receive the target data due to poor signal or incomplete start, and at this time, it cannot be determined that the temperature affects the resonant frequency of the transponder, so that the reader cannot receive the target data sent by the transponder, and the target data is not received until the sending time of the start signal reaches 2s in an accumulated manner, which may be determined that the target data is caused by different resonant frequencies of the reader and the transponder.
In order to improve the adaptation speed of the resonant frequency of the second wireless module and the resonant frequency of the first wireless module, optionally, in the device communication method provided in this embodiment of the application, adjusting the resonant frequency of the second wireless module among a plurality of preset frequencies until the second wireless module receives the target data includes: and adjusting the resonant frequency of the second wireless module among a plurality of preset frequencies according to a preset sequence until the second wireless module receives the target data.
Specifically, the second wireless module can be for reading the ware, first wireless module can be the transponder, after having confirmed that the ware can't receive the target data that the transponder sent, can adjust resonant frequency between a plurality of frequencies of predetermineeing according to predetermined order, wherein, predetermined frequency can be for the historical resonant frequency of transponder under abnormal temperature environment, predetermined order can be from high to low order for the number of times of appearance of historical resonant frequency, make the resonant frequency adaptation with the transponder that the resonant frequency of reading the ware can be more quick, thereby improve connection efficiency and the rate of accuracy between ware and the transponder.
For example, during the test phase, the resonant frequency of the transponder at normal temperature may be 13.56M, and the resonant frequency of the transponder measured at abnormal temperature is: 12.5M, the probability of occurrence is 30%, 12.3M, the probability of occurrence is 25%, 11.8M, and the probability of occurrence is 31%, the preset frequency may be 12.5M, 12.3M, 11.8M, and the preset order may be 11.8M, 12.5M, 12.3M.
It should be noted that, after the resonant frequency is adjusted for one period among the multiple preset frequencies according to the preset sequence, because there is a situation that the target data cannot be acquired due to an abnormal factor in one period, the embodiment may also adjust the resonant frequency for multiple periods, thereby improving the accuracy of the wireless connection between the reader and the transponder.
In order to improve the speed of adapting the resonant frequency of the second wireless module to the resonant frequency of the first wireless module, optionally, in the device communication method provided in this embodiment of the present application, adjusting the resonant frequency of the second wireless module between a plurality of preset frequencies until the second wireless module receives the target data includes: the resonant frequency is adjusted by subtracting the preset frequency value on the basis of the resonant frequency, and if the target data is received by the second wireless module before the first number of preset frequency values is subtracted on the basis of the resonant frequency, the adjustment of the resonant frequency is stopped, wherein the first number is determined by the number of the plurality of preset frequencies.
Specifically, since the resonant frequency of the resonant circuit is usually reduced due to the abnormal temperature, after it is determined that the reader cannot receive the target data transmitted by the transponder, the resonant frequency of the reader may be adjusted by subtracting a preset frequency value from the resonant frequency until the target data transmitted by the transponder is successfully acquired or the frequency value is reduced for the first time.
For example, the preset frequency value may be 13.56m × 2% =0.27M, when the reader continuously transmits a start signal 4 times and does not receive the target data for 4 times, the preset resonant frequency of the reader is decreased by 2%, that is, 0.27M, and is changed to 13.29M, and it is determined whether the target data is received, and the resonant frequency of the reader is continuously decreased by 2%, that is, 0.27M, until the target data is received, or the adjustment number reaches a first number, where the first number may be 5 times, that is, the target data is not received after the resonant frequency is decreased by 5 times, and it is determined that the reader cannot successfully receive the target data.
In order to improve the speed of adapting the resonant frequency of the second wireless module to the resonant frequency of the first wireless module, optionally, in the device communication method provided in this embodiment of the present application, adjusting the resonant frequency of the second wireless module between a plurality of preset frequencies until the second wireless module receives the target data includes: the resonant frequency is adjusted by increasing the preset frequency value on the basis of the resonant frequency, and if the second wireless module receives the target data before the second number of preset frequency values is increased on the basis of the resonant frequency, the adjustment of the resonant frequency is stopped, wherein the second number of times is determined by the number of the preset frequencies.
Specifically, since the resonant frequency of the resonant circuit is increased due to the abnormal temperature, after it is determined that the reader cannot receive the target data sent by the transponder, the resonant frequency of the reader can be adjusted in a manner of increasing a preset frequency value on the basis of the resonant frequency until the target data sent by the transponder is successfully acquired or the frequency value is increased for the first time.
For example, the preset frequency value may be 13.56m × 2% =0.27M, when the target data is not received when the reader continuously transmits 4 times of start signals, the resonant frequency of the reader is increased by 2%, that is, 0.27M, and changed to 13.29M, and whether the target data is received is determined, and when the target data is not received, the resonant frequency of the reader is continuously increased by 2%, that is, 0.27M, until the target data is received, or the adjustment number reaches a second number, where the second number may be 5, that is, when the target data is not received after the resonant frequency is increased by 5 times, it is determined that the target data cannot be successfully received.
In order to improve the speed of adapting the resonant frequency of the second wireless module to the resonant frequency of the first wireless module, optionally, in the device communication method provided in this embodiment of the present application, adjusting the resonant frequency of the second wireless module between a plurality of preset frequencies until the second wireless module receives the target data includes: adjusting the resonant frequency by subtracting the preset frequency value on the basis of the resonant frequency, and stopping adjusting the resonant frequency if the second wireless module receives the target data before the third preset frequency value is subtracted on the basis of the resonant frequency; if the second wireless module does not receive the target data after the third preset frequency value is decreased on the basis of the resonant frequency, adjusting the resonant frequency in a manner of increasing the preset frequency value on the basis of the resonant frequency; and stopping adjusting the resonant frequency if the second wireless module receives the target data before the fourth preset frequency value is increased progressively on the basis of the resonant frequency, wherein the sum of the third time and the fourth time is determined by the number of the preset frequencies.
Specifically, since the temperature abnormality usually causes a decrease in the resonant frequency of the resonant circuit, and there is also a case that the resonant frequency of the resonant circuit increases, after it is determined that the reader cannot receive the target data transmitted by the transponder, the frequency may be adjusted by subtracting a preset frequency value on the basis of the resonant frequency, and when the adjustment frequency reaches a third time and the target data cannot be successfully acquired, the resonant frequency of the reader may be adjusted by increasing the preset frequency value on the basis of the initial resonant frequency until the frequency value is increased to a fourth time. If the target data is not received all the time in the period, determining that the target data cannot be successfully received; and if the target data is successfully received, stopping the adjustment of the resonant frequency.
For example, the preset frequency value may be 13.56m × 2% =0.27M, when the reader continuously transmits 4 times of start signals and does not receive the target data for 4 times, the resonant frequency of the reader is reduced by 2%, that is, 0.27M, and is changed to 13.29M, and whether the target data is received is determined, and when the target data is not received, the resonant frequency of the reader is continuously reduced by 2%, that is, 0.27M, until the target data is received, or the adjustment number reaches a third number, where the third number may be 3 times, that is, the target data is not received after the resonant frequency is reduced by 3 times, and the resonant frequency is increased on the basis of the initial resonant frequency. Specifically, the resonant frequency of the reader may be increased by 2% on the basis of the preset resonant frequency, that is, 0.27M, until the target data is received, or the adjustment frequency reaches a fourth frequency, where the fourth frequency may be 4 times, that is, the target data is not received after the resonant frequency is increased by 4 times, and it is determined that the target data cannot be successfully received.
Optionally, in the device communication method provided in this embodiment of the present application, in a case that the second wireless module does not receive the target data sent by the first wireless module, the method further includes, after the second wireless module receives the target data, adjusting a resonant frequency of the second wireless module: and sending the received target data to the controller through the second wireless module.
Specifically, after receiving the target data, the reader sends the received target data to the controller, the controller determines a value of the target data and a receiving frequency of the target data, and can determine a state of the cover of the target device according to the value of the target data and the receiving frequency of the target data.
Optionally, in the device communication method provided in this embodiment of the present application, in a process of adjusting the resonant frequency of the second wireless module among a plurality of preset frequencies, if the second wireless module still does not receive the target data after traversing the plurality of preset frequencies, the second wireless module sends a prompt message to the controller, where the prompt message is used to prompt that the target device is in an uncapped state.
Specifically, after the resonant frequency of the reader is adjusted for multiple times, the target data cannot be obtained, it can be determined that the cover body of the target device is far away from the main body, and therefore the target data cannot be received, it can be determined that the current state of the cover body of the target device is an uncovering state, and prompt information is sent.
Optionally, in the device communication method provided in this embodiment of the present application, a cover of the target device is provided with a temperature detection device, the temperature detection device is connected to the first wireless module, and the first wireless module is configured to receive temperature data collected by the temperature detection device and send the temperature data as target data to the second wireless module.
Specifically, the second wireless module can be a reader and can be installed on a main body of the target device, the first wireless module can be a transponder and installed on the cover body, the state of the cover body of the target device is judged through the communication condition between the reader and the transponder, the target device can be cooking equipment, a temperature detection device can be further arranged on the cover body, the transponder sends and receives temperature data sent by the temperature detection device and sends the temperature data to the reader, the temperature of the cooking equipment influences the resonance frequency of a resonance circuit of the reader and the transponder, the resonance frequency of the reader and the adaptation of the transponder can be adjusted in the communication process, the reader can receive the temperature data, the reader sends the temperature data to the controller, the controller can obtain the temperature data, and the cover body state of the cooking equipment is determined according to the temperature data and the frequency of the received temperature data.
Fig. 2 is a flowchart of an alternative device communication method provided in an embodiment of the present application, and as shown in fig. 2, the method includes:
the wireless lower module is arranged on the main body of the target equipment and connected with a power supply, the wireless lower module continuously sends a starting instruction to the wireless upper module arranged on the cover body so as to supply power to the wireless upper module through the wireless coil, and the wireless upper module sends target data to the wireless lower module after being started.
Under the normal condition of temperature, send the start instruction for the first time after, wireless module can start and send temperature data to wireless module down through wireless coil, and wireless module down communicate according to initial resonant frequency on wireless, and wireless module down receives temperature data after, sends temperature data to the control panel through the serial ports.
In the case of abnormal temperature, the capacitance value becomes large because the temperature affects the capacitance parameter of the resonant circuit, and the capacitance value becomes small rapidly after the temperature exceeds the high temperature of the normal working range of the wireless upper module, and similarly, the capacitance value becomes small after the temperature is lower than the low temperature of the normal working range. According to the resonant frequency formula, the resonant frequency is changed due to the capacitance value change, and the resonant frequency of the wireless upper module is not close to the normal initial resonant frequency (13.56M), so that the wireless lower module cannot receive the temperature data of the wireless upper module.
At this time, the number of times of sending the start instruction may be counted, if the temperature data returned by the wireless upper module is received once within four times, it may be determined that the resonant frequency of the wireless upper module is unchanged, otherwise, if the temperature data returned by the wireless upper module is not received once, it is determined that the current temperature is abnormal, the resonant frequency of the wireless upper module is changed, and the resonant frequency of the wireless lower module needs to be changed, so as to implement the adaptation of the resonant frequencies of the wireless lower module and the wireless upper module.
Specifically, the interval of 13.56M ± 10% may be divided into 10 frequency points, for example, the resonant frequency of the wireless lower module is first adjusted in a sequentially decreasing manner, the resonant frequency of the wireless lower module is first adjusted to 13.56M-2%, that is, 13.29M, and it is determined whether data returned by the wireless upper module is received once within four times of sending the start instruction, if temperature data is received, the data is sent to the control board through the serial port of the wireless lower module, if temperature data is not received, the resonant frequency of the wireless lower module is adjusted again to 13.56M-4%, that is, 13.02M, and the previous steps are repeated again. If the wireless lower module cannot receive the target data at 10 points in the interval with the frequency of 13.56M +/-10%, at the moment, the wireless lower module sends prompt information to the controller to prompt that the target equipment is in an uncapped state.
Through this embodiment, the resonant frequency adaptation of module on the resonant frequency of module and the wireless adjustment module down for under the resonant frequency of module changes on the wireless, wireless module down also can be with module normal communication on the wireless, and then reached under the unusual circumstances of temperature module and wireless module down can normally carry out data transmission's effect.
It should be noted that the steps illustrated in the flowcharts of the figures may be performed in a computer system such as a set of computer-executable instructions and that, although a logical order is illustrated in the flowcharts, in some cases, the steps illustrated or described may be performed in an order different than here.
The embodiment of the present application further provides a device communication apparatus, and it should be noted that the device communication apparatus in the embodiment of the present application may be used to execute the method for device communication provided in the embodiment of the present application. The following describes a device communication apparatus provided in an embodiment of the present application.
Fig. 3 is a schematic diagram of a device communication apparatus provided according to an embodiment of the present application. As shown in fig. 3, the apparatus includes: a first sending unit 31 and an adjusting unit 32.
The first sending unit 31 is configured to send a start signal to the first wireless module through the second wireless module, and determine whether the second wireless module receives target data sent by the first wireless module, where the second wireless module is disposed on the main body of the target device, the first wireless module is disposed on the cover of the target device, and the first wireless module sends the target data to the second wireless module after being started.
The adjusting unit 32 is configured to adjust the resonant frequency of the second wireless module among a plurality of preset frequencies until the second wireless module receives the target data, or until the second wireless module finishes traversing the plurality of preset frequencies, when the second wireless module does not receive the target data sent by the first wireless module.
In the device communication apparatus provided in the embodiment of the present application, the first sending unit 31 sends a start signal to the first wireless module through the second wireless module, and determines whether the second wireless module receives target data sent by the first wireless module, where the second wireless module is disposed on a main body of the target device, the first wireless module is disposed on a cover of the target device, and the first wireless module sends the target data to the second wireless module after being started. The adjusting unit 32 adjusts the resonant frequency of the second wireless module among a plurality of preset frequencies when the second wireless module does not receive the target data sent by the first wireless module, until the second wireless module receives the target data, or until the second wireless module finishes traversing the plurality of preset frequencies. The problem that different wireless modules cannot transmit data through a radio frequency identification technology due to the influence of temperature in the related technology is solved. Through adjusting the resonant frequency adaptation of the second wireless module and the resonant frequency adaptation of the first wireless module, the second wireless module can also normally communicate with the first wireless module under the condition that the resonant frequency of the first wireless module changes, and then the effect that the second wireless module and the first wireless module can normally transmit data under the condition that the temperature is abnormal is achieved.
Optionally, in the device communication apparatus provided in the embodiment of the present application, the first sending unit 31 includes: the first sending module is used for sending a starting signal to the first wireless module through the second wireless module according to a preset time interval and judging whether the second wireless module receives target data or not when the sending times of the starting signal reach the target times; the first determining module is used for determining that the second wireless module does not receive the target data sent by the first wireless module under the condition that the second wireless module does not receive the target data when the sending times of the starting signal reach the target times; the second sending module is used for sending a starting signal to the first wireless module through the second wireless module according to a preset time interval and judging whether the second wireless module receives target data within a preset time length after the starting signal is sent for the first time; and the second determining module is used for determining that the second wireless module does not receive the target data sent by the first wireless module under the condition that the second wireless module does not receive the target data within the preset time length.
Optionally, in the device communication apparatus provided in the embodiment of the present application, the adjusting unit 32 includes: the first adjusting module is used for adjusting the resonant frequency of the second wireless module among a plurality of preset frequencies according to a preset sequence until the second wireless module receives the target data.
Optionally, in the device communication apparatus provided in the embodiment of the present application, the adjusting unit 32 includes: and the second adjusting module is used for adjusting the resonant frequency in a mode of subtracting the preset frequency value from the resonant frequency, and stopping adjusting the resonant frequency if the second wireless module receives the target data before the first-time preset frequency value is subtracted from the resonant frequency, wherein the first time is determined by the number of the preset frequencies.
Optionally, in the device communication apparatus provided in the embodiment of the present application, the adjusting unit 32 includes: and the third adjusting module is used for adjusting the resonant frequency in a mode of increasing the preset frequency value on the basis of the resonant frequency, and stopping adjusting the resonant frequency if the second wireless module receives the target data before the preset frequency value is increased by a second number on the basis of the resonant frequency, wherein the second number is determined by the number of the preset frequencies.
Optionally, in the device communication apparatus provided in the embodiment of the present application, the adjusting unit 32 includes: the fourth adjusting module is used for adjusting the resonant frequency in a mode of subtracting the preset frequency value from the resonant frequency, and if the target data is received by the second wireless module before the third preset frequency value is subtracted from the resonant frequency, the adjustment of the resonant frequency is stopped; an increasing module, configured to adjust the resonant frequency by increasing the preset frequency value on the basis of the resonant frequency if the second wireless module does not receive the target data after the third preset frequency value is decreased on the basis of the resonant frequency; and the stopping module is used for stopping the adjustment of the resonant frequency if the second wireless module receives the target data before the fourth preset frequency value is increased progressively on the basis of the resonant frequency, wherein the sum of the third frequency and the fourth frequency is determined by the number of the plurality of preset frequencies.
Optionally, in the device communication apparatus provided in the embodiment of the present application, the apparatus further includes: and the second sending unit is used for sending the received target data to the controller through the second wireless module.
Optionally, in the device communication apparatus provided in this embodiment of the present application, in a process of adjusting the resonant frequency of the second wireless module among a plurality of preset frequencies, if the second wireless module still does not receive the target data after traversing the plurality of preset frequencies, the second wireless module sends a prompt message to the controller, where the prompt message is used to prompt that the target device is in an uncapped state.
Optionally, in the device communication apparatus provided in this embodiment of the present application, a cover of the target device is provided with a temperature detection device, the temperature detection device is connected to the first wireless module, and the first wireless module is configured to receive temperature data acquired by the temperature detection device and send the temperature data to the second wireless module as target data.
The device communication apparatus includes a processor and a memory, the first sending unit 31, the adjusting unit 32, and the like are stored in the memory as program units, and the processor executes the program units stored in the memory to implement corresponding functions.
The processor comprises a kernel, and the kernel calls the corresponding program unit from the memory. One or more than one kernel can be set, and the problem that different wireless modules cannot transmit data through the radio frequency identification technology due to the influence of temperature in the related technology is solved by adjusting kernel parameters.
The memory may include volatile memory in a computer readable medium, random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM), including at least one memory chip.
An embodiment of the present invention provides a computer-readable storage medium on which a program is stored, which, when executed by a processor, implements the device communication method.
The embodiment of the invention provides an electronic device, which comprises a processor, a memory and a program which is stored on the memory and can run on the processor, wherein the processor executes the program and realizes the following steps: sending a starting signal to a first wireless module through a second wireless module, and judging whether the second wireless module receives target data sent by the first wireless module, wherein the second wireless module is arranged on a main body of target equipment, the first wireless module is arranged on a cover body of the target equipment, and the first wireless module sends the target data to the second wireless module after being started; and under the condition that the second wireless module does not receive the target data sent by the first wireless module, adjusting the resonant frequency of the second wireless module among a plurality of preset frequencies until the second wireless module receives the target data, or until the traversal finishes the plurality of preset frequencies. The device herein may be a server, a PC, a PAD, a mobile phone, etc.
The present application further provides a computer program product adapted to perform a program for initializing the following method steps when executed on a data processing device: sending a starting signal to a first wireless module through a second wireless module, and judging whether the second wireless module receives target data sent by the first wireless module, wherein the second wireless module is arranged on a main body of target equipment, the first wireless module is arranged on a cover body of the target equipment, and the first wireless module sends the target data to the second wireless module after being started; and under the condition that the second wireless module does not receive the target data sent by the first wireless module, adjusting the resonant frequency of the second wireless module among a plurality of preset frequencies until the second wireless module receives the target data, or until the traversal finishes the plurality of preset frequencies.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). The memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising a … …" does not exclude the presence of another identical element in a process, method, article, or apparatus that comprises the element.
The above are merely examples of the present application and are not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement or the like made within the spirit and principle of the present application shall be included in the scope of the claims of the present application.
Claims (12)
1. A method of device communication, comprising:
sending a starting signal to a first wireless module through a second wireless module, and judging whether the second wireless module receives target data sent by the first wireless module, wherein the second wireless module is arranged on a main body of target equipment, the first wireless module is arranged on a cover body of the target equipment, and the first wireless module sends the target data to the second wireless module after being started;
and under the condition that the second wireless module does not receive the target data sent by the first wireless module, adjusting the resonant frequency of the second wireless module among a plurality of preset frequencies until the second wireless module receives the target data or the plurality of preset frequencies are traversed.
2. The method of claim 1, wherein sending a start signal to a first wireless module via a second wireless module, and determining whether the second wireless module receives target data sent by the first wireless module comprises:
sending the starting signal to the first wireless module through the second wireless module according to a preset time interval, and judging whether the second wireless module receives the target data when the sending times of the starting signal reach the target times;
when the number of times of sending the starting signal reaches the target number of times and the second wireless module does not receive the target data, determining that the second wireless module does not receive the target data sent by the first wireless module; or
Sending the starting signal to the first wireless module through the second wireless module according to the preset time interval, and judging whether the second wireless module receives the target data within a preset time length after the starting signal is sent for the first time;
and under the condition that the second wireless module does not receive the target data within the preset time length, determining that the second wireless module does not receive the target data sent by the first wireless module.
3. The method of claim 1, wherein adjusting the resonant frequency of the second wireless module between a plurality of preset frequencies until the second wireless module receives the target data comprises:
and adjusting the resonant frequency of the second wireless module among the plurality of preset frequencies according to a preset sequence until the second wireless module receives the target data.
4. The method of claim 1, wherein adjusting the resonant frequency of the second wireless module between a plurality of preset frequencies until the second wireless module receives the target data comprises:
adjusting the resonant frequency by subtracting a preset frequency value from the resonant frequency, and stopping adjusting the resonant frequency if the second wireless module receives the target data before the preset frequency value is decreased by a first number on the basis of the resonant frequency, wherein the first number is determined by the number of the preset frequencies.
5. The method of claim 1, wherein adjusting the resonant frequency of the second wireless module between a plurality of preset frequencies until the second wireless module receives the target data comprises:
adjusting the resonant frequency by increasing a preset frequency value on the basis of the resonant frequency, and stopping adjusting the resonant frequency if the second wireless module receives the target data before increasing the preset frequency value by a second number on the basis of the resonant frequency, wherein the second number is determined by the number of the preset frequencies.
6. The method of claim 1, wherein adjusting the resonant frequency of the second wireless module between a plurality of preset frequencies until the second wireless module receives the target data comprises:
adjusting the resonant frequency by subtracting a preset frequency value from the resonant frequency, and stopping adjusting the resonant frequency if the second wireless module receives the target data before the preset frequency value is subtracted by a third time from the resonant frequency;
if the target data is not received by the second wireless module after the preset frequency value is decreased for the third time on the basis of the resonant frequency, adjusting the resonant frequency in a manner of increasing the preset frequency value on the basis of the resonant frequency;
and stopping adjusting the resonant frequency if the second wireless module receives the target data before the fourth preset frequency value is increased on the basis of the resonant frequency, wherein the sum of the third frequency and the fourth frequency is determined by the number of the preset frequencies.
7. The method of claim 1, wherein in a case that the target data sent by the first wireless module is not received by the second wireless module, the method further comprises adjusting a resonant frequency of the second wireless module until after the target data is received by the second wireless module:
and sending the received target data to a controller through the second wireless module.
8. The method according to claim 1, wherein in a process of adjusting the resonant frequency of the second wireless module among a plurality of preset frequencies, if the target data is not received by the second wireless module after traversing the plurality of preset frequencies, a prompt message is sent to a controller through the second wireless module, wherein the prompt message is used for prompting that the target device is in an uncapped state.
9. The method according to claim 1, wherein a temperature detection device is disposed on a cover of the target device, the temperature detection device is connected to the first wireless module, and the first wireless module is configured to receive temperature data collected by the temperature detection device and send the temperature data as the target data to the second wireless module.
10. An apparatus communication device, comprising:
the first sending unit is used for sending a starting signal to a first wireless module through a second wireless module and judging whether the second wireless module receives target data sent by the first wireless module, wherein the second wireless module is arranged on a main body of target equipment, the first wireless module is arranged on a cover body of the target equipment, and the first wireless module sends the target data to the second wireless module after being started;
the adjusting unit is configured to adjust the resonant frequency of the second wireless module between a plurality of preset frequencies until the second wireless module receives the target data, or until the second wireless module finishes traversing the plurality of preset frequencies, when the second wireless module does not receive the target data sent by the first wireless module.
11. A computer storage medium for storing a program, wherein the program when executed controls an apparatus in which the computer storage medium is located to perform the apparatus communication method according to any one of claims 1 to 9.
12. An electronic device comprising a processor and a memory, the memory having stored thereon computer-readable instructions, the processor being configured to execute the computer-readable instructions, wherein the computer-readable instructions are configured to execute the method of communicating between devices according to any one of claims 1 to 9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210346899.7A CN115242269B (en) | 2022-04-02 | 2022-04-02 | Device communication method, device communication apparatus, storage medium, and electronic apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210346899.7A CN115242269B (en) | 2022-04-02 | 2022-04-02 | Device communication method, device communication apparatus, storage medium, and electronic apparatus |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115242269A true CN115242269A (en) | 2022-10-25 |
CN115242269B CN115242269B (en) | 2024-04-16 |
Family
ID=83668475
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210346899.7A Active CN115242269B (en) | 2022-04-02 | 2022-04-02 | Device communication method, device communication apparatus, storage medium, and electronic apparatus |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115242269B (en) |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004356765A (en) * | 2003-05-27 | 2004-12-16 | Matsushita Electric Ind Co Ltd | Resonance frequency adjustment apparatus, non-contact reader / writer, and non-contact data carrier system |
WO2008065003A1 (en) * | 2006-11-27 | 2008-06-05 | Rumitag, S.L. | Electronic device for radio frequency identification and method for adjusting the resonance frequency of said electronic device |
CN105027434A (en) * | 2013-02-22 | 2015-11-04 | 迪睿合电子材料有限公司 | Variable capacitance circuit, variable capacitance device, resonant circuit, amplifying circuit, and electronic apparatus |
CN108011617A (en) * | 2016-10-27 | 2018-05-08 | 迈来芯电子科技有限公司 | Method and drive circuit for resonant-line circuit |
CN108055089A (en) * | 2017-12-14 | 2018-05-18 | 中兴通讯股份有限公司 | The working frequency of NFC device determines method and device |
CN109428631A (en) * | 2017-09-01 | 2019-03-05 | 恩智浦有限公司 | System for using system information calibration phase |
CN110971273A (en) * | 2019-11-28 | 2020-04-07 | Oppo广东移动通信有限公司 | Information processing method and device, electronic equipment and storage medium |
CN112152675A (en) * | 2020-09-28 | 2020-12-29 | 维沃移动通信有限公司 | NFC antenna resonant frequency adjusting circuit, electronic equipment and calibration method |
CN113049879A (en) * | 2019-12-26 | 2021-06-29 | 三星电子株式会社 | Near field communication device and method for detecting resonant frequency thereof |
CN113300664A (en) * | 2020-02-21 | 2021-08-24 | 北京小米移动软件有限公司 | Method, device and medium for determining motor driving signal |
CN114024579A (en) * | 2021-11-03 | 2022-02-08 | Oppo广东移动通信有限公司 | Method, device, chip, terminal and readable storage medium for adjusting resonant frequency |
-
2022
- 2022-04-02 CN CN202210346899.7A patent/CN115242269B/en active Active
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004356765A (en) * | 2003-05-27 | 2004-12-16 | Matsushita Electric Ind Co Ltd | Resonance frequency adjustment apparatus, non-contact reader / writer, and non-contact data carrier system |
WO2008065003A1 (en) * | 2006-11-27 | 2008-06-05 | Rumitag, S.L. | Electronic device for radio frequency identification and method for adjusting the resonance frequency of said electronic device |
CN105027434A (en) * | 2013-02-22 | 2015-11-04 | 迪睿合电子材料有限公司 | Variable capacitance circuit, variable capacitance device, resonant circuit, amplifying circuit, and electronic apparatus |
CN108011617A (en) * | 2016-10-27 | 2018-05-08 | 迈来芯电子科技有限公司 | Method and drive circuit for resonant-line circuit |
CN109428631A (en) * | 2017-09-01 | 2019-03-05 | 恩智浦有限公司 | System for using system information calibration phase |
CN108055089A (en) * | 2017-12-14 | 2018-05-18 | 中兴通讯股份有限公司 | The working frequency of NFC device determines method and device |
CN110971273A (en) * | 2019-11-28 | 2020-04-07 | Oppo广东移动通信有限公司 | Information processing method and device, electronic equipment and storage medium |
CN113049879A (en) * | 2019-12-26 | 2021-06-29 | 三星电子株式会社 | Near field communication device and method for detecting resonant frequency thereof |
CN113300664A (en) * | 2020-02-21 | 2021-08-24 | 北京小米移动软件有限公司 | Method, device and medium for determining motor driving signal |
CN112152675A (en) * | 2020-09-28 | 2020-12-29 | 维沃移动通信有限公司 | NFC antenna resonant frequency adjusting circuit, electronic equipment and calibration method |
CN114024579A (en) * | 2021-11-03 | 2022-02-08 | Oppo广东移动通信有限公司 | Method, device, chip, terminal and readable storage medium for adjusting resonant frequency |
Also Published As
Publication number | Publication date |
---|---|
CN115242269B (en) | 2024-04-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112114876B (en) | Equipment control method, system, electronic equipment and storage medium | |
CN108111672B (en) | Anti-jamming method, electronic device, and computer-readable storage medium | |
CN104718534A (en) | Method for preemptively restarting software in a multisubsystem mobile communication device to increase mean time between failures | |
EP2779021A2 (en) | Autonomous tuning method to improve radio frequency performance | |
US20170017874A1 (en) | Radio frequency identification (rfid) reader with frequency adjustment of continuous radio frequency (rf) wave | |
CN115242269A (en) | Device communication method, device, storage medium, and electronic apparatus | |
US10373037B2 (en) | RFID transponder, RFID transponder arrangement and method for communication between an RFID transponder and a reading device | |
CN113189664B (en) | Object placing state detection method and device | |
CN111181957B (en) | Internet of things equipment security verification method and system and central control equipment | |
CN110763935A (en) | Anti-interference test method and test system | |
CN107623526B (en) | A kind of method and communication terminal adjusting antenna receiving sensitivity | |
CN117593464A (en) | Construction method and system of electric power digital twin model library | |
CN114747948B (en) | Method and system for judging equipment state, storage medium and electronic device | |
CN115081562B (en) | Equipment state judging method and device, storage medium and electronic device | |
CN113780017A (en) | Near field communication triggering method and device, electronic equipment and storage medium | |
CN108076220B (en) | Anti-jamming method, electronic device, and computer-readable storage medium | |
CN116545860B (en) | Calibration data reading method and device, storage medium and electronic equipment | |
CN115225166A (en) | Anti-interference method, terminal and storage medium | |
EP3032777A1 (en) | Reliability management of green transmission interfaces | |
CN111310877B (en) | Asset monitoring method, equipment and storage medium | |
CN113709591B (en) | Ad hoc network data transmission method and system for transformer substation radio frequency sensor | |
CN116406952A (en) | Equipment state judging method and device, storage medium and electronic device | |
CN116456443A (en) | Communication method, communication device, computer storage medium and electronic device | |
CN113608109B (en) | Wireless product time-sharing frequency division test method and system | |
CN117676929A (en) | Time interval determining method and device, storage medium and electronic equipment |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |