CN109992176A - A kind of scan method and device of message identification code - Google Patents

A kind of scan method and device of message identification code Download PDF

Info

Publication number
CN109992176A
CN109992176A CN201711459164.0A CN201711459164A CN109992176A CN 109992176 A CN109992176 A CN 109992176A CN 201711459164 A CN201711459164 A CN 201711459164A CN 109992176 A CN109992176 A CN 109992176A
Authority
CN
China
Prior art keywords
identification code
image
message identification
application program
target object
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
Application number
CN201711459164.0A
Other languages
Chinese (zh)
Inventor
陈小帅
臧娇娇
张扬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Sogou Technology Development Co Ltd
Original Assignee
Beijing Sogou Technology Development Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Beijing Sogou Technology Development Co Ltd filed Critical Beijing Sogou Technology Development Co Ltd
Priority to CN201711459164.0A priority Critical patent/CN109992176A/en
Publication of CN109992176A publication Critical patent/CN109992176A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/14Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
    • G06K7/1404Methods for optical code recognition
    • G06K7/1439Methods for optical code recognition including a method step for retrieval of the optical code
    • G06K7/1447Methods for optical code recognition including a method step for retrieval of the optical code extracting optical codes from image or text carrying said optical code

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Electromagnetism (AREA)
  • General Health & Medical Sciences (AREA)
  • Toxicology (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the present application discloses the scan method and device of a kind of message identification code, the case where for scan different types message identification code is needed, scan pattern can be opened to be scanned target object, if having message identification code in the image scanned, the corresponding application program of target object in the image can be obtained according to the image, since message identification code and target object are in same image, therefore relevance is stronger between the target object and the message identification code, the application program determined according to the target object is probably exactly the application program that can identify the message identification code.After determining the corresponding application program of target object, opens the application program and identify that the message identification code can remove the time of application program needed for user searches from intelligent terminal from, improve user experience.

Description

A kind of scan method and device of message identification code
Technical field
This application involves data processing fields, more particularly to the scan method and device of a kind of message identification code.
Background technique
With the development of information technology, the application of message identification code is more and more wider, and message identification code can be a kind of basis The image, such as two dimensional code, bar code etc. that coding rule is formed are known by the available information of the identification to message identification code Information entrained by other code.
The mode of tional identification message identification code is by application (Application, the APP) scanning pair in intelligent terminal Message identification code is answered, such as payment information can be obtained for the two dimensional code of payment by payment application scanning, to realize movement Payment, in another example bicycle information can be obtained by sharing the two dimensional code on the shared bicycle of bicycle application scanning, it is shared to realize The rental etc. of bicycle.
However, when user needs scanning information identification code, it is necessary first to which user finds the corresponding letter from intelligent terminal The application of identification code is ceased, the entrance that scanning function is then found from open application interface is just able to achieve barcode scanning.When intelligent end When installation application is more in end, application that user needs to spend the time that could find from application for barcode scanning, it is also necessary to from beating The entrance of scanning function is found in the application interface opened, it is not only time-consuming, it can also reduce user experience.
Summary of the invention
In order to solve the above-mentioned technical problem, this application provides a kind of scan methods of message identification code, use for reducing The application program for corresponding to message identification code is searched at family, and the time of scanning function entrance is searched on Application Program Interface.
The embodiment of the present application discloses following technical solution:
In a first aspect, the embodiment of the present application provides a kind of scan method of message identification code, which comprises
Scan pattern is opened, target object is scanned;
If having message identification code in the image scanned, the corresponding application of the target object is obtained according to described image Program;
The application program is opened to identify the message identification code.
Optionally, the unlatching scan pattern, comprising:
If it is determined that received operation behavior meets predefined action, the scan pattern is opened.
Optionally, described the corresponding application program of the target object is obtained according to described image to include:
Described image is identified, to identify the signature identification of the carrying of the target object in described image;
The corresponding application program of the target object is determined according to the signature identification;Alternatively,
Described image is sent to server;
The corresponding application program of the target object is obtained from the server.
It is optionally, described to open the application program to identify the message identification code, comprising:
Obtained from described image include the message identification code identification image;
The identification image message identification code for identification is provided to the application program.
Optionally, the identification image is the message identification code extracted from described image.
Optionally, it is described obtained from described image include the message identification code identification image, comprising:
If the identification degree of the message identification code in described image does not meet predetermined condition, by knowing to the information Other code handles the identification image to be conformed to a predetermined condition.
It is optionally, described to open the application program to identify the message identification code, comprising:
The scanning function of the application program is opened, so that the application program identifies the letter by scanning described image Cease identification code.
Second aspect, the embodiment of the present application provide a kind of scanning means of message identification code, and described device includes: to open Unit, acquiring unit and recognition unit;
The opening unit is scanned target object for opening scan pattern;
The acquiring unit obtains described if having message identification code in image for scanning according to described image The corresponding application program of target object;
The recognition unit identifies the message identification code for opening the application program.
Optionally, the opening unit includes: judgment sub-unit;
The judgment sub-unit, for opening the scan pattern if it is determined that received operation behavior meets predefined action.
Optionally, the acquiring unit includes: that image recognition subelement and application program determine subelement;
Described image identifies subelement, for identifying to described image, to identify the mesh in described image Mark the signature identification that object carries;
The application program determines subelement, for determining the corresponding application of the target object according to the signature identification Program;
Alternatively, the acquiring unit includes: that transmission sub-unit and application program obtain subelement;
The transmission sub-unit, for sending described image to server;
The application program obtains subelement, and for obtaining from the server, the target object is corresponding to apply journey Sequence.
Optionally, the recognition unit includes: that identification image obtains subelement and message identification code identification subelement;
The identification image obtains subelement, for obtained from described image include the message identification code identification Image;
The message identification code identifies subelement, for providing identification image institute for identification to the application program State message identification code.
Optionally, the identification image is the message identification code extracted from described image.
Optionally, the identification image obtains subelement, if the identification for the message identification code in described image Degree does not meet predetermined condition, by handling the message identification code identification image to be conformed to a predetermined condition.
Optionally, the recognition unit includes that scanning function opens subelement;
The scanning function opens subelement, for opening the scanning function of the application program, applies journey so as to described Sequence identifies the message identification code by scanning described image.
The third aspect, the embodiment of the present application provide a kind of processing equipment for scanning information identification code, include to deposit Perhaps more than one program one of them or more than one program is stored in memory by reservoir and one, and through matching Setting to execute the one or more programs by one or more than one processor includes for performing the following operation Instruction:
Scan pattern is opened, target object is scanned;
If having message identification code in the image scanned, the corresponding application of the target object is obtained according to described image Program;
The application program is opened to identify the message identification code.
Fourth aspect, the embodiment of the present application provide a kind of machine readable media, are stored thereon with instruction, when by one or When multiple processors execute, so that device executes the scan method of message identification code described in one or more in first aspect.
For the case where needing scan different types message identification code it can be seen from above-mentioned technical proposal, can open It opens scan pattern to be scanned target object, if having message identification code in the image scanned, can be obtained according to the image The corresponding application program of target object into the image, since message identification code and target object are in same image, therefore Relevance is stronger between the target object and the message identification code, and the application program determined according to the target object is very possible It can exactly identify the application program of the message identification code.After determining the corresponding application program of target object, the application is opened The procedure identification message identification code can remove the time of application program needed for user searches from intelligent terminal from, improve user Experience.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of application without any creative labor, may be used also for those of ordinary skill in the art To obtain other drawings based on these drawings.
Fig. 1 is a kind of scan method flow chart of message identification code provided by the embodiments of the present application;
Fig. 2 is a kind of schematic diagram of a scenario of scanning information identification code provided by the embodiments of the present application;
Fig. 3 is the schematic diagram of a scenario of another scanning information identification code provided by the embodiments of the present application;
Fig. 4 is a kind of scanning means structure chart of message identification code provided by the embodiments of the present application;
Fig. 5 is a kind of block diagram of the device for scanning information identification code provided by the embodiments of the present application;
Fig. 6 is a kind of block diagram of the server for scanning information identification code provided by the embodiments of the present application.
Specific embodiment
With reference to the accompanying drawing, embodiments herein is described.
With the development of information technology, message identification code that is being formed according to coding rule and carrying specific information is more next More common, which can be two dimensional code, bar code etc..User can obtain information by scanning information identification code The information carried in identification code, when specific implementation, user needs using application corresponding with the message identification code in intelligent terminal The program scanning message identification code obtains the information carried in message identification code, and then according to the letter carried in message identification code Breath carries out subsequent operation.
For example, the two dimensional code for carrying payment information can generally be arranged on cashier when shop is paid the bill, when user needs When being paid, user needs to open application program corresponding with the two dimensional code, and in application program corresponding with the two dimensional code In find the entrance of scanning function, open the scanning function of the application program, scanning carries the two dimensional code of payment information, obtains The payment information carried in the two dimensional code, and then the corresponding amount of money is paid using the payment information.
In another example can generally be provided with two dimensional code on shared bicycle, user is then needed to unlock and using shared bicycle It opens in intelligent terminal and shares the corresponding application program of bicycle with this, and find the entrance of scanning function in application interface, open It opens scanning function and scans the two dimensional code being arranged on shared bicycle, obtain the information carried in the two dimensional code, and then according to the two dimension The information carried in code unlocks and uses the shared bicycle.
The process of above-mentioned scanning information identification code needs user to find on intelligent terminal corresponding with the message identification code Application program, then finds the entrance of scanning function in open Application Program Interface, and then could utilize application program Scanning function is scanned message identification code.In the case that the application program installed in an intelligent terminal is more, user is often It needs to spend longer time, application program corresponding with the message identification code for needing to scan could be found in an intelligent terminal, After finding the corresponding application program of message identification code, user also needs to find the entrance of scanning function on Application Program Interface, If user is unfamiliar with the Application Program Interface, finds scanning entrance and also need to take some time.
In conclusion in the prior art scanning input message identification code when, both need to find answer corresponding with the identification code With program, it is also necessary to find scanning function entrance on corresponding Application Program Interface, above-mentioned searching application program and searching are answered It may need to expend longer time with the process of scanning function entrance in program, reduce user experience to a certain extent.
In order to solve the problems in the existing technology, this application provides a kind of scan methods of message identification code.
The scan method of message identification code provided by the present application opens the instruction of scan pattern in response to Client-initiated, The scan pattern for opening intelligent terminal, is scanned target object.Wherein, target object is the object that user needs to scan, For example, target object can need shared bicycle to be used for user, it is shared single to this that user can open above-mentioned scan pattern Vehicle is scanned;Target object may be the barcode scanning board for realizing payment function being arranged in supermarket check out counters, Yong Huke It is scanned with opening above-mentioned scan pattern to the barcode scanning board.
Above-mentioned scan pattern can be scanned various target objects, and judge whether there is letter in the image scanned Identification code is ceased, which is the coding pattern for carrying information, is specifically as follows the code patterns such as two dimensional code, bar code Case.It should be noted that various types of message identification codes can be scanned under the scan pattern, i.e., it can under the scan pattern To scan various forms of message identification codes, the message identification code corresponding to different application can also be scanned, area is not needed Divide application program corresponding to message identification code.
It is scanned under above-mentioned scan pattern, it, can basis if having message identification code in the image that judgement scans The image that the scan image obtains obtains the corresponding application program of target object.Since target object is located with message identification code In same image, the target object and the message identification code have stronger relevance, and therefore, the target object is corresponding to answer Probably it is the application program that can identify the message identification code with program, i.e., applies journey using the target object is corresponding Sequence, a possibility that identifying the message identification code in image, are higher.
In the scan method of above-mentioned message identification code provided by the present application, user is not necessarily to find information knowledge on intelligent terminal The corresponding application program of other code, without finding the scanning entrance for opening scanning function in Application Program Interface, it is only necessary to open The above-mentioned scan pattern that can scan various types message identification code, be scanned target object, can be according to scanning Include the image of message identification code, obtains the corresponding application program of target object in image, directly open the target object pair The application program answered is scanned message identification code.Compared with the prior art, reduce and find information knowledge on intelligent terminal The corresponding application program of other code, and the time required for scanning function entrance is found on Application Program Interface, improve user Experience.
Embodiment one
It is a kind of scan method flow chart of message identification code provided in this embodiment referring to Fig. 1, this method comprises:
Step 101: opening scan pattern, target object is scanned.
When user needs to be scanned message identification code, scan pattern pair provided in this embodiment can be directly opened Target object is scanned, and the target object of message identification code and the scanning that user needs to scan has stronger relevance, Specifically, user needs the message identification code that scans to can be set on the target object, also can be set in the target pair As close other positions.The scan pattern can be scanned various types of message identification codes, i.e., the scan pattern can To scan various forms of message identification codes, such as the message identification code of two dimensional code, bar code form, which can be with The corresponding message identification code of various application programs is scanned, no matter the message identification code that user needs to scan is which kind of form, correspondence In which kind of application program, which can be scanned the message identification code.
The specific mode for opening scan pattern, can preset the predefined action that can open the scan pattern, if really This meets predefined action to fixed received operation behavior, opens the scan pattern.
Predefined action can be carried out default setting by intelligent terminal system, predefined action can also by user's self-setting, The predefined action of user setting is saved into intelligent terminal system, any limit is not done to the setting method of predefined action herein It is fixed.
When user needs to be scanned message identification code, corresponding operation, intelligence can be carried out according to predefined action After the system of terminal receives the operation behavior of user, the predetermined row in the operation behavior and intelligent terminal system of user is compared To judge whether the operation behavior of the user meets predefined action, scan pattern correspondingly being opened if meeting.
In order to make it easy to understand, the mode provided by the embodiments of the present application for opening scan pattern is exemplified below:
It is again the predetermined row for opening scan pattern by screen that user, which is arranged in advance based on 3D-Touch on smart phone, For user carries out again by operation the screen of smart phone, intelligent mobile phone system receives user when needing to scan certain two dimensional code Again press operation behavior, be compared with the pre-set predefined action of user, judge the operation behavior meet unlatching scanning mould The predefined action of formula correspondingly opens the scan pattern, and the two dimensional code scanned to needs is scanned.
It should be noted that the form of above-mentioned predefined action can also be to double-click screen, press the other forms such as home key again, Any restriction is not done to the form of predefined action herein.
Step 102: if having message identification code in the image scanned, it is corresponding that above-mentioned target object being obtained according to the image Application program.
Step 103: opening above-mentioned application program and identify the message identification code.
After opening above-mentioned scan pattern, judge whether there is message identification code in image that scan pattern scans, if sweeping Not including in the image retouched has message identification code, then can prompt user, prompts not having in user's Current Scan image There are message identification code, the scanning angle of adjustable intelligent terminal camera, so that user can get according to above-mentioned prompt Scan image with message identification code.In addition, in some cases, it is long in the image that user utilizes the scan pattern to scan Time does not include message identification code, may illustrate do not have and the associated letter of the target object around the target object of scanning input Cease identification code, alternatively, user opens the scan pattern in the case where maloperation, correspondingly, system to these for a long time not It include that the image of message identification code can be not processed.
If having message identification code in the image scanned, obtained in image according to the image with message identification code The corresponding application program of target object.Since the target object and message identification code be in same image, the target object and The message identification code relevance is stronger, and therefore, the corresponding application program of the target object is probably that can identify the information The application program of identification code.
It, can be to the figure when obtaining the corresponding application program of target object in image according to the image with message identification code As being identified, to identify the signature identification of the carrying of the target object in the image.It is identified according to this feature and determines target pair As corresponding application program.
Wherein, the signature identification that target object carries can embody spy possessed by the corresponding application of the target object Sign, this feature can be to apply relevant text, color, pattern, shape etc. to this, therefore the target object carries by identification Signature identification, embodied feature can be identified according to this feature and determine corresponding application.
In order to make it easy to understand, the possible form of signature identification is illustrated with reference to the accompanying drawing:
As shown in Fig. 2, sharing bicycle is target including in scan image for unlocking the two dimensional code of shared bicycle Object, correspondingly, the feature of the shared bicycle such as color, shape of shared bicycle can be used as signature identification, and characterization can solve Lock the application of the shared bicycle.For example, the color characteristic of the yellow can be used as feature mark if the color of shared bicycle is yellow Know, can determine that the shared corresponding application of bicycle can be ofo little Huang vehicle application according to this feature mark, therefore can star The ofo little Huang vehicle is applied and is identified to the two dimensional code of shared bicycle.
As shown in figure 3, the barcode scanning board is target object, two dimension including in the image in 2 D code paid for wechat It " welcomes to pay using wechat " on the green background color and two dimensional code barcode scanning board of code barcode scanning board and wechat identifies logo, also Can determine that the corresponding application of barcode scanning board can be wechat application according to features described above mark, i.e., as signature identification Wechat be can use using identifying to image in 2 D code.
It is of course possible to characterize application signature identification can also for other forms, herein not to the form of signature identification into Any restriction of row.
Be directed in step 102 according to the image obtain include the corresponding application program of target object recognition result, The embodiment of the present application provides a variety of possible implementations, such as can be in the target pair in intelligent terminal locally identification image As carrying signature identification and determine the corresponding application program of signature identification;Can also no longer intelligent terminal locally identify, change Image is identified by the server of distal end, and includes the identification of application program corresponding to target object from server acquisition As a result.
When local identifies described image, the feature mark that the target object in described image carries can be identified Know;The corresponding application of target object is determined according to the signature identification;Alternatively, intelligence is eventually when server end is identified End can send described image to server, and obtain the recognition result from the server.
Application corresponding with this feature mark is determined according to signature identification in order to realize, it can be such as the following table 1 form On the training set of images marked, identification model is applied in training in advance, specifically, deep layer CNN convolutional Neural net can be used This applies identification model for network training, so that this has using identification model can find signature identification in the input image, and can Further to determine corresponding application program according to this feature mark.In some cases, determine that signature identification is corresponding When application program, corresponding application program can determine that according only to a signature identification, as shown in table 1, according to feature Mark 1 can determine that corresponding App1, can determine that corresponding App2 according to signature identification 2;But another Under outer some cases, when determining the corresponding application program of signature identification, need to determine corresponding answer according to multiple signature identifications According to signature identification 3 and signature identification 4, corresponding App3 is determined as shown in table 1 with program.Certainly, when determining application program Institute according to signature identification quantity, can be set according to the actual situation, herein not to the quantity of required signature identification Carry out any restriction.
Table 1
Signature identification 1 Required App1
Signature identification 2 Required App2
Signature identification 3+ signature identification 4 Required App3
... ...
Signature identification n Required Appk
According to the specific executing subject for determining recognition result, above-mentioned identification model can be configured accordingly in intelligent terminal Side or server side, to improve accuracy of identification.
When specific implementation, when needs are when intelligent terminal local is to image recognition, intelligent terminal can be obtained according to image Signature identification in image, and determine identification model corresponding with this feature mark to obtain corresponding application;When needs exist When server is to image recognition, above-mentioned identification model server can also be run beyond the clouds, and intelligent terminal can will scan Image is sent to cloud server, is identified by the identification model in cloud server to the image scanned, obtains image In signature identification, and determine that this feature identifies corresponding application, will include the recognition result of the corresponding application of signature identification It is sent to intelligent terminal.
Locally carry out the scene of image recognition primarily directed to relatively simple image in intelligent terminal, due to do not need with Server interaction, can be improved recognition speed, and save flow to a certain extent, and carry out the scene of image recognition in server It primarily directed to more complicated image, or perhaps is locally difficult to obtain the image of recognition result in intelligent terminal, due to clothes The image-capable of business device is generally greater than intelligent terminal, therefore by the identification of server, accuracy of identification can be improved, especially For complicated image, but also recognition success rate can be improved.
In S103, after getting the corresponding application program of target object, intelligent terminal can open the target object pair The application program answered, and the message identification code for needing to identify by application program identification.When specific implementation, intelligent terminal is determined Out in scan image after the corresponding application program of target object, intelligent terminal opens the application program, by the application program to letter Breath identification code is identified.
It is described below two kinds two kinds provided in this embodiment and optionally utilizes the corresponding application program identification letter of signature identification Cease the implementation of identification code:
The first, obtained from the image scanned include message identification code identification image;It is provided to application program Identify image message identification code for identification.
The acquisition from the image scanned of intelligent terminal system needs includes the identification image of message identification code, obtains and knows When other image, can be intercepted in the image scanned one section include message identification code video image, include letter by this The video image of identification code is ceased as identification image;It includes information identification that a certain frame in the image that scanning obtains, which can also be intercepted, This is included the picture of message identification code as identification image by the picture of code;Can also further include Message identification code therein is intercepted in the picture of message identification code as identification image.
In an optional implementation manner, user can save the identification image of above-mentioned acquisition to intelligent terminal, with Just when the subsequent message identification code for needing to again identify that in the identification image of user, directly can locally obtain from intelligent terminal should It identifies image, wherein message identification code is identified, without scanning again.
Intelligent terminal determines the corresponding application program of target object, by it is above-mentioned include message identification code identification image It is sent to the application program by system message broadcast or other modes, the information in identification image is identified by the application program Code is identified.
In some cases, the identification degree of the message identification code in image scanned may not meet predetermined item Part, can also be by being handled message identification code the identification image to be conformed to a predetermined condition.Wherein, predetermined condition is letter The primary condition that breath identification code meets required for capable of being identified by application program.
In some cases, the message identification code in the image scanned may be smaller, or the figure that scanning obtains Message identification code as in is relatively fuzzyyer, may if application program directly identifies the message identification code in these images It can not identify the message identification code.In order to prevent application program because message identification code is smaller or more fuzzy situations such as due to can not The case where identification information identification code, occurs, method provided in this embodiment can also be to the message identification code in image at Reason, makes the message identification code conform to a predetermined condition.Specifically, can know to the information if the message identification code in image is smaller Other code amplifies;If message identification code is relatively fuzzyyer in image, the information can be made to identify by adjusting the focal length of camera Code can be clearly showed that more, other operations can also be taken to handle message identification code, be allowed to meet predetermined condition.
Message identification code is handled, after so that message identification code is reached predetermined condition, acquisition includes in scan image The identification image is sent to target object and corresponded to by the image of the message identification code to conform to a predetermined condition as identification image Application program, it is identified using application program.
If saving the identification image to intelligent terminal after user previously gets identification image, target object is being utilized After corresponding application program identifies the message identification code in the identification image, prompt the user whether to need to continue to save the identification Image correspondingly, deletes the identification image if user needs not continue to save the identification image, prevents the identification image from occupying The memory of intelligent terminal.
Using this kind using the implementation of the corresponding application program identification information identification code of target object, reduce in intelligence The corresponding application program of message identification code can be found in terminal, and be found required for scanning function entrance on Application Program Interface Time, the identification image that can be identified by application program is directly obtained in the obtained image of scanning, directly using using journey Message identification code in the ordered pair identification image is identified.
In addition, in some cases, when user scans and recognizes message identification code using traditional approach, needing to adjust Itself posture is closely scanned message identification code, can scan the message identification code for meeting criterion of identification, that is, believe The position of breath identification code setting may be unfavorable for user and is directly scanned using intelligent terminal, and user needs by adjusting itself Posture could utilize corresponding application program, realize the scanning recognition message identification code.For example, for providing solution on shared bicycle The two dimensional code of lock information is generally located on the barcode scanning board below vehicle seat, and user needs to bend over pair to use the shared bicycle The two dimensional code carries out short range scanning, otherwise may because can not clearly scan the two dimensional code or the two dimensional code show it is too small, And the two dimensional code can not be identified using corresponding application program.And message identification code is identified using aforesaid way, it is not necessarily to User adjusts itself posture and carries out closely scanning recognition to message identification code, directly by adjusting intelligent terminal camera The parameters such as focal length can be obtained the message identification code that can be identified by application program.
Second, the scanning function of application program is opened, so that the application program is identified by scan image identification information Code.
After determining the corresponding application program of target object, the scanning function of the application program is opened, intelligent terminal system blocks The access right when preceding camera is cut, assigns the access right of camera to the application program, camera shooting is utilized by the application program The message identification code that head scans needs continues to scan, and then identifies the message identification code for needing to scan.
Using this kind using the implementation of the corresponding application program identification information identification code of target object, reduce in intelligence The corresponding application program of message identification code can be found in terminal, and be found required for scanning function entrance on Application Program Interface Time, directly open correspond to signature identification application program, and using the application program scanning function to information identify Code scans and recognizes.
It is, of course, also possible to corresponding application program be identified using other modes opening feature, using the application program to letter Breath identification code is identified, does not do any restriction to the identification method of message identification code herein.
In the scan method of above-mentioned message identification code provided in this embodiment, for need scan different types information identify The case where code, scan pattern can be opened, target object is scanned, if having message identification code in the image scanned, The corresponding application program of target object in the image can be obtained according to the image, since message identification code is located with target object In same image, therefore relevance is stronger between the target object and the message identification code, is determined according to the target object Application program is probably exactly the application program that can identify the message identification code.Determining that target object is corresponding using journey After sequence, opens the application program and identify that the message identification code can remove application program needed for user searches from intelligent terminal from Time improves user experience.
Embodiment two
Scan method based on a kind of message identification code that previous embodiment provides present embodiments provides a kind of information knowledge The scanning means of other code, Fig. 4 show a kind of structural block diagram of message identification code scanning means, the message identification code scanning means It include: opening unit 401, acquiring unit 402 and recognition unit 403;
The opening unit 401 is scanned target object for opening scan pattern;
The acquiring unit 402 obtains institute according to described image if having message identification code in image for scanning State the corresponding application program of target object;
The recognition unit 403 identifies the message identification code for opening the application program.
Optionally, the opening unit 401 includes: judgment sub-unit;
The judgment sub-unit, for opening the scan pattern if it is determined that received operation behavior meets predefined action.
Optionally, the acquiring unit 402 includes: that image recognition subelement and application program determine subelement;
Described image identifies subelement, for identifying to described image, to identify the mesh in described image Mark the signature identification that object carries;
The application program determines subelement, for determining the corresponding application of the target object according to the signature identification Program;
Alternatively, the acquiring unit includes: that transmission sub-unit and application program obtain subelement;
The transmission sub-unit, for sending described image to server;
The application program obtains subelement, and for obtaining from the server, the target object is corresponding to apply journey Sequence.
Optionally, the recognition unit 403 includes: that identification image obtains subelement and message identification code identification subelement;
The identification image obtains subelement, for obtained from described image include the message identification code identification Image;
The message identification code identifies subelement, for providing identification image institute for identification to the application program State message identification code.
Optionally, the identification image is the message identification code extracted from described image.
Optionally, the identification image obtains subelement, if the identification for the message identification code in described image Degree does not meet predetermined condition, by handling the message identification code identification image to be conformed to a predetermined condition.
Optionally, the recognition unit 403 includes that scanning function opens subelement;
The scanning function opens subelement, for opening the scanning function of the application program, applies journey so as to described Sequence identifies the message identification code by scanning described image.
The scanning means of message identification code provided in this embodiment, for the feelings for needing scan different types message identification code Condition can open scan pattern and be scanned to target object, if having message identification code, Ke Yigen in the image scanned Obtain the corresponding application program of target object in the image according to the image, due to message identification code be in target object it is same In image, therefore relevance is stronger between the target object and the message identification code, the application journey determined according to the target object Sequence is probably exactly the application program that can identify the message identification code.After determining the corresponding application program of target object, It opens the application program and identifies that the message identification code can remove the time of application program needed for user searches from intelligent terminal from, Improve user experience.
Fig. 5 is a kind of block diagram for scanning information identification code device 500 shown according to an exemplary embodiment.Example Such as, device 500 can be robot, mobile phone, computer, digital broadcasting terminal, messaging device, game console, Tablet device, Medical Devices, body-building equipment, personal digital assistant etc..
Referring to Fig. 5, device 500 may include following one or more components: processing component 502, memory 504, power supply Component 506, multimedia component 508, audio component 510, the interface 512 of input/output (I/O), sensor module 514, and Communication component 516.
The integrated operation of the usual control device 400 of processing component 502, such as with display, telephone call, data communication, phase Machine operation and record operate associated operation.Processing element 502 may include that one or more processors 520 refer to execute It enables, to perform all or part of the steps of the methods described above.In addition, processing component 502 may include one or more modules, just Interaction between processing component 502 and other assemblies.For example, processing component 502 may include multi-media module, it is more to facilitate Interaction between media component 508 and processing component 502.
Memory 504 is configured as storing various types of data to support the operation in device 500.These data are shown Example includes the instruction of any application or method for operating on device 500, contact data, and telephone book data disappears Breath, picture, video etc..Memory 504 can be by any kind of volatibility or non-volatile memory device or their group It closes and realizes, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM) is erasable to compile Journey read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash Device, disk or CD.
Power supply module 506 provides electric power for the various assemblies of device 500.Power supply module 506 may include power management system System, one or more power supplys and other with for device 500 generate, manage, and distribute the associated component of electric power.
Multimedia component 508 includes the screen of one output interface of offer between described device 500 and user.One In a little embodiments, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen Curtain may be implemented as touch screen, to receive input signal from the user.Touch panel includes one or more touch sensings Device is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or sliding action Boundary, but also detect duration and pressure associated with the touch or slide operation.In some embodiments, more matchmakers Body component 508 includes a front camera and/or rear camera.When device 500 is in operation mode, such as screening-mode or When video mode, front camera and/or rear camera can receive external multi-medium data.Each front camera and Rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 510 is configured as output and/or input audio signal.For example, audio component 510 includes a Mike Wind (MIC), when device 500 is in operation mode, when such as call mode, recording mode, and voice recognition mode, microphone is matched It is set to reception external audio signal.The received audio signal can be further stored in memory 504 or via communication set Part 516 is sent.In some embodiments, audio component 510 further includes a loudspeaker, is used for output audio signal.
I/O interface 512 provides interface between processing component 502 and peripheral interface module, and above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include, but are not limited to: home button, volume button, start button and lock Determine button.
Sensor module 514 includes one or more sensors, and the state for providing various aspects for device 500 is commented Estimate.For example, sensor module 514 can detecte the state that opens/closes of device 500, and the relative positioning of component, for example, it is described Component is the display and keypad of device 500, and sensor module 514 can be with 500 1 components of detection device 500 or device Position change, the existence or non-existence that user contacts with device 500,500 orientation of device or acceleration/deceleration and device 500 Temperature change.Sensor module 514 may include proximity sensor, be configured to detect without any physical contact Presence of nearby objects.Sensor module 514 can also include optical sensor, such as CMOS or ccd image sensor, at As being used in application.In some embodiments, which can also include acceleration transducer, gyro sensors Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 516 is configured to facilitate the communication of wired or wireless way between device 500 and other equipment.Device 500 can access the wireless network based on communication standard, such as WiFi, 2G or 8G or their combination.In an exemplary implementation In example, communication component 516 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel. In one exemplary embodiment, the communication component 516 further includes near-field communication (NFC) module, to promote short range communication.Example Such as, NFC module can be based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology, Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 500 can be believed by one or more application specific integrated circuit (ASIC), number Number processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided It such as include the memory 504 of instruction, above-metioned instruction can be executed by the processor 520 of device 500 to complete the above method.For example, The non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk With optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by the processing of mobile terminal When device executes, so that mobile terminal is able to carry out a kind of scan method of message identification code, which comprises
Scan pattern is opened, target object is scanned;
If having message identification code in the image scanned, the corresponding application of the target object is obtained according to described image Program;
The application program is opened to identify the message identification code.
Fig. 6 is the structural schematic diagram of server in the embodiment of the present invention.The server 600 can be due to configuration or performance be different Generate bigger difference, may include one or more central processing units (central processing units, CPU) 622 (for example, one or more processors) and memory 632, one or more storage application programs 642 or The storage medium 630 (such as one or more mass memory units) of data 644.Wherein, memory 632 and storage medium 630 can be of short duration storage or persistent storage.The program for being stored in storage medium 630 may include one or more modules (diagram does not mark), each module may include to the series of instructions operation in server.Further, central processing unit 622 can be set to communicate with storage medium 630, and the series of instructions behaviour in storage medium 630 is executed on server 600 Make.
Server 600 can also include one or more power supplys 624, one or more wired or wireless networks Interface 650, one or more input/output interfaces 658, one or more keyboards 654, and/or, one or one The above operating system 641, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM etc..
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above method embodiment can pass through The relevant hardware of program instruction is completed, and foregoing routine can be stored in a computer readable storage medium, which exists When execution, step including the steps of the foregoing method embodiments is executed;And storage medium above-mentioned can be at least one in following media Kind: read-only memory (English: read-only memory, abbreviation: ROM), RAM, magnetic or disk etc. are various to be can store The medium of program code.
It should be noted that all the embodiments in this specification are described in a progressive manner, each embodiment it Between same and similar part may refer to each other, each embodiment focuses on the differences from other embodiments. For equipment and system embodiment, since it is substantially similar to the method embodiment, so describe fairly simple, The relevent part can refer to the partial explaination of embodiments of method.Equipment and system embodiment described above is only schematic , wherein unit may or may not be physically separated as illustrated by the separation member, it is shown as a unit Component may or may not be physical unit, it can and it is in one place, or may be distributed over multiple networks On unit.Some or all of the modules therein can be selected to achieve the purpose of the solution of this embodiment according to the actual needs. Those of ordinary skill in the art can understand and implement without creative efforts.
The above, only a kind of specific embodiment of the application, but the protection scope of the application is not limited thereto, Within the technical scope of the present application, any changes or substitutions that can be easily thought of by anyone skilled in the art, Should all it cover within the scope of protection of this application.Therefore, the protection scope of the application should be with scope of protection of the claims Subject to.

Claims (10)

1. a kind of scan method of message identification code, which is characterized in that the described method includes:
Scan pattern is opened, target object is scanned;
If having message identification code in the image scanned, it is corresponding using journey that the target object is obtained according to described image Sequence;
The application program is opened to identify the message identification code.
2. the method according to claim 1, wherein the unlatching scan pattern, comprising:
If it is determined that received operation behavior meets predefined action, the scan pattern is opened.
3. the method according to claim 1, wherein described obtain the target object correspondence according to described image Application program include:
Described image is identified, to identify the signature identification of the carrying of the target object in described image;
The corresponding application program of the target object is determined according to the signature identification;Alternatively,
Described image is sent to server;
The corresponding application program of the target object is obtained from the server.
4. method according to claim 1 to 3, which is characterized in that described to open the application program to identify The message identification code, comprising:
Obtained from described image include the message identification code identification image;
The identification image message identification code for identification is provided to the application program.
5. according to the method described in claim 4, it is characterized in that, the identification image is the institute that extracts from described image State message identification code.
6. according to the method described in claim 4, it is characterized in that, described obtain including that the information is known from described image The identification image of other code, comprising:
If the identification degree of the message identification code in described image does not meet predetermined condition, by the message identification code Handle the identification image to be conformed to a predetermined condition.
7. method according to claim 1 to 3, which is characterized in that described to open the application program to identify The message identification code, comprising:
The scanning function of the application program is opened, so that the application program identifies that the information is known by scanning described image Other code.
8. a kind of scanning means of message identification code, which is characterized in that described device includes: opening unit, acquiring unit and knowledge Other unit;
The opening unit is scanned target object for opening scan pattern;
The acquiring unit obtains the target according to described image if having message identification code in image for scanning The corresponding application program of object;
The recognition unit identifies the message identification code for opening the application program.
9. a kind of processing equipment for scanning information identification code, which is characterized in that include memory and one or one A above program, perhaps more than one program is stored in memory and is configured to by one or one for one of them It includes the instruction for performing the following operation that the above processor, which executes the one or more programs:
Scan pattern is opened, target object is scanned;
If having message identification code in the image scanned, it is corresponding using journey that the target object is obtained according to described image Sequence;
The application program is opened to identify the message identification code.
10. a kind of machine readable media is stored thereon with instruction, when executed by one or more processors, so that device is held The scan method of message identification code of the row as described in one or more in claim 1 to 7.
CN201711459164.0A 2017-12-28 2017-12-28 A kind of scan method and device of message identification code Pending CN109992176A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711459164.0A CN109992176A (en) 2017-12-28 2017-12-28 A kind of scan method and device of message identification code

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711459164.0A CN109992176A (en) 2017-12-28 2017-12-28 A kind of scan method and device of message identification code

Publications (1)

Publication Number Publication Date
CN109992176A true CN109992176A (en) 2019-07-09

Family

ID=67108263

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711459164.0A Pending CN109992176A (en) 2017-12-28 2017-12-28 A kind of scan method and device of message identification code

Country Status (1)

Country Link
CN (1) CN109992176A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110502302A (en) * 2019-08-20 2019-11-26 维沃移动通信有限公司 Control method, terminal device and the storage medium of Application Program Interface
CN111126160A (en) * 2019-11-28 2020-05-08 天津瑟威兰斯科技有限公司 Intelligent Chinese character structure evaluation method and system constructed based on five-stroke input method
CN111881703A (en) * 2020-07-30 2020-11-03 维沃移动通信(杭州)有限公司 Graphic code identification method and device and electronic equipment
CN112364676A (en) * 2020-11-13 2021-02-12 北京元心科技有限公司 Image code processing method and device, electronic equipment and storage medium
CN112612532A (en) * 2020-11-10 2021-04-06 泰州市出彩网络科技有限公司 Automatic application program jumping platform and method
CN117077703A (en) * 2023-09-14 2023-11-17 荣耀终端有限公司 Image processing method and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105094975A (en) * 2015-09-29 2015-11-25 北京奇艺世纪科技有限公司 Method and device for calling application program
CN105117256A (en) * 2015-08-31 2015-12-02 联想(北京)有限公司 Information processing method and electronic device
CN105528698A (en) * 2016-02-01 2016-04-27 宇龙计算机通信科技(深圳)有限公司 Fast code-scanning payment method and device
CN105893908A (en) * 2016-03-31 2016-08-24 青岛海信移动通信技术股份有限公司 Two-dimensional code image identification method and device
CN106610835A (en) * 2016-12-23 2017-05-03 广东欧珀移动通信有限公司 Identification code processing method and device, and computer equipment
CN106875181A (en) * 2017-02-28 2017-06-20 努比亚技术有限公司 A kind of barcode scanning payment processing method and mobile terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105117256A (en) * 2015-08-31 2015-12-02 联想(北京)有限公司 Information processing method and electronic device
CN105094975A (en) * 2015-09-29 2015-11-25 北京奇艺世纪科技有限公司 Method and device for calling application program
CN105528698A (en) * 2016-02-01 2016-04-27 宇龙计算机通信科技(深圳)有限公司 Fast code-scanning payment method and device
CN105893908A (en) * 2016-03-31 2016-08-24 青岛海信移动通信技术股份有限公司 Two-dimensional code image identification method and device
CN106610835A (en) * 2016-12-23 2017-05-03 广东欧珀移动通信有限公司 Identification code processing method and device, and computer equipment
CN106875181A (en) * 2017-02-28 2017-06-20 努比亚技术有限公司 A kind of barcode scanning payment processing method and mobile terminal

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110502302A (en) * 2019-08-20 2019-11-26 维沃移动通信有限公司 Control method, terminal device and the storage medium of Application Program Interface
CN111126160A (en) * 2019-11-28 2020-05-08 天津瑟威兰斯科技有限公司 Intelligent Chinese character structure evaluation method and system constructed based on five-stroke input method
CN111126160B (en) * 2019-11-28 2023-04-07 天津瑟威兰斯科技有限公司 Intelligent Chinese character structure evaluation method and system constructed based on five-stroke input method
CN111881703A (en) * 2020-07-30 2020-11-03 维沃移动通信(杭州)有限公司 Graphic code identification method and device and electronic equipment
CN112612532A (en) * 2020-11-10 2021-04-06 泰州市出彩网络科技有限公司 Automatic application program jumping platform and method
CN112364676A (en) * 2020-11-13 2021-02-12 北京元心科技有限公司 Image code processing method and device, electronic equipment and storage medium
CN117077703A (en) * 2023-09-14 2023-11-17 荣耀终端有限公司 Image processing method and electronic equipment

Similar Documents

Publication Publication Date Title
CN109992176A (en) A kind of scan method and device of message identification code
CN106951884A (en) Gather method, device and the electronic equipment of fingerprint
CN104794382A (en) Application starting method and device
CN107545569A (en) Method for recognizing impurities and device
CN107688781A (en) Face identification method and device
CN104636453A (en) Illegal user data identification method and device
CN105847243A (en) Method and device for accessing smart camera
US20180144176A1 (en) Fingerprint template acquisition method and device
CN106027336A (en) Equipment sharing method and device
CN106384348B (en) The method for detecting abnormality and device of monitoring image
CN105069426A (en) Similar picture determining method and apparatus
CN106791092A (en) The searching method and device of contact person
CN106503528A (en) A kind of fingerprint recognition based on mobile terminal is taken pictures security method and system
CN108022349A (en) Information input method, equipment, smart lock and storage medium
CN108154466A (en) Image processing method and device
CN107454204A (en) User profile mask method and device
CN106791646A (en) Show the method and device of video information
CN109034150A (en) Image processing method and device
CN106096011A (en) Method for picture sharing and device
CN107330391A (en) Product information reminding method and device
CN106168877A (en) Enter the method and device of singlehanded pattern
CN107544802A (en) device identification method and device
CN109034106B (en) Face data cleaning method and device
CN105975428A (en) Method and device for displaying character and terminal
CN112437189A (en) Identity recognition method, device and medium

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190709