A kind of multi-screen interactive equipment pairing connection method
Technical field
The present invention relates to a kind of multi-screen interactive equipments to match connection method.
Background technology
Multi-screen interactive technology refers to the technology that information mutually transmits cooperation between the intelligent terminal with display screen.Simply
It says, is exactly intelligent TV set display screen, computer display screen, mobile phone display screen or PAD display screens etc., when they are in one wirelessly
In LAN, so that it may, can shared resource after successful matching to find mutually.Most common multi-screen interactive includes:By mobile phone
Or film, picture, the music etc. on PAD are thrown on TV and are played;It is first-class that PC PowerPoints are thrown into TV.Due to a local
Usually there are multiple intelligent interaction equipment in net, if without legal verification process, can cause to match chaotic, Huo Zhefei between equipment
Method connects.So check code can be increased with clock synchronization generally between intelligent terminal, connection password is set in receiving terminal, transmitting terminal exists
Password is unanimously just allowed to establish connection when application connection.Current main verification method has:Setting password, scanning two dimension by hand
Code is verified.But above method uses inconvenience, and user experience is caused to be deteriorated.
Invention content
The present invention devises a kind of multi-screen interactive equipment pairing connection method against the above deficiency.
Technical solution provided by the invention is:
A kind of multi-screen interactive equipment matches connection method, and the multi-screen interactive equipment includes at least one transmitting terminal and at least
One receiving terminal, any transmitting terminal include random number generation module, and any receiving terminal includes consistent with transmitting terminal algorithm random
Number generation module;One of transmitting terminal is established by following steps with one of receiving terminal and is connected:
Step 1: receiving terminal of the transmitting terminal search in the same wireless network, user passes through the transmitting terminal thereto one
A receiving terminal sends pairing request;
Step 2: after the receiving terminal receives the pairing request, given birth to by the random number generation module in receiving terminal
It is sent to the transmitting terminal at a connectivity verification code, and by the connectivity verification code;
Step 3: the transmitting terminal receives the connectivity verification code, the random number generation module in transmitting terminal is to the connection
Identifying code carries out operation and generates n random verification code, and n random verification code and the connectivity verification code constitute an identifying code sequence
It arranges and is shown in transmitting terminal display screen;
Step 4: when the transmitting terminal and the receiving terminal are in the visual range of user simultaneously, user is according to institute
The connectivity verification code on receiving terminal display screen is stated, is selected from the random verification code sequence being shown on transmitting terminal display screen described
Connectivity verification code, to establish the connection between the transmitting terminal and the receiving terminal;
Step 5: when connection failure between the transmitting terminal and the receiving terminal, the transmitting terminal is to the receiving terminal
Pairing request is sent out again, and repeats the step 2 to the step 4, is connect with described until establishing the transmitting terminal
Connection between receiving end.
Preferably, in multi-screen interactive equipment pairing connection method, any transmitting terminal further includes that figure turns
Block is changed the mold, and is electrically connected with the random number generation module of transmitting terminal;Any receiving terminal further includes consistent with transmitting terminal algorithm
Figure conversion module, and be electrically connected with the random number generation module of receiving terminal;
In the step 2, the connectivity verification code generates m orderly figures by the figure conversion module of receiving terminal
And it is shown in receiving terminal display screen;
In the step 3, the n random verification code generates n figure by the figure conversion module of transmitting terminal,
And it is shown in transmitting terminal display screen with the composite figure of one group of m+n arbitrary arrangement of m orderly figures compositions;
In the step 4, user is according to m orderly figures on the receiving terminal display screen, in transmitting terminal display screen
On choose m consistent with the m of receiving terminal orderly figures in order figures, the transmitting terminal can establish and the reception
Connection between end.
Preferably, in multi-screen interactive equipment pairing connection method, each transmitting terminal present position has first
Identification information, each receiving terminal are configured with the second identification information;
In the step 1, the second identification information of the receiving terminal searched is shown in transmitting terminal display screen by transmitting terminal,
User by the transmitting terminal receiving terminal sends pairing request thereto when, the knowledge of the receiving terminal and transmitting terminal present position
Other information is consistent, then in the step 4, the transmitting terminal is in the visual range of user simultaneously with the receiving terminal.
Preferably, in multi-screen interactive equipment pairing connection method, in the step 1, user passes through the hair
Sending end is when receiving terminal sends pairing request thereto, and the of the second identification information of the receiving terminal and transmitting terminal present position
One identification information is inconsistent, then in the step 4, the transmitting terminal is not in the visual model of user with the receiving terminal simultaneously
In enclosing, connection is not established between the transmitting terminal and the receiving terminal.
Preferably, in multi-screen interactive equipment pairing connection method, first identification information includes transmitting terminal
Residing room title, or/and or transmitting terminal where position number;Second identification information includes residing for receiving terminal
The number or/and receiving device of position where room title or/and receiving terminal are numbered or/and receiving terminal IP address.
Preferably, in multi-screen interactive equipment pairing connection method, in the step 1, each receiving terminal is also pre-
First it is configured with the title of receiving terminal.
Preferably, in the described multi-screen interactive equipment pairing connection method, the value range of the m is m >=1, and institute
The value range for stating n is n >=4.
Preferably, in multi-screen interactive equipment pairing connection method, the combination of described one group of m+n arbitrary arrangement
Figure, transmitting terminal display screen can not one page display when, multipage can be divided to show successively.
Preferably, in multi-screen interactive equipment pairing connection method, the transmitting terminal is intelligent TV set, computer
Or mobile phone, the receiving terminal are intelligent TV set, computer or Intelligent set top box.
Multi-screen interactive equipment of the present invention matches connection method, and carrying out legal pairing in transmitting terminal and receiving terminal connects
It connects, avoids the illegal connection of transmitting terminal and receiving terminal, user from selecting legal receiving terminal to connect in transmitting terminal, need not set by hand
Password is set, need to only select the identical figure shown with receiving terminal display screen, and need according to receiving terminal display screen in selection
The sequence of the figure of display is selected, and the accuracy of legal connection is significantly improved, easy to use, and is realized and sent
End and connecting pin fast and accurately connect.
Description of the drawings
Fig. 1 is the structural schematic diagram that multi-screen interactive equipment of the present invention matches connection method.
Specific implementation mode
Present invention will be described in further detail below with reference to the accompanying drawings, to enable those skilled in the art with reference to specification text
Word can be implemented according to this.
As shown in Figure 1, the present invention provides a kind of multi-screen interactive equipment pairing connection method, multi-screen interactive equipment includes at least
One transmitting terminal and at least one receiving terminal, any transmitting terminal include random number generation module, and any receiving terminal includes and transmission
The random number generation module for holding algorithm consistent;One of transmitting terminal, which is established with one of receiving terminal by following steps, to be connected
It connects:
Step 1: receiving terminal of the transmitting terminal search in the same wireless network, user passes through the transmitting terminal thereto one
A receiving terminal sends pairing request;
Step 2: after receiving terminal receives pairing request, a connection is generated by the random number generation module in receiving terminal
Identifying code, and the connectivity verification code is sent to transmitting terminal;
Step 3: transmitting terminal receives connectivity verification code, the random number generation module in transmitting terminal to the connectivity verification code into
Row operation simultaneously generates n random verification code, and n random verification code and connectivity verification code constitute an identifying code sequence and be shown in
Transmitting terminal display screen;
Step 4: when transmitting terminal and receiving terminal are in the visual range of user simultaneously, user is according to the receiving terminal
Connectivity verification code on display screen selectes connectivity verification code from the random verification code sequence being shown on transmitting terminal display screen,
To establish the connection between transmitting terminal and receiving terminal;
Step 5: when the connection failure between transmitting terminal and receiving terminal, transmitting terminal sends out pairing to the receiving terminal and asks again
It asks, and repeats step 2 to step 4, until establishing the connection between transmitting terminal and receiving terminal.
In step 5, connectivity verification code mistake is selected in identifying code sequence of the user on transmitting terminal display screen, then is sent out
Sending end and receiving terminal connection failure.
In multi-screen interactive equipment pairing connection method in the present invention, any transmitting terminal further includes figure conversion module,
And it is electrically connected with the random number generation module of transmitting terminal;Any receiving terminal further includes the figure modulus of conversion consistent with transmitting terminal algorithm
Block, and be electrically connected with the random number generation module of receiving terminal;In step 2, connectivity verification code is converted by the figure of receiving terminal
Module generates m orderly figures and is shown in receiving terminal display screen;In step 3, n random verification code passes through receiving terminal
Figure conversion module generate n figure, and shown with the composite figure of the orderly one group of m+n arbitrary arrangement of figures composition of m
In transmitting terminal display screen;In step 4, user is according to m orderly figures on receiving terminal display screen, in transmitting terminal display screen
On choose m consistent with the m of receiving terminal orderly figures in order figures, transmitting terminal can establish between receiving terminal
Connection.
In step 1, receiving terminal of the transmitting terminal search in same wireless network can get available receiving terminal list
Information, list information are shown on transmitting terminal display screen, and user can select legal connection in transmitting terminal according to the list information
Receiving terminal send pairing request.
In multi-screen interactive equipment matches connection method, each transmitting terminal present position has the first identification information, each
Receiving terminal is configured with the second identification information;In step 1, transmitting terminal shows the second identification information of the receiving terminal searched
In transmitting terminal display screen, user by transmitting terminal a receiving terminal sends pairing request thereto when, the second of the receiving terminal knows
Other information is consistent with the first identification information of transmitting terminal present position, then in step 4, transmitting terminal is in receiving terminal and uses simultaneously
In the visual range at family.
In step 1, user by transmitting terminal receiving terminal sends pairing request thereto when, the of the receiving terminal
Two identification informations and the first identification information of transmitting terminal present position are inconsistent, then in step 4, transmitting terminal and receiving terminal are not
Simultaneously in the visual range in user, connection is not established between transmitting terminal and receiving terminal.
First identification information includes the number of the position where room title or/and transmitting terminal residing for transmitting terminal;Second
Identification information includes the number or/and receiving device of the position where room title or/and receiving terminal residing for receiving terminal
Number or/and receiving terminal IP address.Receiving device number includes having from row number or receiving device for receiving device
Some sequence numbers.
It is any one that the first identification information includes that first identification information corresponds to consistent mode with the second identification information
It is corresponding with any one that the second identification information includes consistent.
In step 1, each receiving terminal is also provided with the title of receiving terminal in advance.
In multi-screen interactive equipment matches connection method, the value range of m is that m is more than or equal to 1, and the value range of n is
More than or equal to 4.
The composite figure of above-mentioned one group of m+n arbitrary arrangement, transmitting terminal display screen can not one page display when, multipage can be divided
It shows successively.
Transmitting terminal is intelligent TV set, computer or mobile phone, and receiving terminal is intelligent TV set, computer or Intelligent set top box.
Embodiment 1 has a lot of room, each room to have room number, placed in each room in a hotel
Intelligent TV set, and the information of intelligent TV set is bound in the information of the room number in each room and the room, institute in hotel
Some intelligent TV sets are in the wireless network in hotel, the room number that user, which stays at an inn, can register my cell-phone number and I moves in,
The mobile phone of user is as transmitting terminal, and the intelligent TV set in hotel is as receiving terminal.After user moves in hotel, the mobile phone of user connects
The wireless network in hotel is connect, then mobile phone is in intelligent TV set in the same wireless network, when mobile phone and the user of user enter
When the intelligent TV set in room firmly establishes legal connection, the identification information of the attachable intelligent TV set of mobile phone searching, and
It being shown on mobile phone, user selects the identification information of intelligent TV set identical with the identification information that it has on mobile phone, and to
The intelligent TV set sends pairing request, and intelligent TV set firstly generates a connectivity verification code, and the connectivity verification code is turned
Be changed to 2 orderly figures, banana and apple, by the two figures include in order on the display screen of receiving terminal, and will even
Connect the mobile phone that identifying code is transmitted to user.Mobile phone can generate same figure, banana and apple pattern after terminating to connectivity verification code,
And 4 random verification codes are generated in mobile phone terminal, 4 random verification codes are converted to 4 figures, form 6 figures, 6 figures altogether
Random alignment simultaneously shows a random set pattern arrangement on mobile phone display screen.User is referring initially to the perfume (or spice) shown on television display screen
Any of several broadleaf plants and apple pattern, then first selection banana reselection apple could establish legal company with intelligent TV set in order in mobile phone
It connects.If selecting sequence or WRONG PATTERN, mobile phone sends out primary new pairing request, repeats aforesaid operations, is closed until establishing
Until method connects.
When user carries out illegal connection, user is attached using mobile phone and the intelligent TV set in other rooms, by
Banana+apple pattern that the intelligent TV set in other rooms is shown is not seen in user, so correctly several to pattern selection
Rate very little, therefore connection can not be established, to effectively avoid illegal connection.
Embodiment 2 has a multiple computers inside Internet bar, every computer have from row number or every computer have it is corresponding
Seat number is illustrated with the corresponding seat number of every computer in this example, user inside Internet bar by iPad and Internet bar inside
Wherein No. 1 computer carry out legal connection, it is consistent to be both provided with algorithm first, in the ipad and the computer in Internet bar of user
Random number generation module and figure conversion module, secondly, ipad and No. 1 computer of user is located in same LAN, wherein
Ipad is as transmitting terminal, and No. 1 computer is as receiving terminal.During user's connection legal by ipad and No. 1 computer, user
Pairing request is sent to No. 1 computer using iPad, after No. 1 computer receives request, generates a connectivity verification code, which tests
Card code is converted to 4 patterns and is displayed on the display screen of No. 1 computer, and 4 patterns are followed successively by apple, pears, orange, durian, and 1
Connectivity verification code on number computer is sent to ipad, and ipad receives connectivity verification code, and generates 6 different accidental validations
Code, and connectivity verification code is converted to 4 apple with pattern, pears, orange, durians, 6 different random verification codes are converted to 6 figures
Case, banana, mango, hawthorn, cucumber, muskmelon, watermelon form altogether 10 patterns, this 10 patterns carry out random alignment, finally
It randomly selects a row to be shown on ipad display screens, user selects apple, pears, orange, durian successively on ipad display screens, just
The legal connection of ipad and No. 1 computer can be established.
In example 2, when user carries out illegal connection, user is carried out using ipad with No. 6 computers in Internet bar non-
Method connects, and when No. 6 computers have other users in the used time, user needs to see the pattern of display in the short time, and determines No. 6 computers
Connectivity verification code can be sent on the ipad of user, because the user of No. 6 computers is not transmitted across request, can directly will
The pattern of display on computers is turned off, and closes application program, so the user for carrying out illegal connection can not be in a short time
Both it had seen the pattern being shown on No. 6 computers, and had also ensured that this program continued to run with, therefore illegal connection fails;At No. 6 computers
In dormant state, being needed through the password on computer then establishing connection, computer just can be in operating status, so illegal connection
Failure.
Embodiment 1 and embodiment 2 can be passed through for two different situations of multi-screen interactive equipment pairing connection
Illegal connection can not be avoided from the mode of identification icon on receiving terminal screen.
Although the embodiments of the present invention have been disclosed as above, but its is not only in the description and the implementation listed
With it can be fully applied to various fields suitable for the present invention, for those skilled in the art, can be easily
Realize other modification, therefore without departing from the general concept defined in the claims and the equivalent scope, the present invention is simultaneously unlimited
In specific details and legend shown and described herein.