CN107343003A - The communication means and system of data transmission unit and remote terminal - Google Patents
The communication means and system of data transmission unit and remote terminal Download PDFInfo
- Publication number
- CN107343003A CN107343003A CN201710549239.8A CN201710549239A CN107343003A CN 107343003 A CN107343003 A CN 107343003A CN 201710549239 A CN201710549239 A CN 201710549239A CN 107343003 A CN107343003 A CN 107343003A
- Authority
- CN
- China
- Prior art keywords
- instruction
- data transmission
- transmission unit
- data
- remote 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/04—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
- H04L63/0428—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/10—Segmentation; Edge detection
- G06T7/11—Region-based segmentation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T9/00—Image coding
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/46—Embedding additional information in the video signal during the compression process
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Computer Hardware Design (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Storage Device Security (AREA)
Abstract
The invention discloses a kind of data transmission unit and the communication means and system of remote terminal.It is related to the communications field, it is characterised in that methods described includes:Step S1:Remote terminal generation instruction, the instruction to generation are encrypted;Step S2:Data transmission unit receives the instruction that remote terminal issues;Step S3:The instruction received is decrypted data transmission unit, then parses the instruction, identifies the data content according to the function code in the instruction, and the response message of the instruction is returned to data transmission unit.The problem of this method solve high cost in the prior art, Maintenance Difficulty, meanwhile, security is higher.
Description
Technical field
The present invention relates to the communications field, communication means in particular to data transmission unit and remote terminal and it is
System.
Background technology
Traditional data transmission set, there is provided the interface to data acquisition equipment is exactly inquiry and arrange parameter and reset
System, at present, the producer of each production remote terminal unit, typically there is a respective standard main product, this main product,
Typically simply responsible data-transformation facility, when needing to use in some industry, needs the industry for the sector again
The details function and flow of scene repositionings, such as status inquiry function are used in business, so as to need the soft of reconstituted product
Part code, i.e., the Original Design Manufacturer generally said (OriginalDes ignManufacturer, ODM).And wireless data passes
Transfer device has extensive application in industry-by-industry at present, and if things continue this way, and radio data-transmission equipment manufacturer will need to put into
Fixed maintenance and developer handle such product customization, and cost is high.
Meanwhile because being related to the data transfer between remote terminal and data transmission unit, the mistake that both are communicated
Cheng Zhong, safety are just particularly important.Therefore, using safer cipher mode, the security except being capable of lifting system
In addition, moreover it is possible to ensure data transfer and the accuracy of interaction.
The content of the invention
It is an object of the invention to provide data transmission unit and the communication means of remote terminal, this method solve existing
In technology the problem of cost height, Maintenance Difficulty, meanwhile, security is higher.
Another object of the present invention is to provide the communication system of data transmission unit and remote terminal, there is corresponding effect
Fruit.
To achieve these goals, the technical scheme that the embodiment of the present invention uses is as follows:
In a first aspect, the embodiments of the invention provide data transmission unit and the communication means of remote terminal, its feature exists
In methods described includes:
Step S1:Remote terminal generation instruction, the instruction to generation are encrypted;
Step S2:Data transmission unit receives the instruction that remote terminal issues;
Step S3:The instruction received is decrypted data transmission unit, then parses the instruction, according in the instruction
Function code identify the data content, and the response message of the instruction is returned to data transmission unit.
Further, the instruction includes:Frame head, function code, frame length, verification and, data content and postamble;The work(
Can classification of the code for representing the instruction;The data content is used for the data for carrying this instruction;The response message includes:
Frame head, function code, frame length, verification and, data content and postamble;The function code of the response message and the function of the instruction
Code is corresponding, and the data content of the response message is corresponding with the data content of the instruction;The classification of the instruction includes:Inquiry
Parameter instruction, arrange parameter instruction, preservation parameter instruction, reset instruction, the instruction of upstream data transparent transmission, downlink data transparent transmission refer to
Make, inquire about status command, GPIO control instructions, the instruction of upper and lower line traffic control and receipt instruction.
Further, when the classification of the instruction instructs for query argument, the data transmission unit parses the instruction,
The data content is identified according to the function code in the instruction, and the response message for returning to remote terminal the instruction includes:
Data transmission unit parses the query argument instruction;
If the query argument instruction errors, data transmission unit works as string data corresponding to query argument instruction
Do business datum and be sent to data service center DSC;
If the data content of the query argument instruction is that the ID of the data content in sky, or query argument instruction is whole
Not in the parameter list pre-set, data transmission unit returns to the response message of query argument instruction, the response message
Data content is sky;
If there are multiple ID numbers in the query argument instruction, there is part ID number not pre-setting in the multiple ID number
Parameter list in, then data transmission unit skips the part ID number, handle in multiple ID numbers remove the part ID number other
ID number.
Further, in the step S1, remote terminal generation instruction, the method bag that the instruction to generation is encrypted
Include:
Step S1.1:Remote terminal generates several interval numerical value at random, according to interval numerical value, instruction is divided into some
Individual independent part, is designated as:N1, N2, N3, N4Nn:
Step S1.2:The instruction of each independent sector is converted to corresponding binary coding by remote terminal, is designated as:S1,
S2, S3, S4......Sn;By in these coding deposit flash memories;
Step S1.3:The original image information for encryption is inputted in remote terminal;Remote terminal is to the image information
After being split, then binaryzation is carried out to each elementary area after segmentation, obtaining the elementary area after binaryzation is:P1, P2,
P3, P4......Pn;Then by data message deposit flash memory corresponding to these units;
Step S1.4:Remote terminal transfers the image data information after binaryzation and the instruction after coding simultaneously from flash memory
Information, logical operation is carried out to both, obtaining final logic operation result is:Q1, Q2, Q3, Q4......Qn;
Step S1.5:The result of logical operation is reduced to piece image by remote terminal, by the image information and original graph
As information is sent to data transmission unit.
Further, in the step S3, the instruction received is decrypted the data transmission unit method bag
Include:
Step S3.1:Data transmission unit carries out image segmentation to the image information received, then carries out binaryzation;Together
When, after carrying out image segmentation to the original image information received, then carry out binaryzation;
Step S3.2:After the original image information after image segmentation and binary conversion treatment and image segmentation and binaryzation
Image information after decryption, correspond and carry out logic inverse operation, obtain several intermediate results;
Step S3.3:Several intermediate results are connected into the result of final decryption, the instruction after being decrypted.
On the other hand, the invention provides the communication system of data transmission unit and remote terminal, it is characterised in that described
System includes:
Terminal handler:Instructed for generating, be sent to data transmission unit;Response data transmission unit sends over
Instruction;
Terminal encryption module, for the instruction of generation to be encrypted;
Terminal data transmission module, for sending and receiving instruction;
Data transmission unit data transmission module, for sending and receiving instruction;
Data transmission unit deciphering module, for the instruction received to be decrypted;
Data transmission unit processor, the instruction sended over for responding remote terminal;Generation instruction is sent to remotely
Terminal.
Further, the ciphering unit includes:
Typing unit is instructed, is instructed for typing;
Split cells is instructed, for instruction to be split;
Coding turns unit, for the instruction after fractionation to be carried out into binary coding conversion;
Flash memory, for interim storage intermediate data;
Original image typing unit, for typing original image;
Image segmentation unit, for splitting to original image;
Image binaryzation unit, for carrying out binary conversion treatment to the original image after segmentation;
Arithmetic element, for carrying out logical operation to the image after the instruction after coding and fractionation and segmentation and binaryzation;
First information converting unit, for the result after logical operation to be converted into image information;
Data outputting unit, for exporting the result after encrypting.
Further, the decryption unit includes:
Data input cell, for input image information and original image information;
Second information conversion unit, for converting image information into binary message;
Image segmentation unit, for splitting to original image information;
Flash memory, for interim storage intermediate data;
Image binaryzation unit, for carrying out binary conversion treatment to original image;
Inverse operation unit, for the original image information after image information and binaryzation to be carried out into logic inverse operation;
Inverse transform unit is encoded, for binary-coded information to be converted into the command information of segmentation;
Connection unit is instructed, for the instruction after segmentation to be attached, generates complete command information.
The communication means of data transmission unit and remote terminal provided in an embodiment of the present invention, methods described have and had as follows
Beneficial effect:
1st, it is safe:The data transmission unit of the present invention and the communication means of remote terminal use the side of image encryption
Formula, it is ensured that instruction and relevant information are sent to security during data transmission unit.
2nd, it is easy to maintenance:Suitable for several scenes and concrete condition, it is reconstructed, safeguards extremely square without to system
Just.
3rd, cost is low:Because easy to maintenance, cost of labor is reduced, so as to reduce further cost.
On the other hand, the communication system of data transmission unit and remote terminal provided in an embodiment of the present invention, have corresponding
Effect.
To enable the above objects, features and advantages of the present invention to become apparent, preferred embodiment cited below particularly, and coordinate
Appended accompanying drawing, is described in detail below.
Brief description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below by embodiment it is required use it is attached
Figure is briefly described, it will be appreciated that the following drawings illustrate only certain embodiments of the present invention, therefore be not construed as pair
The restriction of scope, for those of ordinary skill in the art, on the premise of not paying creative work, can also be according to this
A little accompanying drawings obtain other related accompanying drawings.
Fig. 1 shows the method flow of the communication means of data transmission unit and remote terminal provided in an embodiment of the present invention
Schematic diagram.
Fig. 2 shows the system architecture of the communication system of data transmission unit and remote terminal provided in an embodiment of the present invention
Schematic diagram.
Fig. 3 shows the structural representation of ciphering unit provided in an embodiment of the present invention.
Fig. 4 shows the structural representation of decryption unit provided in an embodiment of the present invention.
Embodiment
Below in conjunction with accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Ground describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.Generally exist
The component of the embodiment of the present invention described and illustrated in accompanying drawing can be configured to arrange and design with a variety of herein.Cause
This, the detailed description of the embodiments of the invention to providing in the accompanying drawings is not intended to limit claimed invention below
Scope, but it is merely representative of the selected embodiment of the present invention.Based on embodiments of the invention, those skilled in the art are not doing
The every other embodiment obtained on the premise of going out creative work, belongs to the scope of protection of the invention.
It should be noted that:Similar label and letter represents similar terms in following accompanying drawing, therefore, once a certain Xiang Yi
It is defined, then it further need not be defined and explained in subsequent accompanying drawing in individual accompanying drawing.Meanwhile the present invention's
In description, term " first ", " second " etc. are only used for distinguishing description, and it is not intended that instruction or hint relative importance.
First embodiment
As shown in figure 1, the communication means of data transmission unit and remote terminal, it is characterised in that methods described includes:
Step S1:Remote terminal generation instruction, the instruction to generation are encrypted;
Step S2:Data transmission unit receives the instruction that remote terminal issues;
Step S3:The instruction received is decrypted data transmission unit, then parses the instruction, according in the instruction
Function code identify the data content, and the response message of the instruction is returned to data transmission unit.
Further, the instruction includes:Frame head, function code, frame length, verification and, data content and postamble;The work(
Can classification of the code for representing the instruction;The data content is used for the data for carrying this instruction;The response message includes:
Frame head, function code, frame length, verification and, data content and postamble;The function code of the response message and the function of the instruction
Code is corresponding, and the data content of the response message is corresponding with the data content of the instruction;The classification of the instruction includes:Inquiry
Parameter instruction, arrange parameter instruction, preservation parameter instruction, reset instruction, the instruction of upstream data transparent transmission, downlink data transparent transmission refer to
Make, inquire about status command, GPIO control instructions, the instruction of upper and lower line traffic control and receipt instruction.
Further, when the classification of the instruction instructs for query argument, the data transmission unit parses the instruction,
The data content is identified according to the function code in the instruction, and the response message for returning to remote terminal the instruction includes:
Data transmission unit parses the query argument instruction;
If the query argument instruction errors, data transmission unit works as string data corresponding to query argument instruction
Do business datum and be sent to data service center DSC;
If the data content of the query argument instruction is that the ID of the data content in sky, or query argument instruction is whole
Not in the parameter list pre-set, data transmission unit returns to the response message of query argument instruction, the response message
Data content is sky;
If there are multiple ID numbers in the query argument instruction, there is part ID number not pre-setting in the multiple ID number
Parameter list in, then data transmission unit skips the part ID number, handle in multiple ID numbers remove the part ID number other
ID number.
Further, in the step S1, remote terminal generation instruction, the method bag that the instruction to generation is encrypted
Include:
Step S1.1:Remote terminal generates several interval numerical value at random, according to interval numerical value, instruction is divided into some
Individual independent part, is designated as:N1, N2, N3, N4......Nn;
Step S1.2:The instruction of each independent sector is converted to corresponding binary coding by remote terminal, is designated as:S1,
S2, S3, S4......Sn;By in these coding deposit flash memories;
Step S1.3:The original image information for encryption is inputted in remote terminal;Remote terminal is to the image information
After being split, then binaryzation is carried out to each elementary area after segmentation, obtaining the elementary area after binaryzation is:P1, P2,
P3, P4......Pn;Then by data message deposit flash memory corresponding to these units;
Step S1.4:Remote terminal transfers the image data information after binaryzation and the instruction after coding simultaneously from flash memory
Information, logical operation is carried out to both, obtaining final logic operation result is:Q1, Q2, Q3, Q4......Qn:
Step S1.5:The result of logical operation is reduced to piece image by remote terminal, by the image information and original graph
As information is sent to data transmission unit.
Further, in the step S3, the instruction received is decrypted the data transmission unit method bag
Include:
Step S3.1:Data transmission unit carries out image segmentation to the image information received, then carries out binaryzation;Together
When, after carrying out image segmentation to the original image information received, then carry out binaryzation;
Step S3.2:After the original image information after image segmentation and binary conversion treatment and image segmentation and binaryzation
Image information after decryption, correspond and carry out logic inverse operation, obtain several intermediate results;
Step S3.3:Several intermediate results are connected into the result of final decryption, the instruction after being decrypted.
Second embodiment
The communication system of data transmission unit and remote terminal, it is characterised in that the system includes:
Terminal handler:Instructed for generating, be sent to data transmission unit;Response data transmission unit sends over
Instruction;
Terminal encryption module, for the instruction of generation to be encrypted;
Terminal data transmission module, for sending and receiving instruction;
Data transmission unit data transmission module, for sending and receiving instruction;
Data transmission unit deciphering module, for the instruction received to be decrypted;
Data transmission unit processor, the instruction sended over for responding remote terminal;Generation instruction is sent to remotely
Terminal.
Further, the ciphering unit includes:
Typing unit is instructed, is instructed for typing;
Split cells is instructed, for instruction to be split;
Coding turns unit, for the instruction after fractionation to be carried out into binary coding conversion;
Flash memory, for interim storage intermediate data;
Original image typing unit, for typing original image;
Image segmentation unit, for splitting to original image;
Image binaryzation unit, for carrying out binary conversion treatment to the original image after segmentation;
Arithmetic element, for carrying out logical operation to the image after the instruction after coding and fractionation and segmentation and binaryzation;
First information converting unit, for the result after logical operation to be converted into image information;
Data outputting unit, for exporting the result after encrypting.
Specifically, first information converting unit, the result after Roy's computing is converted to the method for image information to be included:
Step 1:The string of binary characters data message is converted to the pixel value of corresponding binaryzation;
Step 2:The pixel value of the binaryzation is converted into corresponding image.
Specifically, the method that image binaryzation unit carries out image binaryzation comprises the following steps:
The method that described image binarization unit carries out image binaryzation comprises the following steps:
Step 1:The grey level histogram of figure is calculated;
Step 2:Calculate the inter-class variance of the image
Step 3:Calculate the variance within clusters of image:
Step 4:Histogram is punished in certain threshold value into 2 groups of c1 and c2, makes separating degree ρ (T) as optimal for the T of maximum
Threshold value;
Step 5:Optimal threshold, which is calculated, is:
Step 6:Binary conversion treatment is carried out according to the threshold value.
Further, the decryption unit includes:
Data input cell, for input image information and original image information;
Second information conversion unit, for converting image information into binary message;
Image segmentation unit, for splitting to original image information;
Flash memory, for interim storage intermediate data;
Image binaryzation unit, for carrying out binary conversion treatment to original image;
Inverse operation unit, for the original image information after image information and binaryzation to be carried out into logic inverse operation;
Inverse transform unit is encoded, for binary-coded information to be converted into the command information of segmentation;
Connection unit is instructed, for the instruction after segmentation to be attached, generates complete command information.
3rd embodiment
The communication means of data transmission unit and remote terminal, it is characterised in that methods described includes:
Step S1:Remote terminal generation instruction, the instruction to generation are encrypted;
Step S2:Data transmission unit receives the instruction that remote terminal issues;
Step S3:The instruction received is decrypted data transmission unit, then parses the instruction, according in the instruction
Function code identify the data content, and the response message of the instruction is returned to data transmission unit.
Further, the instruction includes:Frame head, function code, frame length, verification and, data content and postamble;The work(
Can classification of the code for representing the instruction;The data content is used for the data for carrying this instruction;The response message includes:
Frame head, function code, frame length, verification and, data content and postamble;The function code of the response message and the function of the instruction
Code is corresponding, and the data content of the response message is corresponding with the data content of the instruction;The classification of the instruction includes:Inquiry
Parameter instruction, arrange parameter instruction, preservation parameter instruction, reset instruction, the instruction of upstream data transparent transmission, downlink data transparent transmission refer to
Make, inquire about status command, GPIO control instructions, the instruction of upper and lower line traffic control and receipt instruction.
Further, when the classification of the instruction instructs for query argument, the data transmission unit parses the instruction,
The data content is identified according to the function code in the instruction, and the response message for returning to remote terminal the instruction includes:
Data transmission unit parses the query argument instruction;
If the query argument instruction errors, data transmission unit works as string data corresponding to query argument instruction
Do business datum and be sent to data service center DSC;
If the data content of the query argument instruction is that the ID of the data content in sky, or query argument instruction is whole
Not in the parameter list pre-set, data transmission unit returns to the response message of query argument instruction, the response message
Data content is sky;
If there are multiple ID numbers in the query argument instruction, there is part ID number not pre-setting in the multiple ID number
Parameter list in, then data transmission unit skips the part ID number, handle in multiple ID numbers remove the part ID number other
ID number.
Further, in the step S1, remote terminal generation instruction, the method bag that the instruction to generation is encrypted
Include:
Step S1.1:Remote terminal generates several interval numerical value at random, according to interval numerical value, instruction is divided into some
Individual independent part, is designated as:N1, Nx, N3, N4......Nn;
Step S1.2:The instruction of each independent sector is converted to corresponding binary coding by remote terminal, is designated as:S1,
S2, S3, S4......Sn;By in these coding deposit flash memories;
Step S1.3:The original image information for encryption is inputted in remote terminal;Remote terminal is to the image information
After being split, then binaryzation is carried out to each elementary area after segmentation, obtaining the elementary area after binaryzation is:P1, P2,
P3, P4......Pn;Then by data message deposit flash memory corresponding to these units;
Step S1.4:Remote terminal transfers the image data information after binaryzation and the instruction after coding simultaneously from flash memory
Information, logical operation is carried out to both, obtaining final logic operation result is:Q1, Q2, Q3, Q4......Qn:
Step S1.5:The result of logical operation is reduced to piece image by remote terminal, by the image information and original graph
As information is sent to data transmission unit.
Further, in the step S3, the instruction received is decrypted the data transmission unit method bag
Include:
Step S3.1:Data transmission unit carries out image segmentation to the image information received, then carries out binaryzation;Together
When, after carrying out image segmentation to the original image information received, then carry out binaryzation;
Step S3.2:After the original image information after image segmentation and binary conversion treatment and image segmentation and binaryzation
Image information after decryption, correspond and carry out logic inverse operation, obtain several intermediate results;
Step S3.3:Several intermediate results are connected into the result of final decryption, the instruction after being decrypted.
On the other hand, the invention provides the communication system of data transmission unit and remote terminal, it is characterised in that described
System includes:
Terminal handler:Instructed for generating, be sent to data transmission unit;Response data transmission unit sends over
Instruction;
Terminal encryption module, for the instruction of generation to be encrypted;
Terminal data transmission module, for sending and receiving instruction;
Data transmission unit data transmission module, for sending and receiving instruction;
Data transmission unit deciphering module, for the instruction received to be decrypted;
Data transmission unit processor, the instruction sended over for responding remote terminal;Generation instruction is sent to remotely
Terminal.
Further, the ciphering unit includes:
Typing unit is instructed, is instructed for typing;
Split cells is instructed, for instruction to be split;
Coding turns unit, for the instruction after fractionation to be carried out into binary coding conversion;
Flash memory, for interim storage intermediate data;
Original image typing unit, for typing original image;
Image segmentation unit, for splitting to original image;
Image binaryzation unit, for carrying out binary conversion treatment to the original image after segmentation;
Arithmetic element, for carrying out logical operation to the image after the instruction after coding and fractionation and segmentation and binaryzation;
First information converting unit, for the result after logical operation to be converted into image information;
Data outputting unit, for exporting the result after encrypting.
Further, the decryption unit includes:
Data input cell, for input image information and original image information;
Second information conversion unit, for converting image information into binary message;
Image segmentation unit, for splitting to original image information;
Flash memory, for interim storage intermediate data;
Image binaryzation unit, for carrying out binary conversion treatment to original image;
Inverse operation unit, for the original image information after image information and binaryzation to be carried out into logic inverse operation;
Inverse transform unit is encoded, for binary-coded information to be converted into the command information of segmentation;
Connection unit is instructed, for the instruction after segmentation to be attached, generates complete command information.
In several embodiments provided herein, it should be understood that disclosed apparatus and method, can also pass through
Other modes are realized.Device embodiment described above is only schematical, for example, flow chart and block diagram in accompanying drawing
Show the device of multiple embodiments according to the present invention, method and computer program product architectural framework in the cards,
Function and operation.At this point, each square frame in flow chart or block diagram can represent the one of a unit, program segment or code
Part, a part for the unit, program segment or code include one or more and are used to realize holding for defined logic function
Row instruction.It should also be noted that at some as in the implementation replaced, the function that is marked in square frame can also with different from
The order marked in accompanying drawing occurs.For example, two continuous square frames can essentially perform substantially in parallel, they are sometimes
It can perform in the opposite order, this is depending on involved function.It is it is also noted that every in block diagram and/or flow chart
The combination of individual square frame and block diagram and/or the square frame in flow chart, function or the special base of action as defined in performing can be used
Realize, or can be realized with the combination of specialized hardware and computer instruction in the system of hardware.
In addition, each functional unit in each embodiment of the present invention can integrate to form an independent portion
Point or unit individualism, can also two or more units be integrated to form an independent part.
If the function is realized in the form of SFU software functional unit and is used as independent production marketing or in use, can be with
It is stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially in other words
The part to be contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter
Calculation machine software product is stored in a storage medium, including some instructions are causing a computer equipment (can be
People's computer, server, or network equipment etc.) perform all or part of step of each embodiment methods described of the present invention.
And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Onl8 Memor8), arbitrary access are deposited
Reservoir (RAM, Random Access Memor8), magnetic disc or CD etc. are various can be with the medium of store program codes.
It should be noted that herein, such as first and second or the like relational terms are used merely to a reality
Body or operation make a distinction with another entity or operation, and not necessarily require or imply and deposited between these entities or operation
In any this actual relation or order.Moreover, term " comprising ", "comprising" or its any other variant are intended to
Nonexcludability includes, so that process, method, article or equipment including a series of elements not only will including those
Element, but also the other element including being not expressly set out, or it is this process, method, article or equipment also to include
Intrinsic key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that
Other identical element also be present in process, method, article or equipment including the key element.
The preferred embodiments of the present invention are the foregoing is only, are not intended to limit the invention, for the skill of this area
For art personnel, the present invention can have various modifications and variations.Within the spirit and principles of the invention, that is made any repaiies
Change, equivalent substitution, improvement etc., should be included in the scope of the protection.It should be noted that:Similar label and letter exists
Similar terms is represented in following accompanying drawing, therefore, once being defined in a certain Xiang Yi accompanying drawing, is then not required in subsequent accompanying drawing
It is further defined and explained.
Claims (8)
1. the communication means of a kind of data transmission unit and remote terminal, it is characterised in that methods described includes:
Step S1:Remote terminal generation instruction, the instruction to generation are encrypted;
Step S2:Data transmission unit receives the instruction that remote terminal issues;
Step S3:The instruction received is decrypted data transmission unit, then parses the instruction, according to the work(in the instruction
Energy code identifies the data content, and the response message of the instruction is returned to data transmission unit.
2. the communication means of data transmission unit as claimed in claim 1 and remote terminal, it is characterised in that the instruction bag
Include:Frame head, function code, frame length, verification and, data content and postamble;The function code is used for the classification for representing the instruction;Institute
State the data that data content is used to carry this instruction;The response message includes:Frame head, function code, frame length, verification and,
Data content and postamble;The function code of the response message is corresponding with the function code of the instruction, the data of the response message
Content is corresponding with the data content of the instruction;The classification of the instruction includes:Query argument instruction, arrange parameter instruction, protect
Deposit parameter instruction, reset instruction, upstream data transparent transmission is instructed, downlink data transparent transmission instructs, inquiry status command, GPIO are controlled and referred to
Make, the instruction of upper and lower line traffic control and receipt instruct.
3. the communication means of data transmission unit as claimed in claim 2 and remote terminal, it is characterised in that when the instruction
Classification for query argument instruct when, the data transmission unit parses the instruction, according in the instruction function code identification should
Data content, and the response message for returning to remote terminal the instruction includes:
Data transmission unit parses the query argument instruction;
If the query argument instruction errors, string data corresponding to query argument instruction is regarded industry by data transmission unit
Business data are sent to data service center DSC;
Do not exist all if the data content of the query argument instruction is the ID of the data content in sky, or query argument instruction
In the parameter list pre-set, data transmission unit returns to the response message of query argument instruction, the data of the response message
Content is sky;
If there are multiple ID numbers in the query argument instruction, there is part ID number not in the ginseng pre-set in the multiple ID number
In number table, then data transmission unit skips the part ID number, handles other ID numbers that the part ID number is removed in multiple ID numbers.
4. the communication means of data transmission unit as claimed in claim 1 and remote terminal, it is characterised in that the step S1
In, remote terminal generation instruction, the method that the instruction to generation is encrypted includes:
Step S1.1:Remote terminal generates several interval numerical value at random, according to interval numerical value, is divided into several only instruction
Vertical part, is designated as:N1, N2, N3, N4......Nn;
Step S1.2:The instruction of each independent sector is converted to corresponding binary coding by remote terminal, is designated as:S1, S2, S3,
S4......Sn;By in these coding deposit flash memories;
Step S1.3:The original image information for encryption is inputted in remote terminal;Remote terminal is carried out to the image information
After segmentation, then binaryzation is carried out to each elementary area after segmentation, obtaining the elementary area after binaryzation is:P1, P2, P3,
P4......Pn;Then by data message deposit flash memory corresponding to these units;
Step S1.4:Remote terminal transfers the image data information after binaryzation and the letter of the instruction after coding simultaneously from flash memory
Both are carried out logical operation, obtaining final logic operation result is by breath:Q1, Q2, Q3, Q4......Qn;
Step S1.5:The result of logical operation is reduced to piece image by remote terminal, and the image information and original image are believed
Breath is sent to data transmission unit.
5. the communication means of data transmission unit as claimed in claim 4 and remote terminal, it is characterised in that the step S3
In, the method that the instruction received is decrypted the data transmission unit includes:
Step S3.1:Data transmission unit carries out image segmentation to the image information received, then carries out binaryzation;It is meanwhile right
After the original image information received carries out image segmentation, then carry out binaryzation;
Step S3.2:To the original image information after image segmentation and binary conversion treatment and the decryption after image segmentation and binaryzation
Image information afterwards, correspond and carry out logic inverse operation, obtain several intermediate results;
Step S3.3:Several intermediate results are connected into the result of final decryption, the instruction after being decrypted.
6. the communication system of a kind of data transmission unit and remote terminal, it is characterised in that the system includes:
Terminal handler:Instructed for generating, be sent to data transmission unit;The finger that response data transmission unit sends over
Order;
Terminal encryption module, for the instruction of generation to be encrypted;
Terminal data transmission module, for sending and receiving instruction;
Data transmission unit data transmission module, for sending and receiving instruction;
Data transmission unit deciphering module, for the instruction received to be decrypted;
Data transmission unit processor, the instruction sended over for responding remote terminal;Generation instruction is sent to remote terminal.
7. the communication system of data transmission unit as claimed in claim 6 and remote terminal, it is characterised in that the encryption is single
Member includes:
Typing unit is instructed, is instructed for typing;
Split cells is instructed, for instruction to be split;
Coding turns unit, for the instruction after fractionation to be carried out into binary coding conversion;
Flash memory, for interim storage intermediate data;
Original image typing unit, for typing original image;
Image segmentation unit, for splitting to original image;
Image binaryzation unit, for carrying out binary conversion treatment to the original image after segmentation;
Arithmetic element, for carrying out logical operation to the image after the instruction after coding and fractionation and segmentation and binaryzation;
First information converting unit, for the result after logical operation to be converted into image information;
Data outputting unit, for exporting the result after encrypting.
8. the communication system of data transmission unit as claimed in claim 7 and remote terminal, it is characterised in that the decryption is single
Member includes:
Data input cell, for input image information and original image information;
Second information conversion unit, for converting image information into binary message;
Image segmentation unit, for splitting to original image information;
Flash memory, for interim storage intermediate data;
Image binaryzation unit, for carrying out binary conversion treatment to original image;
Inverse operation unit, for the original image information after image information and binaryzation to be carried out into logic inverse operation;
Inverse transform unit is encoded, for binary-coded information to be converted into the command information of segmentation;
Connection unit is instructed, for the instruction after segmentation to be attached, generates complete command information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710549239.8A CN107343003A (en) | 2017-07-07 | 2017-07-07 | The communication means and system of data transmission unit and remote terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710549239.8A CN107343003A (en) | 2017-07-07 | 2017-07-07 | The communication means and system of data transmission unit and remote terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107343003A true CN107343003A (en) | 2017-11-10 |
Family
ID=60219507
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710549239.8A Pending CN107343003A (en) | 2017-07-07 | 2017-07-07 | The communication means and system of data transmission unit and remote terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107343003A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6519340B1 (en) * | 1998-03-17 | 2003-02-11 | The University Of Connecticut | Method and apparatus for encryption using partial information |
CN102385362A (en) * | 2011-09-14 | 2012-03-21 | 无锡市星亿涂装环保设备有限公司 | Remote control method, device and system |
CN103338229A (en) * | 2013-06-03 | 2013-10-02 | 深圳市宏电技术股份有限公司 | Method and system for interaction between remote terminal device and data transmission unit |
CN106296563A (en) * | 2016-09-21 | 2017-01-04 | 成都创慧科达科技有限公司 | A kind of deciphering device and method based on image recognition technology |
CN106408501A (en) * | 2016-09-21 | 2017-02-15 | 成都创慧科达科技有限公司 | Encryption device and method based on image recognition technology |
-
2017
- 2017-07-07 CN CN201710549239.8A patent/CN107343003A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6519340B1 (en) * | 1998-03-17 | 2003-02-11 | The University Of Connecticut | Method and apparatus for encryption using partial information |
CN102385362A (en) * | 2011-09-14 | 2012-03-21 | 无锡市星亿涂装环保设备有限公司 | Remote control method, device and system |
CN103338229A (en) * | 2013-06-03 | 2013-10-02 | 深圳市宏电技术股份有限公司 | Method and system for interaction between remote terminal device and data transmission unit |
CN106296563A (en) * | 2016-09-21 | 2017-01-04 | 成都创慧科达科技有限公司 | A kind of deciphering device and method based on image recognition technology |
CN106408501A (en) * | 2016-09-21 | 2017-02-15 | 成都创慧科达科技有限公司 | Encryption device and method based on image recognition technology |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105099712B (en) | A kind of data ciphering method based on Dicode verification | |
Devaraj et al. | An efficient framework for secure image archival and retrieval system using multiple secret share creation scheme | |
CN104527535B (en) | A kind of automotive license plate of band encryption QR Quick Response Code | |
CN106530207A (en) | Logistic chaotic mapping-based digital image encryption method | |
CN103646455A (en) | Intelligent lock device and usage method thereof as well as configuration method for electronic keys | |
CN110390191A (en) | Method and system for safe biologic identification verifying | |
CN103632179B (en) | Code And Decode method and the device of Three-Dimensional Bar Code | |
CN109274642A (en) | Inter-network data communication means and relevant apparatus, system, equipment and storage medium | |
CN109800842A (en) | A kind of assets unique identification code generating method and system | |
CN101789862A (en) | Encryption and decryption device and method based on gravity acceleration | |
CN107181600A (en) | A kind of password login authentication method, system and user equipment and certificate server | |
CN110348230A (en) | A kind of project management method and system | |
CN103970895A (en) | Multimedia document processing system platform and method based on mobile terminal and cloud technology | |
US8891760B2 (en) | System for checking acceptance of string by automaton | |
US20230134627A1 (en) | Two-dimensional barcodes for greater storage capacity | |
CN101976365B (en) | Safe radio frequency identification system | |
CN108616471A (en) | A kind of signal modulate method and apparatus based on convolutional neural networks | |
CN114282692A (en) | Model training method and system for longitudinal federal learning | |
CN117314430B (en) | Payment data monitoring method | |
CN113537516B (en) | Training method, device, equipment and medium for distributed machine learning model | |
CN113902135A (en) | Sample data volume joint expansion method, device, equipment, system and storage medium | |
CN105306200A (en) | Method and device for encrypting network account password | |
CN107343003A (en) | The communication means and system of data transmission unit and remote terminal | |
CN102185897B (en) | Safe distributed virtual storage pool system | |
CN112669068B (en) | Market research data transmission method and system based on big data |
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 | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20171110 |
|
WD01 | Invention patent application deemed withdrawn after publication |