CN113259863B - Take bluetooth adapter of NFC function - Google Patents

Take bluetooth adapter of NFC function Download PDF

Info

Publication number
CN113259863B
CN113259863B CN202110697449.8A CN202110697449A CN113259863B CN 113259863 B CN113259863 B CN 113259863B CN 202110697449 A CN202110697449 A CN 202110697449A CN 113259863 B CN113259863 B CN 113259863B
Authority
CN
China
Prior art keywords
module
data
terminal
length
transmitted
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.)
Active
Application number
CN202110697449.8A
Other languages
Chinese (zh)
Other versions
CN113259863A (en
Inventor
杨晓飞
王国政
唐艳波
于海利
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Zhize Technology Co ltd
Beijing Xiangdong Intelligent Technology Co ltd
Original Assignee
Shenzhen Zhize Technology Co ltd
Beijing Xiangdong Intelligent Technology Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shenzhen Zhize Technology Co ltd, Beijing Xiangdong Intelligent Technology Co ltd filed Critical Shenzhen Zhize Technology Co ltd
Priority to CN202110697449.8A priority Critical patent/CN113259863B/en
Publication of CN113259863A publication Critical patent/CN113259863A/en
Application granted granted Critical
Publication of CN113259863B publication Critical patent/CN113259863B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
    • H04B5/72
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup

Abstract

The invention relates to a Bluetooth adapter with an NFC function, which comprises a broadcast module, a connection module and a control module, wherein the broadcast module is used for sending a broadcast message, and the broadcast message comprises a connection request; the first receiving module is used for receiving feedback information, wherein the feedback information is the time node of each terminal to be received receiving the broadcast message and the identity information of the terminal to be connected; the processing module selects a pre-connection terminal according to the identity information in the feedback message; a creation module that creates a channel between the pre-connection terminal and the processing module; the transmission module is used for transmitting the information to be transmitted of the pre-connection terminal to the processing module through the channel; and the second receiving module is used for receiving the compensation data of the cloud so as to ensure that the information to be transmitted is complete. And determining the data length to be transmitted at the cloud end and the signal strength to be compensated according to the standard signal strength and the standard data loss rate preset in the processing module, and retransmitting the lost data length through the cloud end so that the second receiving module receives complete information to be transmitted.

Description

Take bluetooth adapter of NFC function
Technical Field
The invention relates to the field of data transmission, in particular to a Bluetooth adapter with an NFC function.
Background
Bluetooth (Bluetooth) is one of the wireless network transmission technologies originally used to replace infrared. Compared with the infrared technology, the Bluetooth can transmit data without alignment, and the transmission distance is less than 10 meters (the infrared transmission distance is within a few meters). With the help of the signal amplifier, the communication distance can even reach about 100 meters. The bluetooth technology is very suitable for digital devices with low power consumption to share data with each other, such as mobile phones, palm computers and the like.
Whereas Near Field Communication (NFC) is a short range high frequency radio technology operating within a distance of 20 cm at a frequency of 13.56 MHz. Therefore, generally, after a connection request is initiated within a certain distance, a device initiating the connection request is manually selected, a connection request is responded, manual connection between two devices is realized, and data can be transmitted and shared after connection is established.
Disclosure of Invention
Therefore, the invention provides the Bluetooth adapter with the NFC function, which can solve the problem of information transmission after second break in the communication process.
In order to achieve the above object, the present invention provides a bluetooth adapter with NFC function, including:
the system comprises a broadcast module, a connection request module and a connection request module, wherein the broadcast module is used for sending a broadcast message to a terminal to be connected within a preset communication range, and the broadcast message comprises the connection request;
the first receiving module is used for receiving feedback information returned by each terminal to be connected, wherein the feedback information is the time node of each terminal to be received receiving the broadcast message and the identity information of the terminal to be connected;
the processing module selects a pre-connection terminal according to the identity information in the feedback message;
a creation module; creating a channel between the pre-connection terminal and the processing module;
the transmission module is used for transmitting the information to be transmitted of the pre-connection terminal to the processing module through the channel by the pre-connection terminal;
in the working process of a transmission module, if the position of a pre-connection terminal is not in a preset communication range in the transmission process, determining the signal intensity and the data loss rate of information to be transmitted in the transportation process;
the standard signal intensity and the standard data loss rate are preset in the processing module;
if the signal intensity in the transportation process is smaller than the standard signal intensity, compensating the signal intensity according to the data to be transmitted which is backed up at the cloud end, and determining the length of the data acquired from the cloud end according to the length of the data to be transmitted and the data loss rate;
and the second receiving module is used for receiving the compensation data of the cloud so as to ensure that the information to be transmitted is complete.
Further, compensating the signal intensity according to the data to be transmitted backed up at the cloud, and determining the length of the data acquired from the cloud according to the length of the data to be transmitted and the data loss rate includes:
acquiring the average signal intensity of data to be transmitted, and if the signal intensity of the data received by the first receiving unit is lower than the average signal intensity, compensating the signal intensity of the received data so that the real-time intensity of the received data signal is larger than or equal to the average signal intensity; adjusting the standard data loss rate according to the intensity difference value to be compensated so as to determine the data length to be retransmitted continuously;
if the length of the data to be transmitted is N in the transmission process of the transmission module, if the length of the data received by the processing module is greater than 80% multiplied by N, retransmission is not needed;
if the length of the data received by the processing module is less than or equal to 80% multiplied by N, the data with a certain length needs to be selected from the cloud end to be continuously retransmitted so as to finish the transmission of the compensation data.
Further, the selecting a certain length of data from the cloud end to continue retransmission comprises:
when the length of the data received by the processing module is less than or equal to 80% multiplied by N, and in the data transmission process, determining a data structure adopted by the data, and selecting a start point and a stop point of the data with a certain length according to different adopted data structures;
the data structure is data to be transmitted plus a secret key, actual data loss rate multiplied by the length of the data to be transmitted is taken as first interval data, and data with the length equal to the length of the first interval data subtracted from the head of the data to be transmitted is taken as first compensation data to be retransmitted;
and if the adopted data structure is the key and the data to be transmitted, taking the actual data loss rate multiplied by the data length to be transmitted as second interval data, and taking the data obtained by subtracting the data length equal to the second interval data length from the data head in the data to be transmitted as second compensation data for retransmission.
Furthermore, when a transmission channel between the terminal to be connected and the processing module is established, the terminal to be connected and the position are determined according to the time node receiving the broadcast message;
if the received time node is prior, the distance between the terminal to be connected and the adapter is short;
if the received time node is later, the distance between the terminal to be connected and the adapter is far;
estimating the transmission interruption probability of each terminal to be transmitted according to the time node receiving the broadcast information;
a time node list is arranged in the processing module and is sorted according to the sequence;
after the pre-connection terminal is determined, determining the corresponding transmission interruption probability according to the time node in the pre-connection terminal;
a first probability R1, a second probability R2 and a third probability R3 are arranged in the processing unit, and R1> R2> R3;
setting a standard range by taking the broadcasting module as a center, wherein the standard range comprises an upper limit boundary and a lower limit boundary, and if the position of the terminal to be connected is located in the standard range, selecting the terminal probability of the connected terminal as a second probability; if the position of the connection terminal is located outside the upper limit boundary of the standard range, the interruption probability of the terminal to be connected is represented as a third probability;
and if the position of the connection terminal is within the lower limit boundary of the standard range, the interruption probability of the terminal to be connected is a first probability.
Further, a feedback information sending matrix S (fi, Ri) is arranged in the processing unit, wherein fi represents the sending frequency of the feedback information, Ri represents the ith probability of the terminal to be connected, and i =1, 2, 3;
determining the sending frequency of the feedback information according to the feedback information sending matrix in the processing unit and the interruption probability of the terminal to be connected;
if the interruption probability of the terminal to be connected is the first probability R1, setting the sending frequency of the feedback information of the connected terminal as f 1;
if the interruption probability of the terminal to be connected is the second probability R2, setting the sending frequency of the feedback information of the connected terminal as f 2;
if the outage probability of the terminal to be connected is the third probability R3, the transmission frequency of the feedback information of the connected terminal is set to f 3.
The system further comprises a charging module, wherein the charging module is respectively connected with the broadcasting module, the first receiving module, the processing module, the creating module, the transmission module and the second receiving module and used for supplying power to the modules.
Further, still include: and the power supply management module is connected with the charging module and used for distributing the power supply time of the broadcasting module, the first receiving module, the processing module, the creating module, the transmission module and the second receiving module in different time periods.
Further, a duration matrix T (T1, T2, T3, T4, T5, T6) is arranged in the power management module, where T1 represents a power supply duration of the broadcast module, T2 represents a power supply duration of the first receiving module, T3 represents a power supply duration of the processing module, T4 represents a power supply duration of the creating module, T5 represents a power supply duration of the transmission module, and T6 represents a power supply duration of the second receiving module.
Furthermore, the power supply time of the creation module and the power supply time of the transmission module are corrected according to the network state, and if the network state is good, the time for creating the channel is short, so that the power supply time of the creation module is shortened;
if the network state is poor, the time for creating the channel is long, so that the power supply time of the creating module is prolonged;
similarly, if the network state is good, the transmission speed of the transmission module is fast, so that the power supply time of the transmission module is shortened;
if the network state is poor, the transmission speed of the transmission module is slow, so that the power supply time of the transmission module is prolonged.
Further, a standard wire speed is preset, if the wire speed v of the current network is greater than the standard wire speed v0 and | v-v0| > v0, the power supply time length T4 of the creation module is shortened to T4 '= 1/2 × T4, and the power supply time length T5 of the transmission module is shortened to T5' =1/2 × T5;
if the network speed v of the current network is less than or equal to the standard network speed v0 and | v0-v | > v0, the power supply time length T4 of the creation module is prolonged to T4 '= 3/2 × T4, and the power supply time length T5 of the transmission module is prolonged to T5' =3/2 × T5;
if the | v-v0| ≦ v0 or the | v0-v | ≦ v0, the power supply time length does not need to be adjusted.
Compared with the prior art, the method has the advantages that the connection request is sent to the terminal to be connected in the communication range through the broadcast message, after the terminal to be connected receives the broadcast message of the connection request, the feedback message is sent in response to the connection request, the feedback message comprises the time of the broadcast message received by the terminal and the identity information of the terminal, the identity information in the feedback message received by the processing module is used for selecting the terminal to be connected, the data transmission is carried out after the terminal to be connected is connected, the time that the terminal to be connected is not in the preset communication range is determined, the signal intensity and the data loss rate of the information to be transmitted in the transmission process are determined, then the data length to be transmitted in the cloud and the signal intensity to be compensated are determined according to the standard signal intensity and the standard data loss rate which are preset in the processing module, and retransmitting the lost data length through the cloud end, so that the second receiving module receives complete information to be transmitted.
Particularly, the signal strength of the received transmission data is compensated through the average strength of the signal to be transmitted, so that the signal strength received by the processing module is not lower than the average strength of the data to be transmitted, the signal strength of the data to be transmitted is ensured, and the data length needing to be retransmitted is determined according to the comparison between the actual data length and the received data length, so that the received data is compensated, and the integrity of the data to be transmitted is realized.
Particularly, the starting point and the ending point of the compensation data are determined through the data structure of the transmission data, so that the re-transmitted data are re-determined, the determination of the data length of the compensation data is more accurate, and the accuracy of the compensation data is improved.
Particularly, the area which can be communicated in the near field range is divided by setting the standard range, so that the interruption probability of the terminal to be connected in the near field communication range is determined, the effective supervision in the communication range is realized, and the accuracy of determining the compensation data is improved.
Particularly, the interruption probability is determined according to the position of the terminal to be connected, and the interruption probability means that the mobile terminal is out of the near field communication range in the motion process, so that the mobile terminal cannot receive the broadcast message, when the broadcast message cannot be received, the feedback information cannot be sent, and further the first receiving unit cannot receive the feedback message, so that the fact that the terminal to be connected is out of the near field communication range is indicated when the feedback message cannot be received in the preset frequency, at this time, the compensation information needs to be determined and retransmitted, so that the adapter acquires complete information to be transmitted, the time for being out of the near field communication range is determined in time through setting of the sending frequency of the feedback information, the determination of the compensation information is more accurate, and the communication efficiency is improved.
Particularly, the broadcasting module, the first receiving module, the processing module, the creating module, the transmission module and the second receiving module are respectively powered by the charging module, so that the running state of each module is ensured, the sufficient power supply of each module is ensured, and the condition that the broadcasting, receiving, processing, creating, transmitting and the like cannot be carried out due to the running interruption of the adapter caused by the power failure of any module is effectively prevented.
Particularly, the duration matrix T is arranged in the power management module, and the power supply duration of each module is accurately controlled in the actual working process, so that the sufficiency of the power supply is ensured in the running process of each module, the stability of the working state is maintained, and the running efficiency is improved.
Particularly, by monitoring the network state, if the current network state is good, the speed of channel creation and data transmission is fast, the working time of each module can be reduced, and at the moment, the power supply time of the creation module and the power supply time of the transmission module are shortened, so that the supply of electric energy is stopped when the channel creation is finished and the information transmission is finished, the excessive waste of the electric energy is prevented, and the utilization rate of the electric energy is improved.
Especially, through setting up the standard net speed to according to the relation of present net speed and predetermined standard net speed, confirm the dynamics of lengthening and shortening power supply duration, make more accurate to the determination of power supply duration, improve the rational distribution to the electric energy, improve the utilization ratio of electric energy, and then further improve bluetooth adapter's life.
Drawings
Fig. 1 is a schematic structural diagram of a bluetooth adapter with an NFC function according to an embodiment of the present invention.
Detailed Description
In order that the objects and advantages of the invention will be more clearly understood, the invention is further described below with reference to examples; it should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Preferred embodiments of the present invention are described below with reference to the accompanying drawings. It should be understood by those skilled in the art that these embodiments are only for explaining the technical principle of the present invention, and do not limit the scope of the present invention.
It should be noted that in the description of the present invention, the terms of direction or positional relationship indicated by the terms "upper", "lower", "left", "right", "inner", "outer", etc. are based on the directions or positional relationships shown in the drawings, which are only for convenience of description, and do not indicate or imply that the device or element must have a specific orientation, be constructed in a specific orientation, and be operated, and thus, should not be construed as limiting the present invention.
Furthermore, it should be noted that, in the description of the present invention, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, and may be, for example, fixedly connected, detachably connected, or integrally connected; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
Referring to fig. 1, a bluetooth adapter with NFC function according to an embodiment of the present invention includes:
the system comprises a broadcast module 10, a connection request module and a connection module, wherein the broadcast module is used for sending a broadcast message to a terminal to be connected within a preset communication range, and the broadcast message comprises the connection request;
the first receiving module 20 is configured to receive feedback information returned by each terminal to be connected, where the feedback information is information of a time node at which each terminal to be received receives the broadcast message and an identity of the terminal to be connected;
the processing module 30 selects a pre-connection terminal according to the identity information in the feedback message;
a creation module 40 that creates a channel between the pre-connection terminal and the processing module;
the transmission module 50 is used for transmitting the information to be transmitted of the pre-connection terminal from the pre-connection terminal to the processing module through the channel;
in the working process of a transmission module, if the position of a pre-connection terminal is not in a preset communication range in the transmission process, determining the signal intensity and the data loss rate of information to be transmitted in the transmission process;
the standard signal intensity and the standard data loss rate are preset in the processing module;
if the signal intensity in the transmission process is smaller than the standard signal intensity, compensating the signal intensity according to the data to be transmitted which is backed up at the cloud end, and determining the length of the compensation data acquired from the cloud end according to the length of the data to be transmitted and the data loss rate;
the second receiving module 60 receives the compensation data of the cloud end, so that the information to be transmitted is complete.
Specifically, the embodiment of the present invention sends a connection request to a terminal to be connected in a communication range through a broadcast message, after the terminal to be connected receives the broadcast message of the connection request, a feedback message is sent in response to the connection request, where the feedback message includes the time of the broadcast message received by the terminal and the identity information of the terminal, so that the identity information in the feedback message received by a processing module selects the terminal to be connected, data transmission is performed after the terminal to be connected is connected, the time when the terminal to be connected is not in the preset communication range is determined, the signal strength and the data loss rate of the information to be transmitted in the transmission process are determined, and then the data length to be transmitted in a cloud and the signal strength to be compensated are determined according to the standard signal strength and the standard data loss rate preset in the processing module, and retransmitting the lost data length through the cloud end, so that the second receiving module receives complete information to be transmitted.
Specifically, the compensating the signal strength according to the data to be transmitted backed up at the cloud, and determining the length of the data acquired from the cloud according to the length of the data to be transmitted and the data loss rate includes:
acquiring the average signal intensity of data to be transmitted, and if the signal intensity of the data received by the first receiving unit is lower than the average signal intensity, compensating the signal intensity of the received data so that the real-time intensity of the received data signal is larger than or equal to the average signal intensity; adjusting the standard data loss rate according to the intensity difference value to be compensated so as to determine the data length to be retransmitted continuously;
if the length of the data to be transmitted is N in the transmission process of the transmission module, if the length of the data received by the processing module is greater than 80% multiplied by N, retransmission is not needed;
if the length of the data received by the processing module is less than or equal to 80% multiplied by N, the data with a certain length needs to be selected from the cloud end to be continuously retransmitted so as to finish the transmission of the compensation data.
Specifically, the embodiment of the present invention compensates the signal strength of the received transmission data by using the average strength of the signal to be transmitted, so that the signal strength received by the processing module is not lower than the average strength of the data to be transmitted, the signal strength of the data to be transmitted is ensured, and the length of the data to be retransmitted is determined according to the comparison between the actual data length and the received data length, so as to compensate the received data and realize the integrity of the data to be transmitted.
Specifically, the selecting a certain length of data from the cloud for continuous retransmission includes:
when the length of the data received by the processing module is less than or equal to 80% multiplied by N, and in the data transmission process, determining a data structure adopted by the data, and selecting a start point and a stop point of the data with a certain length according to different adopted data structures;
the data structure is data to be transmitted plus a secret key, actual data loss rate multiplied by the length of the data to be transmitted is taken as first interval data, and data with the length equal to the length of the first interval data subtracted from the head of the data to be transmitted is taken as first compensation data to be retransmitted;
and if the adopted data structure is the key and the data to be transmitted, taking the actual data loss rate multiplied by the data length to be transmitted as second interval data, and taking the data obtained by subtracting the data length equal to the second interval data length from the data head in the data to be transmitted as second compensation data for retransmission.
Specifically, in the embodiment of the invention, the start and stop points of the compensation data are determined through the data structure of the transmission data, and different data structures correspond to different lengths of the data to be transmitted, so that the re-transmitted data are re-determined, the determination of the data length of the compensation data is more accurate, and the accuracy of the compensation data is improved.
Specifically, when a transmission channel between the terminal to be connected and the processing module is established, the terminal to be connected and the position are determined according to the time node of receiving the broadcast message;
if the received time node is prior, the distance between the terminal to be connected and the adapter is short;
if the received time node is later, the distance between the terminal to be connected and the adapter is far;
estimating the transmission interruption probability of each terminal to be transmitted according to the time node receiving the broadcast information;
a time node list is arranged in the processing module and is sorted according to the sequence;
after the pre-connection terminal is determined, determining the corresponding transmission interruption probability according to the time node in the pre-connection terminal;
a first probability R1, a second probability R2 and a third probability R3 are arranged in the processing unit, and R1> R2> R3;
setting a standard range by taking the broadcasting module as a center, wherein the standard range comprises an upper limit boundary and a lower limit boundary, and if the position of the terminal to be connected is located in the standard range, selecting the terminal probability of the connected terminal as a second probability; if the position of the connection terminal is located outside the upper limit boundary of the standard range, the interruption probability of the terminal to be connected is represented as a third probability;
and if the position of the connection terminal is within the lower limit boundary of the standard range, the interruption probability of the terminal to be connected is a first probability.
Specifically, the embodiment of the invention divides the area which can be communicated in the near field range by setting the standard range, so that the interruption probability of the terminal to be connected in the near field communication range is determined, the effective supervision in the communication range is realized, and the accuracy of determining the compensation data is improved.
Specifically, a feedback information sending matrix S (fi, Ri) is arranged in the processing unit, wherein fi represents the sending frequency of the feedback information, Ri represents the ith probability of the terminal to be connected, and i =1, 2, 3;
determining the sending frequency of the feedback information according to the feedback information sending matrix in the processing unit and the interruption probability of the terminal to be connected;
if the interruption probability of the terminal to be connected is the first probability R1, setting the sending frequency of the feedback information of the connected terminal as f 1;
if the interruption probability of the terminal to be connected is the second probability R2, setting the sending frequency of the feedback information of the connected terminal as f 2;
if the outage probability of the terminal to be connected is the third probability R3, the transmission frequency of the feedback information of the connected terminal is set to f 3.
Specifically, in the embodiment of the present invention, the interruption probability is determined according to the location of the terminal to be connected, where the interruption probability refers to that, during the movement process, the mobile terminal is out of the near field communication range, so that the mobile terminal cannot receive the broadcast message, and when the broadcast message is not received, the transmission of the feedback information cannot be performed, and further the first receiving unit cannot receive the feedback message, so that it is indicated that the terminal to be connected is out of the near field communication range when the feedback message is not received within the preset frequency, and at this time, the determination and retransmission of the compensation information need to be performed, so that the adapter acquires the complete information to be transmitted, and by setting the transmission frequency of the feedback information, the time for being out of the near field communication range is determined in time, so that the determination of the compensation information is more accurate, and the communication efficiency is improved.
Specifically, the mobile terminal further comprises a charging module, wherein the charging module is respectively connected with the broadcasting module, the first receiving module, the processing module, the creating module, the transmitting module and the second receiving module and used for supplying power to the modules.
Specifically, the embodiment of the invention supplies power to the broadcasting module, the first receiving module, the processing module, the creating module, the transmission module and the second receiving module through the charging module, so that the running state of each module is ensured, the sufficient power supply of each module is ensured, and the running interruption of an adapter caused by the power failure of any module is effectively prevented, and the broadcasting, receiving, processing, creating, transmitting and the like cannot be performed.
Specifically, the power management module is connected with the charging module and used for distributing power supply time lengths of the broadcasting module, the first receiving module, the processing module, the creating module, the transmitting module and the second receiving module in different time periods.
Specifically, the power supply management module distributes the power supply time of different modules, so that overall planning is realized, efficient utilization of the power supply is improved, and the utilization efficiency of electric energy is improved.
Specifically, a duration matrix T (T1, T2, T3, T4, T5, T6) is arranged in the power management module, where T1 represents a power supply duration of the broadcast module, T2 represents a power supply duration of the first receiving module, T3 represents a power supply duration of the processing module, T4 represents a power supply duration of the creation module, T5 represents a power supply duration of the transmission module, and T6 represents a power supply duration of the second receiving module.
Specifically, the embodiment of the invention sets the time length matrix T in the power management module and accurately controls the power supply time length of each module in the actual working process, so that each module can ensure the sufficiency of the power supply in the running process, the stability of the working state is maintained, and the running efficiency is improved.
Specifically, the power supply time of the creation module and the power supply time of the transmission module are corrected according to the network state, and if the network state is good, the time for creating the channel is short, so that the power supply time of the creation module is shortened;
if the network state is poor, the time for creating the channel is long, so that the power supply time of the creating module is prolonged;
similarly, if the network state is good, the transmission speed of the transmission module is fast, so that the power supply time of the transmission module is shortened;
if the network state is poor, the transmission speed of the transmission module is slow, so that the power supply time of the transmission module is prolonged.
Specifically, by monitoring the network state, if the current network state is good, the speed of channel creation and data transmission is fast, the working time of each module is reduced, and at the moment, the power supply time of the creation module and the power supply time of the transmission module are shortened, so that the supply of electric energy is stopped when the channel creation is finished and the information transmission is finished, the excessive waste of the electric energy is prevented, and the utilization rate of the electric energy is improved.
Specifically, a standard wire speed is preset, and if the wire speed v of the current network is greater than the standard wire speed v0 and | v-v0| > v0, the power supply time length T4 of the creation module is shortened to T4 '= 1/2 × T4, and the power supply time length T5 of the transmission module is shortened to T5' =1/2 × T5;
if the network speed v of the current network is less than or equal to the standard network speed v0 and | v0-v | > v0, the power supply time length T4 of the creation module is prolonged to T4 '= 3/2 × T4, and the power supply time length T5 of the transmission module is prolonged to T5' =3/2 × T5;
if the | v-v0| ≦ v0 or the | v0-v | ≦ v0, the power supply time length does not need to be adjusted.
Specifically, the embodiment of the invention determines the power for prolonging and shortening the power supply time length by setting the standard network speed and according to the relation between the current network speed and the preset standard network speed, so that the determination of the power supply time length is more accurate, the reasonable distribution of the electric energy is improved, the utilization rate of the electric energy is improved, and the service life of the Bluetooth adapter is further prolonged.
So far, the technical solutions of the present invention have been described in connection with the preferred embodiments shown in the drawings, but it is easily understood by those skilled in the art that the scope of the present invention is obviously not limited to these specific embodiments. Equivalent changes or substitutions of related technical features can be made by those skilled in the art without departing from the principle of the invention, and the technical scheme after the changes or substitutions can fall into the protection scope of the invention.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention; various modifications and alterations to this invention will become apparent to those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A take bluetooth adapter of NFC function, characterized in that includes:
the system comprises a broadcast module, a connection request module and a connection request module, wherein the broadcast module is used for sending a broadcast message to a terminal to be connected within a preset communication range, and the broadcast message comprises the connection request;
the first receiving module is used for receiving feedback information returned by each terminal to be connected, wherein the feedback information is the time node of each terminal to be received receiving the broadcast message and the identity information of the terminal to be connected;
the processing module selects a pre-connection terminal according to the identity information in the feedback message;
a creation module; creating a channel between the pre-connection terminal and the processing module;
the transmission module is used for transmitting the information to be transmitted of the pre-connection terminal to the processing module through the channel by the pre-connection terminal;
in the working process of a transmission module, if the position of a pre-connection terminal is not in a preset communication range in the transmission process, determining the signal intensity and the data loss rate of information to be transmitted in the transportation process;
the standard signal intensity and the standard data loss rate are preset in the processing module;
if the signal intensity in the transportation process is smaller than the standard signal intensity, compensating the signal intensity according to the data to be transmitted which is backed up at the cloud end, and determining the length of the data acquired from the cloud end according to the length of the data to be transmitted and the data loss rate;
and the second receiving module is used for receiving the compensation data of the cloud so as to ensure that the information to be transmitted is complete.
2. The NFC-enabled Bluetooth adapter of claim 1,
compensating the signal intensity according to the data to be transmitted backed up at the cloud end, and determining the length of the data acquired from the cloud end according to the length of the data to be transmitted and the data loss rate comprises the following steps:
acquiring the average signal intensity of data to be transmitted, and if the signal intensity of the data received by the first receiving unit is lower than the average signal intensity, compensating the signal intensity of the received data so that the real-time intensity of the received data signal is larger than or equal to the average signal intensity; adjusting the standard data loss rate according to the intensity difference value to be compensated so as to determine the data length to be retransmitted continuously;
if the length of the data to be transmitted is N in the transmission process of the transmission module, if the length of the data received by the processing module is greater than 80% multiplied by N, retransmission is not needed;
if the length of the data received by the processing module is less than or equal to 80% multiplied by N, the data with a certain length needs to be selected from the cloud end to be continuously retransmitted so as to finish the transmission of the compensation data.
3. The NFC-enabled Bluetooth adapter of claim 2,
the selecting data with a certain length from the cloud end to continue to be retransmitted comprises the following steps:
when the length of the data received by the processing module is less than or equal to 80% multiplied by N, and in the data transmission process, determining a data structure adopted by the data, and selecting a start point and a stop point of the data with a certain length according to different adopted data structures;
the data structure is data to be transmitted plus a secret key, actual data loss rate multiplied by the length of the data to be transmitted is taken as first interval data, and data with the length equal to the length of the first interval data subtracted from the head of the data to be transmitted is taken as first compensation data to be retransmitted;
and if the adopted data structure is the key and the data to be transmitted, taking the actual data loss rate multiplied by the data length to be transmitted as second interval data, and taking the data obtained by subtracting the data length equal to the second interval data length from the data head in the data to be transmitted as second compensation data for retransmission.
4. The NFC-enabled Bluetooth adapter of claim 3,
when a transmission channel between the terminal to be connected and the processing module is established, determining each terminal to be connected and the position according to the time node of the received broadcast message;
if the received time node is prior, the distance between the terminal to be connected and the adapter is short;
if the received time node is later, the distance between the terminal to be connected and the adapter is far;
estimating the transmission interruption probability of each terminal to be transmitted according to the time node receiving the broadcast information;
a time node list is arranged in the processing module and is sorted according to the sequence;
after the pre-connection terminal is determined, determining the corresponding transmission interruption probability according to the time node in the pre-connection terminal;
a first probability R1, a second probability R2 and a third probability R3 are arranged in the processing unit, and R1> R2> R3;
setting a standard range by taking the broadcasting module as a center, wherein the standard range comprises an upper limit boundary and a lower limit boundary, and if the position of the terminal to be connected is located in the standard range, selecting the terminal probability of the connected terminal as a second probability; if the position of the connection terminal is located outside the upper limit boundary of the standard range, the interruption probability of the terminal to be connected is represented as a third probability;
and if the position of the connection terminal is within the lower limit boundary of the standard range, the interruption probability of the terminal to be connected is a first probability.
5. The NFC-enabled Bluetooth adapter of claim 4,
a feedback information sending matrix S (fi, Ri) is arranged in the processing unit, wherein fi represents the sending frequency of the feedback information, Ri represents the ith probability of the terminal to be connected, and i =1, 2, 3;
determining the sending frequency of the feedback information according to the feedback information sending matrix in the processing unit and the interruption probability of the terminal to be connected;
if the interruption probability of the terminal to be connected is the first probability R1, setting the sending frequency of the feedback information of the connected terminal as f 1;
if the interruption probability of the terminal to be connected is the second probability R2, setting the sending frequency of the feedback information of the connected terminal as f 2;
if the outage probability of the terminal to be connected is the third probability R3, the transmission frequency of the feedback information of the connected terminal is set to f 3.
6. The bluetooth adapter with NFC function according to claim 1, further comprising a charging module, wherein the charging module is connected to the broadcasting module, the first receiving module, the processing module, the creating module, the transmitting module, and the second receiving module, respectively, for supplying power to each module.
7. The NFC-enabled bluetooth adapter according to claim 6, further comprising: and the power supply management module is connected with the charging module and used for distributing the power supply time of the broadcasting module, the first receiving module, the processing module, the creating module, the transmission module and the second receiving module in different time periods.
8. The NFC-enabled Bluetooth adapter of claim 7,
the power management module is internally provided with a time matrix T (T1, T2, T3, T4, T5 and T6), wherein T1 represents the power supply time of the broadcast module, T2 represents the power supply time of the first receiving module, T3 represents the power supply time of the processing module, T4 represents the power supply time of the creation module, T5 represents the power supply time of the transmission module, and T6 represents the power supply time of the second receiving module.
9. The NFC-enabled Bluetooth adapter of claim 8,
correcting the power supply time of the creation module and the power supply time of the transmission module according to the network state, wherein if the network state is good, the time for creating the channel is short, so that the power supply time of the creation module is shortened;
if the network state is poor, the time for creating the channel is long, so that the power supply time of the creating module is prolonged;
similarly, if the network state is good, the transmission speed of the transmission module is fast, so that the power supply time of the transmission module is shortened;
if the network state is poor, the transmission speed of the transmission module is slow, so that the power supply time of the transmission module is prolonged.
10. The NFC-enabled Bluetooth adapter of claim 9,
a standard wire speed is preset, if the wire speed v of the current network is greater than the standard wire speed v0 and | v-v0| > v0, the power supply time length T4 of the creation module is shortened to T4 '= 1/2 × T4, and the power supply time length T5 of the transmission module is shortened to T5' =1/2 × T5;
if the network speed v of the current network is less than or equal to the standard network speed v0 and | v0-v | > v0, the power supply time length T4 of the creation module is prolonged to T4 '= 3/2 × T4, and the power supply time length T5 of the transmission module is prolonged to T5' =3/2 × T5;
if the | v-v0| ≦ v0 or the | v0-v | ≦ v0, the power supply time length does not need to be adjusted.
CN202110697449.8A 2021-06-23 2021-06-23 Take bluetooth adapter of NFC function Active CN113259863B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110697449.8A CN113259863B (en) 2021-06-23 2021-06-23 Take bluetooth adapter of NFC function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110697449.8A CN113259863B (en) 2021-06-23 2021-06-23 Take bluetooth adapter of NFC function

Publications (2)

Publication Number Publication Date
CN113259863A CN113259863A (en) 2021-08-13
CN113259863B true CN113259863B (en) 2021-09-24

Family

ID=77189227

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110697449.8A Active CN113259863B (en) 2021-06-23 2021-06-23 Take bluetooth adapter of NFC function

Country Status (1)

Country Link
CN (1) CN113259863B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104253968A (en) * 2014-10-10 2014-12-31 中麦通信网络有限公司 Mobile terminal video communication implementation method and mobile terminal video communication implementation device
CN106559742A (en) * 2016-11-03 2017-04-05 厦门美图移动科技有限公司 A kind of data transferring method, device, terminal and service end
CN108712715A (en) * 2018-04-04 2018-10-26 天地融科技股份有限公司 A method of carrying out network switching using bluetooth hot spot
CN112333720A (en) * 2020-10-27 2021-02-05 广东电网有限责任公司广州供电局 Data transmission method and device for hybrid networking
CN112492648A (en) * 2020-12-18 2021-03-12 深圳市微网力合信息技术有限公司 Data packet loss processing method, system and terminal

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013180548A1 (en) * 2012-06-01 2013-12-05 엘지전자 주식회사 Method for transmitting and receiving data by using an existing connection link in a wireless communications system and an apparatus for the same
US20170163792A1 (en) * 2015-12-08 2017-06-08 Le Holdings (Beijing) Co., Ltd. METHOD, ELECTRONIC DEVICE and SYSTEM FOR DATA BACK TRANSMISSION AFTER LOSS OF MOBILE TERMINAL

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104253968A (en) * 2014-10-10 2014-12-31 中麦通信网络有限公司 Mobile terminal video communication implementation method and mobile terminal video communication implementation device
CN106559742A (en) * 2016-11-03 2017-04-05 厦门美图移动科技有限公司 A kind of data transferring method, device, terminal and service end
CN108712715A (en) * 2018-04-04 2018-10-26 天地融科技股份有限公司 A method of carrying out network switching using bluetooth hot spot
CN112333720A (en) * 2020-10-27 2021-02-05 广东电网有限责任公司广州供电局 Data transmission method and device for hybrid networking
CN112492648A (en) * 2020-12-18 2021-03-12 深圳市微网力合信息技术有限公司 Data packet loss processing method, system and terminal

Also Published As

Publication number Publication date
CN113259863A (en) 2021-08-13

Similar Documents

Publication Publication Date Title
US7869836B2 (en) Power saving devices and power saving methods for mobile access point, and wireless network systems
KR101379870B1 (en) Method and system for no buffered traffic indication for wireless local area network(wlan) power save
US9185662B2 (en) Coordinated wireless communication and power delivery
CN110461030B (en) Communication method and device
JP2001103570A (en) Communication system, and communication terminal and communication method used by this communication system
JPWO2008143282A1 (en) HANDOVER CONTROL DEVICE, METHOD, AND PROGRAM
CN101023629A (en) Communication apparatus and communication method
CN101449525A (en) Method for controlling energy consumption of sensor network nodes and device thereof
US20070230441A1 (en) System and method for optimizing throughput in a wireless network
KR20110005760A (en) Updating method and apparatus of sleep mode operation
JP5452721B2 (en) Communication system and method for updating system information in communication system
US20140181201A1 (en) Apparatus and method for managing local wireless network group
US8625482B2 (en) Wireless communication system, wireless access point, communication control method and computer-readable medium
JP2018093465A (en) Backup power supply and communication system using the same
CN103404202A (en) Method, station, access point, relay device and system for determining relay device
EP3419302A1 (en) Management system, management method, operation terminal, and control apparatus
CN113259863B (en) Take bluetooth adapter of NFC function
US20220256463A1 (en) Method and device for feeding back harq, and readable storage medium
KR101868635B1 (en) Apparatus and method for transmitting and receiving a signal in a near field communication system
CN106792428A (en) Base station, closely business function entity and communication resource distribution, dispatching method
JP2009246944A (en) Wireless internet connection repeater
WO2009014278A1 (en) System and method for setting up p2p communication group in cellular system, and p2p communication system and method using p2p communication group
CN109451567B (en) Positioning compensation algorithm for battery pack of Internet of things
CN104661235A (en) Networking method and device
CN111432379B (en) Transmission method and terminal of direct link

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