CN104702698B - The network terminal, sewing machine and the multi-computer communication method and system based on radio frequency - Google Patents
The network terminal, sewing machine and the multi-computer communication method and system based on radio frequency Download PDFInfo
- Publication number
- CN104702698B CN104702698B CN201510133119.0A CN201510133119A CN104702698B CN 104702698 B CN104702698 B CN 104702698B CN 201510133119 A CN201510133119 A CN 201510133119A CN 104702698 B CN104702698 B CN 104702698B
- Authority
- CN
- China
- Prior art keywords
- channel
- sewing machine
- task
- data transfer
- network terminal
- 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
Links
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
The present invention provides a kind of network terminal, sewing machine, and the multi-computer communication method and system based on radio frequency, the network terminal is communicated with the multiple sewing machine by the first channel and the second channel, the data transmission between the network terminal and sewing machine is realized by the first channel, and the arbitration carried out data transmission between the network terminal and sewing machine is realized by the second channel, and frequency hopping is used on sewing machine, it may be implemented to carry out the switching of the first channel and the second channel in real time in sewing generator terminal, frequency channel collisions problem in very good solution sewing machine and network terminal Radio-Frequency Wireless Communication, the data transmission efficiency of the channel for data transmission can be promoted to greatest extent, simultaneously, all transmission, only take up two communication frequencys, resource has been saved to greatest extent;And the present invention uses the radio-frequency module of low cost as basic hardware condition, the requirement for processor is extremely low, and cost performance is high.
Description
Technical field
The present invention relates to fields of communication technology, more particularly to a kind of network terminal, sewing machine and based on the multimachine of radio frequency
Communication means and system.
Background technique
In Internet of Things sewing machine, wireless radio frequency modules RF (Radio Frequency, radio frequency) as separate unit sewing machine with
The bridge of network terminal communication, carries order and the wireless transmission of data, has the function of great responsibility.In the same time
With in the wireless communication between frequency RF module, can only wirelessly be communicated there are two RF within communication distance, other RF information
Addition can all interfere communicating data.Thus, in Internet of Things sewing machine practical application, we are usually by the network terminal
As active devices, the RF for generator terminal of sewing one by one is attached sewing machine by active devices as slave equipment RF module
And inquiry, thus the purpose of data transmission, the communication network formed in this way is able to satisfy communication need substantially, but real-time is too
Difference.It when sewing machine has emergency case, can only wait when being polled to sewing machine, sewing machine just has an opportunity to network service
Device reports mistake, has influenced timeliness, meanwhile, the road of the intelligentized future development of sewing machine is also counteracted, in consideration of it, design
A kind of efficient co-channel RF wireless communication mechanism can make the transmission of sewing machine data rapider, meanwhile, efficient data pass
The defeated use that can also make sewing machine is more intelligent.
Summary of the invention
In view of the foregoing deficiencies of prior art, the purpose of the present invention is to provide a kind of network terminal, sewing machine and
Multi-computer communication method and system based on radio frequency, for solving information transmission effect between sewing machine and the network terminal in the prior art
The low and not intelligent problem of rate.
In order to achieve the above objects and other related objects, the present invention provides a kind of multi-computer communication method based on radio frequency, answers
For in the communication system including a network terminal and multiple sewing machines, the network terminal to pass through with the multiple sewing machine
First channel and the second channel are communicated, and the sewing machine includes for jumping between first channel and second channel
The radio-frequency module of frequency, the sewing machine are in the second channel, the method includes walking as follows when no data are transmitted
Rapid: the network terminal receives data transfer task;Extract the sewing machine ID of the data transfer task and preset
Task priority;According to the task priority, the data transfer task is inserted into the corresponding position in a task stack;When
When taking turns to the execution of the data transfer task, judge whether the second channel of the network terminal is in idle condition, if it is not,
Then repeat the judgement movement;If so, the sewing machine ID of the data transfer task is broadcasted by the second channel overall situation,
And the overall situation broadcast data transfer task is in progress;Enable sewing machine frequency hopping corresponding with the sewing machine ID to the first frequency
Road, the data transmitted by the network terminal described in first CPCH reception;When the first channel for detecting the network terminal
When idle, enabling the sewing machine frequency hopping is the second channel, and when second channel is idle, the overall situation is broadcasted the data and passed
Defeated task terminates.
Optionally, the network terminal includes a double frequency communication radio frequency module or two single-frequency communication radio frequency modules with reality
The communication of existing first channel and the second channel.
In order to achieve the above objects and other related objects, the multi-computer communication method based on radio frequency that the present invention also provides a kind of,
Applied in the communication system including a network terminal and multiple sewing machines, the network terminal and the multiple sewing machine are logical
It crosses the first channel and the second channel is communicated, the sewing machine includes between first channel and second channel
The radio-frequency module of frequency hopping, the sewing machine are in the second channel, the method includes walking as follows when no data are transmitted
Rapid: a sewing machine generates data transfer task;Judge whether the second channel of the sewing machine is idle, if it is not, then repeating
The judgement movement;If so, sending data transfer request to the network terminal by second channel, the data are passed
Sewing machine ID and preset task priority of the defeated request including the sewing machine;When receiving, the network terminal is anti-
After that presents allows to transmit order, it is in progress that the data transfer task is broadcasted by the second channel overall situation;Described in order
Sewing machine frequency hopping is the first channel, and the sewing machine is enabled to transmit data to the network terminal by first channel;When
When detecting the first channel free time of the sewing machine, enabling the sewing machine frequency hopping is the second channel, and works as second channel
When for the free time, the overall situation, which broadcasts the data transfer task, to be terminated.
Optionally, the network terminal includes a double frequency communication radio frequency module or two single-frequency communication radio frequency modules.
In order to achieve the above objects and other related objects, the present invention also provides a kind of network terminal, by the first channel and
Second channel is communicated with multiple sewing machines, and the network terminal includes: task receiving module, receives data transfer task;
Information extraction modules, extract the data transfer task sewing machine ID and preset task priority;Task is sorted out
The data transfer task is inserted into the corresponding position in a task stack according to the task priority by module;State judgement
Module judges whether second channel is in idle condition when taking turns to the execution of the data transfer task, if it is not, then
Repeat the judgement movement;If so, generating idle instruction;Task status broadcast module, to receive the idle instruction
When, the sewing machine ID that the information extraction modules are extracted is broadcasted by the second channel overall situation, and described in global broadcast
Data transfer task is in progress;Also, in the data transfer ends, and when second channel is idle, lead to
Crossing the second channel overall situation broadcast data transfer task terminates;Data transmission module, to wide in the task status
The broadcasting module overall situation broadcast the data transfer task it is in progress after, by first channel to ID pairs of the sewing machine
The sewing machine transmission data answered.
Optionally, the network terminal includes a double frequency communication radio frequency module or two single-frequency communication radio frequency modules with reality
The communication of existing first channel and the second channel;The sewing machine includes in first channel and second channel
Between frequency hopping radio-frequency module.
In order to achieve the above objects and other related objects, the present invention also provides a kind of sewing machines, pass through the first channel and
Two channels are communicated with the network terminal, and the sewing machine is in the second channel, the sewing when no data are transmitted
Machine includes the radio-frequency module for the frequency hopping between first channel and second channel, and the sewing machine includes: that data pass
Defeated module, to when through the data transfer instruction of second CPCH reception to the network terminal, frequency hopping is the first frequency
Road, and the data transmitted by the network terminal described in first CPCH reception.
In order to achieve the above objects and other related objects, the present invention also provides a kind of network terminal, by the first channel and
Second channel is communicated with multiple sewing machines, and the network terminal includes: data transfer request judgment module, to receive
To the sewing machine include sewing machine ID and preset task priority data transfer request after, according to setting in advance
The task stack list set judges whether to send to allow to transmit and order;Data transmission module, in the data transfer request
After judgment module transmission allows to transmit order, pass through the data that sewing machine described in first CPCH reception transmits.
In order to achieve the above objects and other related objects, the present invention also provides a kind of sewing machines, pass through the first channel and
Two channels are communicated with the network terminal, and the sewing machine includes for the frequency hopping between first channel and second channel
Radio-frequency module, the sewing machine is in the second channel when no data are transmitted, and the sewing machine includes: that task is raw
At module, to generate data transfer task;Condition judgment module, to judge institute after receiving the data transfer task
Whether the second channel for stating sewing machine is idle, if it is not, and repeating the judgement movement;If so, generating idle instruction;Data pass
Defeated request module, to lead to after the idle instruction for receiving the data transfer task and condition judgment module transmission
It crosses second channel and sends data transfer request to the network terminal, the data transfer request includes the sewing machine
Sewing machine ID and preset task priority;Task status broadcast module, to receive the network terminal anti-
After that presents allows to transmit order, it is in progress that the data transfer task is broadcasted by the second channel overall situation;And to
After the sewing machine completes data transmission by first channel, frequency hopping is the second channel, and passes through second channel
The overall situation, which broadcasts the data transfer task, to be terminated;Data transmission module passes through described second in the task status broadcast module
After the channel overall situation broadcast data transfer task is in progress, the sewing machine frequency hopping passes through described to the first channel
First channel transmits data to the network terminal.
Optionally, the network terminal includes a double frequency communication radio frequency module or two single-frequency communication radio frequency modules with reality
The communication of existing first channel and the second channel.
In order to achieve the above objects and other related objects, the present invention also provides a kind of multi-machine communication system based on radio frequency,
Including the network terminal described in any of the above item, and including sewing machine described in any of the above item.
As described above, the network terminal of the invention, sewing machine and the multi-computer communication method and system based on radio frequency, described
The network terminal is communicated with the multiple sewing machine by the first channel and the second channel, realizes that network is whole by the first channel
Data transmission between end and sewing machine, and it is secondary by carrying out data transmission between the second channel realization network terminal and sewing machine
It cuts out, and uses frequency hopping on sewing machine, may be implemented to carry out the first channel and the second channel in real time in sewing generator terminal
Switching, the frequency channel collisions problem in very good solution sewing machine and network terminal Radio-Frequency Wireless Communication, can mention to greatest extent
The data transmission efficiency of the channel for data transmission is risen, meanwhile, all transmission only take up two communication frequencys, to greatest extent
Saved resource;And the present invention uses the radio-frequency module of low cost as basic hardware condition, the requirement pole for processor
Low, cost performance is high.
Detailed description of the invention
Fig. 1 is shown as the flow diagram of multi-computer communication method in one embodiment of the invention based on radio frequency.
Fig. 2 is shown as the flow diagram of multi-computer communication method in one embodiment of the invention based on radio frequency.
Fig. 3 is shown as the modular structure signal of the multi-machine communication system of the invention based on radio frequency in one embodiment
Figure.
Fig. 4 is shown as the modular structure signal of the multi-machine communication system of the invention based on radio frequency in one embodiment
Figure.
Specific embodiment
Illustrate embodiments of the present invention below by way of specific specific example, those skilled in the art can be by this specification
Other advantages and efficacy of the present invention can be easily understood for disclosed content.The present invention can also pass through in addition different specific realities
The mode of applying is embodied or practiced, the various details in this specification can also based on different viewpoints and application, without departing from
Various modifications or alterations are carried out under spirit of the invention.It should be noted that in the absence of conflict, following embodiment and implementation
Feature in example can be combined with each other.
It should be noted that illustrating the basic structure that only the invention is illustrated in a schematic way provided in following embodiment
Think, only shown in diagram then with related component in the present invention rather than component count, shape and size when according to actual implementation
Draw, when actual implementation kenel, quantity and the ratio of each component can arbitrarily change for one kind, and its assembly layout kenel
It is likely more complexity.
Referring to Fig. 1, being shown as the process of multi-computer communication method in one embodiment of the invention based on radio frequency
Schematic diagram, the multi-computer communication method based on radio frequency in the present embodiment are applied to include a network terminal and multiple seams
In the communication system of machine of threading, the network terminal is communicated with the multiple sewing machine by the first channel and the second channel,
The transmission of data, and the arbitration carried out data transmission by second channel, the sewing are carried out by first channel
Machine includes the radio-frequency module for the frequency hopping between first channel and second channel, the sewing machine no data into
When row transmission, it is in the second channel.Preferably, the network terminal includes dual band communication radio-frequency module or two single-frequency communications
Radio-frequency module is to realize the communication of first channel and the second channel.One is made substantially to the various situations of sewing machine in advance
Classification, priority level is set separately, establishes task stack in network service terminal, for storing sewing machine ID and its needs
The priority of communication task is carried out, the communication means includes the following steps:
S11: the network terminal receives data transfer task;The data transfer task can for from external server or
What sewing machine sended over.
S12: extract the data transfer task sewing machine ID and preset task priority, such as will be serious
The priority of accident treatment is set as highest, when so that major accident occurring, can be handled in time, such as report wrong letter in time
Number, guarantee the stability of communication operation.
S13: according to the task priority, the data transfer task is inserted into the corresponding position in a task stack.
Preferably, the rule using first in first out of the task stack, the high data transfer task of task priority are in task heap
The top of stack.
S14: when taking turns to the execution of the data transfer task, judge whether the second channel of the network terminal is in
Idle state;If it is not, then jumping to step S15;If so, jumping to step S16;
S15: the judgement movement is repeated;
S16: the sewing machine ID of the data transfer task is broadcasted by the second channel overall situation, and described in global broadcast
Data transfer task is in progress;When in task progress, it cannot interrupt.
S17: it enables sewing machine frequency hopping corresponding with the sewing machine ID to the first channel, passes through the first CPCH reception institute
State the data of network terminal transmission.
S18: when detecting the first channel free time of the sewing machine, i.e., the data transfer ends when, enable the sewing machine
Frequency hopping is the second channel, and when second channel is idle, the overall situation, which broadcasts the data transfer task, to be terminated.
The first channel can be made to be constantly in data transmission by the multi-computer communication method as shown in Figure 2 based on radio frequency
State, and the second channel is then responsible for the data transfer arbitrator of the first channel, improves what data between sewing machine and the network terminal were transmitted
Efficiency, and can the high task of priority processing priority level, guarantee the real-time of data processing, meanwhile, by frequency hopping, can protect
Demonstrate,proving radio frequency data transmission is not in data collision.
Referring to Fig. 2, being shown as the process of multi-computer communication method in one embodiment of the invention based on radio frequency
Schematic diagram, the multi-computer communication method based on radio frequency in the present embodiment are applied to include a network terminal and multiple seams
In the communication system of machine of threading, the network terminal is communicated with the multiple sewing machine by the first channel and the second channel,
The transmission of data, and the arbitration carried out data transmission by second channel, the sewing are carried out by first channel
Machine includes the radio-frequency module for the frequency hopping between first channel and second channel, the sewing machine no data into
When row transmission, it is in the second channel.Preferably, the network terminal includes dual band communication radio-frequency module or two single-frequency communications
Radio-frequency module is to realize the communication of first channel and the second channel.One is made substantially to the various situations of sewing machine in advance
Classification, priority level is set separately, establishes task stack in network service terminal, for storing sewing machine ID and its needs
The priority of communication task is carried out, the communication means includes the following steps:
S21: one sewing machine generates data transfer task;
S22: judge whether the second channel of the sewing machine is idle, if it is not, then jumping to step S23;If so, jumping
To step S24;
S23: the judgement movement is repeated;
S24: data transfer request, the data transfer request packet are sent to the network terminal by second channel
Include the sewing machine sewing machine ID and preset task priority;Such as the priority of major accident processing is set as
Highest can be handled in time, such as report error signal in time when so that major accident occurring, and guarantee the stabilization of communication operation
Property.
S25: when receiving after allowing to transmit order of the network terminal feedback, pass through the second channel overall situation and broadcast
The data transfer task is in progress;When in task progress, it cannot interrupt.
S26: enabling the sewing machine frequency hopping is the first channel, and the sewing machine is enabled to pass through first channel to the net
Network terminal transmission data;
S27: when detecting the first channel free time of the sewing machine, enabling the sewing machine frequency hopping is the second channel, and
When second channel is idle, the overall situation, which broadcasts the data transfer task, to be terminated.
The first channel can be made to be constantly in data transmission by the multi-computer communication method as shown in Figure 2 based on radio frequency
State, and the second channel is then responsible for the data transfer arbitrator of the first channel, improves what data between sewing machine and the network terminal were transmitted
Efficiency, and can the high task of priority processing priority level, guarantee the real-time of data processing, meanwhile, by frequency hopping, can protect
Demonstrate,proving radio frequency data transmission is not in data collision.
Referring to Fig. 3, being shown as the module of the multi-machine communication system of the invention based on radio frequency in one embodiment
Structural schematic diagram.The system I includes Network Termination #1 and sewing machine 2, may include multiple in the system I in specific implementation
The sewing machine 2 communicated with the Network Termination #1, the Network Termination #1 pass through the first channel and the second channel and multiple seams
Machine 2 of threading is communicated, i.e., the transmission of data is carried out by first channel, and is carried out data transmission by second channel
Arbitration, the sewing machine 2 include for the frequency hopping between first channel and second channel radio-frequency module (in figure not
Show), the sewing machine 2 is in the second channel when no data are transmitted.Preferably, the Network Termination #1 includes double
Frequency communication radio frequency module (not shown) or two single-frequency communication radio frequency module (not shown)s are to realize described first
The communication of channel and the second channel.User can the various situations in advance to the sewing machine 2 make a rough classification, respectively
Priority level is set, and establishes task stack in the network service terminal 1, for storing sewing machine ID and it needs to carry out
The priority of communication task.Network Termination #1 shown in Fig. 3 includes following module:
Task receiving module 11 receives data transfer task;The data transfer task can for from external server or
What sewing machine sended over.
Information extraction modules 12, sewing machine ID and the preset task for extracting the data transfer task are preferential
Grade;Such as the priority of major accident processing is set as highest, when so that major accident occurring, it can be handled in time, such as and
When report error signal, guarantee the stability of communication operation.
The data transfer task is inserted into a task stack by task classifying module 13 according to the task priority
Corresponding position;Preferably, the rule using first in first out of the task stack, the high data transfer task of task priority
Top in task stack.
Condition judgment module 14 judges whether second channel is located when taking turns to the execution of the data transfer task
In idle state, if it is not, then repeating the judgement movement;If so, generating idle instruction.
Task status broadcast module 15, broadcasted by the second channel overall situation when receiving the idle instruction
The sewing machine ID that the information extraction modules are extracted, and the global broadcast data transfer task is in progress;It is in office
When in business progress, it cannot interrupt.Also, in the data transfer ends, and when second channel is idle, pass through institute
Stating the second channel overall situation broadcast data transfer task terminates.
Data transmission module 16, to broadcast the data transfer task in the task status broadcast module overall situation
After in progress, data are transmitted to sewing machine corresponding with the sewing machine ID by first channel.
The sewing machine 2 as shown in Figure 3 is communicated by the first channel and the second channel with the Network Termination #1,
The sewing machine 2 is in the second channel when no data are transmitted, and the sewing machine 2 includes in first frequency
The radio-frequency module (not shown) of frequency hopping between road and second channel, the sewing machine 2 include: data transmission module 21,
To when through the data transfer instruction of second CPCH reception to the Network Termination #1, frequency hopping is the first channel, and is led to
Cross the data of the transmission of Network Termination #1 described in first CPCH reception.
By the multi-machine communication system as shown in Figure 3 based on radio frequency, the first channel can be made to be constantly in data biography
Defeated state, and the second channel is then responsible for the data transfer arbitrator of the first channel, improves data between sewing machine and the network terminal and transmits
Efficiency, and can the high task of priority processing priority level, guarantee the real-time of data processing, meanwhile, can by frequency hopping
Guarantee that radio frequency data transmission is not in data collision.
Referring to Fig. 4, being shown as the module of the multi-machine communication system of the invention based on radio frequency in one embodiment
Structural schematic diagram.The system II includes the network terminal 3 and sewing machine 4, may include more in the system II in specific implementation
A sewing machine 4 communicated with the network terminal 3, the network terminal 3 by the first channel and the second channel with it is multiple described
Sewing machine 4 is communicated, i.e., the transmission of data is carried out by first channel, and carry out data biography by second channel
Defeated arbitration, the sewing machine 4 include the radio-frequency module for the frequency hopping between first channel and second channel (in figure
It is not shown), the sewing machine 4 is in the second channel when no data are transmitted.Preferably, the network terminal 3 includes
Dual band communication radio-frequency module (not shown) or two single-frequency communication radio frequency module (not shown)s are to realize described
The communication of one channel and the second channel.User can the various situations in advance to the sewing machine 4 make a rough classification, point
Not She Ding priority level, and establish task stack in the network service terminal 3, for store sewing machine ID and its need into
The priority of row communication task.The network terminal 3 shown in Fig. 4 includes following module:
Data transfer request judgment module 31, to include sewing machine ID and in advance set receive the sewing machine
After the data transfer request of fixed task priority, according to pre-set task stack list, judging whether to send allows to pass
Defeated order;Judge whether the execution of task has taken turns to task corresponding to the priority, can guarantee emergency in this way
Priority processing.The task priority can be preset, such as the priority of major accident processing is set as highest, so that seriously
It when accident occurs, can be handled in time, such as report error signal in time, guarantee the stability of communication operation.
Data transmission module 32, to lead to after the data transfer request judgment module 31 transmission allows to transmit and order
Cross the data of the transmission of sewing machine 4 described in first CPCH reception.
The sewing machine 4 includes:
Task generation module 41, to generate data transfer task.
Condition judgment module 42, after receiving the data transfer task, to judge the second channel of the sewing machine
It is whether idle, if it is not, and repeating the judgement movement;If so, generating idle instruction.
Data transfer request module 43, to receive the data transfer task and condition judgment module transmission
Idle instruction after, by second channel to the network terminal send data transfer request, the data transfer request
Sewing machine ID and preset task priority including the sewing machine.
Task status broadcast module 44, to pass through after receiving the allowing to transmit and order of network terminal feedback
It is in progress that the second channel overall situation broadcasts the data transfer task;And to pass through described the in the sewing machine 4
After one channel completes data transmission, frequency hopping is the second channel, and broadcasts the data transmission by the second channel overall situation and appoint
Business terminates.
Data transmission module 45 broadcasts the data by the second channel overall situation in the task status broadcast module
After transformation task is in progress, the sewing machine frequency hopping is to the first channel, and it is whole to the network to pass through first channel
End transmission data.
By the multi-machine communication system as shown in Figure 4 based on radio frequency, the first channel can be made to be constantly in data biography
Defeated state, and the second channel is then responsible for the data transfer arbitrator of the first channel, improves data between sewing machine and the network terminal and transmits
Efficiency, and can the high task of priority processing priority level, guarantee the real-time of data processing, meanwhile, can by frequency hopping
Guarantee that radio frequency data transmission is not in data collision.
In conclusion the network terminal of the invention, sewing machine and the multi-computer communication method and system based on radio frequency, described
The network terminal is communicated with the multiple sewing machine by the first channel and the second channel, realizes that network is whole by the first channel
Data transmission between end and sewing machine, and it is secondary by carrying out data transmission between the second channel realization network terminal and sewing machine
It cuts out, and uses frequency hopping on sewing machine, may be implemented to carry out the first channel and the second channel in real time in sewing generator terminal
Switching, the frequency channel collisions problem in very good solution sewing machine and network terminal Radio-Frequency Wireless Communication, can mention to greatest extent
The data transmission efficiency of the channel for data transmission is risen, meanwhile, all transmission only take up two communication frequencys, to greatest extent
Saved resource;And the present invention uses the radio-frequency module of low cost as basic hardware condition, the requirement pole for processor
Low, cost performance is high.So the present invention effectively overcomes various shortcoming in the prior art and has high industrial utilization value.
The above-described embodiments merely illustrate the principles and effects of the present invention, and is not intended to limit the present invention.It is any ripe
The personage for knowing this technology all without departing from the spirit and scope of the present invention, carries out modifications and changes to above-described embodiment.Cause
This, institute is complete without departing from the spirit and technical ideas disclosed in the present invention by those of ordinary skill in the art such as
At all equivalent modifications or change, should be covered by the claims of the present invention.
Claims (11)
1. a kind of multi-computer communication method based on radio frequency, which is characterized in that be applied to include a network terminal and multiple sewing
In the communication system of machine, the network terminal is communicated with the multiple sewing machine by the first channel and the second channel, institute
Stating sewing machine includes the radio-frequency module for the frequency hopping between first channel and second channel, and the sewing machine is not having
When data are transmitted, it is in the second channel, described method includes following steps:
The network terminal receives data transfer task;The data transfer task includes coming from external server or sewing
Machine;
Extract the data transfer task sewing machine ID and preset task priority;
According to the task priority, the data transfer task is inserted into the corresponding position in a task stack;
When taking turns to the execution of the data transfer task, judge whether the second channel of the network terminal is in idle shape
State, if it is not, then repeating the judgement movement;If so, broadcasting the data transfer task by the second channel overall situation
Sewing machine ID, and the global broadcast data transfer task is in progress;
It enables sewing machine frequency hopping corresponding with the sewing machine ID to the first channel, passes through the end of network described in first CPCH reception
Hold the data of transmission;
When detecting the first channel free time of the network terminal, enabling the sewing machine frequency hopping is the second channel, and when described
When second channel is idle, the overall situation, which broadcasts the data transfer task, to be terminated.
2. the multi-computer communication method according to claim 1 based on radio frequency, which is characterized in that the network terminal includes one
Dual band communication radio-frequency module or two single-frequency communication radio frequency modules are to realize the communication of first channel and the second channel.
3. a kind of multi-computer communication method based on radio frequency, it is characterised in that: be applied to include a network terminal and multiple sewing
In the communication system of machine, the network terminal is communicated with the multiple sewing machine by the first channel and the second channel, institute
Stating sewing machine includes the radio-frequency module for the frequency hopping between first channel and second channel, and the sewing machine is not having
When data are transmitted, it is in the second channel, described method includes following steps:
One sewing machine generates data transfer task;
Judge whether the second channel of the sewing machine is idle, if it is not, then repeating the judgement movement;If so, by described
Second channel sends data transfer request to the network terminal, and the data transfer request includes the sewing machine of the sewing machine
ID and preset task priority;
When receiving after allowing to transmit order of the network terminal feedback, passes through the second channel overall situation and broadcast the data
Transformation task is in progress;
Enabling the sewing machine frequency hopping is the first channel, and the sewing machine is enabled to pass by first channel to the network terminal
Transmission of data;
When detecting the first channel free time of the sewing machine, enabling the sewing machine frequency hopping is the second channel, and when described the
When two channels are idle, the overall situation, which broadcasts the data transfer task, to be terminated.
4. the multi-computer communication method according to claim 3 based on radio frequency, which is characterized in that the network terminal includes one
Dual band communication radio-frequency module or two single-frequency communication radio frequency modules.
5. a kind of network terminal, it is characterised in that: it is communicated by the first channel and the second channel with multiple sewing machines, it is described
The network terminal includes:
Task receiving module receives data transfer task;
Information extraction modules, extract the data transfer task sewing machine ID and preset task priority;
The data transfer task is inserted into corresponding in a task stack by task classifying module according to the task priority
Position;
Condition judgment module judges whether second channel is in idle when taking turns to the execution of the data transfer task
State, if it is not, then repeating the judgement movement;If so, generating idle instruction;
Task status broadcast module, to broadcast the letter by the second channel overall situation when receiving the idle instruction
The sewing machine ID that extraction module extracts is ceased, and the global broadcast data transfer task is in progress;Also, to
The data transfer ends, and when second channel is idle, pass through the second channel overall situation and broadcasts the data transmission
Task terminates;
Data transmission module, it is in progress to broadcast the data transfer task in the task status broadcast module overall situation
Afterwards, data are transmitted to sewing machine corresponding with the sewing machine ID by first channel.
6. the network terminal according to claim 5, which is characterized in that the network terminal includes a double frequency communication radio frequency mould
Block or two single-frequency communication radio frequency modules are to realize the communication of first channel and the second channel;The sewing machine includes using
In the radio-frequency module of the frequency hopping between first channel and second channel.
7. a kind of sewing machine, which is characterized in that communicated by the first channel and the second channel with the network terminal, the sewing
Machine is in the second channel when no data are transmitted, and the sewing machine includes in first channel and described the
The radio-frequency module of frequency hopping between two channels, the sewing machine include:
Data transmission module, to jump when through the data transfer instruction of second CPCH reception to the network terminal
Frequency is the first channel, and passes through the data of the transmission of the network terminal described in first CPCH reception;
Wherein, the network terminal receives from the data transmission module or receives the data transmission from external server
Task, and execution following steps are rapid after receiving the data transfer task:
Extract the data transfer task sewing machine ID and preset task priority;
According to the task priority, the data transfer task is inserted into the corresponding position in a task stack;
When taking turns to the execution of the data transfer task, judge whether the second channel of the network terminal is in idle shape
State, if it is not, then repeating the judgement movement;If so, broadcasting the data transfer task by the second channel overall situation
Sewing machine ID, and the global broadcast data transfer task is in progress;
It enables sewing machine frequency hopping corresponding with the sewing machine ID to the first channel, passes through the end of network described in first CPCH reception
Hold the data of transmission;
When detecting the first channel free time of the network terminal, enabling the sewing machine frequency hopping is the second channel, and when described
When second channel is idle, the overall situation, which broadcasts the data transfer task, to be terminated.
8. a kind of network terminal, which is characterized in that it is communicated by the first channel and the second channel with multiple sewing machines, it is described
The network terminal includes:
Data transfer request judgment module, to include sewing machine ID and preset receive the sewing machine
After the data transfer request for priority of being engaged in, according to pre-set task stack list, judges whether to send to allow to transmit and order;
Data transmission module, to pass through described the after data transfer request judgment module transmission allows to transmit and order
The data of the transmission of sewing machine described in one CPCH reception.
9. a kind of sewing machine, it is characterised in that: communicated by the first channel and the second channel with the network terminal, the sewing
Machine includes the radio-frequency module for the frequency hopping between first channel and second channel, the sewing machine no data into
When row transmission, it is in the second channel, the sewing machine includes:
Task generation module, to generate data transfer task;
Whether condition judgment module, the second channel after receiving the data transfer task, to judge the sewing machine are empty
Spare time, if it is not, and repeating the judgement movement;If so, generating idle instruction;
Data transfer request module, in the free time for receiving the data transfer task and condition judgment module transmission
After instruction, data transfer request is sent to the network terminal by second channel, the data transfer request includes institute
State sewing machine sewing machine ID and preset task priority;
Task status broadcast module passes through described the to after receiving the allowing to transmit and order of network terminal feedback
It is in progress that the two channel overall situations broadcast the data transfer task;And to pass through first channel in the sewing machine
After completing data transmission, frequency hopping is the second channel, and is terminated by the second channel overall situation broadcast data transfer task;
Data transmission module is broadcasted the data transmission by the second channel overall situation in the task status broadcast module and is appointed
Do honest work it is underway after, the sewing machine frequency hopping is transmitted to the first channel, and by first channel to the network terminal
Data.
10. sewing machine according to claim 9, which is characterized in that the network terminal includes a double frequency communication radio frequency mould
Block or two single-frequency communication radio frequency modules are to realize the communication of first channel and the second channel.
11. a kind of multi-machine communication system based on radio frequency, including the network terminal as described in any one of claim 5~6, and
Including sewing machine as claimed in claim 7;Alternatively, including the network terminal as claimed in claim 8, and wanted including such as right
Sewing machine described in asking any one of 9~10.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510133119.0A CN104702698B (en) | 2015-03-25 | 2015-03-25 | The network terminal, sewing machine and the multi-computer communication method and system based on radio frequency |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510133119.0A CN104702698B (en) | 2015-03-25 | 2015-03-25 | The network terminal, sewing machine and the multi-computer communication method and system based on radio frequency |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104702698A CN104702698A (en) | 2015-06-10 |
CN104702698B true CN104702698B (en) | 2019-01-25 |
Family
ID=53349456
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510133119.0A Active CN104702698B (en) | 2015-03-25 | 2015-03-25 | The network terminal, sewing machine and the multi-computer communication method and system based on radio frequency |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104702698B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI783363B (en) * | 2021-02-01 | 2022-11-11 | 鈺寶科技股份有限公司 | Wireless communication frequency hopping system and its operation method |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8027641B2 (en) * | 2007-03-19 | 2011-09-27 | Broadcom Corporation | Method and system for detecting channels suitable for FM transmission in an integrated FM transmit/receive system |
CN102487517A (en) * | 2010-12-06 | 2012-06-06 | 国民技术股份有限公司 | Wireless networking method and system based on 2.4G RFID (radio frequency identification) wireless communication device |
CN102547916A (en) * | 2010-12-17 | 2012-07-04 | 赵俊淋 | Method for achieving multi-frequency coverage of wireless sensor network based on time division multiplex |
CN103391145A (en) * | 2012-05-09 | 2013-11-13 | 国家广播电影电视总局广播科学研究院 | Method for achieving frequency modulation emergency broadcast based on RDS |
CN103456068A (en) * | 2013-08-30 | 2013-12-18 | 中国科学院上海微系统与信息技术研究所 | Roll calling counting system |
CN104081800A (en) * | 2011-12-02 | 2014-10-01 | 诺基亚公司 | Transmitting service advertisements |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101917384B (en) * | 2009-11-17 | 2013-05-01 | 新奥特(北京)视频技术有限公司 | Task distribution method and device for distributed transcoding system |
JP6346180B2 (en) * | 2012-08-13 | 2018-06-20 | エルジー エレクトロニクス インコーポレイティド | System information update method and apparatus in wireless LAN system |
US9179409B2 (en) * | 2012-12-03 | 2015-11-03 | Qualcomm Incorporated | Multiple access scheme for narrowband channels |
CN103379503A (en) * | 2013-07-27 | 2013-10-30 | 浙江求是人工环境有限公司 | System and method for distributing channels of wireless sensor network for agricultural product logistics |
CN104007735B (en) * | 2014-06-06 | 2017-01-04 | 杰克缝纫机股份有限公司 | A kind of operating system of batch setting sewing machine parameter |
-
2015
- 2015-03-25 CN CN201510133119.0A patent/CN104702698B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8027641B2 (en) * | 2007-03-19 | 2011-09-27 | Broadcom Corporation | Method and system for detecting channels suitable for FM transmission in an integrated FM transmit/receive system |
CN102487517A (en) * | 2010-12-06 | 2012-06-06 | 国民技术股份有限公司 | Wireless networking method and system based on 2.4G RFID (radio frequency identification) wireless communication device |
CN102547916A (en) * | 2010-12-17 | 2012-07-04 | 赵俊淋 | Method for achieving multi-frequency coverage of wireless sensor network based on time division multiplex |
CN104081800A (en) * | 2011-12-02 | 2014-10-01 | 诺基亚公司 | Transmitting service advertisements |
CN103391145A (en) * | 2012-05-09 | 2013-11-13 | 国家广播电影电视总局广播科学研究院 | Method for achieving frequency modulation emergency broadcast based on RDS |
CN103456068A (en) * | 2013-08-30 | 2013-12-18 | 中国科学院上海微系统与信息技术研究所 | Roll calling counting system |
Also Published As
Publication number | Publication date |
---|---|
CN104702698A (en) | 2015-06-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102780515B (en) | A kind of method and device of compatible wireless charging and NFC | |
CN107645735A (en) | Sidelink resource load measuring method and device in a kind of V2X networks | |
CN107197523B (en) | Method and equipment for configuring and determining semi-persistent scheduling | |
CN106341771B (en) | A kind of D2D resource allocation methods and base station | |
JP2018523412A5 (en) | ||
CN104519493A (en) | Method for networking multiple Bluetooth devices | |
CN106031198B (en) | A kind of method, apparatus and system of dispatch network node data | |
JP2012138951A5 (en) | Wireless terminal station communication method and wireless terminal station | |
RU2013112912A (en) | CONTROL MESSAGES OF CONFIRMATION FROM MULTIPLE DESTINATIONS FOR MULTIPLE MIMO TRANSMISSIONS | |
CN105191228A (en) | Systems and methods for traffic-aware medium access selection | |
WO2011159102A3 (en) | Method for transmitting buffer state report from terminal in wireless communication system, and apparatus therefor | |
CN104469413A (en) | Local area network multi-terminal synchronous playing time deviation calculation improving method | |
CN110312285A (en) | A kind of communication means and relevant device | |
Cheng et al. | 5G in manufacturing: a literature review and future research | |
WO2014162200A3 (en) | Neighbor discovery method and apparatus for user mobile terminal device to user mobile terminal device communication system | |
CN104702698B (en) | The network terminal, sewing machine and the multi-computer communication method and system based on radio frequency | |
CN110166151A (en) | A kind of data transmission method and relevant device | |
CN102136862A (en) | Base station device, communication system and communication method | |
CN105580424B (en) | A kind of method and device of base station access by terminal | |
CN105743866B (en) | A kind of processing method and gateway of message | |
CN109089299A (en) | It is a kind of to allow facility registration to cloud with network method based on SmartConfig mode | |
CN104618911B (en) | A kind of method, apparatus of communication between devices, system and relevant device | |
CN104066198A (en) | Method and system for selecting signal channel in wireless local area network | |
US10064223B2 (en) | Apparatus and method for selecting D2D communication mode depending on signal interference | |
CN105162553A (en) | Signaling indication method and system of transmission block type |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP03 | Change of name, title or address |
Address after: 318010 No. 1008, east section of Donghai Avenue, Sanjia, Jiaojiang District, Taizhou City, Zhejiang Province Patentee after: Jack Technology Co.,Ltd. Address before: 318010 No. 15 Airport South Road, Jiaojiang District, Zhejiang, Taizhou Patentee before: JACK SEWING MACHINE Co.,Ltd. |
|
CP03 | Change of name, title or address |