CN107239534A - Bar code scanning method, device, mobile terminal and computer-readable recording medium - Google Patents

Bar code scanning method, device, mobile terminal and computer-readable recording medium Download PDF

Info

Publication number
CN107239534A
CN107239534A CN201710399412.0A CN201710399412A CN107239534A CN 107239534 A CN107239534 A CN 107239534A CN 201710399412 A CN201710399412 A CN 201710399412A CN 107239534 A CN107239534 A CN 107239534A
Authority
CN
China
Prior art keywords
bar code
information
code
database
feedback 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.)
Granted
Application number
CN201710399412.0A
Other languages
Chinese (zh)
Other versions
CN107239534B (en
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201710399412.0A priority Critical patent/CN107239534B/en
Publication of CN107239534A publication Critical patent/CN107239534A/en
Application granted granted Critical
Publication of CN107239534B publication Critical patent/CN107239534B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • G06F16/9554Retrieval from the web using information identifiers, e.g. uniform resource locators [URL] by using bar codes

Abstract

The invention discloses a kind of bar code scanning method, this method includes:Obtain the bar code of scanning and parse the information in the bar code, in default database, obtain the target information that preset matching degree is reached with the information, obtain the corresponding bar code feedback information of the target information, and export the bar code feedback information.The invention also discloses a kind of bar code scanner, a kind of mobile terminal and computer-readable recording medium, the security of scanning bar code can be improved.

Description

Bar code scanning method, device, mobile terminal and computer-readable recording medium
Technical field
The invention belongs to technical field of mobile terminals, more particularly to a kind of bar code scanning method, device, mobile terminal and Computer-readable recording medium.
Background technology
Intelligent mobile terminal is increasingly popularized among us, greatly facilitates our life and recreation, study, bar Shape code scanning can almost be used daily, for example, share, and paid, using shared bicycle etc., can be almost related to user daily More individual aspect in life.
But, existing scanning bar codes technique is that user is straight by the client with scan function in mobile terminal Scanning bar code is connect, often occurs and is answered because having swept bar code and having caused economic loss or mobile phone backstage to download virus automatically With address list receives the safety problems such as junk information and privacy concern after being stolen, security is poor.
The content of the invention
The present invention provides a kind of bar code scanning method, device, mobile terminal and computer-readable recording medium, it is intended to solve Safety problem and privacy concern that certainly scanning bar code triggers.
A kind of bar code scanning method that the present invention is provided, including:
Obtain the bar code of scanning and parse the information in the bar code;
In default database, the target information that preset matching degree is reached with described information is obtained;
The corresponding bar code feedback information of the target information is obtained, and exports the bar code feedback information.
A kind of bar code scanner that the present invention is provided, including:
Parsing module, for obtaining the bar code of scanning and parsing the information in the bar code;
Acquisition module, in default database, obtaining the target information that preset matching degree is reached with described information;
The acquisition module, is additionally operable to obtain the corresponding bar code feedback information of the target information;
Output module, for exporting the bar code feedback information.
A kind of mobile terminal that the present invention is provided, including memory, processor and store on a memory and can handle The computer program run on device, realizes bar code scanning method as the aforementioned during the computing device described program.
A kind of computer-readable recording medium that the present invention is provided, is stored thereon with computer program, the computer journey Bar code scanning method as the aforementioned is realized when sequence is executed by processor.
It was found from the embodiments of the present invention, bar code scanning method, device, mobile terminal and calculating that the present invention is provided Machine readable storage medium storing program for executing, scanning bar code is simultaneously parsed after information therein, the information that is included in the bar code that is stored with and right In the database of the feedback information of bar code, the target information that preset matching degree is reached with the information is obtained, obtains and exports this The corresponding bar code feedback information of target information so that user decides whether to continue executing with this according to bar code feedback information Shape code, decides whether execution by user before the bar code is performed automatically, reduces the probability for going to malice bar code, increases The security of scanning bar code is added.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the accompanying drawing used required in technology description to be briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those skilled in the art, without having to pay creative labor, can be with root Other accompanying drawings are obtained according to these accompanying drawings.
The schematic flow sheet for the bar code scanning method that Fig. 1 provides for first embodiment of the invention;
The schematic flow sheet for the bar code scanning method that Fig. 2 provides for second embodiment of the invention;
Fig. 3 is bar code scanning interface schematic diagram in the embodiment of the present invention;
The structural representation for the bar code scanner that Fig. 4 provides for third embodiment of the invention;
The structural representation for the bar code scanner that Fig. 5 provides for fourth embodiment of the invention;
Fig. 6 is the mobile terminal hardware structure diagram of execution bar code scanning method in the present invention.
Embodiment
To enable goal of the invention, feature, the advantage of the present invention more obvious and understandable, below in conjunction with the present invention Accompanying drawing in embodiment, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described reality It is only a part of embodiment of the invention to apply example, and not all embodiments.Based on the embodiment in the present invention, people in the art The every other embodiment that member is obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.
The application scenarios of the following embodiment of the present invention are the feedback information data storehouses for setting up user to bar code, in the number The corresponding relation of the information that is included according to the bar code that is stored with storehouse and user to the feedback information of bar code.Swept by mobile terminal When retouching bar code, the information of bar code is parsed, the target information that preset matching degree is reached with the information is searched from database, The corresponding feedback information to the bar code of the target information is obtained, obtains and is exported after the feedback information, allow user to pass through this The feedback information of shape code, decides whether to perform the corresponding operation of the bar code.The description of concrete technical scheme is referring to following each realities Apply example.
It should be noted that in various embodiments of the present invention, bar code includes one-dimensional bar code and two-dimensional bar (2- Dimensional bar code), it is other that the technical scheme of the embodiment of the present invention can be also included within the bar code of storage information In.
Refer to Fig. 1, the schematic flow sheet for the bar code scanning method that Fig. 1 provides for first embodiment of the invention, this Shape code scan method can be applicable in mobile terminal, and the mobile terminal includes mobile phone, tablet personal computer, intelligent scanner etc. and can be achieved Mobile terminal etc..This method includes:
S101, the bar code for obtaining scanning simultaneously parse the information in the bar code;
The barcode scanning instruction of user is received, calls camera to obtain the image of bar code, and parses the bar code, is somebody's turn to do The information included in bar code.
S102, in default database, obtain and reach the target information of preset matching degree with the information;
Target information is the higher information of information matches degree of the bar code with parsing.Preset matching degree highest can be with 100% matching is set to, it is minimum to could be arranged to 70% matching.
The default database can be arranged on mobile terminal locally, can also set on the server.It is default at this Be stored with bar code information and the feedback information to the bar code in database.Wherein, bar code information and to the bar code Feedback information, is to be stored according to the feedback of user in the default database.If the default database is arranged on shifting Terminal local is moved, then mobile terminal directly retrieves information in the default database;If the default database is arranged on On server, then mobile terminal sends to the server and obtains request, and the server obtains movement from the default database The information of terminal request.
S103, the corresponding bar code feedback information of the target information is obtained, and export the bar code feedback information.
In the database, the target information of the information match in the bar code of Current Scan is obtained and parses, can Foundation so that whether the corresponding bar code feedback information of the target information is performed to the bar code as user's reference.
Wherein, feedback information can be evaluation positive to the bar code and number of times or negative to the bar code Evaluation and number of times.Negative evaluation refers to that when can produce malice consequence, user is to the Quick Response Code after Quick Response Code is scanned That is made confirms the evaluation that the Quick Response Code is malice Quick Response Code.Specifically, Quick Response Code generation malice consequence is scanned to refer to, should The information that Quick Response Code is parsed is malicious link, such as viral download link, rubbish client downloads link performs the Quick Response Code After can download virus or rubbish client, bring loss to user;Or, the information that the Quick Response Code is parsed is malicious server Internet protocol address (IP, Internet Protocol Address), perform and the malicious server accessed after the Quick Response Code, Malicious client or virus etc. are downloaded from the malicious server;Or, the information that the Quick Response Code is parsed is viral code, is held The mobile terminal of user is caused to be poisoned after the row Quick Response Code;Or, the information that the Quick Response Code is parsed is ad promotions etc. and use It is expected inconsistent or inconsistent with Quick Response Code description information information etc. in family.
Specifically, the corresponding bar code feedback information of the target information is obtained from the database, can be obtained to this All fronts that shape code is made are evaluated and number of times, unfavorable ratings and number of times, can also only obtain unfavorable ratings and number of times, then defeated Go out the bar code feedback information of acquisition, point out user to decide whether to continue executing with the bar code pair according to the bar code feedback information The operation answered.
Further, corresponding operation is performed according to the selection of user, i.e. if user's selection refusal performs the bar code Corresponding operation, then exit the interface for scanning the bar code.If user's selection performs the corresponding operation of the bar code, according to solution The information of the bar code separated out performs the corresponding operation of the bar code.
In the embodiment of the present invention, scan bar code and parse after information therein, the letter included in the bar code that is stored with Cease and in the database of the feedback information of bar code, obtaining the target information that preset matching degree is reached with the information, obtain And exporting the corresponding bar code feedback information of the target information so that user decides whether to continue according to bar code feedback information The bar code is performed, execution is decided whether by user before the bar code is performed automatically, reduces and goes to malice bar code Probability, add scanning bar code security.
Fig. 2 is referred to, the bar code scanning method that Fig. 2 provides for second embodiment of the invention can be applied to mobile terminal In, this method includes:
S201, presetting database;
Default database can be pre-set on the server, can also be set in advance in mobile terminal locally, and root According to the renewal of data on server, the data being arranged in local database are updated.It is stored with the default database Bar code information and the feedback information to the bar code, bar code information and the feedback information to the bar code are according to user Feedback, is stored in the default database.
Wherein, feedback information can be evaluation positive to the bar code and number of times or negative to the bar code Evaluation and number of times.Negative evaluation refers to that when can produce malice consequence, user is to the Quick Response Code after Quick Response Code is scanned That is made confirms the evaluation that the Quick Response Code is malice Quick Response Code.
The button for collecting field feedback can be set at the bar code scanning interface of mobile terminal, when detecting the button When being triggered, the information that current bar code is parsed is sent in the server where the default database, so that should The information that the current bar code is parsed is stored in the default database by server, and correspondence updates feedback information.
Specifically, the button of the collection field feedback can have 2, one of them be collect positive evaluation by Button, another is the button for collecting negative evaluation, and the button of the collection field feedback, which can have, can also only have 1, It is the button for collecting negative evaluation.
, should if the information that the existing and bar code is parsed in the database reaches the target information of preset matching degree Server updates the feedback information in the database according to the feedback information of user, if the feedback information of user is positive comments Valency, then by positive evaluation number of times increase by 1 in the database, if the feedback information of user is negative evaluation, this is counted According to evaluation number of times increase by 1 negative in storehouse.
If the information not parsed in the database with the bar code also reaches the target information of preset matching degree, The information that the bar code is parsed is added into the database, and according to the feedback information of user update in the database to should The feedback information for the information that bar code is parsed, if the feedback information of user is positive evaluation, adds in the database Plus positive evaluation, and positive evaluation number of times is recorded as 1, will be negative if the feedback information of user is negative evaluation The evaluation number of times in face is recorded as 1.
It is possible to further collect feedback information of the user to history bar code, history bar code is that user was once scanned The bar code crossed.Pressing for the feedback information that user is collected to history bar code is set at the bar code scanning interface of mobile terminal Button, when detecting the button and being triggered, the server obtains the screenshot picture for the history bar code that user uploads, the snapshot Piece is, when user is scanning the history bar code, to intercept and preserve in the terminal.When user will be to the history bar shaped Code is when being fed back, and obtains the screenshot picture of the history bar code from mobile terminal, and by the history bar code screenshot picture It is sent in the server where the default database, so that the server where the database parses the history bar code and cut Shield the information of the bar code in picture, and the bar shaped information parsed is stored in the default database, and correspondence updates Feedback information.
If correspondence update feedback information specifically, in the database the existing information parsed with the bar code reach it is pre- The target information of matching degree is put, then the feedback information in the database is updated according to the feedback information of user, if user's is anti- Feedforward information is positive evaluation, then by positive evaluation number of times increase by 1 in the database, if the feedback information of user is negative Evaluation, then by negative evaluation number of times increase by 1 in the database.If not parsed in the database with the bar code also Information reach the target information of preset matching degree, then the information parsed the bar code is added into the database, and according to The feedback information of user update in the database to the feedback information of information that parses of the bar code, if the feedback of user Information is positive evaluation, then positive evaluation is added in the database, and positive evaluation number of times is recorded as into 1, if The feedback information of user is negative evaluation, then negative evaluation number of times is recorded as into 1.
As shown in figure 3, by taking Quick Response Code as an example, " feedback " button is set on scanning interface, for collecting user feedback letter The button of breath.
S202, the bar code for obtaining scanning simultaneously parse the information in the bar code;
The barcode scanning instruction of user is received, calls camera to obtain the image of bar code, and parses the bar code, is somebody's turn to do The information included in bar code.
The information includes:Access the domain name of link, one kind in the IP address and feature code of server to be visited or It is a variety of.Wherein feature code refers to the code snippet of energy representative code behavior or functional character in the code that bar code is parsed. For example, feature code is comprising delete, then the operation includes the code of this feature code, may perform deletion action, delete It is that user brings loss except useful information.For another example, feature code includes the information for calling network address, then operation should include this feature The code of code, can perform access the network address operation, if the network address be malice network address, be poisoned after access also can for user with To lose.
S203, in default database, obtain and reach the target information of preset matching degree with the information;
In the default database, the domain name identical aiming field that the access of the bar code with parsing is linked is obtained Name, or, the IP address for obtaining the bar code with parsing is identical, or, the feature for the bar code for obtaining and parsing The similarity of code reaches the target signature code of default value.
If it should be noted that get multiple similarities with the feature code of the bar code that is parsing reach it is preset The feature code of numerical value, can all confirm as target signature code, it can be identified that one feature code of similarity highest For target signature code.
If in the presetting database, getting one or more of target information, then step S204 is performed.
If in the default database, the target information is not got, then step S205 is performed, i.e. perform the bar shaped The corresponding operation of code.
S204, the corresponding bar code feedback information of the target information is obtained, and export the bar code feedback information;
In the database, the target information of the information match in the bar code of Current Scan is obtained and parses, can Foundation so that whether the corresponding bar code feedback information of the target information is performed to the bar code as user's reference.
Further, the corresponding bar code feedback information of the target information is obtained from the database, can be obtained to this All fronts that bar code is made are evaluated and number of times, unfavorable ratings and number of times, can also only obtain unfavorable ratings and number of times, then The bar code feedback information obtained is exported, points out user to decide whether to continue executing with the bar code according to the bar code feedback information Corresponding operation.
Further, corresponding operation is performed according to the selection of user, i.e. if user's selection performs the behaviour of the bar code Make, then perform step S205, that is, perform the corresponding operation of the bar code.If user's selection refusal performs the operation of the bar code, Step S206 is then performed, that is, exits the interface for scanning the bar code.
S205, perform the corresponding operation of the bar code;
S206, the interface for exiting the scanning bar code.
In the embodiment of the present invention, scan bar code and parse after information therein, the letter included in the bar code that is stored with Cease and in the database of the feedback information of bar code, obtaining the target information that preset matching degree is reached with the information, obtain And exporting the corresponding bar code feedback information of the target information so that user decides whether to continue according to bar code feedback information The bar code is performed, execution is decided whether by user before the bar code is performed automatically, reduces and goes to malice bar code Probability, add scanning bar code security.
Fig. 4 is referred to, the bar code scanner that Fig. 4 provides for third embodiment of the invention for convenience of description, only shows The part related to the embodiment of the present invention is gone out.The device can be built in mobile terminal, and the device includes:Parsing module 301, Acquisition module 302 and output module 303.
Parsing module 301, for obtaining the bar code of scanning and parsing the information in the bar code;
Acquisition module 302, reaches that the target of preset matching degree is believed in default database, obtaining with the information Breath;
Acquisition module 302, is additionally operable to obtain the corresponding bar code feedback information of the target information;
Target information is the higher information of information matches degree of the bar code with parsing.Preset matching degree highest can be with 100% matching is set to, it is minimum to could be arranged to 70% matching.
The default database can be arranged on mobile terminal locally, can also set on the server.It is default at this Be stored with bar code information and the feedback information to the bar code in database, wherein, bar code information and to the bar code Feedback information is the feedback according to user, is stored in the default database.If the default database is arranged on shifting Terminal local is moved, then mobile terminal directly retrieves information in the default database;If the default database is arranged on On server, then mobile terminal sends to the server and obtains request, and the server obtains movement from the default database The information of terminal request.
Wherein, feedback information can be evaluation positive to the bar code and number of times or negative to the bar code Evaluation and number of times.Negative evaluation refers to that when can produce malice consequence, user is to the Quick Response Code after Quick Response Code is scanned That is made confirms the evaluation that the Quick Response Code is malice Quick Response Code.Specifically, Quick Response Code generation malice consequence is scanned to refer to, should The information that Quick Response Code is parsed is malicious link, such as viral download link, rubbish client downloads link performs the Quick Response Code After can download virus or rubbish client, bring loss to user;Or, the information that the Quick Response Code is parsed is malicious server Internet protocol address (IP, Internet Protocol Address), perform and the malicious server accessed after the Quick Response Code, Malicious client or virus etc. are downloaded from the malicious server;Or, the information that the Quick Response Code is parsed is viral code, is held The mobile terminal of user is caused to be poisoned after the row Quick Response Code;Or, the information that the Quick Response Code is parsed is ad promotions etc. and use It is expected inconsistent or inconsistent with Quick Response Code description information information etc. in family.
Output module 303, for exporting the bar code feedback information.
Specifically, the corresponding bar code feedback information of the target information is obtained from the database, can be obtained to this All fronts that shape code is made are evaluated and number of times, unfavorable ratings and number of times, can also only be obtained unfavorable ratings and number of times, be exported mould The bar code feedback information that the output of block 303 is obtained, points out user to decide whether to continue executing with this according to the bar code feedback information The corresponding operation of bar code.
Device in the embodiment of the present invention is used for the method for performing embodiment described in earlier figures 1, techniques not described details Identical with foregoing embodiment illustrated in fig. 1, here is omitted.
In the embodiment of the present invention, scan bar code and parse after information therein, the letter included in the bar code that is stored with Cease and in the database of the feedback information of bar code, obtaining the target information that preset matching degree is reached with the information, obtain And exporting the corresponding bar code feedback information of the target information so that user decides whether to continue according to bar code feedback information The bar code is performed, execution is decided whether by user before the bar code is performed automatically, reduces and goes to malice bar code Probability, add scanning bar code security.
Fig. 5 is referred to, the bar code scanner that Fig. 5 provides for fourth embodiment of the invention for convenience of description, only shows The part related to the embodiment of the present invention is gone out.The device can be built in mobile terminal, device and Fig. 4 shown in the present embodiment Shown device difference is:
Information in the bar code parsed includes:Access the domain name of link, the IP address of server to be visited and One or more in feature code.Wherein feature code refers to energy representative code behavior or work(in the code that bar code is parsed The code snippet of energy feature.For example, feature code is comprising delete, then the operation includes the code of this feature code, may Deletion action can be performed, useful information is deleted, is that user brings loss.For another example, feature code includes the information for calling network address, then The code for including this feature code is run, the operation for accessing the network address can be performed, if the network address is malice network address, after access Poisoning also can bring loss for user.
Then acquisition module 302, are additionally operable in the default database, obtain the domain name identical mesh linked with the access Domain name is marked, or, and the Internet protocol address identical targeted internet protocol address, or, the phase with this feature code The target signature code of default value is reached like degree.
The device can also further include:
Performing module 401, if in the default database, the target information not to be got, then performing the bar shaped The corresponding operation of code.
Setup module 402, the button of field feedback is collected for being set at the bar code scanning interface;
Sending module 403, for when detecting the button and being triggered, the information that current bar code is parsed to be sent To in the server where the default database, so that the server where the database parses the current bar code Information be stored in the default database, and correspondence update feedback information.
Specifically, the button of the collection field feedback can have 2, one of them be collect positive evaluation by Button, another is the button for collecting negative evaluation, and the button of the collection field feedback, which can have, can also only have 1, It is the button for collecting negative evaluation.
, should if the information that the existing and bar code is parsed in the database reaches the target information of preset matching degree Server updates the feedback information in the database according to the feedback information of user, if the feedback information of user is positive comments Valency, then by positive evaluation number of times increase by 1 in the database, if the feedback information of user is negative evaluation, this is counted According to evaluation number of times increase by 1 negative in storehouse.
Further, acquisition module 302, are additionally operable to when detecting the button and being triggered, and obtain the history that user uploads Bar code screenshot picture;
Sending module 403, is additionally operable to being sent to the history bar code screenshot picture into the clothes where the default database It is engaged in device, so that the server where the database parses the information of the bar code in the history bar code screenshot picture, will solves The information of precipitation is stored in the default database, and correspondence updates feedback information.
, the screenshot picture is, when user is scanning the history bar code, to intercept and preserve in the terminal.When with When family will feed back to the history bar code, the screenshot picture of the history bar code is obtained from mobile terminal, and this is gone through History bar code screenshot picture is sent in the server where the default database, so that the server solution where the database The information of the bar code in the history bar code screenshot picture is analysed, and the bar shaped information parsed is stored in the default data In storehouse, and correspondence updates feedback information.
Techniques not described details in the embodiment of the present invention, referring to the description of each embodiment shown in 1~Fig. 4 of earlier figures, Here is omitted.
In the embodiment of the present invention, scan bar code and parse after information therein, the letter included in the bar code that is stored with Cease and in the database of the feedback information of bar code, obtaining the target information that preset matching degree is reached with the information, obtain And exporting the corresponding bar code feedback information of the target information so that user decides whether to continue according to bar code feedback information The bar code is performed, execution is decided whether by user before the bar code is performed automatically, reduces and goes to malice bar code Probability, add scanning bar code security.
Fig. 6 is the mobile terminal structure schematic diagram provided in an embodiment of the present invention for performing bar code scanning method.
Mobile terminal described in the present embodiment, including:
Memory 51;At least one processor 52, such as central processing unit;And, at least one input equipment 53, at least One output equipment 54.
Above-mentioned memory 51, processor 52, input equipment 53, output equipment 54 are connected by bus 55.
Wherein, input equipment 53 concretely camera, contact panel, physical button or mouse etc..Output equipment 54 concretely display screens.
Memory 51 can be high random access memory body (RAM, Random Access Memory) memory, also may be used For non-labile memory (non-volatile memory), such as magnetic disk storage.Memory 51 is used for one group of storage can Configuration processor code, processor 52 is coupled with memory 51, and above-mentioned input equipment 53, output equipment 54 and processor 52 are used to lead to The executable program code stored in memory 51 is crossed, following operation is performed:
The code is performed by processor 52, the bar code scanning as described in 1~embodiment illustrated in fig. 2 of earlier figures is performed Method.
Specifically, obtain the bar code of scanning and parse the information in the bar code;In default database, obtain Take the target information that preset matching degree is reached with described information;The corresponding bar code feedback information of the target information is obtained, and Export the bar code feedback information.
The embodiment of the present invention additionally provides a kind of computer-readable recording medium, is stored thereon with computer program, the meter The bar code scanning method such as 1~embodiment illustrated in fig. 2 of earlier figures is realized when calculation machine program is executed by processor.The computer can Reading storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can be with the medium of store program codes.
, can be by it in multiple embodiments provided herein, it should be understood that disclosed method and apparatus Its mode is realized.For example, the embodiment of device described above is only schematical, for example, the division of the module, It is only a kind of division of logic function, there can be other dividing mode when actually realizing, such as multiple module or components can be with With reference to or be desirably integrated into another system, or some features can be ignored, or not perform.It is another, it is shown or discussed Coupling each other or direct-coupling or communication linkage can be by some interfaces, the INDIRECT COUPLING of device or module or Communication linkage, can be electrical, machinery or other forms.
The module illustrated as separating component can be or may not be it is physically separate, it is aobvious as module The part shown can be or may not be physical module, you can with positioned at a place, or can also be distributed to multiple On mixed-media network modules mixed-media.Some or all of module therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
In addition, each functional module in each embodiment of the invention can be integrated in a processing module, can also That modules are individually physically present, can also two or more modules be integrated in a module.Above-mentioned integrated mould Block can both be realized in the form of hardware, it would however also be possible to employ the form of software function module is realized.
If the integrated module is realized using in the form of software function module and as independent production marketing or used When, it can be stored in a computer read/write memory medium.Understood based on such, technical scheme is substantially The part contributed in other words to prior art or all or part of the technical scheme can be in the form of software products Embody, the computer software product is stored in a storage medium, including some instructions are to cause a computer Equipment (can be personal computer, server, or network equipment etc.) performs the complete of each embodiment methods described of the invention Portion or part steps.
It should be noted that for foregoing each method embodiment, for simplicity description, therefore it is all expressed as a series of Combination of actions, but those skilled in the art should know, the present invention is not limited by described sequence of movement because According to the present invention, some steps can use other orders or carry out simultaneously.Secondly, those skilled in the art should also know Know, embodiment described in this description belongs to preferred embodiment, and involved action and module might not all be this hairs Necessary to bright.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and does not have the portion being described in detail in some embodiment Point, it may refer to the associated description of other embodiments.
It is to bar code scanning method provided by the present invention, bar code scanner, mobile terminal and computer above The description of readable storage medium storing program for executing, for those skilled in the art, according to the thought of the embodiment of the present invention, in embodiment And will change in application, to sum up, this specification content should not be construed as limiting the invention.

Claims (12)

1. a kind of bar code scanning method, it is characterised in that including:
Obtain the bar code of scanning and parse the information in the bar code;
In default database, the target information that preset matching degree is reached with described information is obtained;
The corresponding bar code feedback information of the target information is obtained, and exports the bar code feedback information.
2. according to the method described in claim 1, it is characterised in that described information includes:Access the domain name, to be visited of link One or more in the internet protocol address and feature code of server, then it is described in default database, obtain and institute The target information that information reaches preset matching degree is stated, including:
In the default database, obtain and access the domain name identical target domain name that links with described, or, it is and described mutual Networking protocol address identical targeted internet protocol address, or, reach default value with the similarity of the feature code Target signature code.
3. method according to claim 1 or 2, it is characterised in that methods described also includes:
If in the default database, the target information is not got, then the corresponding operation of the bar code is performed.
4. method according to claim 3, it is characterised in that methods described also includes:
The button for collecting field feedback is set at the bar code scanning interface;
When detecting the button and being triggered, the information that current bar code is parsed is sent to the default database In the server at place, so that the information that the current bar code is parsed is stored in by the server where the database In the default database, and correspondence updates feedback information.
5. method according to claim 4, it is characterised in that methods described also includes:
When detecting the button and being triggered, the history bar code screenshot picture that user uploads is obtained, and by the historical bar Shape code screenshot picture is sent in the server where the default database, so that the server solution where the database The information of the bar code in the history bar code screenshot picture is analysed, the information parsed is stored in the default database In, and correspondence updates feedback information.
6. a kind of bar code scanner, it is characterised in that described device includes:
Parsing module, for obtaining the bar code of scanning and parsing the information in the bar code;
Acquisition module, in default database, obtaining the target information that preset matching degree is reached with described information;
The acquisition module, is additionally operable to obtain the corresponding bar code feedback information of the target information;
Output module, for exporting the bar code feedback information.
7. device according to claim 6, it is characterised in that described information includes:Access the domain name, to be visited of link One or more in the internet protocol address and feature code of server, then the acquisition module, is additionally operable to described default Database in, obtain with the domain name identical target domain name that links of access, or, with the Internet protocol address phase Same targeted internet protocol address, or, the target signature code of default value is reached with the similarity of the feature code.
8. the device according to claim 6 or 7, it is characterised in that described device also includes:
Performing module, if in the default database, the target information not to be got, then performing the bar code Corresponding operation.
9. device according to claim 8, it is characterised in that described device also includes:
Setup module, the button of field feedback is collected for being set at the bar code scanning interface;
Sending module, for when detecting the button and being triggered, the information that current bar code is parsed to be sent to institute State in the server where default database, so that the server where the database parses the current bar code The information gone out is stored in the default database, and correspondence updates feedback information.
10. device according to claim 9, it is characterised in that
The acquisition module, is additionally operable to when detecting the button and being triggered, and obtains the history bar code screenshotss that user uploads Picture;
The sending module, is additionally operable to being sent to the history bar code screenshot picture into the clothes where the default database It is engaged in device, so that the server where the database parses the information of the bar code in the history bar code screenshot picture, The information parsed is stored in the default database, and correspondence updates feedback information.
11. a kind of mobile terminal, including memory, processor and storage are on a memory and the calculating that can run on a processor Machine program, it is characterised in that the bar shaped as described in any one of claim 1 to 5 is realized during the computing device described program Code scan method.
12. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that the computer program The bar code scanning method as described in any one of claim 1 to 5 is realized when being executed by processor.
CN201710399412.0A 2017-05-31 2017-05-31 Bar code scanning method, bar code scanning device, mobile terminal and computer readable storage medium Active CN107239534B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710399412.0A CN107239534B (en) 2017-05-31 2017-05-31 Bar code scanning method, bar code scanning device, mobile terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710399412.0A CN107239534B (en) 2017-05-31 2017-05-31 Bar code scanning method, bar code scanning device, mobile terminal and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN107239534A true CN107239534A (en) 2017-10-10
CN107239534B CN107239534B (en) 2020-06-30

Family

ID=59985184

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710399412.0A Active CN107239534B (en) 2017-05-31 2017-05-31 Bar code scanning method, bar code scanning device, mobile terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN107239534B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113159246A (en) * 2021-04-15 2021-07-23 中物(北京)物流信息服务有限公司 Steel mill cargo identification method and device based on two-dimensional code label and computer equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104091140A (en) * 2014-06-23 2014-10-08 联想(北京)有限公司 Information processing method and electronic device
CN105391674A (en) * 2014-09-04 2016-03-09 腾讯科技(深圳)有限公司 Information processing method and system, server, and client
CN106599759A (en) * 2016-12-22 2017-04-26 广东小天才科技有限公司 Terminal information processing method and apparatus

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104091140A (en) * 2014-06-23 2014-10-08 联想(北京)有限公司 Information processing method and electronic device
CN105391674A (en) * 2014-09-04 2016-03-09 腾讯科技(深圳)有限公司 Information processing method and system, server, and client
CN106599759A (en) * 2016-12-22 2017-04-26 广东小天才科技有限公司 Terminal information processing method and apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113159246A (en) * 2021-04-15 2021-07-23 中物(北京)物流信息服务有限公司 Steel mill cargo identification method and device based on two-dimensional code label and computer equipment

Also Published As

Publication number Publication date
CN107239534B (en) 2020-06-30

Similar Documents

Publication Publication Date Title
CN106326219B (en) Method, device and system for checking business system data
CN111026950B (en) Page access method and device, server and page access system
CN107220142A (en) Perform the method and device of data recovery operation
CN107784504B (en) Method for generating return visit event of client and terminal equipment
CN103827810A (en) Asset model import connector
CN104021141B (en) Method, device and system for data processing and cloud service
CN102681888B (en) Application management server system, application management server method, managing device, application server
CN105227352A (en) A kind of update method of user ID collection and device
CN109981745A (en) A kind of journal file processing method and server
CN107656968A (en) High-volume business datum deriving method and system
CN112532605B (en) Network attack tracing method and system, storage medium and electronic device
CN106845267A (en) The processing method and mobile terminal of applicating history information
CN112017007A (en) User behavior data processing method and device, computer equipment and storage medium
CN112437034A (en) False terminal detection method and device, storage medium and electronic device
CN102982012A (en) Method and device used for obtaining target character strings in disorder text
CN110019400B (en) Data storage method, electronic device and storage medium
CN107239534A (en) Bar code scanning method, device, mobile terminal and computer-readable recording medium
KR102111838B1 (en) Data processing method and device
CN107220262B (en) Information processing method and device
CN111767481B (en) Access processing method, device, equipment and storage medium
CN112306592A (en) Message processing method and device, storage medium and electronic device
CN109062803A (en) The method and apparatus for automatically generating test case are realized based on crawler
CN109033831A (en) A kind of method for detecting virus, device, electronic equipment and storage medium
CN104714720B (en) To realize the method and client of itself scanning
CN114547140A (en) Behavior sequence generation method and device, storage medium and electronic device

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
CB02 Change of applicant information

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant