Summary of the invention
For above-mentioned situation, in order to overcome the shortcoming of prior art, the 2 D code information embodiments provided between a kind of television terminal and mobile terminal shares method and system, effectively can solve in prior art and convenient scanning TV Quick Response Code and Quick Response Code quickly can not show ageing problem, improve the experience effect of scanning input TV Quick Response Code.
The embodiment of the present invention adopts following technical scheme:
2 D code information between television terminal and mobile terminal shares a method, and described method comprises:
Whether the screen-picture of monitoring TV terminal shows two-dimension code image;
When the described screen-picture monitoring described television terminal shows described two-dimension code image, obtain described screen-picture and therefrom extract described two-dimension code image; And
Described two-dimension code image is sent at least one mobile terminal established a connection with described television terminal.
As preferably, before described two-dimension code image being sent on the mobile terminal established a connection with described television terminal, described method also comprises:
Wireless title corresponding to a plurality of mobile terminal is sent to the mobile terminal of specifying by described television terminal; And
Receive the selection operation that user performs, the wireless title of at least one mobile terminal is fed back to described television terminal.
As preferably, described method also comprises:
The described two-dimension code image extracted is resolved; And
The information content after resolving is sent on described mobile terminal.
As preferably, before described two-dimension code image being sent on the mobile terminal established a connection with described television terminal, described method also comprises:
The described two-dimension code image extracted is stored in default database;
The described two-dimension code image stored in the database is also presented on the described screen-picture of described television terminal according to described first information instruction by the first information instruction that reception is sent by described mobile terminal; And
Receive the second information command sent by described mobile terminal.
As preferably, described method also comprises:
Important information is extracted and under being shown described two-dimension code image in the database in the information content analytically.
A 2 D code information shared system between television terminal and mobile terminal, comprise a television terminal and at least one mobile terminal, wherein said television terminal comprises:
Whether monitoring unit, show two-dimension code image on the screen-picture of monitoring TV terminal;
Acquiring unit, during for showing described two-dimension code image on the described screen-picture monitoring described television terminal, obtains described screen-picture;
Picture extraction unit, for extracting described two-dimension code image from described screen-picture; And
First transmitting element, for being sent at least one mobile terminal established a connection with described television terminal by described two-dimension code image.
As preferably, described television terminal also comprises:
Second transmitting element, for sending the wireless title corresponding to a plurality of mobile terminal to the mobile terminal of specifying;
Described mobile terminal comprises:
Feedback unit, the selection performed for receiving user operates so that the wireless title of at least one mobile terminal is fed back to described television terminal.
As preferably, described television terminal also comprises:
Resolution unit, for resolving the described two-dimension code image extracted; And
3rd transmitting element, for being sent to described mobile terminal by the information content after parsing.
As preferably, described television terminal also comprises:
Storage element, for being stored in default database by the described two-dimension code image extracted;
First receiving element, for receiving the first information instruction sent by described mobile terminal;
First display unit, is presented at the described screen-picture of described television terminal by the described two-dimension code image stored in the database for described first information instruction; And
Second receiving element, for receiving the second information command sent by described mobile terminal.
As preferably, described television terminal also comprises:
Information extraction unit, for extracting important information in the information content after analytically; And
Second display unit, for by under described important information display described two-dimension code image in the database.
The beneficial effect that the technical scheme that the embodiment of the present invention provides is brought is: adopt technical scheme of the present invention, first, when showing two-dimension code image on the screen-picture of television terminal, to acquisition be carried out to described screen-picture and therefrom extract described two-dimension code image, then described two-dimension code image is sent at least one mobile terminal established a connection with described television terminal, user like this is directly scanned the mobile terminal receiving described two-dimension code image by another mobile terminal, or, user can send described two-dimension code image by performing selection operation on the mobile terminal of specifying with the mobile terminal corresponding to the wireless signal impelling described television terminal and select to user, the second, the present invention can also to be resolved described Quick Response Code by described television terminal and be sent on described mobile terminal by the information content after resolving, user like this, then without the need to performing scan operation again, directly can check the information content corresponding to described two-dimension code image on mobile terminals, three, the described two-dimension code image be presented on described screen-picture can also be stored in default database by the present invention, so, user can transfer two-dimension code image in the past, solves because the limited time of TV two-dimensional code display picture is with the ageing problem causing user can not obtain two-dimension code image in time.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only a part of embodiment of the present invention, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to protection scope of the present invention.
In following examples of the present invention, described mobile terminal comprises but is not defined as smart mobile phone, panel computer, net book, the PDA(Portable Digital Assistant with touch-screen), Intelligent wearable equipment etc.
Embodiment one
Please refer to Fig. 1, the 2 D code information between a kind of television terminal that Fig. 1 provides for the embodiment of the present invention one and mobile terminal shares method flow schematic diagram.Particularly, the 2 D code information present embodiments provided between a kind of television terminal and mobile terminal shares method, comprises the following steps:
Whether the screen-picture of step 101, monitoring TV terminal shows two-dimension code image;
When the described screen-picture monitoring described television terminal shows described two-dimension code image, perform step 102, obtain described screen-picture and therefrom extract described two-dimension code image; And
Step 103, described two-dimension code image to be sent at least one mobile terminal of establishing a connection with described television terminal.
In the specific implementation of step 101, the image data stream needing convection current to enter master cpu identifies, namely the quiet frame picture of every in described image data stream is carried out to the search of two-dimension code image.
Generally comprising three anchor points in the shape facility of the known Quick Response Code of those skilled in the art, for determining the scope of Quick Response Code, still correctly identifying when ensuring certain inclination.Therefore, specifically will search three anchor points in the present embodiment, thus determine the existence of two-dimension code image in quiet frame picture.It should be noted that, the size of the position that described two-dimension code image is shown in quiet frame picture and display is not fixed, that is on described two-dimension code image may be displayed in quiet frame picture optional position and can the shape of arbitrary size represent, therefore need to search all regions in quiet frame picture in search process.Concrete search pattern is as follows:
Quiet frame picture is set up reference axis and three search boxes for covering three anchor points, and wherein search box can be square.The mode of search is according to screening successively from big to small.Specifically will provide the coordinate of three search boxes first time searching positions respectively, wherein said first time searching position coordinate by quiet for the covering of maximum magnitude frame picture.Then control three search boxes are presented at the coordinate position place corresponding with it respectively, and judge whether three search boxes are all coated with anchor point, if had, determine to have two-dimension code image on current quiet frame picture; If, do not proceed search.The mode continuing search is: the coordinate providing second time searching position, the region that the coordinate being less than described first time searching position covers by the region that the coordinate of wherein said second time searching position covers, equally control three search boxes are presented at the coordinate position place corresponding with it respectively and judge, if judge all not cover anchor point, then move controlling three search box entirety simultaneously, because the coordinate overlay area of described second time searching position is more smaller than before, therefore can not the quiet frame picture of covering in maximum magnitude, need to move three search boxes to cover whole quiet frame picture simultaneously, when after the quiet frame picture of comprehensive covering, still non-interpretation goes out to have two-dimension code image, then the mode according to second time search is proceeded search, namely the region that the coordinate continuing to reduce searching position covers, until stop when there is minimum clearance between three search boxes, between three search boxes, there is minimum clearance and cover through mobile the words that whole quiet frame picture does not all cover anchor point, then think that current quiet frame picture does not exist two-dimension code image, so then will carry out Quick Response Code search to next quiet frame picture.
Please refer to Fig. 2, the example schematic diagram of the first time search anchor point that Fig. 2 provides for the embodiment of the present invention one.As shown in the figure, suppose that the quiet frame picture in the present embodiment is square, and the length of side is 10.Wherein, by three search boxes called after S1, S2 and S3 respectively, wherein provide the coordinate of search box S1 for (0,10), (1,10), (1,9), (0,9), the i.e. coordinate on four summits; Provide the coordinate of search box S2 for (9,10), (10,10), (10,9), (9,9); Provide the coordinate of search box S3 for (0,1), (1,1), (1,0), (0,0).After three search boxes are presented at given coordinate position, described TV terminal system, by judging whether three search boxes are all coated with anchor point, if all covered, is then determined to have two-dimension code image on current quiet frame picture; If, do not proceed second time search.
Please refer to Fig. 3, the example schematic diagram of the second time search anchor point that Fig. 3 provides for the embodiment of the present invention one.As shown in the figure, keep the coordinate position of search box S1 constant, provide the coordinate of search box S2 for (8,9), (9,10), (9,9), (8,9); Provide the coordinate of search box S3 for (0,2), (1,2), (1,1), (0,1).That is, search box S2 is shifted 1 long measure left; Search box S3 is upwards shifted 1 long measure, after translation, the distance between search box S1 and S2 and S1 and S3 respectively shortens 1 long measure; Then, described TV terminal system, by judging whether three search boxes after translation are all coated with anchor point, if all covered, is then determined to have two-dimension code image on current quiet frame picture; If, do not moved controlling three search box entirety simultaneously, concrete move mode is: first control three search boxes overall to right translation 1 long measure, then judge, if be judged as all not being coated with anchor point, then control three search boxes entirety downward translation 1 long measure on existing position again, then judge, if be judged as all not being coated with anchor point, then control three search boxes entirety again on existing position to left 1 long measure.
It should be noted that, above-mentioned implementation process is only searched for first time search and second time and is carried out describing, in practical operation, if also do not determine during second time search current quiet frame picture to have two-dimension code image (three search boxes are all coated with location to point), then will proceed search, namely continue to carry out translation and judgement to search box S2 and S3, until stopping is continued translation when the distance between search box S1 and S2 and S1 and S3 is minimum clearance, wherein the length of the present embodiment to minimum clearance is not construed as limiting.
In step 102, the described screen-picture that described TV terminal system obtains is the quiet frame picture showing described two-dimension code image, and concrete obtain manner can be copy or intercept, and then extracts described two-dimension code image by from the quiet frame picture obtained.
The mode extracted is preferably in the present embodiment: first judge the coordinate position that described two-dimension code image is residing in quiet frame picture then to intercept the region corresponding to this coordinate position again.Such as, judge that the coordinate position residing for described two-dimension code image is in quiet frame picture is (0,5), (2,5), (2,3), (0,3); Then intercept to the region corresponding to this coordinate position, the picture be truncated to will be described two-dimension code image.
It should be noted that, whether the way of search that the present embodiment uses can have two-dimension code image to judge on quiet frame picture accurately, and guarantees not have the region do not searched for.
In step 103, described television terminal needs to establish a connection with at least one mobile terminal, and can be specifically wireless connections, such as bluetooth connects.Under the prerequisite established a connection, described television terminal is sent to the described two-dimension code image extracted from described screen-picture on described mobile terminal.Send successfully, described mobile terminal will receive described two-dimension code image, and now, user directly can open the Quick Response Code scan function of another mobile terminal to scan described two-dimension code image.Thus avoid the thing generation going to scan two-dimension code image before user needs to go to television set.
Further, in the step 101 of the present embodiment, if the screen-picture of monitoring TV terminal does not show two-dimension code image, then by direct process ends.
Embodiment two
Please refer to Fig. 4, the wireless title sending method schematic flow sheet between a kind of television terminal that Fig. 4 provides for the embodiment of the present invention two and mobile terminal.Particularly, the present embodiment is substantially the same with embodiment one, and difference part is, in the present embodiment, before described two-dimension code image being sent on the mobile terminal established a connection with described television terminal, described method also comprises:
Step 201, send wireless title corresponding to a plurality of mobile terminal by described television terminal to the mobile terminal of specifying.
Wherein, wireless title corresponding to described a plurality of mobile terminal can be set up annexation with described television terminal in advance, after having mobile terminal and described television terminal successful matching, described television terminal will obtain and records the wireless title of this mobile terminal.Such as, suppose that the wireless title corresponding to a plurality of mobile terminals of described television terminal record is respectively A1, A2, A3, then in this step, described television terminal will send to described mobile terminal of specifying respectively wireless title A1, A2, A3.
The selection operation that step 202, reception user perform, feeds back to described television terminal by the wireless title of at least one mobile terminal.
Wherein, user by operating described mobile terminal of specifying, namely select from the wireless title corresponding to a plurality of mobile terminals received one of them or a plurality of.Such as, suppose that the wireless title that user selects is A2, then described mobile terminal of specifying will feed back to described television terminal wireless title A2.
So, then after described television terminal receives the wireless title that described mobile terminal of specifying sends, just the described two-dimension code image extracted can be sent on the mobile terminal corresponding to this wireless title.
The effect that the present embodiment is reached is: user is by performing selection operation with the object of specifying described television terminal will send described two-dimension code image.Such as, described television terminal can send described two-dimension code image on the mobile phone of father user, and such user just can by opening Quick Response Code scan function on oneself mobile phone to carry out scan operation to the described two-dimension code image that father's mobile phone receives.
Embodiment three
Please refer to Fig. 5, the picture analytic method schematic flow sheet between a kind of television terminal that Fig. 5 provides for the embodiment of the present invention three and mobile terminal.Particularly, the present embodiment is substantially the same with embodiment one, and difference part is, in the present embodiment, described method also comprises:
Step 301, the described two-dimension code image extracted to be resolved; And
Step 302, by resolve after the information content be sent on described mobile terminal.
Wherein, if the information content parsed is network address, then this network address is sent on described mobile terminal and to the fail safe of this network address and detects, if testing result is safety, directly open this network address; If the information content parsed is the contents such as word, picture, music, then word can be keyed in the memorandum of described mobile terminal; Picture is stored in the photograph album of described mobile terminal; Music is stored in the music player of described mobile terminal, etc.
Please refer to Fig. 6, the 2 D code information between a kind of television terminal that Fig. 6 provides for the embodiment of the present invention three and mobile terminal shares method flow schematic diagram.Particularly, in the present embodiment, before described two-dimension code image being sent on the mobile terminal established a connection with described television terminal, described method also comprises:
Step 303, the described two-dimension code image extracted to be stored in default database.
Step 304, receive the first information instruction that sent by described mobile terminal and according to described first information instruction, the described two-dimension code image stored in the database be presented on the described screen-picture of described television terminal; And
Step 305, receive the second information command sent by described mobile terminal.
Because generally, the display of described Quick Response Code on described television terminal has ageing, and namely displaying time is of short duration, and the present embodiment will be solved for this problem.In the present embodiment, also stored in the database while described television terminal extracts described two-dimension code image from described screen-picture, so just facilitated user to transfer out to be presented at the described two-dimension code image on described television terminal in the past.
Such as, user sends described first information instruction by described mobile terminal to described television terminal, when described television terminal receives described first information instruction, described database will be controlled open, and be presented on described television terminal in real time, the in the past all described two-dimension code image stored in described database can be presented on described television terminal.
So, user can send described second information command to described television terminal, described second information command specifically shows the code name of user-selected described two-dimension code image to described television terminal, the described two-dimension code image namely stored in described database all has a code name; Suppose that described television terminal is 3 according to the code name that described second information command identifies, then the described two-dimension code image that will send corresponding to code name 3 gives described mobile terminal.Wherein, a code name can be comprised in described second information command, also can comprise a plurality of code name.
Further, in the present embodiment, described method also comprises:
Step 306, analytically after the information content in extract important information and under being shown described two-dimension code image in the database.
Wherein, described important information can comprise the type belonging to the described two-dimension code image information content, and affiliated type comprises advertisement, ballot, guesses with lottery, message etc.; Or described important information can also comprise TV station, time etc. corresponding when described Quick Response Code is presented on described television terminal, or described important information can also comprise the term of validity etc. of described 2 D code information content, will not describe in detail at this.
So, when described database is opened, when being presented on described television terminal by the described two-dimension code image stored in described database, whether user just enables with decision by the important information observed corresponding to described two-dimension code image.
If the function described in the present embodiment method using the form of SFU software functional unit realize and as independently production marketing or use time, can be stored in a computing equipment read/write memory medium.Based on such understanding, the part of the part that the embodiment of the present invention contributes to prior art or this technical scheme can embody with the form of software product, this software product is stored in a storage medium, comprising some instructions in order to make a computing equipment (can be personal computer, server, mobile computing device or the network equipment etc.) perform all or part of step of method described in each embodiment of the present invention.And aforesaid storage medium comprises: U dish, portable hard drive, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. various can be program code stored medium.
Embodiment four
Please refer to Fig. 7, the 2 D code information shared system block schematic diagram between a kind of television terminal that Fig. 7 provides for the embodiment of the present invention four and mobile terminal.Particularly, the present embodiment provides the 2 D code information shared system 4 between a kind of television terminal and mobile terminal, and comprise a television terminal 40 and at least one mobile terminal 41, wherein said television terminal comprises:
Whether monitoring unit 401, show two-dimension code image on the screen-picture of monitoring TV terminal 40;
Acquiring unit 402, for when the described screen-picture monitoring described television terminal 40 shows described two-dimension code image, obtains described screen-picture;
Picture extraction unit 403, for extracting described two-dimension code image from described screen-picture; And
First transmitting element 404, for being sent at least one mobile terminal 41 established a connection with described television terminal 40 by described two-dimension code image.
As the enforceable mode of one, in the present embodiment, described television terminal 40 also comprises:
Second transmitting element 405, for sending the wireless title corresponding to a plurality of mobile terminal to the mobile terminal 41 of specifying;
Described mobile terminal 41 comprises:
Feedback unit 406, the selection performed for receiving user operates so that the wireless title of at least one mobile terminal is fed back to described television terminal.
As the enforceable mode of one, in the present embodiment, described television terminal 40 also comprises:
Resolution unit 407, for resolving the described two-dimension code image extracted; And
3rd transmitting element 408, for being sent to described mobile terminal 41 by the information content after parsing.
As the enforceable mode of one, in the present embodiment, described television terminal 40 also comprises:
Storage element 409, for being stored in default database by the described two-dimension code image extracted;
First receiving element 410, for receiving the first information instruction sent by described mobile terminal 41;
First display unit 411, is presented at the described screen-picture of described television terminal 40 by the described two-dimension code image stored in the database for described first information instruction; And
Second receiving element 412, for receiving the second information command sent by described mobile terminal 41.
As the enforceable mode of one, in the present embodiment, described television terminal 40 also comprises:
Information extraction unit 413, for extracting important information in the information content after analytically; And
Second display unit 414, for by under described important information display described two-dimension code image in the database.
Should be understood that in embodiment four, the specific implementation process of above-mentioned unit can be corresponding with the description of said method embodiment (embodiment one to three), is not described in detail herein.
Described television terminal in the system that above-described embodiment four provides, only be illustrated with the division of above-mentioned each functional unit, in practical application, can distribute as required and by appeal function and be completed by different functional units, internal structure by described television terminal is divided into different functional units, to complete all or part of function described above.In addition, the System and method for embodiment that above-described embodiment provides belongs to same design, and its specific implementation process refers to embodiment of the method, will not repeat at this.The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
The present invention can realize following advantage:
By the present invention, first, when showing two-dimension code image on the screen-picture of television terminal, to acquisition be carried out to described screen-picture and therefrom extract described two-dimension code image, then described two-dimension code image is sent at least one mobile terminal established a connection with described television terminal, user like this is directly scanned the mobile terminal receiving described two-dimension code image by another mobile terminal, or, user can send described two-dimension code image by performing selection operation on the mobile terminal of specifying with the mobile terminal corresponding to the wireless signal impelling described television terminal and select to user, the second, the present invention can also to be resolved described Quick Response Code by described television terminal and be sent on described mobile terminal by the information content after resolving, user like this, then without the need to performing scan operation again, directly can check the information content corresponding to described two-dimension code image on mobile terminals, three, the described two-dimension code image be presented on described screen-picture can also be stored in default database by the present invention, so, user can transfer two-dimension code image in the past, solves because the limited time of TV two-dimensional code display picture is with the ageing problem causing user can not obtain two-dimension code image in time.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; change can be expected easily or replace, all should be encompassed in protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of described requirement.