Summary of the invention
The present invention provides a kind of data communications method, equipment, system and terminal device, props up in the prior art for solving
Pay unsafe problem.
The first aspect of the invention is to provide a kind of data communications method, comprising:
The first display information of terminal device is obtained, the first display information includes: the first setting area of terminal device
The color change situation in domain;The display information is electric contact and data communication of the terminal device according to the second setting regions
The contact condition of the electric contact of equipment determines showing with the matching after terminal device and the matching status of data communications equipment
The corresponding color change situation of state;
According to the color change situation of first setting regions, preset color change table is inquired, determines the terminal
Whether equipment matches with the data communications equipment;
When the terminal device is matched with the data communications equipment, information to be entered is obtained;
Preset coding schedule is inquired, the electricity touching of the corresponding data communications equipment of each character in the information to be entered is obtained
The way of contact of point;
Successively according to the way of contact of the electric contact of the corresponding data communications equipment of each character, the data communication is controlled
The contact condition of the electric contact of second setting regions of the electric contact of equipment and the terminal device, so that the terminal device root
According to the contact condition of the electric contact of the setting regions of the electric contact and terminal device of the data communications equipment, inquiry is default
Coding schedule, obtain the information to be entered, the information to be entered handled.
Further, described when the terminal device is matched with the data communications equipment, obtain information to be entered, packet
It includes:
Obtain the information to be entered prestored;Alternatively,
Obtain the information to be entered of user's input.
Further, institute is successively controlled according to the way of contact of the electric contact of the corresponding data communications equipment of each character
After the contact condition for stating the electric contact of the electric contact of data communications equipment and the second setting regions of the terminal device, also wrap
It includes:
The second display information of the terminal device is obtained, the second display information includes: the terminal device to institute
State the corresponding color change situation of processing result that input information is handled.
The second aspect of the invention provides a kind of data communications method, comprising:
Obtain the contact condition of the electric contact of the second setting regions and the electric contact of data communications equipment;
Terminal is determined according to the contact condition of the electric contact of second setting regions and the electric contact of data communications equipment
The matching status of equipment and data communications equipment;
According to the matching status of the terminal device and the data communications equipment, preset color change table is inquired, is obtained
The corresponding color change situation of the matching status is taken, and is shown in the first setting regions of the terminal device, so that
The data communications equipment determines the terminal device and data communication according to the corresponding color change situation of the matching status
Whether equipment matches, and information to be entered is obtained when the terminal device is matched with the data communications equipment, and inquiry is default
Coding schedule, obtain the way of contact of the electric contact of the corresponding data communications equipment of each character in the information to be entered, according to
The way of contact of the secondary electric contact according to the corresponding data communications equipment of each character controls the electricity touching of the data communications equipment
The contact condition of point and the electric contact of the second setting regions of the terminal device;
Obtain connecing for the electric contact of the electric contact of the data communications equipment and the second setting regions of the terminal device
Touching state;
According to connecing for the electric contact of the data communications equipment and the electric contact of the second setting regions of the terminal device
Touching state inquires preset coding schedule, obtains the information to be entered, handles the information to be entered.
Further, the second setting regions of the electric contact according to the data communications equipment and the terminal device
Electric contact contact condition, inquire preset coding schedule, obtain the information to be entered, according to the information to be entered carry out
Processing, comprising:
According to connecing for the electric contact of the data communications equipment and the electric contact of the second setting regions of the terminal device
Touching state determines the way of contact of the electric contact of the data communications equipment;
According to the way of contact of the electric contact of the data communications equipment, preset coding schedule, the determining and number are inquired
According to the corresponding character of the way of contact of the electric contact of communication equipment;
The information to be entered is determined according to character corresponding with the way of contact of the electric contact of the data communications equipment;
The information to be entered is handled.
The third aspect of the invention provides a kind of data communications equipment, comprising:
Module is obtained, for obtaining the first display information of terminal device, the first display information includes: terminal device
The first setting regions color change situation;The display information is that the terminal device is touched according to the electricity of the second setting regions
The contact condition of point and the electric contact of data communications equipment is shown after determining terminal device and the matching status of data communications equipment
Color change situation corresponding with the matching status;
Enquiry module inquires preset color change table for the color change situation according to first setting regions,
Determine whether the terminal device matches with the data communications equipment;
The acquisition module is also used to when the terminal device is matched with the data communications equipment, is obtained to be entered
Information;
The enquiry module is also used to inquire preset coding schedule, and it is corresponding to obtain each character in the information to be entered
Data communications equipment electric contact the way of contact;
Control module, for successively according to the way of contact of the electric contact of the corresponding data communications equipment of each character, control
The contact condition of the electric contact of the electric contact of the data communications equipment and the second setting regions of the terminal device is made, so that
The terminal device is according to the electric contact of the data communications equipment and connecing for the electric contact of the setting regions of the terminal device
Touching state inquires preset coding schedule, obtains the information to be entered, handles the information to be entered.
Further, the acquisition module is specifically used for,
Obtain the information to be entered prestored;Alternatively,
Obtain the information to be entered of user's input.
Further, the control module is successively according to the contact of the electric contact of the corresponding data communications equipment of each character
Mode controls the contact shape of the electric contact of the electric contact of the data communications equipment and the second setting regions of the terminal device
After state, the acquisition module is also used to,
The second display information of the terminal device is obtained, the second display information includes: the terminal device to institute
State the corresponding color change situation of processing result that input information is handled.
The fourth aspect of the invention provides a kind of terminal device, comprising:
Module is obtained, for obtaining the contact shape of the electric contact of the second setting regions and the electric contact of data communications equipment
State;
Determining module, for according to the electric contact of second setting regions and the contact of the electric contact of data communications equipment
State determines the matching status of terminal device and data communications equipment;
Enquiry module is inquired preset for the matching status according to the terminal device and the data communications equipment
Color change table obtains the corresponding color change situation of the matching status, and in the first setting regions of the terminal device
It is shown, so that the data communications equipment determines that the terminal is set according to the corresponding color change situation of the matching status
It is standby whether to be matched with data communications equipment, and letter to be entered is obtained when the terminal device is matched with the data communications equipment
Breath, inquires preset coding schedule, obtains the electric contact of the corresponding data communications equipment of each character in the information to be entered
It is logical to control the data successively according to the way of contact of the electric contact of the corresponding data communications equipment of each character for the way of contact
Believe the contact condition of the electric contact of the electric contact of equipment and the second setting regions of the terminal device;
The acquisition module is also used to obtain the electric contact of the data communications equipment and sets with the second of the terminal device
Determine the contact condition of the electric contact in region;
The enquiry module is also used to be set according to the electric contact of the data communications equipment and the second of the terminal device
The contact condition for determining the electric contact in region inquires preset coding schedule, obtains the information to be entered, to the information to be entered
It is handled.
Further, the enquiry module is specifically used for,
According to connecing for the electric contact of the data communications equipment and the electric contact of the second setting regions of the terminal device
Touching state determines the way of contact of the electric contact of the data communications equipment;
According to the way of contact of the electric contact of the data communications equipment, preset coding schedule, the determining and number are inquired
According to the corresponding character of the way of contact of the electric contact of communication equipment;
The information to be entered is determined according to character corresponding with the way of contact of the electric contact of the data communications equipment;
The information to be entered is handled.
The fifth aspect of the invention provides a kind of data communication system, comprising: data communications equipment as described above, and
Terminal device as described above.
In the present invention, data communications equipment is interacted with terminal device by electric contact and color change situation, terminal
Equipment determines terminal device and number according to the contact condition of the electric contact of the second setting regions and the electric contact of data communications equipment
Show that color change situation corresponding with matching status, data are logical according to the matching status of communication equipment, and in the first setting regions
Letter equipment determines whether are terminal device and data communications equipment according to the color change situation of the first setting regions of terminal device
Information to be entered is converted into the way of contact of the electric contact of data communications equipment in matching, is set according to data communication by matching
The electric contact of second setting regions of the electric contact and terminal device of the way of contact control data communications equipment of standby electric contact
Contact condition, so that terminal device is touched according to the electricity of the electric contact of data communications equipment and the second setting regions of terminal device
The contact condition of point obtains information to be entered and is handled, so that user be avoided to be manually entered the information such as user password, avoids using
The information such as family password are trapped, and improve the safety of payment.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention
In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is
A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art
Every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
Fig. 1 be data communications method one embodiment provided by the invention flow chart, as shown in Figure 1, specifically include with
Lower step:
101, the first display information of terminal device is obtained, the first display information includes: the first setting area of terminal device
The color change situation in domain;Show that information is terminal device according to the electric contact of the second setting regions and the electricity of data communications equipment
The contact condition of contact determines the face corresponding with matching status shown after terminal device and the matching status of data communications equipment
Color change situation.
The executing subject of data communications method provided by the invention is data communications equipment, and data communications equipment can be for eventually
The external device of end equipment, for carrying out the operation such as Password Input.It can be on the contact surface of data communications equipment and terminal device
Multiple electric contacts are provided with, are contacted for the second setting regions with terminal device.Data communications equipment and terminal device
Contact surface on be also provided with light sensation screen, the color change situation of the first setting regions for obtaining terminal device.Such as
It is the schematic diagram of the contact surface of data communications equipment shown in Fig. 2.
Second setting regions of terminal device can necessity for the application software on terminal device in order to input password etc.
And be arranged dedicated for the touch screen zone that is contacted with the electric contact of data communications equipment.First setting of terminal device
Region can be display area, be used for display color situation of change.
102, according to the color change situation of the first setting regions, preset color change table is inquired, determines terminal device
Whether matched with data communications equipment.
Wherein, the corresponding relationship of matching identification Yu color change situation can be preserved in color change table.Wherein, it matches
Mark can be used to indicate that the matching state of terminal device and data communications equipment, for example, indicating terminal when matching identification is 0
Equipment is matched with data communications equipment;When matching identification is 1, indicate that terminal device and data communications equipment mismatch.
103, when terminal device is matched with data communications equipment, information to be entered is obtained.
Wherein, step 103 may include: the information to be entered for obtaining and prestoring;Alternatively, obtaining the letter to be entered of user's input
Breath.
104, preset coding schedule is inquired, the electricity touching of the corresponding data communications equipment of each character in information to be entered is obtained
The way of contact of point.
105, data communication is successively controlled according to the way of contact of the electric contact of the corresponding data communications equipment of each character
The contact condition of the electric contact of second setting regions of the electric contact and terminal device of equipment, so that terminal device is logical according to data
The contact condition for believing the electric contact of the electric contact of equipment and the setting regions of terminal device, inquires preset coding schedule, obtain to
Information is inputted, information to be entered is handled.
Wherein, terminal device can be to the treatment process of information to be entered, by information to be entered be sent to server into
Row processing, and obtain the processing result that server process obtains.For example, information to be entered can be encrypted message, server can
To determine whether payment behavior, login behavior etc. according to encrypted message, and processing result is returned into terminal device.Cause
This, in order to further increase the safety of payment, information to be entered can be the information to be entered by encryption, and terminal device will
The information to be entered of encryption is sent to server, and server is decrypted and handles so that terminal device get to
Input information be by encryption information to be entered, thus the information to be entered for avoiding terminal device from getting by wooden horse intercepting and capturing and
Cause to leak, improves the safety of payment.
It further, can also include: the second display information for obtaining terminal device, the second display letter after step 105
Breath includes: the corresponding color change situation of processing result that terminal device handles input information, so that data are logical
Believe that equipment gets processing result according to color change situation.
In the present embodiment, data communications equipment is interacted with terminal device by electric contact and color change situation, eventually
End equipment according to the contact condition of the electric contact of the second setting regions and the electric contact of data communications equipment determine terminal device with
The matching status of data communications equipment, and color change situation corresponding with matching status, data are shown in the first setting regions
Communication equipment determines that terminal device is with data communications equipment according to the color change situation of the first setting regions of terminal device
Information to be entered is converted into the way of contact of the electric contact of data communications equipment in matching, according to data communication by no matching
The electricity of second setting regions of the electric contact and terminal device of the way of contact control data communications equipment of the electric contact of equipment touches
The contact condition of point, so that terminal device is according to the electricity of the electric contact of data communications equipment and the second setting regions of terminal device
The contact condition of contact obtains information to be entered and is handled, so that user be avoided to be manually entered the information such as user password, avoids
The information such as user password are trapped, and improve the safety of payment.
Fig. 3 is the flow chart of another embodiment of data communications method provided by the invention, as shown in figure 3, specifically including
Following steps:
301, the contact condition of the electric contact of the second setting regions and the electric contact of data communications equipment is obtained.
The executing subject of data communications method provided by the invention is terminal device.Capacitor has can be set in the terminal device
Touch screen is touched by the electric contact of available second setting regions of capacitance touch screen terminal device and the electricity of data communications equipment
The contact condition of point.
302, terminal is determined according to the contact condition of the electric contact of the second setting regions and the electric contact of data communications equipment
The matching status of equipment and data communications equipment.
If the electric contact of the second setting regions of terminal device is in contact with the electric contact of data communications equipment respectively, eventually
End equipment is matched with data communications equipment.Wherein, there are two types of the ways of contact of electric contact: contacting and do not contact, data communication is set
The initial contact mode of standby all electric contacts can be contact.
303, according to the matching status of terminal device and data communications equipment, preset color change table, acquisition are inquired
It is shown with the corresponding color change situation of state, and in the first setting regions of terminal device, so that data communications equipment
Determine whether terminal device matches with data communications equipment according to the corresponding color change situation of matching status, and in terminal device
Information to be entered is obtained when matching with data communications equipment, inquires preset coding schedule, obtains each character in information to be entered
The way of contact of the electric contact of corresponding data communications equipment is successively touched according to the electricity of the corresponding data communications equipment of each character
The way of contact of point, controls the contact shape of the electric contact of the electric contact of data communications equipment and the second setting regions of terminal device
State.
Wherein, the corresponding relationship of matching identification Yu color change situation can be preserved in color change table.Wherein, it matches
Mark can be used to indicate that the matching state of terminal device and data communications equipment, for example, indicating terminal when matching identification is 0
Equipment is matched with data communications equipment;When matching identification is 1, indicate that terminal device and data communications equipment mismatch.
304, the electric contact with the contact shape of the electric contact of the second setting regions of terminal device of acquisition data communications equipment
State.
305, according to the contact shape of the electric contact of data communications equipment and the electric contact of the second setting regions of terminal device
State inquires preset coding schedule, obtains information to be entered, handles information to be entered.
Wherein, terminal device can be to the treatment process of information to be entered, by information to be entered be sent to server into
Row processing, and obtain the processing result that server process obtains.For example, information to be entered can be encrypted message, server can
To determine whether payment behavior, login behavior etc. according to encrypted message, and processing result is returned into terminal device.Cause
This, in order to further increase the safety of payment, information to be entered can be the information to be entered by encryption, and terminal device will
The information to be entered of encryption is sent to server, and server is decrypted and handles so that terminal device get to
Input information be by encryption information to be entered, thus the information to be entered for avoiding terminal device from getting by wooden horse intercepting and capturing and
Cause to leak, improves the safety of payment.
Further, step 305 may include: the second setting according to the electric contact and terminal device of data communications equipment
The contact condition of the electric contact in region determines the way of contact of the electric contact of data communications equipment;According to data communications equipment
The way of contact of electric contact, inquires preset coding schedule, and determination is corresponding with the way of contact of the electric contact of data communications equipment
Character;Information to be entered is determined according to character corresponding with the way of contact of the electric contact of data communications equipment;To letter to be entered
Breath is handled.
In the present embodiment, data communications equipment is interacted with terminal device by electric contact and color change situation, eventually
End equipment according to the contact condition of the electric contact of the second setting regions and the electric contact of data communications equipment determine terminal device with
The matching status of data communications equipment, and color change situation corresponding with matching status, data are shown in the first setting regions
Communication equipment determines that terminal device is with data communications equipment according to the color change situation of the first setting regions of terminal device
Information to be entered is converted into the way of contact of the electric contact of data communications equipment in matching, according to data communication by no matching
The electricity of second setting regions of the electric contact and terminal device of the way of contact control data communications equipment of the electric contact of equipment touches
The contact condition of point, so that terminal device is according to the electricity of the electric contact of data communications equipment and the second setting regions of terminal device
The contact condition of contact obtains information to be entered and is handled, so that user be avoided to be manually entered the information such as user password, avoids
The information such as user password are trapped, and improve the safety of payment.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above-mentioned each method embodiment can lead to
The relevant hardware of program instruction is crossed to complete.Program above-mentioned can be stored in a computer readable storage medium.The journey
When being executed, execution includes the steps that above-mentioned each method embodiment to sequence;And storage medium above-mentioned include: ROM, RAM, magnetic disk or
The various media that can store program code such as person's CD.
Fig. 4 is the structural schematic diagram of data communications equipment one embodiment provided by the invention, as shown in Figure 4, comprising:
Module 41 is obtained, for obtaining the first display information of terminal device, the first display information includes: terminal device
The color change situation of first setting regions;Show that information is that terminal device is logical according to the electric contact and data of the second setting regions
Believe the contact condition of the electric contact of equipment determine show after terminal device and the matching status of data communications equipment with match shape
The corresponding color change situation of state;
Enquiry module 42 inquires preset color change table, really for the color change situation according to the first setting regions
Determine whether terminal device matches with data communications equipment;
Module 41 is obtained, is also used to when terminal device is matched with data communications equipment, information to be entered is obtained;
Enquiry module 42, is also used to inquire preset coding schedule, obtains the corresponding data of each character in information to be entered
The way of contact of the electric contact of communication equipment;
Control module 43, for successively according to the way of contact of the electric contact of the corresponding data communications equipment of each character,
The contact condition for controlling the electric contact of the electric contact of data communications equipment and the second setting regions of terminal device, so that terminal is set
The contact condition of the electric contact of the setting regions of the standby electric contact and terminal device according to data communications equipment, inquires preset volume
Code table obtains information to be entered, handles information to be entered.
Further, it obtains module 41 to be specifically used for, obtains the information to be entered prestored;Alternatively, obtaining user's input
Information to be entered.
Further, control module 43 is successively according to the contact side of the electric contact of the corresponding data communications equipment of each character
Formula after the contact condition for controlling the electric contact of the electric contact of data communications equipment and the second setting regions of terminal device, obtains
Modulus block 41 is also used to,
The second display information of terminal device is obtained, at the second display information includes: terminal device to input information
Manage the obtained corresponding color change situation of processing result.
In the present embodiment, data communications equipment is interacted with terminal device by electric contact and color change situation, eventually
End equipment according to the contact condition of the electric contact of the second setting regions and the electric contact of data communications equipment determine terminal device with
The matching status of data communications equipment, and color change situation corresponding with matching status, data are shown in the first setting regions
Communication equipment determines that terminal device is with data communications equipment according to the color change situation of the first setting regions of terminal device
Information to be entered is converted into the way of contact of the electric contact of data communications equipment in matching, according to data communication by no matching
The electricity of second setting regions of the electric contact and terminal device of the way of contact control data communications equipment of the electric contact of equipment touches
The contact condition of point, so that terminal device is according to the electricity of the electric contact of data communications equipment and the second setting regions of terminal device
The contact condition of contact obtains information to be entered and is handled, so that user be avoided to be manually entered the information such as user password, avoids
The information such as user password are trapped, and improve the safety of payment.
Fig. 5 is the structural schematic diagram of terminal device one embodiment provided by the invention, as shown in Figure 5, comprising:
Module 51 is obtained, for obtaining the contact shape of the electric contact of the second setting regions and the electric contact of data communications equipment
State;
Determining module 52, for the contact shape according to the electric contact of the electric contact and data communications equipment of the second setting regions
State determines the matching status of terminal device and data communications equipment;
Enquiry module 53 is inquired preset color and is become for the matching status according to terminal device and data communications equipment
Change table, obtain the corresponding color change situation of matching status, and shown in the first setting regions of terminal device, so that number
Determine whether terminal device matches with data communications equipment according to the corresponding color change situation of matching status according to communication equipment, and
Information to be entered is obtained when terminal device is matched with data communications equipment, inquires preset coding schedule, obtains information to be entered
In the corresponding data communications equipment of each character electric contact the way of contact, successively according to the corresponding data communication of each character
The way of contact of the electric contact of equipment, the electricity for controlling the electric contact of data communications equipment and the second setting regions of terminal device touch
The contact condition of point;
Module 51 is obtained, is also used to obtain the electricity of the electric contact of data communications equipment and the second setting regions of terminal device
The contact condition of contact;
Enquiry module 53 is also used to the electricity of the second setting regions of the electric contact and terminal device according to data communications equipment
The contact condition of contact inquires preset coding schedule, obtains information to be entered, handles information to be entered.
Further, enquiry module 53 is specifically used for,
According to the contact condition of the electric contact of the second setting regions of the electric contact of data communications equipment and terminal device, really
Determine the way of contact of the electric contact of data communications equipment;According to the way of contact of the electric contact of data communications equipment, inquiry is default
Coding schedule, determine corresponding with the way of contact of the electric contact of data communications equipment character;According to data communications equipment
The corresponding character of the way of contact of electric contact determines information to be entered;Information to be entered is handled.
In addition, the present invention also provides a kind of data communication systems, comprising: data communications equipment as described above, and as above
The terminal device.
In the present embodiment, data communications equipment is interacted with terminal device by electric contact and color change situation, eventually
End equipment according to the contact condition of the electric contact of the second setting regions and the electric contact of data communications equipment determine terminal device with
The matching status of data communications equipment, and color change situation corresponding with matching status, data are shown in the first setting regions
Communication equipment determines that terminal device is with data communications equipment according to the color change situation of the first setting regions of terminal device
Information to be entered is converted into the way of contact of the electric contact of data communications equipment in matching, according to data communication by no matching
The electricity of second setting regions of the electric contact and terminal device of the way of contact control data communications equipment of the electric contact of equipment touches
The contact condition of point, so that terminal device is according to the electricity of the electric contact of data communications equipment and the second setting regions of terminal device
The contact condition of contact obtains information to be entered and is handled, so that user be avoided to be manually entered the information such as user password, avoids
The information such as user password are trapped, and improve the safety of payment.
Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent
Pipe present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: its according to
So be possible to modify the technical solutions described in the foregoing embodiments, or to some or all of the technical features into
Row equivalent replacement;And these are modified or replaceed, various embodiments of the present invention technology that it does not separate the essence of the corresponding technical solution
The range of scheme.