CN106851611A - A kind of data is activation and the method and device for receiving - Google Patents

A kind of data is activation and the method and device for receiving Download PDF

Info

Publication number
CN106851611A
CN106851611A CN201710114188.6A CN201710114188A CN106851611A CN 106851611 A CN106851611 A CN 106851611A CN 201710114188 A CN201710114188 A CN 201710114188A CN 106851611 A CN106851611 A CN 106851611A
Authority
CN
China
Prior art keywords
data
sent
received
designator
volume
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710114188.6A
Other languages
Chinese (zh)
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.)
Fuji Xerox of Shanghai Ltd
Fuji Xerox China Ltd
Original Assignee
Fuji Xerox China 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 Fuji Xerox China Ltd filed Critical Fuji Xerox China Ltd
Priority to CN201710114188.6A priority Critical patent/CN106851611A/en
Publication of CN106851611A publication Critical patent/CN106851611A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/0231Traffic management, e.g. flow control or congestion control based on communication conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/04Error control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/02Processing of mobility data, e.g. registration information at HLR [Home Location Register] or VLR [Visitor Location Register]; Transfer of mobility data, e.g. between HLR, VLR or external networks
    • H04W8/08Mobility data transfer

Abstract

The present invention provides a kind of data is activation and the method and device for receiving, and a kind of method of data is activation, methods described includes:In response to receiving ready signal, data to be sent are determined whether, the reception ready signal indicates the unlatching of communication window;If there are data to be sent, judge the data volume of the data to be sent whether less than or equal to volume of transmitted data threshold value;If it is not, the part for then intercepting the data to be sent according to the volume of transmitted data threshold value is transmitted, the data to be sent when remaining data is opened as next communication window, and send the unfinished designator of data transfer.A kind of method of data receiver, methods described includes:Sent to transmitting terminal and receive ready signal, with open communication window;In response to the reception ready signal, data to be received are determined whether;If so, then receiving the data from the transmitting terminal, the data volume of received data is less than or equal to volume of transmitted data threshold value.The present invention provides the device of the correspondence above method.

Description

A kind of data is activation and the method and device for receiving
Technical field
The present invention relates to the communications field, more particularly to a kind of data is activation of asynchronous transmission and the method and device of reception.
Background technology
Current radio communication function is a function for standard configuration for panel computer, smart mobile phone etc..Use mobile phone Radio communication function come manipulate other electronic functionalities also become electronic equipment set manufacturer design electronic equipment when need The important step to be considered.Wireless module is installed in the electronic device to realize that the radio function of electronic equipment is to solve at present A certainly approach of problem above.One most basic method is exactly to realize wireless work(using wireless chip in the electronic device Can, but this mode is relatively costly, is generally used for the radio communication of performance electric room higher.
Another common method is exactly to be changed by the ripe wireless-wire communication of technology in the market Module realizes radio communication function.Will not be very big to the change on electronic equipment hardware using such technology, so develop Cost it is relatively low and develop cycle it is also relatively short, be used directly for high speed Wireless Telecom Equipment and low speed it is wired The foundation of the direct radio communication of communication equipment.But, existing wireless-wire communication modular converter only provides hardware and establishment The method of communication link, does not provide that scheme solves the Wireless Telecom Equipment of high speed and the wire communication facility of low speed is being used Communication interaction coordination problem, the i.e. problem of communication speed difference.And the problem person of needing to use oneself design that communication interaction is coordinated Communication protocol is solved.
During design communication protocol, a kind of relatively common communication protocol is synchronous communications protocol.It is required that hair receives both sides having With frequency with the synchronizing clock signals of phase, only specific synchronization character need to be added in the foremost of transmission message, hair is received both sides and build It is vertical synchronous, hereafter just sent by turn under the control of synchronised clock/received.It is characterized in that when carrying out data transmission, send and Receiving both sides will keep complete synchronization, it is therefore desirable to receive and transmission equipment must use same clock.Its advantage can be Realize high speed, the transmission of the data of Large Copacity.But meanwhile, it also requires that generation clock and receives clock and keeps stringent synchronization, Hardware is complicated simultaneously.And the inherently asynchronous low cost of radio communication is being carried out using wireless-wire communication modular converter Solution, if realizing communication with synchronous communications protocol, will significantly be transformed and cost hardware and software It is more expensive, it is clear that unreasonable.So when the communication protocol of wireless-wire communication modular converter is designed, typically will not be using synchronous Communication protocol.
Another relatively common communication protocol is asynchronous communications protocol.The main structure for having used asynchronous transmission of its design Make, constructed by asynchronous transmission, it is to avoid the requirement of clock stringent synchronization is needed in synchronous communication, so as to reducing design difficulty With the complexity of hardware, while cost is relatively low.
Asynchronous transmission there is also two potential problems.One is asynchronous transmission needs recipient using spcial character to control Transmission equipment processed or the data flow of computer transmission.When recipient can not continue to data, an XOFF control word is sent Symbol tells that sender stops transmission;When transmission can recover, retransmit an XON character to notify sender.So dock Debit necessarily there are certain requirements in disposal ability, and data are more, and requirement is higher, and the computational load of recipient is also bigger.Its Two is that recipient is not aware that when data can reach.It detects that data and before responding, first ratio Spy passes by.Therefore, the information of each asynchronous transmission is all started with a start bit, and it notifies that receiving side data has been arrived Reach, this just gives the time of recipient's response, reception and data cached bit;In the end of transmission, a stop position is represented This termination of transmission information.Because so each information adds " synchronization " information, therefore generates more expense.Example Such as, data transfer bit of every eight bits additionally will transmit 2 bits as synchronizing information more, and total traffic load is increased by 25%.
So in general, generally, asynchronous transmission problem for the low-speed device of volume of transmitted data very little Less, but for the very big high-speed equipment of those volumes of transmitted data, the load when computational load of recipient and transmission increases Value is just quite serious, ultimately results in communication efficiency low.If when for volume of transmitted data larger equipment, to consider The defect for overcoming asynchronous transmission to construct is needed, the load of equipment when reducing communication reduces the consumption of data in communication, so as to be lifted The efficiency of communication.
The content of the invention
The present invention provides a kind of data is activation and the method and device for receiving so that asynchronous communication it is in hgher efficiency, while Improve the accuracy of communication process.
According to above-mentioned purpose, the present invention provides a kind of method of data is activation, and methods described includes:Prepare in response to receiving Signal, determines whether data to be sent, and the reception ready signal indicates the unlatching of communication window;If there is data to be sent, Then judge the data volume of the data to be sent whether less than or equal to volume of transmitted data threshold value;If it is not, then being passed according to the data The part that throughput rate threshold value intercepts the data to be sent is transmitted, treating when remaining data is opened as next communication window Send data.
In one embodiment, methods described also includes:If the data volume of the data to be sent is less than or equal to the data Transmission quantity threshold value, sends whole data to be sent, and send data transfer completion signal.
In one embodiment, the step of sending the data to be sent, further includes:Sent successively in units of byte The data to be sent.
In one embodiment, methods described also includes:If without data to be sent, sending sign off designator.
The present invention also provides a kind of method of data receiver, and methods described includes:Sent to transmitting terminal and receive ready signal, With open communication window;In response to the reception ready signal, data to be received are determined whether;If so, then receive coming from The data of the transmitting terminal, the data volume of received data is less than or equal to volume of transmitted data threshold value.
In one embodiment, the step of data of the reception from the transmitting terminal are further included:With byte as single Position receives the data of transmission successively, and methods described also includes:After often receiving a byte, the byte is fed back, to confirm Receive the byte.
In one embodiment, methods described also includes:Judge whether to receive data transfer in present communications window complete Into designator;If so, then judging that whether data transfer completion designator or sign off are received in a preceding communication window to be referred to Show symbol;If it is not, then completing all data transfers that not only do not received previously close to current window designator but also not receiving communication knot The data received in the data and present communications window of transmission in the communication window of beam designator are combined into partial data;And Data processing is carried out to the partial data.
In one embodiment, if being received in a preceding communication window, data transfer completes designator or sign off is indicated Symbol, then carry out data processing to the data received in present communications window.
The present invention also provides a kind of data sending terminal, and the data sending terminal includes:Transmit-Receive Unit and processing unit, wherein The Transmit-Receive Unit is used to obtain reception ready signal, and the processing unit judges whether to need in response to receiving ready signal Data are sent, the reception ready signal indicates the unlatching of communication window, and the processing unit is sentenced in response to there are data to be sent Whether the data volume of the data to be sent of breaking is less than or equal to volume of transmitted data threshold value, and the Transmit-Receive Unit is in response to described pending Send the data volume of data more than volume of transmitted data threshold value, a part for the data to be sent is intercepted according to the volume of transmitted data It is transmitted, the processing unit is sent out in response to intercepting a part for the data to be sent according to the volume of transmitted data Send, the data to be sent when storage remaining data is opened as next communication window,
In one embodiment, the Transmit-Receive Unit is further:Data volume in response to the data to be sent is less than or equal to The volume of transmitted data threshold value, then send whole data described to be sent, and send data transfer completion signal.
In one embodiment, the Transmit-Receive Unit is further used for:Send the number to be sent successively in units of byte According to.
In one embodiment, the Transmit-Receive Unit is further:In response to without data to be sent, then sending sign off and indicating Symbol.
The present invention also provides a kind of data receiver, and the data receiver includes:Transmit-Receive Unit and processing unit, wherein The Transmit-Receive Unit, sends to transmitting terminal and receives ready signal, with open communication window;The processing unit, in response to described Ready signal is received, data to be received are determined whether;The Transmit-Receive Unit, in response to there is data to be received, then receives Data from the transmitting terminal, the data volume of received data is less than or equal to volume of transmitted data threshold value.
In one embodiment, the Transmit-Receive Unit is further used for:In response to there is data to be received, in units of byte The data of transmission are received successively;After often receiving a byte, the byte is fed back, to confirm to have been received by the word Section.
In one embodiment, whether the processing unit is further used for, and judges receive number in present communications window According to designator is transmitted, if so, then judging that whether data transfer is received in a preceding communication window completes designator or logical Letter end indicator, the processing unit completes designator further in response to data transfer is received in present communications window, Data transfer is not received by a preceding communication window and completes designator or sign off designator, then will be previously close to current All data transfers that not only do not received of window complete designator but also do not receive transmission in the communication window of sign off designator The data received in data and present communications window are combined into complete number, and carry out data processing to the partial data.
In one embodiment, the processing unit completes to indicate in response to receiving data transfer in a preceding communication window Symbol or sign off designator, then carry out data processing to the data received in present communications window.
The present invention also provides a kind of compounding machine, including Landline communication unit and relay unit, the Landline communication unit to The relay unit initiates communication request, and with open communication window, the relay unit judges institute in response to the communication request State whether relay unit there are data to be sent, the relay unit is determined whether described in response to there are the data to be sent Whether the data volume of data to be sent is more than volume of transmitted data threshold value, number of the relay unit in response to the data to be sent It is more than the volume of transmitted data threshold value according to amount, the one of the data to be sent is intercepted further according to the volume of transmitted data threshold value Part is transmitted, using remaining data as next communication window open when data to be sent, and it is not complete to send data transfer Into designator;The Landline communication unit receives the data from the relay unit in response to the data for sending, received The data volume of data be less than or equal to volume of transmitted data threshold value, the relay unit and mobile terminal carry out radio communication, wherein The relay unit is more than the speed that the Landline communication unit and the relay unit communicate with the speed of communication of mobile terminal.
In one embodiment, the relay unit is less than or equal to the data in response to the data volume of the data to be sent Transmission quantity, then send all data to be sent, and send data transfer completion signal.
In one embodiment, whether the Landline communication unit is further used for, and judges received in present communications window Designator is completed to data transfer, if so, then judge that whether data transfer is received in a preceding communication window completes designator, The Landline communication unit completes designator in response to receiving data transfer in present communications window, in a preceding communication window It is not received by data transfer and completes designator or sign off designator, then will not both be received close to all of current window previously Designator is completed to data transfer do not receive the data of transmission and present communications window in the communication window of sign off designator again The intraoral data for receiving are combined into partial data, and carry out data processing to the partial data.
In one embodiment, the Landline communication unit receives data transfer and completes to refer in response to a preceding communication window Show symbol or sign off designator, then data processing is carried out to the data received in present communications window.
In one embodiment, each byte in the data to be sent represents the enabled state of each button of the compounding machine, The Landline communication unit further, designator is completed in response to the data transfer, according to each word in the transmission data The enabled state of each button of compounding machine for representing is saved, the operation to each button of compounding machine is performed.
As described above, the active transmission of the reception ready signal that the present invention passes through receiving terminal, reduces the burden of receiving terminal, Only receive the data of volume of transmitted data threshold value every time simultaneously, further consider the receiving velocity and disposal ability of receiving terminal. The data is activation and the method and apparatus of reception that the present invention is provided improve communication efficiency and reduce error rate.
Brief description of the drawings
Fig. 1 shows a kind of example of asynchronous transmission;
Fig. 2 shows a kind of method one side flow chart of data is activation of the invention;
Fig. 3 shows a kind of flow chart of the method one side of data receiver of the invention;
Fig. 4 shows a case that the data volume for intending transmission is less than or equal to receive designator during volume of transmitted data threshold value;
Fig. 5 shows the schematic diagram of communication means one side;
Fig. 6 shows the flow chart of recipient of the present invention and sender's communication means one side;
Fig. 7 shows a kind of communication system;
Fig. 8 show mobile terminal with composite structure into the one side of communication system schematic diagram.
Specific embodiment
Fig. 1 is refer to, Fig. 1 shows a kind of example of asynchronous transmission, and wherein panel computer or smart mobile phone 101 has and pass through Wireless communication module thereon controls the demand of the electronic equipments such as all-in-one 102.Generally, due to electronics such as all-in-ones Equipment 102 only assembles wire communication module, such as UART or SPI.The data of panel computer or the wireless communication module of smart mobile phone 101 Transmission rate is higher than the message transmission rate of the wire communication module of the electronic equipments such as all-in-one 102, is at this moment necessary to set Communication protocol is counted to meet the demand of above two communication between devices.
In order to meet above-mentioned similar communication requirement, the present invention provides a kind of method of data is activation, refer to Fig. 2, Fig. 2 A kind of method one side flow chart of data is activation of the invention is shown, the method for data is activation includes:
Step 201:In response to receiving ready signal, data to be sent are determined whether, receive ready signal and indicate communication The unlatching of window;
Step 202:If there are data to be sent, judge the data volume of data to be sent whether less than or equal to volume of transmitted data Threshold value;
Step 203:If it is not, the part for then intercepting the data to be sent according to volume of transmitted data threshold value is transmitted, Data to be sent when remaining data is opened as next communication window, and send the unfinished designator of data transfer.
In the above method, sender will not active sending signal, but the ready signal to be received such as need, receive and prepare letter Number show that recipient has performed reception and prepared.
After reception ready signal is obtained, sender also needs the size of the data volume for judging plan transmission data, if according to amount greatly In volume of transmitted data threshold value, then the part for intercepting the data to be sent according to volume of transmitted data threshold value is transmitted.
Volume of transmitted data threshold value herein can set according to the data receiver of recipient and processing speed, that is to say, that In a communication window, the data of volume of transmitted data threshold value are at most only sent, receive in time and locate to enable the recipient to Reason.
Using the data after interception as data to be sent, intend being sent when next communication window arrives.When generation data During intercept operation, send data transfer and do not complete designator, to inform that receiving side data is not transmitted also, recipient may Lower secondary data is also needed to wait for come after obtaining complete data, then data are processed.
The data volume that sender intends transmission is probably many twices of volume of transmitted data threshold value, now in first communication window Interior transmitted data amount is equal to the data of volume of transmitted data threshold value, also needs transmitted data amount to be equal to data transfer in second window Measure threshold value data, now data be not still transmitted, continue send data transfer do not complete designator, until third time Data transfer can be completed.
If the data volume that sender intends transmission be volume of transmitted data threshold value three times are more and during the above, the process of data is activation With data volume be volume of transmitted data threshold value twice it is many when situation similarly, by that analogy.
In one embodiment, when the data volume of data to be sent is less than or equal to volume of transmitted data threshold value, then directly transmit complete The data to be sent in portion.In this case, the data volume of actual plan transmission is divided into two kinds of situations:
The first situation is that the data volume of actual plan transmission is less than or equal to volume of transmitted data threshold value, now in present communications Window is to complete the transmission to data.
Second situation is that the data volume of actual plan transmission is more than volume of transmitted data threshold value, but in communication window before It is intraoral to have been completed that partial data is transmitted, data of a data left amount less than or equal to volume of transmitted data threshold value in current window Transmission is needed, the transmission to data is also completed in present communications window.
Above-mentioned two situations all show that data transfer has been completed, and in one embodiment, after the completion of data transfer, send number According to signal is transmitted, inform that receiving side data has been transmitted, recipient can be with start to process data.
In one embodiment, in response to receiving ready signal, but when not having outgoing data, sign off designator is sent.
The sending method of the above-mentioned data of correspondence, the present invention provides a kind of method of reseptance of data, refer to Fig. 3, and Fig. 3 shows A kind of flow chart of the method one side of data receiver of the invention, the method for data receiver includes:
Step 301:Sent to transmitting terminal and receive ready signal, with open communication window;
Step 302:In response to receiving ready signal, data to be received are determined whether;
Step 303:If so, then receiving the data from transmitting terminal, the data volume of received data is less than or equal to number According to transmission quantity threshold value.
Receiving terminal sends to transmitting terminal and receives ready signal in the case where it is got ready, and shows its capable reception Data, communication window is opened.
In the case where communication window is opened, receiving terminal determines whether data to be received, as long as now having to be received Data, then receiving terminal directly receives data, but the data volume of the data for receiving is less than or equal to volume of transmitted data threshold value. In one embodiment, in response to receiving ready signal, but during without data to be received, sign off designator is received.
Because the data volume for intending the data of transmission is unknown, in one embodiment, receiving terminal also needs to judge whether to receive number According to being transmitted designator, and then judge whether to have received complete data.The sending method that data transfer completes symbol is the same The description of face data transmission method for uplink part.
Receiving terminal judges that whether data transfer is received in present communications window completes designator, passes when data are received When being totally lost into designator, there are two kinds of situations.
The first situation is that the data volume of actual plan transmission is less than or equal to volume of transmitted data threshold value, now last logical Or not being transmitted across data completely in letter window, that is, sign off designator can be received in a upper window, or Data transfer once is completed in a upper communication window, data transfer can be received and completed designator, in present communications The reception to data is once just completed in window.Fig. 4 is refer to, Fig. 4 shows that the data volume for intending transmission is less than or equal to data The situation of designator is received during transmission quantity threshold value, present communications window (n-th communication window), N-1 is respectively illustrated and is led to Letter window, the designator reception condition of the N-2 communication window.Due to have received complete data, in one embodiment, Receiving terminal can be processed directly data.
Second situation is that the data volume of actual plan transmission is more than volume of transmitted data threshold value, in communication window before Inside have been completed that partial data is transmitted, a data left amount is needed less than or equal to the data of volume of transmitted data threshold value in current window Transmit, can now be received in present communications window data transfer complete designator, and previous communication window in Data transfer will not be received and complete designator, will not also receive sign off designator.
Now need by each window reception to data combine to form partial data, in one embodiment, once connect preceding Receive the data of transmission in the communication window that data transfer is completed between the corresponding communication window of designator and present communications window Partial data is combined into the data received in present communications window, then data processing is carried out to partial data.
The correspondence above method, the present invention provides a kind of communication means for containing sender and recipient, specifically refer to Fig. 5, Fig. 5 show the schematic diagram of communication means one side.Recipient 501 and sender 502 perform behaviour from top to bottom respectively Make.
The communication window operation of no data transmission:Recipient 501 initiate communication request, send receive ready signal 503 to Sender 502;Sender judges without outgoing data, then to send sign off designator 504 in response to receiving ready signal 503 To recipient 501.
Data volume is operated less than or equal to the communication window of volume of transmitted data threshold value:Recipient 501 initiates communication request, sends Ready signal 505 is received to sender 502;In response to receiving ready signal 505, judgement has outgoing data to sender, and then sentences The data volume of disconnected outgoing data is less than or equal to volume of transmitted data threshold value, outgoing data is all transferred into receiving terminal, and send number According to being transmitted designator 506;Recipient 501 receives data and data are transmitted designator, judges a preceding communication window Inside receive data transfer and complete designator or sign off designator, then directly the data for receiving are processed.
Data volume is operated more than the communication window of volume of transmitted data threshold value:Recipient 501 initiates communication request, sends and receives Ready signal 507 gives sender 502;Sender has outgoing data in response to receiving ready signal 507, judgement, and then judgement is treated The data volume for sending out data is more than volume of transmitted data threshold value, and the part for intercepting data to be sent according to volume of transmitted data threshold value is carried out Send, the data to be sent when remaining data is opened as next communication window;Recipient 501 receives data and data transfer Designator is not completed, processing data is in no hurry to, next data transfer is waited;Communication request 508 is initiated again, and by extremely A few communication window, sender completes all data transfers, and sends data transfer completion designator 509;Recipient is then All data transfers that not only do not received previously close to current window are completed designator but also do not receive the logical of sign off designator The data received in data and the present communications window of transmission in letter window are combined into partial data, recipient and then to complete Data carry out data processing.
In one embodiment, foregoing data is activation and data receiver are all carried out in units of byte.More preferably, often After receiving a byte, the byte is fed back, to confirm to have been received by the byte.
Fig. 6 is refer to, Fig. 6 shows the flow chart of recipient of the present invention and sender's communication means one side.Communication Method includes:
Step 601, recipient initiates communication request;
Step 602, sender judges whether to have data to send, if then entering step in response to the communication request 603, if otherwise entering step 606;
Step 603, sender judges whether data exceed data transfer threshold value, if exceeding data transfer threshold value, enters Step 604, otherwise into step 605;
Step 604, the data of data intercept propagation threshold, subsequently into step 605;
Successively be sent data according to byte by step 605, sender;
Step 606, terminates.
Fig. 7 is refer to, Fig. 7 shows a kind of communication system, including transmitting terminal 701 and receiving terminal 702, wherein transmitting terminal 701 include Transmit-Receive Unit 7011 and processing unit 7012, and receiving terminal 702 includes Transmit-Receive Unit 7021 and processing unit 7022.
The processing unit 7022 of receiving terminal 702 judges whether receiving terminal 702 has the ability to receive data, if receiving terminal 702 is made Data receiver preparation is got well, has then informed the Transmit-Receive Unit 7021 of receiving terminal 702, receiving terminal 702 has performed the standard of data receiver Standby, the Transmit-Receive Unit 7021 of receiving terminal 702 then sends reception ready signal to transmitting terminal 701, shows that communication window has been opened.
The Transmit-Receive Unit 7011 of transmitting terminal 701 obtains the reception ready signal, and the reception ready signal is passed into hair The processing unit 7012 of sending end 701, the processing unit 7012 of transmitting terminal 701 judges whether transmitting terminal 701 has data to be sent.
If transmitting terminal 701 there are data to be sent, notify that the Transmit-Receive Unit 7011 of transmitting terminal 701 sends data to receiving terminal 702。
The data that receiving end/sending end 701 is sended in communication window of receiving terminal 702.
The present invention provides a kind of compounding machine, including Landline communication unit and relay unit.It has same communication of mobile terminal Demand.In the scene, relay unit on the one hand can keep and mobile terminal high speed real-time Communication for Power, such as by WIFI or Bluetooth realizes communication, and the data forwarding that on the other hand will be received from mobile terminal is to Landline communication unit.
The Landline communication unit of compounding machine is usually slow communication ends, and mobile terminal is generally all speed Communication ends, the method provided with the present invention, you can the data relay sent mobile terminal by relay unit is to wired Communication unit.Landline communication unit is connected with each functional module of compounding machine, and sends the data to each work(of compounding machine Can module.
In one embodiment, Landline communication unit is connected with the UI modules of compounding machine, and relay unit is received from mobile whole The director data being controlled to the button in compounding machine UI interfaces at end, then transfers to wire communication list by the director data Unit, Landline communication unit further controls the UI modules of compounding machine, it is achieved thereby that by mobile terminal come to compounding machine UI circle The operation that button in face is controlled.
Refer to Fig. 8, Fig. 8 show mobile terminal with composite structure into the one side of communication system schematic diagram.Its In, mobile terminal 801 includes wireless communication module 8011, for example, can be WIFI module or bluetooth module.
Compounding machine 802 includes trunk module 8021 and wire communication module 8022, and wherein wire communication module 8022 is connected To each functional module of compounding machine, such as UI modules 810, print module 811, duplicating module 812.
The one side of trunk module 8021 has with the high-speed communication ability of wireless communication module 8011, can in real time obtain nothing The data for sending of line communication module 8011, on the other hand can keep low-speed communication with wire communication module 8022.Relaying mould Block 8021 receives the high-speed data from mobile terminal, and further gives compounding machine existing cable modem the data low speed transmissions Letter module 8022.
Wire communication module 8022 further controls each functional module of compounding machine by the particular content of the data Such as UI modules 810, print module 811, duplicating module 812.
In one embodiment, Landline communication unit initiates communication request to relay unit, with open communication window;Relaying is single Unit judges whether relay unit has data to be sent in response to communication request, and relay unit enters one in response to there is data to be sent Whether step judges the data volume of data to be sent more than volume of transmitted data threshold value, data of the relay unit in response to data to be sent Amount is more than volume of transmitted data threshold value, and the part for intercepting data to be sent further according to volume of transmitted data threshold value is transmitted, Using remaining data as next communication window open when data to be sent;Landline communication unit connects in response to the data for sending The data from relay unit are received, the data volume of received data is less than or equal to volume of transmitted data threshold value.
More preferably, whether Landline communication unit is further used for, and judges receive data transfer in present communications window Designator is completed, if so, then judging that whether data transfer is received in a preceding communication window completes designator, wire communication list Unit completes designator in response to receiving data transfer in present communications window, and data are not received by a preceding communication window Designator or sign off designator are transmitted, are then completed all data transfers that both do not received previously close to current window Designator does not receive the number received in the data and present communications window of transmission in the communication window of sign off designator again According to being combined into partial data, and data processing is carried out to the partial data.
More preferably, Landline communication unit completes designator in response to receiving data transfer in this communication window, previous Secondary communication window receives data transfer and completes designator or sign off designator, then to receiving in present communications window Data carry out data processing.
In one embodiment, each byte in data to be sent represents the enabled state of each button of compounding machine, wire communication Unit completes designator in response to data transfer, the enable shape of each button of compounding machine represented according to each byte sent in data State, performs the operation to each button of compounding machine.
Those skilled in the art will further appreciate that, the various illustratives described with reference to the embodiments described herein Logic plate, module, circuit and algorithm steps can realize being electronic hardware, computer software or combination of the two.For clear Chu ground explains this interchangeability of hardware and software, various illustrative components, frame, module, circuit and step be above with Its functional form makees vague generalization description.Such feature be implemented as hardware or software depend on concrete application and Put on the design constraint of total system.Technical staff can be realized described for every kind of application-specific with different modes Feature, but such realize that decision-making should not be interpreted to cause departing from the scope of the present invention.
With reference to presently disclosed embodiment describe various illustrative logic modules and circuit can with general processor, Digital signal processor (DSP), application specific integrated circuit (ASIC), field programmable gate array (FPGA) or other FPGAs Device, discrete door or transistor logic, discrete nextport hardware component NextPort or its be designed to carry out function described herein any group Close to realize or perform.General processor can be microprocessor, but in alternative, the processor can be any routine Processor, controller, microcontroller or state machine.Processor is also implemented as the combination of computing device, such as DSP One or more microprocessors that combination, multi-microprocessor with microprocessor cooperate with DSP core or any other this Class is configured.
The step of method or algorithm for being described with reference to embodiment disclosed herein, can be embodied directly in hardware, in by processor Embodied in the software module of execution or in combination of the two.Software module can reside in RAM memory, flash memory, ROM and deposit Reservoir, eprom memory, eeprom memory, register, hard disk, removable disk, CD-ROM or known in the art appoint In the storage medium of what other forms.Exemplary storage medium is coupled to processor to enable the processor from/to the storage Medium reads and write-in information.In alternative, storage medium can be integrated into processor.Processor and storage medium can In residing in ASIC.ASIC can reside in user terminal.In alternative, processor and storage medium can be used as discrete sets Part is resident in the user terminal.
In one or more exemplary embodiments, described function can be in hardware, software, firmware or its any combinations Middle realization.If being embodied as computer program product in software, each function can be as the instruction of one or more bars or generation Code storage is transmitted on a computer-readable medium or by it.Computer-readable medium includes computer-readable storage medium and communication Both media, it includes any medium for facilitating computer program to shift from one place to another.Storage medium can be can quilt Any usable medium that computer is accessed.It is non-limiting as an example, such computer-readable medium may include RAM, ROM, EEPROM, CD-ROM or other optical disc storages, disk storage or other magnetic storage apparatus can be used to carry or store instruction Or the desirable program code and any other medium that can be accessed by a computer of data structure form.Any connection is also by by rights Referred to as computer-readable medium.If for example, software is to use coaxial cable, fiber optic cables, twisted-pair feeder, digital subscriber line Or the wireless technology of such as infrared, radio and microwave etc is passed from web site, server or other remote sources (DSL) Send, then the coaxial cable, fiber optic cables, twisted-pair feeder, DSL or such as infrared, radio and microwave etc is wireless Technology is just included among the definition of medium.Disk (disk) as used herein and dish (disc) include compact disc (CD), laser disc, laser disc, digital versatile disc (DVD), floppy disk and blu-ray disc, which disk (disk) are often reproduced in the way of magnetic Data, and dish (disc) laser reproduce data optically.Combinations of the above should also be included in computer-readable medium In the range of.
It is for so that any person skilled in the art can all make or use this public affairs to provide of this disclosure being previously described Open.Various modifications of this disclosure all will be apparent for a person skilled in the art, and as defined herein general Suitable principle can be applied to spirit or scope of other variants without departing from the disclosure.Thus, the disclosure is not intended to be limited Due to example described herein and design, but should be awarded and principle disclosed herein and novel features phase one The widest scope of cause.

Claims (21)

1. a kind of method of data is activation, it is characterised in that methods described includes:
In response to receiving ready signal, data to be sent are determined whether, the reception ready signal indicates opening for communication window Open;
If there are data to be sent, judge the data volume of the data to be sent whether less than or equal to volume of transmitted data threshold value;
If it is not, the part for then intercepting the data to be sent according to the volume of transmitted data threshold value is transmitted, remaining data Data to be sent when being opened as next communication window.
2. the method for claim 1, it is characterised in that methods described also includes:
If the data volume of the data to be sent is less than or equal to the volume of transmitted data threshold value, whole data to be sent are sent, And send data transfer completion signal.
3. method as claimed in claim 1 or 2, it is characterised in that the step of sending the data to be sent, further bag Include:
Send the data to be sent successively in units of byte.
4. the method for claim 1, it is characterised in that methods described also includes:
If without data to be sent, sending sign off designator.
5. a kind of method of data receiver, it is characterised in that methods described includes:
Sent to transmitting terminal and receive ready signal, with open communication window;
In response to the reception ready signal, data to be received are determined whether;
If so, then receiving the data from the transmitting terminal, the data volume of received data is less than or equal to volume of transmitted data Threshold value.
6. method as claimed in claim 5, it is characterised in that enter a step of data of the reception from the transmitting terminal Step includes:
Receive the data of transmission successively in units of byte,
Methods described also includes:
After often receiving a byte, the byte is fed back, to confirm to have been received by the byte.
7. method as claimed in claim 5, it is characterised in that methods described also includes:
Judge that whether data transfer is received in present communications window completes designator;
If so, then judging that whether data transfer is received in a preceding communication window completes designator or sign off designator;
If it is not, then completing all data transfers that not only do not received previously close to current window designator but also not receiving sign off The data received in the data and present communications window of transmission in the communication window of designator are combined into partial data;And
Data processing is carried out to the partial data.
8. method as claimed in claim 7, it is characterised in that
If data transfer is received in a preceding communication window completes designator or sign off designator, to present communications window The intraoral data for receiving carry out data processing.
9. a kind of data sending terminal, it is characterised in that the data sending terminal includes:
Transmit-Receive Unit and processing unit, wherein
The Transmit-Receive Unit is used to obtain reception ready signal,
The processing unit determines whether data to be sent in response to receiving ready signal, and the reception ready signal is indicated The unlatching of communication window,
Whether the processing unit judges the data volume of the data to be sent less than or equal to data in response to there is data to be sent Transmission quantity threshold value,
The processing unit is more than volume of transmitted data threshold value in response to the data volume of the data to be sent, is passed according to the data Throughput rate intercepts a part for the data to be sent, and the Transmit-Receive Unit is transmitted to a part of data,
It is pending when the remaining data that the processing unit storage Transmit-Receive Unit does not send is opened as next communication window Send data,
10. data sending terminal as claimed in claim 9, it is characterised in that the Transmit-Receive Unit is further:
Data volume in response to the data to be sent is less than or equal to the volume of transmitted data threshold value, then send the described of whole and treat Data are sent, and sends data transfer and complete signal.
11. data sending terminal as described in claim 9 or 10, it is characterised in that the Transmit-Receive Unit is further used for:
Send the data to be sent successively in units of byte.
12. data sending terminals as claimed in claim 9, it is characterised in that the Transmit-Receive Unit is further:
In response to without data to be sent, then sending sign off designator.
13. a kind of data receivers, it is characterised in that the data receiver includes:
Transmit-Receive Unit and processing unit, wherein
The Transmit-Receive Unit, sends to transmitting terminal and receives ready signal, with open communication window;
The processing unit, in response to the reception ready signal, determines whether data to be received;
The Transmit-Receive Unit, in response to there is data to be received, then receives the data from the transmitting terminal, received number According to data volume be less than or equal to volume of transmitted data threshold value.
14. data receivers as claimed in claim 13, it is characterised in that the Transmit-Receive Unit is further used for:
In response to there are data to be received, the data of transmission are received successively in units of byte;
After often receiving a byte, the byte is fed back, to confirm to have been received by the byte.
15. data receivers as claimed in claim 13, it is characterised in that the processing unit is further used for, and judges Whether data transfer is received in present communications window and completes designator, if so, then judging whether connect in a preceding communication window Receive data transfer and complete designator or sign off designator,
The processing unit completes designator further in response to data transfer is received in present communications window, preceding once to communicate Data transfer is not received by window and completes designator or sign off designator, then by previously close to all of current window Not only do not received data transfer complete designator and do not receive the data transmitted in the communication window of sign off designator with it is current The data received in communication window are combined into complete number, and carry out data processing to the partial data.
16. data receivers as claimed in claim 15, it is characterised in that
In response to being received in a preceding communication window, data transfer completes designator to the processing unit or sign off is indicated Symbol, then carry out data processing to the data received in present communications window.
A kind of 17. compounding machines, including Landline communication unit and relay unit, it is characterised in that
The Landline communication unit initiates communication request to the relay unit, with open communication window,
The relay unit judges whether the relay unit has data to be sent, the relaying in response to the communication request Whether unit determines whether the data volume of the data to be sent more than volume of transmitted data in response to there is the data to be sent Threshold value,
The relay unit is more than the volume of transmitted data threshold value in response to the data volume of the data to be sent, further according to The part that the volume of transmitted data threshold value intercepts the data to be sent is transmitted, using remaining data as next communication window Data to be sent when mouth is opened;
The Landline communication unit receives the data from the relay unit, and the data volume of received data is less than or equal to Volume of transmitted data threshold value,
The relay unit carries out radio communication with mobile terminal, wherein the communication speed between the relay unit and mobile terminal Degree is more than the communication speed between the Landline communication unit and the relay unit.
18. compounding machines as claimed in claim 17, it is characterised in that
The relay unit is less than or equal to the volume of transmitted data in response to the data volume of the data to be sent, then send all The data to be sent, and send data transfer completion signal.
19. compounding machines as claimed in claim 17, it is characterised in that
The Landline communication unit is further used for, and judges that whether data transfer is received in present communications window to be completed to indicate Symbol, if so, then judge that whether data transfer is received in a preceding communication window completes designator,
The Landline communication unit completes designator, the preceding window that once communicates in response to receiving data transfer in present communications window It is intraoral be not received by data transfer complete designator or sign off designator, then by previously close to current window it is all both The data for not receiving data transfer completion designator and not receiving the interior transmission of communication window of sign off designator are led to current The data received in letter window are combined into partial data, and carry out data processing to the partial data.
20. compounding machines as claimed in claim 19, it is characterised in that
The Landline communication unit receives data transfer completion designator in response to a preceding communication window or sign off refers to Show symbol, then data processing is carried out to the data received in present communications window.
21. compounding machine as described in claim 19 or 20, it is characterised in that each byte in the data to be sent represents institute The enabled state of each button of compounding machine is stated, the Landline communication unit further, designator is completed in response to the data transfer, The enabled state of each button of compounding machine that each byte in the transmission data is represented, performs the behaviour to each button of compounding machine Make.
CN201710114188.6A 2017-02-28 2017-02-28 A kind of data is activation and the method and device for receiving Pending CN106851611A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710114188.6A CN106851611A (en) 2017-02-28 2017-02-28 A kind of data is activation and the method and device for receiving

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710114188.6A CN106851611A (en) 2017-02-28 2017-02-28 A kind of data is activation and the method and device for receiving

Publications (1)

Publication Number Publication Date
CN106851611A true CN106851611A (en) 2017-06-13

Family

ID=59137138

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710114188.6A Pending CN106851611A (en) 2017-02-28 2017-02-28 A kind of data is activation and the method and device for receiving

Country Status (1)

Country Link
CN (1) CN106851611A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112217851A (en) * 2019-07-12 2021-01-12 西安诺瓦星云科技股份有限公司 Data transmission method, data transmission device and electronic equipment
CN112585888A (en) * 2020-11-24 2021-03-30 北京小米移动软件有限公司 Data transmission method and device, communication equipment and storage medium
CN113068177A (en) * 2021-03-23 2021-07-02 中国联合网络通信集团有限公司 Data transmission control method and device and terminal equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060020693A1 (en) * 2004-07-22 2006-01-26 International Business Machines Corporation Data optimization
US20080291941A1 (en) * 2005-01-28 2008-11-27 Koji Sakai Communication Device, Communication System, Communication Method, Communication Program, and Communication Circuit
CN101958884A (en) * 2009-07-20 2011-01-26 新奥特(北京)视频技术有限公司 Data transmission method and system based on non IP data tunnel
CN101969661A (en) * 2010-10-27 2011-02-09 北京握奇数据系统有限公司 Method, device and system for transmitting data in mobile Ad hoc network
CN102710758A (en) * 2012-05-22 2012-10-03 苏州云博信息技术有限公司 Method for continuously transferring breakpoint of data stream based on single chip system
CN103248452A (en) * 2012-02-10 2013-08-14 宇龙计算机通信科技(深圳)有限公司 Data sending device, data receiving device, terminal and data transmission method
CN104035904A (en) * 2014-07-04 2014-09-10 山东超越数控电子有限公司 FPGA-based interconnection device among chips

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060020693A1 (en) * 2004-07-22 2006-01-26 International Business Machines Corporation Data optimization
US20080291941A1 (en) * 2005-01-28 2008-11-27 Koji Sakai Communication Device, Communication System, Communication Method, Communication Program, and Communication Circuit
CN101958884A (en) * 2009-07-20 2011-01-26 新奥特(北京)视频技术有限公司 Data transmission method and system based on non IP data tunnel
CN101969661A (en) * 2010-10-27 2011-02-09 北京握奇数据系统有限公司 Method, device and system for transmitting data in mobile Ad hoc network
CN103248452A (en) * 2012-02-10 2013-08-14 宇龙计算机通信科技(深圳)有限公司 Data sending device, data receiving device, terminal and data transmission method
CN102710758A (en) * 2012-05-22 2012-10-03 苏州云博信息技术有限公司 Method for continuously transferring breakpoint of data stream based on single chip system
CN104035904A (en) * 2014-07-04 2014-09-10 山东超越数控电子有限公司 FPGA-based interconnection device among chips

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112217851A (en) * 2019-07-12 2021-01-12 西安诺瓦星云科技股份有限公司 Data transmission method, data transmission device and electronic equipment
CN112217851B (en) * 2019-07-12 2023-05-12 西安诺瓦星云科技股份有限公司 Data transmission method, data transmission device and electronic equipment
CN112585888A (en) * 2020-11-24 2021-03-30 北京小米移动软件有限公司 Data transmission method and device, communication equipment and storage medium
CN112585888B (en) * 2020-11-24 2023-12-01 北京小米移动软件有限公司 Data transmission method and device, communication equipment and storage medium
CN113068177A (en) * 2021-03-23 2021-07-02 中国联合网络通信集团有限公司 Data transmission control method and device and terminal equipment
CN113068177B (en) * 2021-03-23 2023-01-10 中国联合网络通信集团有限公司 Data transmission control method and device and terminal equipment

Similar Documents

Publication Publication Date Title
RU2139636C1 (en) Batch data transmission protocol for radio communications
CN106851611A (en) A kind of data is activation and the method and device for receiving
WO2011150268A1 (en) Multi-communications-media network device
US3979723A (en) Digital data communication network and control system therefor
KR102005998B1 (en) Method, apparatus, and system for joining nodes to a network
CN108270652A (en) A kind of high speed real-time bus system and its data processing method
JPS60169253A (en) Communication network having master-slave type series structure
CN110401522B (en) Data communication device, controller and data communication method thereof
CN101742701A (en) Device, method and system for treating AT command
JP2003198572A (en) Deterministic field bas and process for management of such a bus
CN101114962A (en) Device and method for exhibiting establishment and termination course of TCP protocol
CN115756144A (en) Power consumption control device and method and high-speed interconnection interface
CN106227691B (en) A kind of reciprocity bi-directional single-wire serial communication method based between MCU
CN105718400A (en) SPI based communication method
CN105718401A (en) Multiplexing method and system for converting multi-path SMII signal to one-path MII signal
JP2583007B2 (en) Communication system and communication station of the system
JP4320505B2 (en) Data transmission apparatus and control method thereof
US20060209879A1 (en) Switch system and loop transfer method
JPH10290268A (en) Synchronous serial communication circuit and communicating method
CN206602536U (en) ISDN intercommunications are directly connected to device, the system of IP intercommunications broadcast
JPS5917751A (en) Data communication system
JPS58182342A (en) Controlling and processing device of loop line
CN116436489A (en) UART interaction system and method in half-duplex mode
JPH03258132A (en) Communication terminal equipment
JPH0916517A (en) Bus interface

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20170613

RJ01 Rejection of invention patent application after publication