The two-dimensional barcode information shared system of mobile terminal
Technical field
The present invention relates to fields of communication technology, more particularly to two-dimensional barcode information shared system.
Background technique
Two dimensional code(Quick Response Code), also known as two-dimensional bar code, it is with specific geometric figure by a set pattern
Rule is in plane(Two-dimensional directional)The chequered with black and white figure of upper distribution is a key of all information datas.
With the propulsion of technology, two dimensional code is gradually applied in TV media, such as by information content two dimensional code abundant
(Such as the merchandise news of advertisement, the video of news, the relevant information of TV programme)Display is on the tv screen.Interested spectators
Two-dimension code image can be filmed with mobile phone at any time, and the decoder by downloading in mobile phone carries out real-time decoding, obtains
Relevant information.Cell phone network can also be directly logged in by linking, realized " one beats in net ", to further appreciate that.When TV is logical
After crossing mobile phone and network implementations intercommunication, user can be carried out more interacting, and such as enter online chat room, to news program reality
When comment, directly to manufacturer's consulting merchandise news etc..Network can expand broader space again, such as forum, blog, circle, from
And merge content with community.Realize the unification of three nets of cellular network, television network, internet.
In the application of daily life, such as when user watches TV programme at home, often shown on video screen
Two-dimension code image is out for scanning input.In the process, before the user usually needs to go to television set, then by the way that mobile phone to be aligned
Two dimensional code region on screen is to be scanned.The disadvantage of this mode is in front of needing user to go to television set, if
It is just more troublesome if user distance television set is distant, moreover due to the factor of distance, sometimes when user determines scanning again
When going to before television set, the two-dimension code image shown on screen has disappeared, to bring many inconvenience to user.
Therefore, the present inventor, which feels the above problem very, the necessity of its improvement, is engaged in related fields then with its many years
Design and professional manufacturing experience, energetically for the shared side of two-dimensional barcode information between a kind of television terminal and mobile terminal
Method and system carry out research improvement, develop the present invention finally under careful consideration of the conditions of all parties.
Summary of the invention
For above situation, the shortcomings that in order to overcome the prior art, the embodiment of the invention provides a kind of television terminal with
Two-dimensional barcode information sharing method and system between mobile terminal can effectively solve facilitate quickly scanning electricity in the prior art
The problem of showing timeliness depending on two dimensional code and two dimensional code, improves the experience effect of scanning input TV two dimensional code.
The embodiment of the present invention adopts the following technical scheme that:
A kind of two-dimensional barcode information sharing method between television terminal and mobile terminal, the method includes:
Whether two-dimension code image is shown on the screen-picture of monitoring TV terminal;
When showing the two-dimension code image on the screen-picture for monitoring the television terminal, obtains the screen and draw
Face simultaneously therefrom extracts the two-dimension code image;And
The two-dimension code image is sent on at least mobile terminal to establish a connection with the television terminal.
Preferably, the two-dimension code image to be sent to the mobile terminal to establish a connection with the television terminal
Before upper, the method also includes:
Wireless title corresponding to a plurality of mobile terminals is sent to specified mobile terminal by the television terminal;And
The selection operation that user executes is received, the wireless title of an at least mobile terminal is fed back into the television terminal.
Preferably, the method also includes:
The two-dimension code image extracted is parsed;And
The information content after parsing is sent on the mobile terminal.
Preferably, the two-dimension code image to be sent to the mobile terminal to establish a connection with the television terminal
Before upper, the method also includes:
The two-dimension code image extracted is stored in preset database;
Receive the first information as transmitted by the mobile terminal instruction and according to the first information instruction will be stored in described in
The two-dimension code image in database is shown on the screen-picture of the television terminal;And
Receive the second information command as transmitted by the mobile terminal.
Preferably, the method also includes:
Important information is extracted in the information content after analytically and it will be shown in the two dimensional code figures in the database
Under piece.
A kind of two-dimensional barcode information shared system between television terminal and mobile terminal, including a television terminal are moved at least one
Dynamic terminal, wherein the television terminal includes:
Whether monitoring unit shows two-dimension code image on the screen-picture of monitoring TV terminal;
Acquiring unit, for when showing the two-dimension code image on the screen-picture for monitoring the television terminal,
Obtain the screen-picture;
Picture extraction unit, for extracting the two-dimension code image from the screen-picture;And
First transmission unit, for the two-dimension code image to be sent to establish a connection with the television terminal at least one
On mobile terminal.
Preferably, the television terminal further includes:
Second transmission unit, for sending wireless title corresponding to a plurality of mobile terminals to specified mobile terminal;
The mobile terminal includes:
Feedback unit, it is described to feed back to the wireless title of an at least mobile terminal for receiving the selection operation of user's execution
Television terminal.
Preferably, the television terminal further includes:
Resolution unit, for being parsed to the two-dimension code image extracted;And
Third transmission unit, for the information content after parsing to be sent to the mobile terminal.
Preferably, the television terminal further includes:
Storage element, for the two-dimension code image extracted to be stored in preset database;
First receiving unit, for receiving the instruction of the first information as transmitted by the mobile terminal;
First display unit shows the two-dimension code image of storage in the database for first information instruction
On the screen-picture of the television terminal;And
Second receiving unit, for receiving the second information command as transmitted by the mobile terminal.
Preferably, the television terminal further includes:
Information extraction unit, for extracting important information in the information content after analytically;And
Second display unit, for showing the important information under the two-dimension code image in the database.
Technical solution bring beneficial effect provided in an embodiment of the present invention is:Using technical solution of the present invention, first,
When showing two-dimension code image on the screen-picture of television terminal, the screen-picture will be carried out to obtain and therefrom extract
The two-dimension code image is then sent at least one to establish a connection with the television terminal and moved by the two-dimension code image
In dynamic terminal, such user directly passes through another mobile terminal and sweeps to the mobile terminal for receiving the two-dimension code image
Retouch, alternatively, user can by specified mobile terminal execute selection operation with promote the television terminal to
Mobile terminal corresponding to the wireless signal of family selection sends the two-dimension code image;The second, the present invention can also be by described
Television terminal parse and the information content after parsing is sent on the mobile terminal, such user to the two dimensional code
It then no longer needs to execute scan operation, can directly check the information content corresponding to the two-dimension code image on mobile terminals;The
Three, the two-dimension code image that the present invention can also be displayed on the screen-picture is stored in preset database, such as
This, user can transfer previous two-dimension code image, solve the limited time because of TV two-dimensional code display picture to lead to user
The imeliness problem of two-dimension code image cannot be obtained in time.
Detailed description of the invention
In order to which the above-mentioned and other purposes of the present invention, feature, advantage can be clearer and more comprehensible, embodiment will hereafter be described
Needed in attached drawing make one and simply introduce, it should be apparent that, the accompanying drawings in the following description is only of the invention one
A little embodiments, for those of ordinary skill in the art, do not pay create it is laborious under the premise of, can also be according to these
Attached drawing obtains other attached drawings.
Fig. 1 is the two-dimensional barcode information sharing method between a kind of television terminal and mobile terminal that the embodiment of the present invention one provides
Flow diagram;
Fig. 2 is the example schematic diagram for the first time that the embodiment of the present invention one provides searching for anchor point;
Fig. 3 is the example schematic diagram for second of search anchor point that the embodiment of the present invention one provides;
Fig. 4 is that the wireless title sending method process between a kind of television terminal and mobile terminal provided by Embodiment 2 of the present invention is shown
It is intended to;
Fig. 5 is that the picture analytic method process between a kind of television terminal and mobile terminal that the embodiment of the present invention three provides is illustrated
Figure;
Fig. 6 is the two-dimensional barcode information sharing method process between a kind of television terminal and mobile terminal that the embodiment of the present invention three provides
Schematic diagram;
Fig. 7 is the two-dimensional barcode information shared system square between a kind of television terminal and mobile terminal that the embodiment of the present invention four provides
Schematic diagram.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiment is only a part of the embodiments of the present invention, instead of all the embodiments.Base
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts it is all its
His embodiment, belongs to protection scope of the present invention.
In following embodiment of the present invention, the mobile terminal include, but are not limited to have the smart phone of touch screen,
Tablet computer, net book, PDA(Portable Digital Assistant), intelligent wearable equipment etc..
Embodiment one
Referring to FIG. 1, Fig. 1 is that a kind of two-dimensional barcode information between the television terminal and mobile terminal that the embodiment of the present invention one provides is total
Enjoy method flow schematic diagram.Specifically, the two-dimensional barcode information present embodiments provided between a kind of television terminal and mobile terminal is total
Method is enjoyed, is included the following steps:
Step 101, monitoring TV terminal screen-picture on whether show two-dimension code image;
When showing the two-dimension code image on the screen-picture for monitoring the television terminal, executes step 102, obtains
It takes the screen-picture and therefrom extracts the two-dimension code image;And
The two-dimension code image is sent at least mobile terminal to establish a connection with the television terminal by step 103
On.
Step 101 in the specific implementation, the image data stream for needing convection current to enter master cpu is identified, i.e., to described image
Every width still frame picture in data flow carries out the search of two-dimension code image.
Those skilled in the art generally comprise three anchor points in the shape feature of known two dimensional code, for determining two dimension
The range of code, guarantee have still correct identification in certain inclined situation.Therefore, three will specifically be positioned in the present embodiment
Line search is clicked through, to determine the presence of two-dimension code image in still frame picture.It should be noted that the two-dimension code image
The size of position and display shown by still frame picture is simultaneously not fixed, that is to say, that the two-dimension code image can be shown
And can be with the shape of arbitrary size to show on any position in still frame picture, therefore need in search process to quiet
All areas in frame picture are searched.Specific search pattern is as follows:
Reference axis and three search boxes for covering three anchor points are established on still frame picture, wherein search box can be
Square.The mode of search is according to successively screening from big to small.Three search box first time search bits will be specifically provided respectively
The coordinate set, wherein the coordinate of the first time searching position is by the covering still frame picture of maximum magnitude.Then three will be controlled
Search box is respectively displayed at corresponding coordinate position, and judges whether three search boxes are all covered with anchor point, such as
Fruit, which has, then determines that there are two-dimension code images on current still frame picture;Continue to search for if not.It continues searching
Mode be:The coordinate of second of searching position is provided, wherein the region that the coordinate of second of searching position is covered will
The region covered less than the coordinate of the first time searching position;To equally control three search boxes be respectively displayed on it is right with it
At the coordinate position answered and judged, if it is judged that then will control three simultaneously without all covering anchor point and search
Rope frame is integrally moved, cannot be maximum because smaller before the coordinate overlay area ratio of second of searching position
Covering still frame picture in range needs to move three search boxes simultaneously to cover entire still frame picture, when comprehensive covering still frame
Still non-interpretation goes out there are when two-dimension code image after picture, then will continue to search in such a way that second is searched for, i.e.,
Continue to reduce the region that the coordinate of searching position is covered, until there are stoppings when minimum clearance between three search boxes;When three
Entire still frame picture is covered all without all covering anchor points there are minimum clearance between a search box and by mobile
Words, then it is assumed that two-dimension code image is not present on current still frame picture, so will then carry out two dimensional code to next still frame picture
Search.
Referring to FIG. 2, Fig. 2 is the example schematic diagram for the first time that the embodiment of the present invention one provides searching for anchor point.Such as figure
It is shown, it is assumed that the still frame picture in the present embodiment is square, and side length is 10.Wherein, three search boxes are respectively designated as
S1, S2 and S3, wherein the coordinate for providing search box S1 is(0,10),(1,10),(1,9),(0,9), i.e., the seat on four vertex
Mark;The coordinate for providing search box S2 is(9,10),(10,10),(10,9),(9,9);The coordinate for providing search box S3 is(0,1),
(1,1),(1,0),(0,0).After three search boxes are shown in given coordinate position, the TV terminal system will judge three
Whether a search box is all covered with anchor point, if all coverings, it is determined that there are two dimensions on current still frame picture
Code picture;Continue second of search if not.
Referring to FIG. 3, Fig. 3 is the example schematic diagram for second of search anchor point that the embodiment of the present invention one provides.Such as figure
It is shown, keep the coordinate position of search box S1 constant, the coordinate for providing search box S2 is(8,9),(9,10),(9,9),(8,9);
The coordinate for providing search box S3 is(0,2),(1,2),(1,1),(0,1).That is, search box S2 is shifted 1 to the left
Length unit;Search box S3 1 length unit is translated up into, after translation, between search box S1 and S2 and S1 and S3
Distance respectively shorten 1 length unit;Then, the TV terminal system will judge whether three search boxes after translation are complete
Portion is covered with anchor point, if all coverings, it is determined that there are two-dimension code images on current still frame picture;If no
Three search boxes will then be controlled simultaneously integrally to move, specific move mode is:It is whole to the right first to control three search boxes
1 length unit is translated, is then judged, if it is determined that not all being covered with anchor point, then controls three search boxes again
It is whole to translate 1 length unit downwards on existing position, then judged, if it is determined that not being covered with positioning all
Point then controls three search boxes entirety on existing position to 1 length unit of left again.
It is described it should be noted that above-mentioned implementation process is only searched for first time with second of search, practical operation
In, if second has not determined on current still frame picture when searching for, there are two-dimension code images(That is three search box wholes
Positioning is covered with to point)If, then it will continue to search for, that is, continue that search box S2 is translated and judged with S3, directly
To search box S1 and S2 and the distance between S1 and S3 to continue to translate by stopping when minimum clearance, wherein the present embodiment is to most
The length of small―gap suture is not construed as limiting.
In step 102, the screen-picture acquired in the TV terminal system is to show the two dimensional code figure
The still frame picture of piece, specific acquisition modes can be duplication or interception, then will be from the still frame picture of acquisition described in extraction
Two-dimension code image.
The mode of extraction is preferably in the present embodiment:Locating for first judging the two-dimension code image in still frame picture
Coordinate position then again intercepts region corresponding to the coordinate position.For example, judging the two-dimension code image quiet
Locating coordinate position is in frame picture(0,5),(2,5),(2,3),(0,3);It then will be to region corresponding to the coordinate position
It is intercepted, the picture being truncated to will be the two-dimension code image.
It should be noted that whether way of search used in the present embodiment can be accurately to having two dimension on still frame picture
Code picture is judged, and ensures not have the region that do not search for.
In step 103, the television terminal needs establish a connection with an at least mobile terminal, specifically can be nothing
Line connection, such as bluetooth connection.Under the premise of establishing a connection, the television terminal will be mentioning from the screen-picture
The two-dimension code image taken out is sent on the mobile terminal.After sending successfully, the mobile terminal will receive described
Two-dimension code image, at this point, user can directly open the two-dimensional code scanning function of another mobile terminal to the two dimensional code figure
Piece is scanned.The thing generation for removing to scan the two-dimensional code picture is needed to go to before television set so as to avoid user.
Further, in the step 101 of the present embodiment, if do not shown on the screen-picture of monitoring TV terminal
Two-dimension code image then will directly terminate process.
Embodiment two
Referring to FIG. 4, Fig. 4 is the wireless title transmission between a kind of television terminal and mobile terminal provided by Embodiment 2 of the present invention
Method flow schematic diagram.Specifically, the present embodiment is substantially the same with embodiment one, and difference place is, in the present embodiment,
Before the two-dimension code image is sent on the mobile terminal to establish a connection with the television terminal, the method is also wrapped
It includes:
Step 201 sends wireless name corresponding to a plurality of mobile terminals to specified mobile terminal by the television terminal
Claim.
Wherein, wireless title corresponding to a plurality of mobile terminals can be the prior and television terminal and establish
Connection relationship, after having mobile terminal and the television terminal successful matching, the television terminal will acquire and record the shifting
The wireless title of dynamic terminal.For example, it is assumed that wireless title point corresponding to a plurality of mobile terminals of the television terminal record
Not Wei A1, A2, A3, then in this step, wireless title A1, A2, A3 will be sent respectively to the finger by the television terminal
Fixed mobile terminal.
Step 202 receives the selection operation that user executes, and the wireless title of an at least mobile terminal is fed back to the electricity
Depending on terminal.
Wherein, user can be that is, a plurality of mobile whole from what is received by operating to the specified mobile terminal
Selected in the corresponding wireless title in end one of them or it is a plurality of.For example, it is assumed that the wireless title of user's selection is A2, then institute
The television terminal will be fed back to wireless title A2 by stating specified mobile terminal.
In this way, then after the television terminal receives wireless title transmitted by the specified mobile terminal, just
The two-dimension code image extracted can be sent on mobile terminal corresponding to the wireless title.
The effect that the present embodiment is reached is:User can be by executing selection operation to specify the television terminal that will send out
Send the object of the two-dimension code image.For example, the television terminal can send the two dimensional code figure on the mobile phone of father user
Piece, such user can be by opening the two-dimensional code scanning function on oneself mobile phone to described in receiving on father's mobile phone
Two-dimension code image is scanned operation.
Embodiment three
Referring to FIG. 5, Fig. 5 is the picture analytic method between a kind of television terminal and mobile terminal that the embodiment of the present invention three provides
Flow diagram.Specifically, the present embodiment is substantially the same with embodiment one, and difference place is, in the present embodiment, the side
Method further includes:
Step 301 parses the two-dimension code image extracted;And
The information content after parsing is sent on the mobile terminal by step 302.
Wherein, if the information content parsed is network address, which is sent on the mobile terminal and to this
The safety of network address is detected, and directly opens the network address if testing result is safety;If the information content parsed is
The contents such as text, picture, music can then enter in text in the memorandum of the mobile terminal;Picture is stored in described
In the photograph album of mobile terminal;Music is stored in the music player of the mobile terminal, etc..
Referring to FIG. 6, Fig. 6 is that a kind of two dimensional code between the television terminal and mobile terminal that the embodiment of the present invention three provides is believed
Cease sharing method flow diagram.Specifically, it in the present embodiment, is sent to and the television terminal by the two-dimension code image
Before on the mobile terminal to establish a connection, the method also includes:
The two-dimension code image extracted is stored in preset database by step 303.
Step 304 receives the instruction of the first information as transmitted by the mobile terminal and is instructed according to the first information
The two-dimension code image of storage in the database is shown on the screen-picture of the television terminal;And
Step 305 receives the second information command as transmitted by the mobile terminal.
Because under normal circumstances, display of the two dimensional code on the television terminal has timeliness, that is, show the time
Of short duration, the present embodiment will be solved for this problem.In the present embodiment, when the television terminal is from the screen-picture
In be also stored in the database while extract the two-dimension code image, thus facilitate user to transfer out in the past
The two-dimension code image being shown on the television terminal.
It is instructed for example, user can send the first information to the television terminal by the mobile terminal, when described
When television terminal receives first information instruction, it will control the database and open, and real-time display is in the TV
In terminal, the previous all two-dimension code images stored in the database can be shown on the television terminal.
In this way, user can send second information command to the television terminal, second information command is specifically
Show the code name of the selected two-dimension code image of user, i.e., described two stored in the described database to the television terminal
Dimension code picture all has a code name;Assuming that the television terminal is 3 according to the code name that second information command identifies, then will
The two-dimension code image corresponding to code name 3 can be sent and give the mobile terminal.Wherein, may include in second information command
One code name, also may include a plurality of code names.
Further, in the present embodiment, the method also includes:
Step 306, analytically after the information content in extract important information and it will be shown in described in the database
Under two-dimension code image.
Wherein, the important information may include type belonging to the two-dimension code image information content, affiliated type
Including advertisement, ballot, with lottery guess, message etc.;Alternatively, the important information can also include described in the two dimensional code is presented on
Corresponding TV station, time etc. or the important information can also include in the two-dimensional barcode information when on television terminal
It the validity period etc. of appearance, will not describe in detail herein.
In this way, the two-dimension code image stored in the database is shown described when the database is opened
When on television terminal, user can be by observing important information corresponding to the two-dimension code image to decide whether to open
With.
If function described in the present embodiment method is realized in the form of SFU software functional unit and as independent product pin
It sells or in use, can store in a storage medium readable by a compute device.Based on this understanding, the embodiment of the present invention
The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, this is soft
Part product is stored in a storage medium, including some instructions are used so that a calculating equipment(It can be personal computer,
Server, mobile computing device or network equipment etc.)Execute all or part of step of each embodiment the method for the present invention
Suddenly.And storage medium above-mentioned includes:U disk, mobile hard disk, read-only memory(ROM, Read-Only Memory), at random deposit
Access to memory(RAM, Random Access Memory), the various media that can store program code such as magnetic or disk.
Example IV
Referring to FIG. 7, Fig. 7 is that a kind of two-dimensional barcode information between the television terminal and mobile terminal that the embodiment of the present invention four provides is total
Enjoy system block schematic diagram.Specifically, the present embodiment provides the two-dimensional barcode information between a kind of television terminal and mobile terminal is shared
System 4, including a television terminal 40 and an at least mobile terminal 41, wherein the television terminal includes:
Whether monitoring unit 401 shows two-dimension code image on the screen-picture of monitoring TV terminal 40;
Acquiring unit 402 shows the two dimensional code figure on the screen-picture for monitoring the television terminal 40 for working as
When piece, the screen-picture is obtained;
Picture extraction unit 403, for extracting the two-dimension code image from the screen-picture;And
First transmission unit 404 establishes a connection for being sent to the two-dimension code image with the television terminal 40
On an at least mobile terminal 41.
As a kind of enforceable mode, in the present embodiment, the television terminal 40 further includes:
Second transmission unit 405, for sending wireless title corresponding to a plurality of mobile terminals to specified mobile terminal 41;
The mobile terminal 41 includes:
Feedback unit 406, for receiving the selection operation of user's execution to feed back to the wireless title of an at least mobile terminal
The television terminal.
As a kind of enforceable mode, in the present embodiment, the television terminal 40 further includes:
Resolution unit 407, for being parsed to the two-dimension code image extracted;And
Third transmission unit 408, for the information content after parsing to be sent to the mobile terminal 41.
As a kind of enforceable mode, in the present embodiment, the television terminal 40 further includes:
Storage element 409, for the two-dimension code image extracted to be stored in preset database;
First receiving unit 410, for receiving the instruction of the first information as transmitted by the mobile terminal 41;
First display unit 411, the two-dimension code image for first information instruction by storage in the database
It is shown on the screen-picture of the television terminal 40;And
Second receiving unit 412, for receiving second information command as transmitted by the mobile terminal 41.
As a kind of enforceable mode, in the present embodiment, the television terminal 40 further includes:
Information extraction unit 413, for extracting important information in the information content after analytically;And
Second display unit 414, for showing the important information under the two-dimension code image in the database.
It should be understood that the specific implementation process of above-mentioned each unit can be with above method embodiment in example IV(Implement
Example one to three)Description it is corresponding, be not described in detail herein.
The television terminal in system provided by above-described embodiment four is only carried out with the division of above-mentioned each functional unit
For example, can according to need in practical application and function distribution will be appealed and completed by different functional units, i.e., it will be described
The internal structure of television terminal is divided into different functional units, to complete all or part of the functions described above.In addition,
System and method for embodiment provided by the above embodiment belongs to same design, and specific implementation process is detailed in embodiment of the method,
This will be without repeating.The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Following advantages can be achieved in the present invention:
By the present invention, first, when showing two-dimension code image on the screen-picture of television terminal, it will be to the screen-picture
Obtain and therefrom extract the two-dimension code image, then the two-dimension code image is sent to and is built with the television terminal
On an at least mobile terminal for vertical connection relationship, such user directly passes through another mobile terminal to receiving the two dimensional code
The mobile terminal of picture is scanned, alternatively, user can by specified mobile terminal execute selection operation with
Mobile terminal corresponding to the wireless signal for promoting the television terminal to select to user sends the two-dimension code image;The second,
The present invention can also parse the two dimensional code by the television terminal and the information content after parsing is sent to institute
It states on mobile terminal, such user then no longer needs to execute scan operation, can directly check the two dimensional code figure on mobile terminals
The information content corresponding to piece;Third, the present invention can also be displayed on the storage of the two-dimension code image on the screen-picture
There are in preset database, in this way, user can transfer previous two-dimension code image, solve because of TV two-dimensional code display picture
Limited time to cause user that cannot obtain the imeliness problem of two-dimension code image in time.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain
Lid is within the scope of the present invention.Therefore, protection scope of the present invention should be subject to the protection scope of the requirement.