Summary of the invention
The embodiment of the invention provides a kind of data processing method, system and equipment, is used for realizing the terminal data information stored is upgraded and reduced the complexity of data information stored in the terminal being carried out the output print flow process.
A kind of data processing method, this method comprises:
Facsimile machine receives instruction with this terminal data and sends to the terminal after receiving the terminal data reception instruction of input; Said terminal receives instruction according to this terminal data and connects with said facsimile machine; Said terminal data receives instruction and is used to start the receive faxes instruction of machine data flow process of said terminal for predefined;
After said terminal and said facsimile machine connected, said facsimile machine was encoded the data message that collects according to facsimile protocol, and the data message after will encoding sends to the terminal with interface of supporting said facsimile protocol;
Handle this data message according to said facsimile protocol after receiving said facsimile machine data sent information through said interface at said terminal, and the memory cell that the data message after will handling sends to said terminal is stored.
A kind of data processing method, this method comprises:
Facsimile machine sends to the terminal with this data output instruction after receiving the data output instruction of input; Said terminal connects according to this data output instruction and said facsimile machine; Said data output instruction is the predefined instruction of said terminal dateout to the facsimile machine flow process that be used to start;
After said terminal and said facsimile machine connect; The data message in self memory cell is read at said terminal; According to facsimile protocol this data message is handled, and the data message after will handling sends to said facsimile machine through the interface of supporting said facsimile protocol;
Said facsimile machine prints output to this data message after receiving said terminal data sent information.
A kind of data handling system, this system comprises:
Facsimile machine is used for after the terminal data that receives input receives instruction, this terminal data is received instruction send to said terminal, and this terminal data receives instruction and is used to start the receive faxes instruction of machine data flow process of said terminal for predefined; After said terminal and said facsimile machine connect, the data message that collects is encoded according to facsimile protocol, and the data message after will encoding sends to the terminal with interface of supporting said facsimile protocol;
The terminal is used for receiving instruction according to said terminal data and connects with said facsimile machine; Receive said facsimile machine data sent information through said interface after, according to said facsimile protocol this data message is handled, and the memory cell that the data message after will handling sends to said terminal is stored.
A kind of data handling system, this system comprises:
The terminal is used for connecting according to facsimile machine data sent output order and said facsimile machine; After connecting with said facsimile machine, read the data message in self memory cell, according to facsimile protocol this data message is handled, and the data message after will handling sends to facsimile machine through the interface of supporting said facsimile protocol;
Facsimile machine after being used to receive the data output instruction of input, sends to said terminal with this data output instruction, and said data output instruction is the predefined instruction of said terminal dateout to the facsimile machine flow process that be used to start; After receiving said terminal data sent information, this data message is printed output.
Among the present invention, after encoding the data message that collects, facsimile machine sends to terminal with interface of supporting facsimile protocol; The terminal is through this interface machine data sent information of receiving faxes, and stores after this data message is handled, thereby realized purpose that data information stored in the terminal is upgraded, is about to self-defining data message and is built in the terminal.
Among the present invention; The data message in self memory cell is read at the terminal; This data message is handled the back send to facsimile machine through the interface of supporting facsimile protocol, facsimile machine prints output to this data message after receiving terminal data sent information; Thereby realized need data information stored in the terminal not being carried out output print, reduced the complexity of data information stored in the terminal being carried out the output print flow process by other equipment except that output equipment.
Embodiment
In order to realize that data information stored in the terminal is upgraded; Being about to self-defining data message is built in this terminal; The embodiment of the invention provides a kind of data processing method; In this method, facsimile machine sends to the terminal with interface of supporting facsimile protocol with the data message that collects, and after receiving facsimile machine data sent information through this interface store data message at this terminal.
Referring to Fig. 1, the data processing method that the embodiment of the invention provides specifically may further comprise the steps:
Step 10: facsimile machine is encoded the data message that collects according to facsimile protocol, and the data message after will encoding sends to the terminal with interface of supporting facsimile protocol;
Step 11: handle this data message according to facsimile protocol after receiving facsimile machine data sent information through said interface at the terminal, and the memory cell that the data message after will handling sends to the terminal is stored.
In the step 10, facsimile machine was encoded the data message that collects according to facsimile protocol before, the terminal data that facsimile machine receives input received instruction, this terminal data is received instruction send to the terminal; The terminal connects with facsimile machine according to this Data Receiving instruction; The instruction of this Data Receiving is used to start the receive faxes instruction of machine data flow process of terminal for predefined; Facsimile machine is encoded the data message that collects after connecting with the terminal according to facsimile protocol, and the data message after will encoding through the connection of setting up sends to the terminal.
In the step 11, handle data message according to facsimile protocol at the terminal, is meant that the Data Format Transform with data message is the data format that the terminal is supported, comprises through data message is carried out byte-by-byte analysis, data message is carried out paging handle.
Facsimile protocol includes but not limited to: EIA/TIA 592 and 617.
In the step 11; The memory cell that data message after handling is sent to the terminal is stored; During concrete the realization, the renewable memory cell of data in this terminal can be at first confirmed at the terminal, and the data message after will handling then sends to the renewable memory cell of these data and stores.Here, the renewable memory cell of data is meant can carry out erasable memory cell, can not restart because of the terminal and loses but write content.On the contrary, the nonupdatable memory cell of data be meant can not carry out erasable, the memory cell that can only read.
After the memory cell that data message after will handling sends to the terminal is stored; The data message of terminal in can reading cells; According to facsimile protocol this data message is handled, and the data message after will handling sends to facsimile machine through the interface of supporting facsimile protocol; Facsimile machine prints output to this data message after receiving terminal data sent information.
Here, the terminal is handled this data message according to facsimile protocol and is meant, is the data format that facsimile machine is supported with the Data Format Transform of this data message.
Before the data message in the reading cells of terminal, facsimile machine sends to the terminal with this data output instruction after receiving the data output instruction of input; The terminal connects according to this data output instruction and facsimile machine; This data output instruction is the predefined instruction of terminal dateout to the facsimile machine flow process that be used to start; After terminal and facsimile machine connect, the data message in the reading cells, and this data message is handled the back send to facsimile machine through the interface of supporting facsimile protocol.
In order to reduce the complexity of data information stored in the terminal being carried out the output print flow process; The embodiment of the invention also provides a kind of data processing method; In this method; Self data information stored is read at the terminal, this data message is sent to facsimile machine through the interface of supporting facsimile protocol carry out output print.
Referring to Fig. 2, another data processing method that the embodiment of the invention provides specifically may further comprise the steps:
Step 20: the data message in self memory cell is read at the terminal, according to facsimile protocol this data message is handled, and the data message after will handling sends to facsimile machine through the interface of supporting facsimile protocol;
Step 21: facsimile machine prints output to this data message after receiving terminal data sent information.
In the step 20, handle this data message according to facsimile protocol at the terminal, is meant that the Data Format Transform with data message is the data format that facsimile machine is supported.
In the step 20, before the data message in the reading cells of terminal, facsimile machine receives the data output instruction of input, and this data output instruction is sent to the terminal; The terminal connects according to this data output instruction and facsimile machine; This data output instruction is the predefined instruction of said terminal dateout to the facsimile machine flow process that be used to start; The data message in the said memory cell is read in the terminal after connecting with facsimile machine, this data message is handled the back send to facsimile machine through the connection of setting up.
During data message in the reading cells of terminal; Can be at first according to the corresponding relation of predefined data output instruction and memory cell sign; Confirm the corresponding memory cell sign of data output instruction that the terminal receives, and read the data message in the corresponding memory cell of this memory cell sign.For example,, then read the data message in the backup area,, then read the data message in the buffering area if data output instruction is Y if data output instruction is X.
Be output as example to be built into self-defining terminal operation specification in the terminal and the terminal operation specification of storing in the terminal printed below, the present invention will be described:
Self-defining terminal operation specification is built in the terminal and that the terminal operation specification of storing in the terminal is printed the overall procedure of output is following:
Step 1: data acquisition.Facsimile machine is encoded the terminal operation specification that collects according to facsimile protocol, generate the data of one group of 16 system; Handle the data of this terminal operation specification according to facsimile protocol after receiving the terminal operation specification that facsimile machine sends at the terminal, and store in the terminal in the special memory cell that is provided with;
Step 2: design printing function.In the terminal, define Engineering Order in advance, be used for starting the fax flow process and with the facsimile machine interactive information, the data in the memory cell are sent to facsimile machine, print output;
Step 3: the data in the memory block, can not lose because of switching on and shutting down, can print repeatedly.
Wherein in the step 1, data are carried out byte-by-byte processing according to facsimile protocol,, the data of handling are carried out paging handle according to the amount of capacity of specification.
Wherein in the step 2, the Engineering Order of design is the special processing to some or a plurality of buttons, and guidance code starts the fax flow process, data is delivered on the facsimile machine with the form of fax-traffic printed.This place's design just realizes communicating by letter of terminal and facsimile machine in this locality; Do not relate to any network, can not produce any rate, not only can print operational manual; Can also verify whether the facsimile function that inserts box is normal, whether the fax quality The profile.
Wherein in the step 3; Preset standard set terminal operation specification data in the terminal; When the user need store self-defined terminal operation specification; Through the Usage data collection function, convert self-defining terminal operation specification to 16 system facsimile datas and store in the terminal, and can not lose because of power down.
In order to make the object of the invention, technical scheme and advantage clearer, below the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
Step 1: the present invention relates to two modules: input/output module (interface module) and terminal module, both are connected through the RJ11 interface, and wherein terminal module can be divided into data processing module and memory module; Data processing module is divided into the input data processing and dateout is handled two parts; Memory module is divided into backup area and buffering (Buf) district, and backup area can not carry out erasable, can only read; The Buf district can carry out erasable, can not restart because of the terminal and loses but write content;
Step 2: when importing, at first through input module input data, the terminal is called data processing module and is carried out data processing, and data are deposited in the common store Buf district;
Step 3: when exporting, the data in the Buf district are duplicated at the terminal earlier, deliver to data processing module, handle the back and are sent to the facsimile machine printout through the RJ11 interface.
When the user needs built-in self-defining operation specification, can carry out according to following steps, shown in Fig. 3 A:
Step 1: the user puts into facsimile machine with self-defining terminal operation specification, and presses corresponding engineering instruction, starts the terminal machine data flow process of receiving faxes;
Step 2: when terminal and the success of facsimile machine link setup, handle each byte in the data flow according to facsimile protocol (as: EIA/TIA 592 and 617) at the terminal;
Step 3: with the data that step 2 is handled, be stored in the memory block that lane terminal set, and cover former meaningfully, the data in the memory block can not be wiped free of because the terminal is restarted;
Step 4: the terminal is provided with two memory spaces when built-in specification; One is the backup area of the terminal operation specification of storage standards; One is the Buf district that is used for storing user-defined terminal operation specification, and the content in the backup area provides method of operation the most accurately for the user, and it is solidificated in the code; And the data of the inside, Buf district can freely be changed by the user, and primary data is the terminal operation specification of standard in the Buf district.
Built-in terminal operation specification when the user is printed the terminal operation specification of self-defining terminal operation specification or standard at needs, can be realized the printing flow process of specification according to following steps in the terminal, shown in Fig. 3 B:
Step 1: through the external facsimile machine input Engineering Order in terminal, whether the current Engineering Order of terminal judges is predefined command value, is then down to carry out by flow process, otherwise withdraws from;
Step 2: when the input Engineering Order is " * * * ", start the data of printing self-defining terminal operation specification in the Buf district, when the input Engineering Order is " ### ", start the data of printing the terminal operation specification of standard in the backup area;
Step 3: after the Engineering Order verification is correct, starting terminal fax link setup flow process, after the link setup success, the data that read the corresponding stored space are sent to facsimile machine;
Step 4: facsimile machine is received data, removes the flow process of facsimile link, and prints operational manual.
Referring to Fig. 4, the embodiment of the invention also provides a kind of data handling system, and this system comprises:
Facsimile machine 40 is used for the data message that collects is encoded according to facsimile protocol, and the data message after will encoding sends to the terminal with interface of supporting said facsimile protocol;
Terminal 41 is used for receive said facsimile machine data sent information through said interface after, according to said facsimile protocol this data message being handled, and the memory cell that the data message after will handling sends to said terminal is stored.
Said facsimile machine 40 is used for:
After the terminal data that receives input receives instruction, this terminal data is received instruction send to said terminal; After said terminal and said facsimile machine connect, the data message that collects is encoded according to facsimile protocol;
Accordingly, said terminal 41 is used for:
Connect with said facsimile machine according to said Data Receiving instruction; The instruction of said Data Receiving is used to start the receive faxes instruction of machine data flow process of said terminal for predefined.
Said terminal 41 is used for:
Confirm the renewable memory cell of data in this terminal; Data message after handling is sent to the renewable memory cell of these data to be stored.
Said terminal 41 also is used for:
Read the data message in the said memory cell, this data message is handled, and the data message after will handling sends to said facsimile machine through said interface according to said facsimile protocol;
Accordingly, said facsimile machine 40 also is used for:
After receiving said terminal data sent information, this data message is printed output.
Said facsimile machine 40 is used for:
After receiving the data output instruction of input, this data output instruction is sent to said terminal;
Accordingly, said terminal 41 is used for:
Connect according to said data output instruction and said facsimile machine; Said data output instruction is the predefined instruction of said terminal dateout to the facsimile machine flow process that be used to start; After said terminal and said facsimile machine connect, read the data message in the said memory cell.
Said terminal 41 is used for:
According to the corresponding relation of predefined data output instruction and memory cell sign, confirm the corresponding memory cell sign of data output instruction that said terminal receives, and read the data message in the corresponding memory cell of this memory cell sign.
Referring to Fig. 5, the embodiment of the invention also provides a kind of terminal, and this terminal comprises:
Support the interface module 50 of facsimile protocol, the machine data sent information that is used to receive faxes sends to data processing module with this data message;
Data processing module 51 be used for according to said facsimile protocol this data message being handled, and the data message after will handling sends to memory cell;
Memory module 52 is used to store said data processing module data sent information.
Said interface module 50 also is used for:
Receive the terminal data that said facsimile machine sends and receive instruction, connect with said facsimile machine according to this Data Receiving instruction, and through the said connection machine data sent information of receiving faxes; The instruction of said Data Receiving is used to start the receive faxes instruction of machine data flow process of said terminal for predefined.
Said data processing module 51 is used for:
Confirm the renewable memory cell of data in the said terminal (the for example buffering area of memory module); Data message after handling is sent to the renewable memory cell of these data to be stored.
Said data processing module 51 also is used for:
Read the data message in the said memory cell, this data message is handled, and the data message after will handling sends to said interface module according to said facsimile protocol;
Accordingly, said interface module 50 also is used for:
Said data processing module data sent information is sent to said facsimile machine print output.
Said interface module 50 also is used for:
Receive the terminal data output order that said facsimile machine is sent, connect, and said data processing module data sent information is sent to said facsimile machine through this connection according to this data output instruction and said facsimile machine; Said data output instruction is the predefined instruction of said terminal dateout to the facsimile machine flow process that be used to start.
Still referring to Fig. 5, the embodiment of the invention also provides a kind of terminal, and this terminal comprises:
Memory cell 52 is used for storing data information;
Data processing unit 51 is used for reading the data message of said memory cell, according to facsimile protocol this data message is handled, and the data message after will handling sends to interface unit;
Support the interface unit 50 of facsimile protocol, be used to receive said data message after, this data message is sent to facsimile machine prints output.
Said interface module 50 also is used for:
Receive the terminal data output order that said facsimile machine is sent, connect, and said data processing module data sent information is sent to said facsimile machine through this connection according to this data output instruction and said facsimile machine; Said data output instruction is the predefined instruction of said terminal dateout to the facsimile machine flow process that be used to start.
Said data processing module 51 is used for:
According to the corresponding relation of predefined data output instruction and memory cell sign, confirm the corresponding memory cell sign of data output instruction that said terminal receives, and read the data message in the corresponding memory cell of this memory cell sign.The memory cell here can comprise the buffering area and the backup area of memory module.
Terminal among the present invention comprises: support the single mode wireless terminal of facsimile function, or support the single mode catv terminal of facsimile function, or support the multi-module radio terminal of facsimile function, or support the multimode catv terminal of facsimile function.
To sum up, beneficial effect of the present invention comprises:
In the scheme that the embodiment of the invention provides, after encoding the data message that collects, facsimile machine sends to terminal with interface of supporting facsimile protocol; The terminal is through this interface machine data sent information of receiving faxes, and stores after this data message is handled, thereby realized purpose that data information stored in the terminal is upgraded, is about to self-defining data message and is built in the terminal.
In the scheme that the embodiment of the invention provides; The data message in self memory cell is read at the terminal; This data message is handled the back send to facsimile machine through the interface of supporting facsimile protocol; After facsimile machine receives terminal data sent information; This data message is printed output, thereby realized need data information stored in the terminal not being carried out output print, reduced the complexity of data information stored in the terminal being carried out the output print flow process by other equipment except that output equipment.
The present invention not only can solve user loss or damage the problem that specification is made troubles on the basis that reduces the end product cost, can also make the user at any time; Revise the content of built-in specification easily; Embody the hommization of Terminal Design, promptly be user-friendly to, operation is simple.Because the present invention is based on the local loop operation of terminal and facsimile machine, does not relate to any network information, can not produce any fax expense, has reduced the cost of end product.In addition the user through this operation can effectively check the terminal facsimile function whether normal with fax quality advantage such as whether satisfy the demand.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, belong within the scope of claim of the present invention and equivalent technologies thereof if of the present invention these are revised with modification, then the present invention also is intended to comprise these changes and modification interior.