CN107977434A - Method for pushing, terminal device, computer installation and the readable storage medium storing program for executing of bar code - Google Patents
Method for pushing, terminal device, computer installation and the readable storage medium storing program for executing of bar code Download PDFInfo
- Publication number
- CN107977434A CN107977434A CN201711251486.6A CN201711251486A CN107977434A CN 107977434 A CN107977434 A CN 107977434A CN 201711251486 A CN201711251486 A CN 201711251486A CN 107977434 A CN107977434 A CN 107977434A
- Authority
- CN
- China
- Prior art keywords
- bar code
- selling
- goal
- terminal
- pictorial information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/951—Indexing; Web crawling techniques
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/955—Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
- G06F16/9554—Retrieval from the web using information identifiers, e.g. uniform resource locators [URL] by using bar codes
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K17/00—Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- General Engineering & Computer Science (AREA)
- Cash Registers Or Receiving Machines (AREA)
Abstract
The present invention proposes a kind of method for pushing of bar code, terminal device, computer installation and computer-readable recording medium, wherein, the method for pushing of bar code is used for terminal, including:The bar code that terminal is obtained is associated with goal-selling;The pictorial information of environment where obtaining terminal;Judge whether include goal-selling in pictorial information;When including goal-selling in pictorial information, the bar code is shown.The method for pushing of bar code proposed by the present invention, when there are during goal-selling in the pictorial information of the environment where judging terminal, the bar code associated with goal-selling is then shown in terminal, it is achieved thereby that the automatic push of bar code, and operating method is convenient, it is intelligent high, intelligent life is realized, has provided easily life style to the user.Wherein, bar code is the general designation of two-dimensional bar code, bar code, digital bar code etc..
Description
Technical field
The present invention relates to information advancing technique field, is set in particular to a kind of method for pushing of bar code, a kind of terminal
Standby, a kind of computer installation and a kind of computer-readable recording medium.
Background technology
At present, network ticket taking machine has high utilization rate in people's daily life with express delivery cabinet, comes off duty daily
Go home also to have become in the pickup of express delivery cabinet the normality of working clan's city life, likewise, by network selected movie ticket, and
The network ticket taking machine of cinema is got tickets, and conventional selection of the people when selection is seen a film.Also, both have similar
Operating process, i.e., in user network booking success or after express mail is placed on express delivery cabinet, it is corresponding that server will be that user sends
Bar code, when needing to get tickets or take express delivery, it is necessary to find out corresponding code of getting tickets in mobile phone, specifically operation is user:
Booking APP is opened, searches related order, click recalls code of getting tickets, and bar code is inputted on ticket taking machine or knowledge is scanned to bar code
Not;Or card opens short message application, related short message is searched, click recalls pickup code and bar code is inputted on express delivery cabinet or bar code is carried out
Scanning recognition.It is intelligent low and such operating process is cumbersome, with people at this stage need easily life style be not inconsistent.
The content of the invention
It is contemplated that at least solve one of technical problem existing in the prior art.
For this reason, embodiment, the present invention propose one kind and can be pushed automatically in terminal according to the first aspect of the invention
The bar code method for pushing of bar code.
Embodiment according to the second aspect of the invention, the present invention propose a kind of terminal device.
Embodiment according to the third aspect of the invention we, the present invention propose a kind of computer installation.
Embodiment according to the fourth aspect of the invention, the present invention propose a kind of computer-readable recording medium.
In view of this, embodiment, the present invention propose a kind of method for pushing of bar code according to the first aspect of the invention, use
In terminal, including:The bar code that terminal is obtained is associated with goal-selling;The pictorial information of environment where obtaining terminal;Judge
Whether goal-selling is included in pictorial information;When including goal-selling in pictorial information, the bar code is shown.
The method for pushing of bar code proposed by the present invention, whether there is in the pictorial information by judging the environment where terminal
Goal-selling, to determine whether terminal nearby has the entity of goal-selling, when in the pictorial information of the environment where judging terminal
There are the entity for during goal-selling, that is, illustrating to have goal-selling near terminal, then is shown in terminal associated with goal-selling
Bar code, specifically, can show bar code on a terminal screen, or by speech play bar code information, it is corresponding pre- to supply
If the entity of target is read out bar code, relevant operation is realized, it is achieved thereby that the automatic push of bar code, and operating method is just
Victory, it is intelligent high, intelligent life is realized, has provided easily life style to the user.Wherein, bar code for two-dimensional bar code,
The general designation of bar code, digital bar code etc..
In addition, the method for pushing of the bar code in above-described embodiment provided by the invention can also have following supplementary technology spy
Sign:
In the above-mentioned technical solutions, it is preferable that the bar code for obtaining terminal is associated with goal-selling, specifically includes:Carry
Take the additional feature value of bar code;Judge that additional feature value presets whether characteristic value matches with the first of goal-selling;As additional spy
It is when value indicative matches with the first default characteristic value, bar code is associated with goal-selling.
In the technical scheme, by judging whether the additional feature value of bar code and the first of goal-selling preset characteristic value
Matching, both when judging that the additional feature value of bar code is matched with the first default characteristic value of goal-selling, then associated, realized
Single goal-selling corresponds to single bar code, ensure that accuracy during bar code push, specifically, when judgement terminal nearby exists
During the entity of the goal-selling, then show the bar code associated with the goal-selling, more specifically, terminal when obtaining bar code its
Additional information can be carried, illustrates the information of the bar code, and different goal-sellings will also carry different first and preset characteristic value,
Therefore, by both matchings, the one-to-one association of bar code and goal-selling is realized.
In any of the above-described technical solution, it is preferable that the pictorial information of environment where obtaining terminal, specifically includes:Receive
Obtain pictorial information instruction;According to pictorial information instruction is obtained, the photographing module of control terminal claps environment where terminal
Take the photograph, obtain pictorial information.
In the technical scheme, when terminal, which receives, obtains pictorial information instruction, according to obtaining, pictorial information instruction is logical
The photographing module of terminal is crossed, is taken pictures to environment where terminal, so that pictorial information is obtained, by obtaining instant judgement immediately
Mode, it is ensured that to terminal nearby with the presence or absence of goal-selling entity judgement accuracy.
In any of the above-described technical solution, it is preferable that before acquisition pictorial information instruction is received, further include:Reception is called out
Photographing module of waking up instructs;According to photographing module instruction is waken up, photographing module is opened.
In the technical scheme, when receive wake up photographing module instruction just open terminal photographing module, with realize save
Can, i.e., photographing module is in sleep state under normal condition, to reduce power consumption, lifts the standby time of terminal.
In any of the above-described technical solution, it is preferable that when the screen of terminal is lit, open photographing module.
In the technical scheme, when the screen of terminal is in black state, photographing module is then in sleep pattern, works as end
When the screen at end is lit, then photographing module is opened, into the ready mode for preparing acquisition pictorial information, to reduce power consumption.
In any of the above-described technical solution, it is preferable that judge whether include goal-selling in pictorial information, specifically include:
Extract the image feature value in pictorial information;Judge that image feature value presets whether characteristic value matches with the second of goal-selling,
When image feature value and the second default characteristic value match, judge to include goal-selling in pictorial information.
In the technical scheme, judging the second default characteristic value of the image feature value in pictorial information and goal-selling is
No matching, when both match, then judges to include goal-selling in pictorial information, so as to fulfill judging terminal nearby with the presence or absence of pre-
If the entity of target, and due to be only to the image feature value in pictorial information and the second of goal-selling the default characteristic value into
Capable judgement, therefore, reduces the difficulty in computation of terminal, saves and judges the time so that terminal operating is more smooth.
In any of the above-described technical solution, it is preferable that when including goal-selling in pictorial information, show bar code, specifically
Including:When including goal-selling in pictorial information, bar code is shown in unlock interface.
In the technical scheme, if terminal is in non-released state, directly bar code is shown in the unlock section of terminal,
Cancel releasing process, further simplify the operation of user, provide more convenient life style to the user.
In any of the above-described technical solution, it is preferable that goal-selling is shot by the photographing module of terminal and obtained;It is or default
Target is imported by database and obtained.
In the technical scheme, goal-selling can shoot specific target by the photographing module of terminal;Can also
The information being stored in network data base or local data base.
In any of the above-described technical solution, it is preferable that goal-selling includes:In pre-set image block and default character block at least
One;Wherein, when goal-selling includes pre-set image block with default character block, pictorial information includes pre-set image block with presetting
Any one in character block, that is, show bar code.
In the technical scheme, goal-selling can be that pre-set image block and default word are in the block at least one, i.e., logical
Cross Text region or by image recognition, wherein, when goal-selling includes both pre-set image block and default character block, then only
Need to judge in pictorial information there are in pre-set image block and default character block it is any then, then bar code is shown in terminal.
Embodiment according to a second aspect of the present invention, the present invention propose a kind of realize such as any one of above-mentioned technical proposal institute
The terminal device of the method for pushing for the bar code stated, terminal device include:Associative cell, the bar code that terminal is obtained and goal-selling
It is associated;Acquiring unit, the pictorial information of environment where obtaining terminal;Whether judging unit, judge in pictorial information comprising pre-
If target;Execution unit, when including goal-selling in pictorial information, shows bar code.
Terminal device proposed by the present invention, with the presence or absence of default mesh in the pictorial information by judging the environment where terminal
Mark, it is pre- when existing in the pictorial information of the environment where judging terminal to determine whether terminal nearby has the entity of goal-selling
If during target, that is, illustrating that terminal nearby has the entity of goal-selling, then the bar code associated with goal-selling being shown in terminal,
Specifically, bar code can be shown on a terminal screen, or by speech play bar code information, to supply corresponding goal-selling
Entity is read out bar code, and to realize relevant operation, it is achieved thereby that the automatic push of bar code, operating method is convenient, intelligent
Height, realizes intelligent life, has provided easily life style to the user.Wherein, bar code is two-dimensional bar code, bar code, number
The general designation of brief note code etc..
Embodiment according to a third aspect of the present invention, the present invention propose a kind of computer installation, and computer installation includes place
Device is managed, processor is realized as any one of above-mentioned technical proposal when being used to perform the computer program stored in memory
The method for pushing of bar code.
Computer installation proposed by the present invention, because realizing the bar code as any one of above-mentioned technical proposal including storage
Method for pushing computer program memory, therefore, there is pushing away for bar code as any one of above-mentioned technical proposal
Whole beneficial effects of delivery method, are no longer stated one by one herein.
Embodiment according to a fourth aspect of the present invention, the present invention propose a kind of computer-readable recording medium, store thereon
There is computer program, pushing away for the bar code as any one of above-mentioned technical proposal is realized when computer program is executed by processor
Delivery method.
The computer-readable recording medium of bar code proposed by the present invention, because being realized including storage as appointed in above-mentioned technical proposal
The computer program of the method for pushing of bar code described in one, therefore, has the bar as any one of above-mentioned technical proposal
Whole beneficial effects of the method for pushing of code, are no longer stated one by one herein.
The additional aspect and advantage of the present invention will become obvious in following description section, or the practice by the present invention
Recognize.
Brief description of the drawings
The above-mentioned and/or additional aspect and advantage of the present invention will become in the description from combination accompanying drawings below to embodiment
Substantially and it is readily appreciated that, wherein:
Fig. 1 shows the flow chart of the method for pushing of bar code provided by one embodiment of the present invention;
Fig. 2 shows the flow chart of the method for pushing for the bar code that another embodiment of the present invention provides;
Fig. 3 shows the flow chart of the method for pushing for the bar code that another embodiment of the present invention provides;
Fig. 4 shows the flow chart of the method for pushing for the bar code that another embodiment of the present invention provides;
Fig. 5 shows the flow chart of the method for pushing for the bar code that another embodiment of the present invention provides;
Fig. 6 shows the flow chart of the method for pushing for the bar code that another embodiment of the present invention provides;
Fig. 7 shows the flow chart of the method for pushing for the bar code that another embodiment of the present invention provides;
Fig. 8 shows the schematic block diagram of terminal device provided by one embodiment of the present invention.
Embodiment
It is to better understand the objects, features and advantages of the present invention, below in conjunction with the accompanying drawings and specific real
Mode is applied the present invention is further described in detail.It should be noted that in the case where there is no conflict, the implementation of the application
Feature in example and embodiment can be mutually combined.
Many details are elaborated in the following description to facilitate a thorough understanding of the present invention, still, the present invention may be used also
To be implemented using other different from other modes described here, therefore, protection scope of the present invention and from described below
Specific embodiment limitation.
Fig. 1 shows the flow chart of the method for pushing of bar code provided by one embodiment of the present invention.
As shown in Figure 1, the flow of the method for pushing of bar code provided by one embodiment of the present invention, including:
Step 102, bar code terminal obtained is associated with goal-selling;
Step 104, the pictorial information of environment where obtaining terminal;
Step 106, judge whether include goal-selling in pictorial information;
Step 108, bar code is shown.
When not including goal-selling in judging pictorial information, then terminate this operation, without the push of bar code, herein
It can require to reacquire pictorial information afterwards, or be judged next time with other goal-sellings.
The method for pushing of bar code provided by the invention, whether there is in the pictorial information by judging the environment where terminal
Goal-selling, to determine whether terminal nearby has the entity of goal-selling, when in the pictorial information of the environment where judging terminal
There are the entity for during goal-selling, that is, illustrating to have goal-selling near terminal, then is shown in terminal associated with goal-selling
Bar code, specifically, can show bar code on a terminal screen, or by speech play bar code information, it is corresponding pre- to supply
If the entity of target is read out bar code, to realize relevant operation, it is achieved thereby that the automatic push of bar code, operating method is just
Victory, it is intelligent high, intelligent life is realized, has provided easily life style to the user.
In a particular embodiment, terminal is associated with ticket taking machine or express delivery cabinet by bar code when receiving bar code, according to obtaining
The pictorial information of environment where the terminal that takes, to whether including ticket taking machine in pictorial information or express delivery cabinet judges, and then really
Whether environment where determining user has ticket taking machine or express delivery cabinet, when judging whether environment where user has ticket taking machine or express delivery cabinet,
Bar code is then pushed on the screen of terminal, or speech bar code is played by the loudspeaker of terminal.Such as:Include and take in pictorial information
Ticket machine, then push code of getting tickets on a terminal screen, alternatively, including express delivery cabinet in pictorial information, then plays the digital code for taking express delivery.
Fig. 2 shows the flow chart of the method for pushing for the bar code that another embodiment of the present invention provides.
As shown in Fig. 2, the flow of the method for pushing for the bar code that another embodiment of the present invention provides, including:
Step 202, the additional feature value of bar code is extracted;
Step 204, the matching relationship of the first default characteristic value of additional feature value and goal-selling is determined;
Step 206, it is when additional feature value and the first default characteristic value match, bar code is associated with goal-selling;
Step 208, the pictorial information of environment where obtaining terminal;
Step 210, judge whether include goal-selling in pictorial information;
Step 212, bar code is shown.
The method for pushing of bar code provided by the invention, judges the additional feature value of bar code and the first default spy of goal-selling
Whether value indicative matches, and when judging that the additional feature value of bar code is matched with the first default characteristic value of goal-selling, then incite somebody to action both
Association, realizes that single goal-selling corresponds to single bar code, accuracy during bar code push is ensure that, afterwards by judging terminal
It whether there is goal-selling in the pictorial information of the environment at place, to determine whether terminal nearby has the entity of goal-selling, when
Judge in the pictorial information of the environment where terminal there are during goal-selling, that is, illustrating that terminal nearby has the entity of goal-selling,
The bar code associated with goal-selling is then shown in terminal, specifically, can show bar code on a terminal screen, or pass through language
Sound plays bar code information, and bar code is read out to supply the entity of corresponding goal-selling, to realize relevant operation, so as to fulfill
The automatic push of bar code, operating method is convenient, intelligent high, realizes intelligent life, has provided to the user and easily given birth to
Mode living.
In a particular embodiment, for terminal when receiving bar code, bar code would generally be with additional feature value, and bar code would generally companion
With additional feature value, by the first of additional feature value and express delivery cabinet or ticket taking machine the default feature (such as:Movie ticket title, express delivery list
Number etc.) match, such as:Not only there is bar code in the short message that express delivery cabinet server is sent to terminal, also there is explanation express delivery cabinet
Or the explanatory note of courier packages;Alternatively, when with APP bookings, film information, the play information of the bar code can be provided with bar code
Or arenas information etc..Specifically, if short message includes sending jointly with bar code to the express delivery odd numbers of terminal, by the bar code with
Express delivery cabinet is associated, if alternatively, show movie name jointly with bar code, the bar code is associated with ticket taking machine.Also, root
According to the pictorial information of environment where the terminal of acquisition, whether include in whether having to environment where user ticket taking machine or express delivery cabinet into
Row judge, and then determine user where environment whether have ticket taking machine or express delivery cabinet, when judge user place environment whether get tickets
When machine or express delivery cabinet, then bar code is pushed on the screen of terminal, or speech bar code is played by the loudspeaker of terminal.Such as:Figure
Ticket taking machine is included in piece information, then the digital code for code of getting tickets is played, alternatively, express delivery cabinet is included in pictorial information, in terminal screen
Upper push takes express delivery code.
Fig. 3 shows the flow chart of the method for pushing for the bar code that another embodiment of the present invention provides.
As shown in figure 3, the flow of the method for pushing for the bar code that another embodiment of the present invention provides, including:
Step 302, the additional feature value of bar code is extracted;
Step 304, the matching relationship of the first default characteristic value of additional feature value and goal-selling is determined;
Step 306, it is when additional feature value and the first default characteristic value match, bar code is associated with goal-selling;
Step 308, receive and obtain pictorial information instruction;
Step 310, the photographing module of control terminal shoots environment where terminal, obtains pictorial information;
Step 312, judge whether include goal-selling in pictorial information;
Step 314, bar code is shown.
The method for pushing of bar code provided by the invention, judges the additional feature value of bar code and the first default spy of goal-selling
Whether value indicative matches, and when judging that the additional feature value of bar code is matched with the first default characteristic value of goal-selling, then incite somebody to action both
Association, realizes that single goal-selling corresponds to single bar code, ensure that accuracy during bar code push, is received afterwards in terminal
When obtaining pictorial information instruction, taken pictures by the photographing module of terminal to environment where terminal, so that pictorial information is obtained,
Again to judging in pictorial information with the presence or absence of goal-selling, to determine whether terminal nearby has the entity of goal-selling, when
Judge in the pictorial information of the environment where terminal there are during goal-selling, that is, illustrating that terminal nearby has the entity of goal-selling,
The bar code associated with goal-selling is then shown in terminal, specifically, can show bar code on a terminal screen, or pass through language
Sound plays bar code information, and bar code is read out to supply the entity of corresponding goal-selling, to realize relevant operation, so as to fulfill
The automatic push of bar code, operating method is convenient, intelligent high, realizes intelligent life, has provided to the user and easily given birth to
Mode living.
In a particular embodiment, terminal analyzes bar code, draws the particular use of bar code, root when receiving bar code
It is according to the particular use of bar code that bar code is associated with express delivery cabinet or ticket taking machine, also, after user sends shooting instruction, pass through end
Whether whether the photographing module at end shoots environment, the photo of environment where obtaining terminal, to including taking in photo having
Ticket machine or express delivery cabinet are judged, and then determine whether environment where user has ticket taking machine or express delivery cabinet, where user is judged
When whether environment has ticket taking machine or express delivery cabinet, then bar code is pushed on the screen of terminal, or language is played by the loudspeaker of terminal
Sound bar code.
Fig. 4 shows the flow chart of the method for pushing for the bar code that another embodiment of the present invention provides.
As shown in figure 4, the flow of the method for pushing for the bar code that another embodiment of the present invention provides, including:
Step 402, the additional feature value of bar code is extracted;
Step 404, the matching relationship of the first default characteristic value of additional feature value and goal-selling is determined;
Step 406, it is when additional feature value and the first default characteristic value match, bar code is associated with goal-selling;
Step 408, receive and wake up photographing module instruction;
Step 410, according to photographing module instruction is waken up, photographing module is opened;
Step 412, receive and obtain pictorial information instruction;
Step 414, the photographing module of control terminal shoots environment where terminal, obtains pictorial information;
Step 416, judge whether include goal-selling in pictorial information;
Step 418, bar code is shown.
The method for pushing of bar code provided by the invention, judges the additional feature value of bar code and the first default spy of goal-selling
Whether value indicative matches, and when judging that the additional feature value of bar code is matched with the first default characteristic value of goal-selling, then incite somebody to action both
Association, realizes that single goal-selling corresponds to single bar code, ensure that accuracy during bar code push, before photo is obtained,
Receive and wake up photographing module instruction, open the photographing module of terminal, then when receiving acquisition pictorial information instruction, pass through terminal
Photographing module take pictures to environment where terminal, so as to obtain pictorial information, then in pictorial information with the presence or absence of default
Target is judged, to determine whether terminal nearby has the entity of goal-selling, the picture letter of the environment where terminal is judged
There are during goal-selling, that is, illustrating that terminal nearby has the entity of goal-selling in breath, then displaying and goal-selling phase in terminal
Associated bar code, specifically, can show bar code on a terminal screen, or by speech play bar code information, it is corresponding to supply
The entity of goal-selling be read out bar code, to realize relevant operation, it is achieved thereby that the automatic push of bar code, operating method
It is convenient, it is intelligent high, intelligent life is realized, has provided easily life style to the user.
In a particular embodiment, terminal analyzes bar code, draws the particular use of bar code, root when receiving bar code
It is according to the particular use of bar code that bar code is associated with express delivery cabinet or ticket taking machine, also, before shooting, user's look-ahead operations are whole
End, wakes up photographing module, then controls photographing module to be shot, the photo of environment where obtaining terminal, to whether having in photo
In whether include ticket taking machine or express delivery cabinet and judged, and then determine whether environment where user has ticket taking machine or express delivery cabinet, when
When judging whether environment where user has ticket taking machine or express delivery cabinet, then bar code is pushed on the screen of terminal, or pass through terminal
Loudspeaker plays speech bar code.
Fig. 5 shows the flow chart of the method for pushing for the bar code that another embodiment of the present invention provides.
As shown in figure 5, the flow of the method for pushing for the bar code that another embodiment of the present invention provides, including:
Step 502, the additional feature value of bar code is extracted;
Step 504, the matching relationship of the first default characteristic value of additional feature value and goal-selling is determined;
Step 506, it is when additional feature value and the first default characteristic value match, bar code is associated with goal-selling;
Step 508, confirm that the screen of terminal is lit;
Step 510, photographing module is opened;
Step 512, receive and obtain pictorial information instruction;
Step 514, the photographing module of control terminal shoots environment where terminal, obtains pictorial information;
Step 516, judge whether include goal-selling in pictorial information;
Step 518, bar code is shown.
The method for pushing of bar code provided by the invention, judges the additional feature value of bar code and the first default spy of goal-selling
Whether value indicative matches, and when judging that the additional feature value of bar code is matched with the first default characteristic value of goal-selling, then incite somebody to action both
Association, realizes that single goal-selling corresponds to single bar code, ensure that accuracy during bar code push, before photo is obtained,
Terminal screen is lighted, opens the photographing module of terminal, then when receiving acquisition pictorial information instruction, pass through the shooting mould of terminal
Block takes pictures environment where terminal, so as to obtain pictorial information, then is carried out to whether there is goal-selling in pictorial information
Judge, to determine whether terminal nearby has the entity of goal-selling, exist when in the pictorial information of the environment where judging terminal
During goal-selling, that is, illustrate that terminal nearby has the entity of goal-selling, then the bar associated with goal-selling is shown in terminal
Code, specifically, can show bar code on a terminal screen, or by speech play bar code information, to supply default mesh accordingly
Target entity is read out bar code, and to realize relevant operation, it is achieved thereby that the automatic push of bar code, operating method is convenient, intelligence
Energyization is high, realizes intelligent life, has provided easily life style to the user.
In a particular embodiment, terminal analyzes bar code, draws the particular use of bar code, root when receiving bar code
It is according to the particular use of bar code that bar code is associated with express delivery cabinet or ticket taking machine, also, before shooting, user's look-ahead operations are whole
End, lights terminal screen, then operation control terminal is shot by photographing module, the photo of environment where obtaining terminal, to photo
In whether have in whether include ticket taking machine or express delivery cabinet and judged, and then determine whether environment where user has ticket taking machine or fast
Cabinet is passed, when judging whether environment where user has ticket taking machine or express delivery cabinet, then bar code is pushed on the screen of terminal, or pass through
The loudspeaker of terminal plays speech bar code.
Fig. 6 shows the flow chart of the method for pushing for the bar code that another embodiment of the present invention provides.
As shown in fig. 6, the flow of the method for pushing for the bar code that another embodiment of the present invention provides, including:
Step 602, the additional feature value of bar code is extracted;
Step 604, the matching relationship of the first default characteristic value of additional feature value and goal-selling is determined;
Step 606, it is when additional feature value and the first default characteristic value match, bar code is associated with goal-selling;
Step 608, confirm that the screen of terminal is lit;
Step 610, photographing module is opened;
Step 612, receive and obtain pictorial information instruction;
Step 614, the photographing module of control terminal shoots environment where terminal, obtains pictorial information;
Step 616, the image feature value in pictorial information is extracted;
Step 618, judge that image feature value presets whether characteristic value matches with the second of goal-selling;
Step 620, bar code is shown.
The method for pushing of bar code provided by the invention, judges the additional feature value of bar code and the first default spy of goal-selling
Whether value indicative matches, and when judging that the additional feature value of bar code is matched with the first default characteristic value of goal-selling, then incite somebody to action both
Association, realizes that single goal-selling corresponds to single bar code, ensure that accuracy during bar code push, before photo is obtained,
Terminal screen is lighted, opens the photographing module of terminal, then when receiving acquisition pictorial information instruction, pass through the shooting mould of terminal
Block takes pictures environment where terminal, so as to obtain pictorial information, then to the image feature value in pictorial information whether with advance
Judged if whether the default characteristic value of the second of target matches, when such a match occurs, then judge to exist in pictorial information default
Target, that is, illustrate that terminal nearby has the entity of goal-selling, then the bar code associated with goal-selling shown in terminal, specifically
Ground, can show bar code on a terminal screen, or by speech play bar code information, to supply the entity of corresponding goal-selling
Bar code is read out, to realize relevant operation, it is achieved thereby that the automatic push of bar code, operating method is convenient, intelligent high, real
Show intelligent life, provide easily life style to the user.
In a particular embodiment, terminal analyzes bar code, draws the particular use of bar code, root when receiving bar code
It is according to the particular use of bar code that bar code is associated with express delivery cabinet or ticket taking machine, also, before shooting, user's look-ahead operations are whole
End, lights terminal screen, then operation control terminal is shot by photographing module, and the photo of environment, judges to shine where obtaining terminal
Whether the image feature value in piece matches with the characteristic value of express delivery cabinet or ticket taking machine, when such a match occurs, then judges pictorial information
In include goal-selling, and then bar code is pushed on the screen of terminal, or pass through the loudspeaker of terminal and play speech bar code.
Fig. 7 shows the flow chart of the method for pushing for the bar code that another embodiment of the present invention provides.
As shown in fig. 7, the flow of the method for pushing for the bar code that another embodiment of the present invention provides, including:
Step 702, the additional feature value of bar code is extracted;
Step 704, determine that additional feature value presets feature with any one first in pre-set image block and default character block
The matching relationship of value;
Step 706, when the default characteristic value of any one first in additional feature value and pre-set image block and default character block
It is when matching, bar code is associated with goal-selling;
Step 708, confirm that the screen of terminal is lit;
Step 710, photographing module is opened;
Step 712, receive and obtain pictorial information instruction;
Step 714, the photographing module of control terminal shoots environment where terminal, obtains pictorial information;
Step 716, the image feature value in pictorial information is extracted;
Step 718, judge that image feature value presets whether characteristic value matches with the second of goal-selling;
Step 720, bar code is shown.
The method for pushing of bar code provided by the invention, judges the additional feature value of bar code and the first default spy of goal-selling
Whether value indicative matches, and when judging that the additional feature value of bar code is matched with the first default characteristic value of goal-selling, then incite somebody to action both
Association, realizes that single goal-selling corresponds to single bar code, ensure that accuracy during bar code push, before photo is obtained,
Terminal screen is lighted, opens the photographing module of terminal, then when receiving acquisition pictorial information instruction, pass through the shooting mould of terminal
Block takes pictures environment where terminal, so as to obtain pictorial information, then to the image feature value in pictorial information whether with advance
Judged if whether the default characteristic value of the second of target matches, when such a match occurs, then judge to exist in pictorial information default
Target, that is, illustrate that terminal nearby has the entity of goal-selling, then the bar code associated with goal-selling shown in terminal, specifically
Ground, can show bar code on a terminal screen, or by speech play bar code information, to supply the entity of corresponding goal-selling
Bar code is read out, to realize relevant operation, it is achieved thereby that the automatic push of bar code, operating method is convenient, intelligent high, real
Show intelligent life, provide easily life style to the user.
In a particular embodiment, terminal analyzes bar code, draws the particular use of bar code, root when receiving bar code
It is according to the particular use of bar code that bar code is associated with express delivery cabinet or ticket taking machine, also, before shooting, user's look-ahead operations are whole
End, lights terminal screen, then operation control terminal is shot by photographing module, and the photo of environment, judges to shine where obtaining terminal
Whether the image feature value in piece matches with the characteristic value of express delivery cabinet or ticket taking machine, such as:In photo the profile of scenery whether with
Whether the profile of express delivery cabinet or ticket taking machine matches, alternatively, whether including " express delivery cabinet ", " ticket taking machine ", " cinema " etc. in photo
Whether text information, specifically, can reach 80% with the profile of scenery in photo with the contour similarity of express delivery cabinet or ticket taking machine
More than, that is, judge whether profile matches with the profile of express delivery cabinet or ticket taking machine, and then bar code is pushed on the screen of terminal, or
Speech bar code is played by the loudspeaker of terminal.
Wherein, bar code is the general designation of two-dimensional bar code, bar code, digital bar code etc..
In one embodiment of the invention, it is preferable that when including goal-selling in pictorial information, show bar code, tool
Body includes:When including goal-selling in pictorial information, bar code is shown in unlock interface.
In this embodiment, if terminal shoots environment under non-released state, and above- mentioned information push is performed
Method, then directly terminal unlock section show bar code, cancel releasing process, further simplify user operation, for
Family provides more convenient life style.
In one embodiment of the invention, it is preferable that goal-selling is shot by the photographing module of terminal and obtained;It is or pre-
If target is imported by database and obtained.
In this embodiment, goal-selling can be pre- in terminal device, alternatively, in each perform, pass through
Network data base, inquires about the information of goal-selling;Or user shoots the entity of common goal-selling, and it is stored in
In terminal, the information of goal-selling is generated.
In the related art, ticket taking machine can usually input digital bar code with express delivery cabinet, or scan the two-dimensional code, bar code
Realization is got tickets or pickup operation, and therefore, the present invention can be come by pushing bar code, or the digital information of broadcasting bar code in screen
Realize automatic Display bar code.
Herein it should be noted that getting tickets for the description of above-mentioned specific embodiment or takes express delivery code at code, it is only for
The description that convenient explanation carries out, application of the invention are not limited to above-described embodiment, it can be applied needs to carry out at other
In barcode scanning operation.Such as:Show payment code, identity code etc..Specifically, terminal-pair code reader is shot, and terminal is sentenced
Determine then to push on the screen of terminal payment code there are code reader in photo and show.
Fig. 8 shows the schematic block diagram of the pusher of bar code provided by one embodiment of the present invention.
As shown in figure 8, the second aspect of the present invention embodiment, it is proposed that one kind is realized as provided in above-mentioned any embodiment
Bar code method for pushing terminal device 800, terminal device includes:Associative cell 802, by the bar code that terminal obtains with presetting
Target is associated;Acquiring unit 804, the pictorial information of environment where obtaining terminal;Judging unit 806, judges in pictorial information
Whether goal-selling is included;Execution unit 808, when including goal-selling in pictorial information, shows bar code.
Terminal device provided by the invention, with the presence or absence of default mesh in the pictorial information by judging the environment where terminal
Mark, it is pre- when existing in the pictorial information of the environment where judging terminal to determine whether terminal nearby has the entity of goal-selling
If during target, that is, illustrating that terminal nearby has the entity of goal-selling, then the bar code associated with goal-selling being shown in terminal,
Specifically, bar code can be shown on a terminal screen, or by speech play bar code information, to supply corresponding goal-selling
Entity is read out bar code, and to realize relevant operation, it is achieved thereby that the automatic push of bar code, operating method is convenient, intelligent
Height, realizes intelligent life, has provided easily life style to the user.Wherein, bar code is two-dimensional bar code, bar code, number
The general designation of brief note code etc..
Embodiment according to a third aspect of the present invention, the present invention provides a kind of computer installation, computer installation includes place
Device is managed, processor is realized such as the bar code of above-mentioned any embodiment offer when being used to perform the computer program stored in memory
Method for pushing.
Computer installation provided by the invention, because realizing the push of the bar code provided such as above-mentioned any embodiment including storage
The memory of the computer program of method, therefore, has the whole of the method for pushing of the bar code provided such as above-mentioned any embodiment
Beneficial effect, no longer state one by one herein.
Embodiment according to a fourth aspect of the present invention, the present invention provides a kind of computer-readable recording medium, stores thereon
There is computer program, the push side of the bar code provided such as above-mentioned any embodiment is provided when computer program is executed by processor
Method.
The computer-readable recording medium of bar code provided by the invention, because being realized including storage as above-mentioned any embodiment carries
The computer program of the method for pushing of the bar code of confession, therefore, has the method for pushing of the bar code provided such as above-mentioned any embodiment
Whole beneficial effects, no longer state one by one herein.
In conclusion the method for pushing of bar code provided by the invention, terminal device, computer installation are deposited with computer-readable
Storage media, whether there is goal-selling in the pictorial information by judging the environment where terminal, come determine terminal nearby whether
There is the entity of goal-selling, when there are during goal-selling, that is, illustrate that terminal is attached in the pictorial information of the environment where judging terminal
The nearly entity for having goal-selling, then show the bar code associated with goal-selling in terminal, specifically, can be in terminal screen
Upper display bar code, or by speech play bar code information, bar code is read out to supply the entity of corresponding goal-selling, with reality
Existing relevant operation, it is achieved thereby that the automatic push of bar code, operating method is convenient, intelligent high, realizes intelligent life, is
User provides easily life style.Wherein, bar code is the general designation of two-dimensional bar code, bar code, digital bar code etc..
In the present invention, the term such as term " installation ", " connected ", " connection ", " fixation " should all be interpreted broadly, for example,
" connection " can be fixedly connected or be detachably connected, or be integrally connected;" connected " can be directly connected,
It can be indirectly connected by intermediary.For the ordinary skill in the art, on can understanding as the case may be
State the concrete meaning of term in the present invention.
In the description of this specification, the description of term " one embodiment ", " some embodiments ", " specific embodiment " etc.
Mean to combine at least one reality that the particular features, structures, materials, or characteristics that the embodiment or example describe are contained in the present invention
Apply in example or example.In the present specification, schematic expression of the above terms is not necessarily referring to identical embodiment or reality
Example.Moreover, description particular features, structures, materials, or characteristics can in any one or more embodiments or example with
Suitable mode combines.
The foregoing is only a preferred embodiment of the present invention, is not intended to limit the invention, for the skill of this area
For art personnel, the invention may be variously modified and varied.Within the spirit and principles of the invention, that is made any repaiies
Change, equivalent substitution, improvement etc., should all be included in the protection scope of the present invention.
Claims (12)
- A kind of 1. method for pushing of bar code, for terminal, it is characterised in that including:The bar code that the terminal is obtained is associated with goal-selling;The pictorial information of environment where obtaining the terminal;Judge whether include the goal-selling in the pictorial information;When including the goal-selling in the pictorial information, the bar code is shown.
- 2. the method for pushing of bar code according to claim 1, it is characterised in that the bar code for obtaining the terminal with Goal-selling is associated, and specifically includes:Extract the additional feature value of the bar code;Judge that the additional feature value presets whether characteristic value matches with the first of the goal-selling;It is when the additional feature value matches with the described first default characteristic value, the bar code is related to the goal-selling Connection.
- 3. the method for pushing of bar code according to claim 1, it is characterised in that environment where the acquisition terminal Pictorial information, specifically includes:Receive and obtain pictorial information instruction;According to the acquisition pictorial information instruction, the photographing module of the terminal is controlled to clap environment where the terminal Take the photograph, obtain the pictorial information.
- 4. the method for pushing of bar code according to claim 3, it is characterised in that obtain pictorial information instruction in described receive Before, further include:Receive and wake up photographing module instruction;According to the wake-up photographing module instruction, the photographing module is opened.
- 5. the method for pushing of bar code according to claim 4, it is characterised in thatWhen the screen of the terminal is lit, the photographing module is opened.
- 6. the method for pushing of bar code according to claim 1, it is characterised in that it is described judge in the pictorial information whether Comprising the goal-selling, specifically include:Extract the image feature value in the pictorial information;Judge that described image characteristic value presets whether characteristic value matches with the second of the goal-selling, when described image characteristic value When with the described second default characteristic value matching, judge to include the goal-selling in the pictorial information.
- 7. the method for pushing of bar code according to claim 1, it is characterised in that it is described work as the pictorial information in include institute When stating goal-selling, show the bar code, specifically include:When including the goal-selling in the pictorial information, the bar code is shown in the unlock interface.
- 8. the method for pushing of bar code according to any one of claim 1 to 7, it is characterised in thatThe goal-selling is shot by the photographing module of the terminal and obtained;OrThe goal-selling is imported by database and obtained.
- 9. the method for pushing of bar code according to any one of claim 1 to 7, it is characterised in thatThe goal-selling includes:Pre-set image block with it is at least one in default character block;Wherein, when the goal-selling includes the pre-set image block with the default character block, the pictorial information includes The pre-set image block and any one in the default character block, that is, show the bar code.
- 10. a kind of terminal device for the method for pushing for realizing bar code as claimed in any one of claims 1-9 wherein, its feature exist In the terminal device includes:Associative cell, the bar code for the terminal to be obtained are associated with goal-selling;Acquiring unit, the pictorial information for environment where obtaining the terminal;Judging unit, for judging whether include the goal-selling in the pictorial information;Execution unit, for when including the goal-selling in the pictorial information, showing the bar code.
- 11. a kind of computer installation, it is characterised in that the computer installation includes processor, and the processor is used to perform The method for pushing of bar code as claimed in any one of claims 1-9 wherein is realized during the computer program stored in memory.
- 12. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that the computer program The method for pushing of bar code as claimed in any one of claims 1-9 wherein is realized when being executed by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711251486.6A CN107977434A (en) | 2017-12-01 | 2017-12-01 | Method for pushing, terminal device, computer installation and the readable storage medium storing program for executing of bar code |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711251486.6A CN107977434A (en) | 2017-12-01 | 2017-12-01 | Method for pushing, terminal device, computer installation and the readable storage medium storing program for executing of bar code |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107977434A true CN107977434A (en) | 2018-05-01 |
Family
ID=62008793
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711251486.6A Pending CN107977434A (en) | 2017-12-01 | 2017-12-01 | Method for pushing, terminal device, computer installation and the readable storage medium storing program for executing of bar code |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107977434A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113298212A (en) * | 2021-05-25 | 2021-08-24 | 艾酷软件技术(上海)有限公司 | Graphic code display method and device |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060274952A1 (en) * | 2004-07-22 | 2006-12-07 | Matsushita Electric Industrial Co., Ltd. | Multicolored two-dimensional barcode, image display apparatus thereof, information terminal apparatus, display method, decoding method, information communication system, and information communication method |
CN103365543A (en) * | 2013-07-08 | 2013-10-23 | 宇龙计算机通信科技(深圳)有限公司 | Terminal and two-dimensional code display method |
CN104992507A (en) * | 2015-06-26 | 2015-10-21 | 深圳市华阳信通科技发展有限公司 | Intelligent device and method for integrating cashing data |
CN105302904A (en) * | 2015-10-29 | 2016-02-03 | 努比亚技术有限公司 | Information pushing method and apparatus |
CN105574179A (en) * | 2015-12-18 | 2016-05-11 | 魅族科技(中国)有限公司 | Application pushing method, application pushing system and terminal |
CN106934633A (en) * | 2017-01-20 | 2017-07-07 | 李智虎 | A kind of novel film coating two-dimension code anti-counterfeit traceability system and method |
-
2017
- 2017-12-01 CN CN201711251486.6A patent/CN107977434A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060274952A1 (en) * | 2004-07-22 | 2006-12-07 | Matsushita Electric Industrial Co., Ltd. | Multicolored two-dimensional barcode, image display apparatus thereof, information terminal apparatus, display method, decoding method, information communication system, and information communication method |
CN103365543A (en) * | 2013-07-08 | 2013-10-23 | 宇龙计算机通信科技(深圳)有限公司 | Terminal and two-dimensional code display method |
CN104992507A (en) * | 2015-06-26 | 2015-10-21 | 深圳市华阳信通科技发展有限公司 | Intelligent device and method for integrating cashing data |
CN105302904A (en) * | 2015-10-29 | 2016-02-03 | 努比亚技术有限公司 | Information pushing method and apparatus |
CN105574179A (en) * | 2015-12-18 | 2016-05-11 | 魅族科技(中国)有限公司 | Application pushing method, application pushing system and terminal |
CN106934633A (en) * | 2017-01-20 | 2017-07-07 | 李智虎 | A kind of novel film coating two-dimension code anti-counterfeit traceability system and method |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113298212A (en) * | 2021-05-25 | 2021-08-24 | 艾酷软件技术(上海)有限公司 | Graphic code display method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104995639B (en) | terminal and video file management method | |
JP4919131B1 (en) | Image providing apparatus and method, and program | |
US20160044203A1 (en) | Electronic Ticket Transfer | |
JP6307964B2 (en) | Management server, photo sticker creating apparatus, image management method, control program, and recording medium | |
JP2000082107A (en) | Image processing device, method therefor and medium | |
JP5278840B1 (en) | Photo shooting game system, server, image providing method and image providing program. | |
WO2019205170A1 (en) | Photographic method and terminal device | |
JP6291939B2 (en) | Management server, management server control method, control program, and recording medium | |
US20080168449A1 (en) | Method and system for associating metadata with content | |
KR20110125967A (en) | The nail art system | |
CN106899755A (en) | Information sharing method, information sharing device and terminal | |
CN107977434A (en) | Method for pushing, terminal device, computer installation and the readable storage medium storing program for executing of bar code | |
JP4952410B2 (en) | Address transmitting apparatus and control method therefor, mail transmitting system, address transmitting apparatus control program, and recording medium | |
JP2009151698A (en) | Image converter, image providing system, photographing editing device, image conversion method, image conversion program, and recording medium recorded with program | |
JP6296196B2 (en) | Management apparatus and control method | |
US20230137670A1 (en) | Electronic lock system, method performed using electronic lock system, portable terminal, method performed using portable terminal, and computer program | |
JP6349824B2 (en) | Image management system, management server, image evaluation method, control program, and recording medium | |
US20100232702A1 (en) | Image management apparatus, control method, and storage medium | |
JP6029381B2 (en) | Photo sticker creation system and photo sticker creation method | |
CN111800574A (en) | Imaging method and device and electronic equipment | |
JP7299486B2 (en) | PHOTO STICKER CREATING DEVICE, SERVER, CONTROL PROGRAM, AND RECORDING MEDIUM | |
JP6666648B2 (en) | Image providing system and image providing program | |
JP6311383B2 (en) | PHOTOGRAPHIC EDITING DEVICE, ITS CONTROL METHOD, CONTROL PROGRAM, AND COMPUTER-READABLE RECORDING MEDIUM CONTAINING THE CONTROL PROGRAM | |
JP7023338B2 (en) | Collection management system | |
JP4403850B2 (en) | PHOTOGRAPHIC EDITING METHOD, ITS SYSTEM, ITS DEVICE, AND MOBILE CHECK |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180501 |
|
RJ01 | Rejection of invention patent application after publication |