WO2016188029A1 - 解析二维码的方法及装置、计算机可读存储介质、计算机程序产品与终端设备 - Google Patents
解析二维码的方法及装置、计算机可读存储介质、计算机程序产品与终端设备 Download PDFInfo
- Publication number
- WO2016188029A1 WO2016188029A1 PCT/CN2015/092958 CN2015092958W WO2016188029A1 WO 2016188029 A1 WO2016188029 A1 WO 2016188029A1 CN 2015092958 W CN2015092958 W CN 2015092958W WO 2016188029 A1 WO2016188029 A1 WO 2016188029A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- information
- dimensional code
- content
- web address
- parsing
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/955—Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/955—Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
- G06F16/9554—Retrieval from the web using information identifiers, e.g. uniform resource locators [URL] by using bar codes
Definitions
- the present invention relates to the field of Internet technologies, and in particular, to a technique for analyzing a two-dimensional code.
- two-dimensional codes are widely used. Users can use the mobile phone to scan the QR code to perform operations such as downloading mobile applications, following WeChat accounts, and joining WeChat groups.
- the problem with the two-dimensional code is that it is implicit information, and the user cannot directly understand the content indicated by viewing the two-dimensional code.
- Even the criminals may use the feature of the two-dimensional code to publish illegal information such as viruses and pornography by publishing the two-dimensional code, which is more likely to threaten the user and make the user fear, dislike, and evade the use of the two-dimensional code.
- a method of parsing a two-dimensional code comprising:
- parsing result information including content information corresponding to the web address information
- an apparatus for parsing a two-dimensional code comprising:
- the present invention identifies the two-dimensional code and parses the web address information corresponding to the two-dimensional code to provide the parsing result information to the user, wherein the parsing result information includes the content information corresponding to the web address information.
- the analysis result information provided by the user for the user is explicit information.
- the user can directly understand the content indicated by the two-dimensional code by parsing the result information such as the content information.
- the user can selectively and more confidently decide whether to further perform other processing on the two-dimensional code based on the analysis result information, such as accessing a page pointed to by the website information, sharing the two-dimensional code to a friend, etc., thereby avoiding The QR code produces fear.
- the present invention can also parse only the web address information that does not belong to the problem web address, which further improves the security of the use process of the two-dimensional code.
- FIG. 1 shows a flow chart of a method of parsing a two-dimensional code according to an embodiment of the present invention
- FIG. 2 shows a schematic diagram of an apparatus for parsing a two-dimensional code, in accordance with one embodiment of the present invention.
- terminal device refers to an intelligent electronic device that can perform a predetermined process such as numerical calculation and/or logical calculation by running a predetermined program or instruction, which may include a processor and a memory, which are executed by the processor.
- the program instructions pre-stored in the memory are used to execute a predetermined process, or are executed by hardware such as an ASIC, an FPGA, a DSP, or the like, or a combination of the two.
- Terminal devices include, but are not limited to, servers, personal computers, notebook computers, tablets, smart phones, and the like.
- the terminal device includes, for example, a user equipment and a network device.
- the user equipment includes, but is not limited to, a smart phone, a PDA, a PC, a notebook computer, etc.
- the network device includes but is not limited to a single network server, a server group composed of multiple network servers, or a cloud computing based A cloud consisting of a large number of computers or network servers, where cloud computing is a type of distributed computing, a super-virtual computer composed of a group of loosely coupled computers.
- the terminal device can be separately operated to implement the present invention, and can also access the network and implement the present invention by interacting with other terminal devices in the network.
- the network where the terminal device is located includes, but is not limited to, the Internet, a wide area network, a metropolitan area network, a local area network, a VPN network, and the like.
- the user equipment, the network equipment, the network, and the like are merely examples, and other existing or future possible terminal devices or networks, as applicable to the present invention, are also included in the scope of the present invention, and It is included here by reference.
- the invention can be implemented by any terminal device having the required computing processing capabilities, such as network devices, user equipment, and the like.
- the user equipment is used as an example. Specifically, the user equipment identifies the two-dimensional code to obtain the web address information corresponding to the two-dimensional code. Then, the user equipment parses the obtained web address information to obtain corresponding parsing result information, where the parsing result information includes the content corresponding to the web address information. Information; subsequently, the user device provides the parsing result information to the user.
- the solution of the present invention can be implemented by an application installed and running in a user equipment.
- the application includes various applications running on a PC, a notebook computer, and various mobile applications (APPs) running on the mobile terminal.
- APPs mobile applications
- the solution of the present invention can be integrated as a functional module in the aforementioned application.
- the mobile terminal includes, but is not limited to, any smart operating system-based handheld electronic product, which can perform human-computer interaction with a user through an input device such as a keyboard, a virtual keyboard, a touch pad, a touch screen, and a voice control device, such as a smart phone. , tablet, etc.
- the smart operating system includes, but is not limited to, any operating system that enriches device functions by providing various mobile applications to mobile devices, such as Android, IOS, Windows Phone, and the like.
- the plug-in when the host APP detects that the currently presented content includes a two-dimensional code, the plug-in can be actively activated to identify the two-dimensional code to provide corresponding analysis to the user. Result information.
- the foregoing identification of the two-dimensional code may also be triggered by the user, such as the user triggering the operation by clicking the two-dimensional code or the like, so that the two-dimensional code recognition plug-in is activated to recognize the clicked two-dimensional code.
- the instant messaging APP used by the user receives the two-dimensional code sent by the friend
- the instant messaging APP identifies the two-dimensional code to present the analysis result information to the user.
- the instant messaging APP may present only the parsing result information to the user without presenting the original two-dimensional code.
- the instant messaging APP may also present the parsing result information to the user together with the original two-dimensional code, such as being presented under the original two-dimensional code. Then, the user can also selectively and more confidently decide whether to further perform other processing on the two-dimensional code based on the parsing result information, such as accessing a page pointed to by the web address information corresponding to the two-dimensional code, or the two-dimensional Share code to friends and more.
- the browser when the browser detects that the page includes the two-dimensional code, it can ask the user whether to recognize the two-dimensional code, and when the user confirms the recognition, the browser starts to recognize the two-dimensional code.
- the present invention is mostly exemplified by user equipment analyzing a two-dimensional code. It should be understood by those skilled in the art that other existing or future devices that may be used to resolve the two-dimensional code, as applicable to the present invention, are also included in the scope of the present invention and are hereby incorporated by reference. this.
- the problem with the two-dimensional code is that it belongs to implicit information, and the user cannot directly understand the content indicated by viewing the two-dimensional code.
- the existing two-dimensional code scanning mobile application APP
- APP two-dimensional code scanning mobile application
- Text information If the text information is actually a web address information, the existing QR code scanning mobile application cannot further process the web address information.
- the URL information is still implicit information, and the user still cannot use the URL information to know what the content indicated by the QR code is. This makes the user more confused.
- the analysis result information provided by the user for the user is not simple text information.
- the parsing result information provided by the user in the present invention is explicit information, and the parsing result information includes the content information corresponding to the web address information.
- the user can directly understand the content indicated by the two-dimensional code by parsing the result information such as the content information.
- the user does not generate fear of the two-dimensional code, and can selectively and more confidently decide whether to further perform other processing on the two-dimensional code based on the analysis result information, such as accessing the page pointed to by the website information, Share the QR code to your friends and more.
- step S1 shows a method flow diagram in accordance with one embodiment of the present invention, which specifically illustrates a process of resolving a two-dimensional code.
- step S2 the user equipment identifies the two-dimensional code to obtain the web address information corresponding to the two-dimensional code.
- step S2 the user equipment parses the obtained web address information to obtain corresponding parsing result information, and the parsing result information includes the web address.
- step S1 the user equipment identifies the two-dimensional code to obtain the website information corresponding to the two-dimensional code.
- the user equipment can obtain the two-dimensional code to be identified in at least two ways:
- the user device scans the two-dimensional code through its camera.
- the user scans a two-dimensional code presented on a display screen of a PC, or a medium such as a roadside billboard through a camera of the user device. Accordingly, the user equipment obtains the two-dimensional code.
- the user device reads the two-dimensional code stored therein.
- the user selects a two-dimensional code in the picture library of the user equipment or currently presented by the user equipment to enable the user equipment to recognize the two-dimensional code. Accordingly, the user equipment obtains the two-dimensional code.
- the user equipment can identify the geometric shape in the two-dimensional code and obtain the text information corresponding to the two-dimensional code. Then, the user equipment determines whether the text information conforms to the web address format, and if it matches, the text information is the web address information obtained by the user equipment.
- the present invention is only processed for URL information that conforms to the URL format.
- Other textual information in the form of a web address is not specifically treated by the present invention.
- the user equipment may determine whether the text information conforms to the web address format according to whether the text information includes a URL character string such as “http://”, “www”, “.com”, “.cn”, “.net”.
- the user device can also verify the text information by verifying that the text information conforms to the regular expression of the URL format.
- the user equipment can identify only one two-dimensional code at a time to obtain the website information corresponding to the two-dimensional code.
- the user equipment may also identify a plurality of two-dimensional codes in batches to obtain web address information corresponding to the two-dimensional codes.
- the process further includes step S0 (not shown in FIG. 1): when detecting that the two-dimensional code is included in the information to be presented, the user equipment initiates identification of the included two-dimensional code.
- the presentation of the information should be understood in a broad sense, which is intended to be defined from the time domain, and only represents the processed state of the information before it is presented to the user. For example, when the browser loads the page but has not yet presented the page to the user, it is detected that the page includes the two-dimensional code, and since the page has not been presented to the user at this time, it is the information to be presented.
- the instant messaging application presents the received message to the user, it usually detects the message before presenting the message to the user, and the message is the information to be presented.
- step S2 the user equipment parses the obtained web address information to obtain corresponding parsing result information, and the parsing result information includes content information corresponding to the web address information.
- the web address information corresponding to the two-dimensional code may point to specific information, such as an application download, an account pointing to the instant messaging software (such as a WeChat account), and a group (such as a WeChat group).
- the URL information corresponding to the QR code may also point to a content-based webpage, such as a webpage including news, articles, articles, and the like.
- the parsing result information means information of a result obtained by the user equipment analyzing the web address information.
- the parsing result information is explicit information.
- the result information is analyzed, for example, content information corresponding to the website information.
- the content information corresponding to the website information includes, but is not limited to, various indications or information representing the contents of the page pointed to by the website information.
- the manner in which the user equipment parses the web address information to obtain the content information corresponding thereto includes, but is not limited to, the following two types:
- the user equipment determines the corresponding address information according to the character feature information of the website information. Content information.
- the character feature information of the web address information includes, but is not limited to, various combinations of characters or characters that can form a specific meaning.
- the user equipment may query the content information database according to the character feature information of the website information to obtain the content information corresponding to the website information.
- the content information database may store a correspondence between the character feature information and the content information, so that the user equipment directly obtains the content information corresponding to the character feature information by using the query.
- the character feature information is "XXXX.apk”, and the corresponding content information can be determined as "application download”. Further, the content information corresponding to the character feature information may further include a name of the application, such as “Baidu Mobile Assistant APP”.
- the character feature information is "weixin.qq.com/r/”
- the corresponding content information can be determined as "WeChat account”.
- the content information corresponding to the character feature information may further include a name of a WeChat account such as “hardware fitness”, and a category of a WeChat account such as “personal number” and “public number”.
- the character feature information is "weibo.com/u/"
- the corresponding content information can be determined as "microblog account”.
- the content information corresponding to the character feature information may further include a name of a microblog account such as “3W Coffee”.
- the character feature information is “weixin.qq.com/g/”, and the corresponding content information may be determined as “WeChat group”. Further, the content information corresponding to the character feature information may further include a name of the WeChat group, such as “NBA Playoff Discussion” and the like.
- the first aspect of the method of parsing the web address information is mainly used when the web address information points to a non-content web page.
- the user equipment sends a page content acquisition request to the corresponding web server according to the website information. Then, the user equipment determines the content information corresponding to the web address information based on the response of the web server.
- the network server may be a web server corresponding to the website information.
- the URL information http://sports.sina.com.cn/nba/ corresponds to the web server of Sina.com.
- the website information http://tv.sohu.com/ corresponds to the web server of Sohu.com.
- User equipment can Sending a page content acquisition request to the web server corresponding to the web address information, and then the user equipment determines the content information corresponding to the web address information based on all or part of the page content information that the web server responds. For example, the user equipment may extract the page title, the picture in the page from the page content information responded by the web server as the content information of the content in the page pointed to by the website information.
- the web server may also be a specific web server dedicated to direct feedback of content information.
- the specific web server can pre-store the correspondence between the web address information and the content information.
- the user equipment may send a page content acquisition request to the specific network server according to the website information, and then the specific network server directly feeds back the content information corresponding to the website information to the user equipment, and accordingly, the user equipment is based on the specific network.
- the response of the server directly obtains the content information corresponding to the URL information.
- the second way of analyzing the web address information is mainly used when the web address information points to the content web page.
- the parsing result information further includes content quality assessment information corresponding to the content information.
- the content quality assessment information includes, but is not limited to, information on the quality of various assessment contents.
- the content quality assessment information may be in the form of a 5-point system, a 100-point system, or the like, or may be in the form of a good intermediate grade or the like.
- the content quality assessment information may be determined, for example, based on whether the content of the page corresponding to the web address information is complete and the style is beautiful.
- the content quality assessment information corresponding to the content information proposed by the present invention may be provided to the user together with the content information in a subsequent step, so that the user can selectively determine based on the content information and the content quality assessment information corresponding thereto. Whether to further perform other processing on the two-dimensional code, such as accessing the page pointed to by the web address information corresponding to the two-dimensional code, or sharing the two-dimensional code to a friend or the like.
- the content information includes account information of the publisher of the two-dimensional code
- the quality assessment information includes quality assessment information for the account.
- the account information of the publisher of the two-dimensional code is, for example, the aforementioned WeChat account, Weibo account, and the like.
- the quality assessment information for such accounts may be determined based on information published on such accounts (such as WeChat information posted by the WeChat public account and Weibo information published by the Weibo account). For example, if most of the information published by an account is information containing advertisement keywords, or is existing information on the Internet (non-original content), or both have high repetition rate with existing information (low originality) Content), the quality assessment information of the account can be determined to be below 60 points or fail.
- the quality assessment information of the account proposed by the invention can objectively evaluate the advantages and disadvantages of the account. Since there is a large amount of low-quality account information, the quality assessment information of the account provided by the present invention can be selectively used by the user to further determine whether to further process the QR code, such as the account of the publisher of the QR code. Pull the publisher's account of the QR code to black.
- the user equipment may further determine, according to the question URL database, whether the web address information belongs to the question web address, to parse the web address information that does not belong to the question web address in step S2. .
- the problem URL includes but is not limited to the URL of the page content that is suspected of fraud, reactionary speech, and the like, as well as the URL of the content including the virus.
- One or more question URLs may be saved in the question URL library for the user device to determine whether the URL information belongs to the question URL by querying.
- the problem URL library may be a database local to the user equipment or a network database in the cloud.
- the user equipment may send a question URL query request to the network server to obtain a result of whether the web address information determined by the web server by querying the network database belongs to the problem web address.
- the user device For URL information that is part of the problem URL, the user device will no longer process it. This kind of processing can prevent user equipment from being infected with viruses.
- the user equipment only parses the web address information that does not belong to the question URL (step S2). This improves the security of the process of using the QR code.
- step S3 the user equipment provides the obtained analysis result information to the user.
- the user equipment can present the obtained analysis result information to the user.
- the parsing result information may include content information of the web address information corresponding to the two-dimensional code. Analyze the result information Content quality assessment information corresponding to the content information may be included.
- the user can directly understand the content indicated by the QR code by parsing the result information.
- the user can also selectively and more confidently decide whether to further perform other processing on the two-dimensional code based on the analysis result information, such as accessing a page pointed to by the website information, sharing the two-dimensional code to a friend, and the like. For example, if the user sees "hard-working fitness WeChat account", they can choose to use WeChat to scan the QR code to pay attention to the WeChat account. For another example, if the user sees "application download of Baidu mobile assistant", he can choose to use the browser to scan the QR code to download the application.
- the user equipment can invoke an application corresponding to the content information to load the content information in the called application.
- the content information is “WeChat account of hard fitness”
- the user equipment can call WeChat APP and pass the URL information as a parameter to the WeChat APP.
- the WeChat APP can load corresponding content information based on the URL information, that is, load a page for paying attention to the WeChat account of "hardcore fitness”.
- the content information is “application download of Baidu mobile assistant”, or ordinary page content including content such as page title, and the user equipment can invoke the browser APP and pass the web address information as a parameter to the browser APP.
- the browser APP can load the corresponding content information based on the URL information, that is, download the Baidu mobile assistant APP or open the page.
- FIG. 2 shows a schematic diagram of a device according to an embodiment of the invention, which specifically shows a device for resolving a two-dimensional code, namely a resolution device 10.
- the providing device 10 is installed in the user equipment, and specifically includes the devices 11-13.
- the device 11 recognizes the two-dimensional code to obtain the web address information corresponding to the two-dimensional code (for convenience of distinction, the device 11 is hereinafter referred to as the two-dimensional code identifying device 11); the device 12 parses the obtained web address information to obtain a corresponding parsing
- the result information, the analysis result information includes content information corresponding to the web address information (for convenience of distinction, the device 12 is hereinafter referred to as the web address information parsing device 12); the device 13 provides the parsing result information to the user (for ease of differentiation, the device 13 is provided below) This is called an analysis result providing means 13).
- the two-dimensional code recognition device 11 recognizes the two-dimensional code to obtain the web address information corresponding to the two-dimensional code.
- the two-dimensional code recognition device 11 can obtain the two-dimensional code to be identified in at least two ways:
- the two-dimensional code recognition device 11 scans the two-dimensional code through the camera of the user equipment in which it is located.
- the user scans a two-dimensional code presented on a display screen of a PC, or a medium such as a roadside billboard through a camera of the user device. Accordingly, the two-dimensional code identifying means 11 obtains the two-dimensional code.
- the two-dimensional code recognition means 11 reads the two-dimensional code stored in the user equipment in which it is located.
- the user selects a two-dimensional code in the picture library of the user equipment or currently presented by the user equipment to enable the user equipment to recognize the two-dimensional code. Accordingly, the two-dimensional code identifying means 11 obtains the two-dimensional code.
- the two-dimensional code recognition device 11 can recognize the geometric shape in the two-dimensional code and obtain the text information corresponding to the two-dimensional code. Next, the two-dimensional code identifying means 11 determines whether the text information conforms to the web address format, and if so, the text information is the web address information obtained by the two-dimensional code identifying means 11.
- the present invention is only processed for URL information that conforms to the URL format.
- the present invention does not perform special processing for other text information that does not conform to the URL format.
- the two-dimensional code recognition device 11 can determine whether the text information is based on whether the text information includes a URL character string such as "http://", "www", “.com”, “.cn”, “.net”, or the like. Match the URL format. Alternatively, the two-dimensional code recognition means 11 may also verify the text information by verifying whether the text information conforms to the regular expression of the URL format.
- the two-dimensional code recognition device 11 can recognize only one two-dimensional code at a time to obtain the web address information corresponding to the two-dimensional code.
- the two-dimensional code recognition device 11 may also identify a plurality of two-dimensional codes in batches to obtain web address information corresponding to the two-dimensional codes.
- the parsing device 10 further includes a two-dimensional code detecting device (not shown in Fig. 2).
- the two-dimensional code detecting means initiates recognition of the included two-dimensional code when detecting that the two-dimensional code is included in the information to be presented, such as transmitting a trigger signal to the two-dimensional code identifying means 11.
- the presentation of the information should be understood in a broad sense, which is intended to be defined from the time domain, and only represents the processed state of the information before it is presented to the user. For example, when the browser loads the page but has not yet presented the page to the user, it detects that the page includes the two-dimensional code, because the page has not been presented yet. The user is the information to be presented. For another example, when the instant messaging application presents the received message to the user, it usually detects the message before presenting the message to the user, and the message is the information to be presented.
- the URL information parsing device 12 parses the obtained web address information to obtain corresponding parsing result information, and the parsing result information includes content information corresponding to the web address information.
- the web address information corresponding to the two-dimensional code may point to specific information, such as an application download, an account pointing to the instant messaging software (such as a WeChat account), and a group (such as a WeChat group).
- the URL information corresponding to the QR code may also point to a content-based webpage, such as a webpage including news, articles, articles, and the like.
- the parsing result information means information of a result obtained by the user equipment analyzing the web address information.
- the parsing result information is explicit information.
- the result information is analyzed, for example, content information corresponding to the website information.
- the content information corresponding to the website information includes, but is not limited to, various indications or information representing the contents of the page pointed to by the website information.
- the manner in which the URL information parsing device 12 parses the web address information to obtain the content information corresponding thereto includes, but is not limited to, the following two types:
- the URL information analyzing device 12 determines the content information corresponding to the web address information based on the character feature information of the web address information.
- the character feature information of the web address information includes, but is not limited to, various combinations of characters or characters that can form a specific meaning.
- the URL information parsing device 12 can query the content information database according to the character feature information of the web address information to obtain the content information corresponding to the web address information.
- the content information database may store the correspondence between the character feature information and the content information, so that the web address information analyzing device 12 directly obtains the content information corresponding to the character feature information by querying.
- the character feature information is "XXXX.apk”, and the corresponding content information can be determined as "application download”. Further, the content information corresponding to the character feature information may further include a name of the application, such as “Baidu Mobile Assistant APP”.
- the character feature information is "weixin.qq.com/r/”, and the corresponding content information can be determined as "WeChat account”.
- the content information corresponding to the character feature information may also To include the name of a WeChat account such as "hardcore fitness”, and the category of WeChat accounts such as "personal number” and "public number”.
- the character feature information is "weibo.com/u/"
- the corresponding content information can be determined as "microblog account”.
- the content information corresponding to the character feature information may further include a name of a microblog account such as “3W Coffee”.
- the character feature information is “weixin.qq.com/g/”, and the corresponding content information may be determined as “WeChat group”. Further, the content information corresponding to the character feature information may further include a name of the WeChat group, such as “NBA Playoff Discussion” and the like.
- the first aspect of the method of parsing the web address information is mainly used when the web address information points to a non-content web page.
- the web address information analyzing device 12 transmits a page content obtaining request to the corresponding web server according to the web address information. Next, the URL information analyzing device 12 determines the content information corresponding to the web address information based on the response of the web server.
- the network server may be a web server corresponding to the website information.
- the URL information http://sports.sina.com.cn/nba/ corresponds to the web server of Sina.com.
- the website information http://tv.sohu.com/ corresponds to the web server of Sohu.com.
- the URL information analyzing device 12 may send a page content obtaining request to the web server corresponding to the web address information, and then the web address information analyzing device 12 determines the content information corresponding to the web address information based on all or part of the page content information responded by the web server. .
- the web address information analyzing device 12 may extract a page title and a picture in the page from the page content information responded by the web server as content information representing the content in the page pointed to by the web address information.
- the web server may also be a specific web server dedicated to direct feedback of content information.
- the specific web server can pre-store the correspondence between the web address information and the content information.
- the webpage information parsing device 12 can send a webpage content acquisition request to the specific web server according to the webpage information, and then the specific web server directly feeds back the content information corresponding to the webpage information to the user equipment, and correspondingly, the user equipment
- the URL information analyzing device 12 directly obtains the content information corresponding to the web address information based on the response of the specific web server.
- the second way of analyzing the URL information is mainly used for the URL information pointing The situation of the content page.
- the parsing result information further includes content quality assessment information corresponding to the content information.
- the content quality assessment information includes, but is not limited to, information on the quality of various assessment contents.
- the content quality assessment information may be in the form of a 5-point system, a 100-point system, or the like, or may be in the form of a good intermediate grade or the like.
- the content quality assessment information may be determined, for example, based on whether the content of the page corresponding to the web address information is complete and the style is beautiful.
- the content quality assessment information corresponding to the content information proposed by the present invention may be provided to the user together with the content information in a subsequent operation, so that the user can selectively determine based on the content information and the content quality assessment information corresponding thereto. Whether to further perform other processing on the two-dimensional code, such as accessing the page pointed to by the web address information corresponding to the two-dimensional code, or sharing the two-dimensional code to a friend or the like.
- the content information includes account information of the publisher of the two-dimensional code
- the content quality assessment information includes quality assessment information for the account.
- the account information of the publisher of the two-dimensional code is, for example, the aforementioned WeChat account, Weibo account, and the like.
- the quality assessment information for such accounts may be determined based on information published on such accounts (such as WeChat information posted by the WeChat public account and Weibo information published by the Weibo account). For example, if most of the information published by an account is information containing advertisement keywords, or is existing information on the Internet (non-original content), or both have high repetition rate with existing information (low originality) Content), the quality assessment information of the account can be determined to be below 60 points or fail.
- the quality assessment information of the account proposed by the invention can objectively evaluate the advantages and disadvantages of the account. Since there is a large amount of low-quality account information, the quality assessment information of the account provided by the present invention can be selectively used by the user to further determine whether to further process the QR code, such as the account of the publisher of the QR code. The account number of the publisher of the QR code Pull black and so on.
- the parsing device may further include a question URL determining device (not shown in FIG. 2).
- the question web address determining device may further determine whether the web address information belongs to the question based on the question web address library.
- the URL transmits the URL information not belonging to the question URL to the URL information analyzing device 12. Accordingly, the URL information analyzing device 12 parses the web address information that does not belong to the question URL.
- the problem URL includes but is not limited to the URL of the page content that is suspected of fraud, reactionary speech, and the like, as well as the URL of the content including the virus.
- One or more question URLs may be saved in the question URL library for the question URL determining device to determine whether the URL information belongs to the question URL by querying.
- the problem URL library may be a database local to the user equipment or a network database in the cloud.
- the problem URL determining means may send a question URL query request to the web server to obtain a result of whether the web address information determined by the web server by querying the web database belongs to the question URL.
- the parsing device 10 will not process it. This kind of processing can prevent user equipment from being infected with viruses.
- the web address information analyzing device 12 of the analyzing device 10 analyzes only the web address information that does not belong to the question URL (step S2). This improves the security of the process of using the QR code.
- the analysis result providing means 13 supplies the obtained analysis result information to the user.
- the analysis result providing means 13 can present the obtained analysis result information to the user.
- the parsing result information may include content information of the web address information corresponding to the two-dimensional code.
- the parsing result information may further include content quality assessment information corresponding to the content information.
- the user can directly understand the content indicated by the QR code by parsing the result information.
- the user can also selectively and more confidently decide whether to further perform other processing on the two-dimensional code based on the analysis result information, such as accessing a page pointed to by the website information, sharing the two-dimensional code to a friend, and the like. For example, if the user sees "hard-working fitness WeChat account", they can choose to use WeChat to scan the QR code to pay attention to the WeChat account. For another example, if the user sees "application download of Baidu mobile assistant", he can choose to use the browser to scan the QR code to download the application.
- the parsing result providing device 13 can invoke an application corresponding to the content information, To load content information in the called application.
- the content information is “WeChat account of hard fitness”
- the parsing result providing device 13 can call the WeChat APP and pass the web address information as a parameter to the WeChat APP.
- the WeChat APP can load corresponding content information based on the URL information, that is, load a page for paying attention to the WeChat account of "hardcore fitness”.
- the content information is “application download of Baidu mobile assistant”, or ordinary page content including content such as page title
- the parsing result providing device 13 may invoke the browser APP and transmit the web address information as a parameter to the browser APP.
- the browser APP can load the corresponding content information based on the URL information, that is, download the Baidu mobile assistant APP or open the page.
- the above-mentioned parsing device 10 for analyzing the two-dimensional code can be combined with the existing instant messaging software to form a new instant communication software
- the existing instant communication software includes Baidu Hi, Tencent Company, for example, Baidu Company. QQ, WeChat, Xiaomi company's rice chat, Microsoft's MSN and so on.
- the above-mentioned analytical device 10 for analyzing the two-dimensional code can be combined with the existing two-dimensional code recognition application to form a new two-dimensional code recognition application, and the existing two-dimensional code recognition
- the application includes an application for identifying only the two-dimensional code, a two-dimensional code recognition module in the application, and the like.
- the present invention can be implemented in software and/or a combination of software and hardware.
- the various devices of the present invention can be implemented using an application specific integrated circuit (ASIC) or any other similar hardware device.
- the software program of the present invention may be executed by a processor to implement the steps or functions described above.
- the software program (including related data structures) of the present invention can be stored in a computer readable recording medium such as a RAM memory, a magnetic or optical drive or a floppy disk and the like.
- some of the steps or functions of the present invention may be implemented in hardware, for example, as a circuit that cooperates with a processor to perform various steps or functions.
- a method of parsing a two-dimensional code comprising:
- parsing result information including content information corresponding to the web address information
- parsing result information further comprises content quality rating information corresponding to the content information.
- the identification of the included two-dimensional code is initiated.
- An apparatus for parsing a two-dimensional code wherein the apparatus comprises:
- the content information comprises account information of a publisher of the two-dimensional code, the content quality rating information comprising quality rating information for the account.
- Means for initiating recognition of the included two-dimensional code when detecting that the two-dimensional code is included in the information to be presented are provided.
- An instant messaging software comprising the apparatus for parsing a two-dimensional code as set forth in any one of clauses 8 to 16.
- a two-dimensional code recognition application comprising the apparatus for resolving a two-dimensional code as set forth in any one of clauses 8 to 16.
- a computer readable storage medium comprising computer instructions, the method of any one of clauses 1 to 8 being performed when the computer instructions are executed.
- a terminal device comprising a memory and a processor, the memory storing computer instructions, the processor being configured to perform the computer instructions to perform any of clauses 1-8 Said method.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Databases & Information Systems (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Between Computers (AREA)
Abstract
Description
Claims (21)
- 一种解析二维码的方法,其中,该方法包括:-识别二维码,以获得所述二维码所对应的网址信息;-解析所述网址信息,以获得相应的解析结果信息,所述解析结果信息包括所述网址信息所对应的内容信息;-将所述解析结果信息提供给用户。
- 根据权利要求1所述的方法,其中,所述解析所述网址信息的步骤具体包括:-根据所述网址信息的字符特征信息,确定所述网址信息所对应的内容信息。
- 根据权利要求1所述的方法,其中,所述解析所述网址信息的步骤具体包括:-根据所述网址信息,向相应网络服务器发送页面内容获取请求;-基于所述网络服务器的响应,确定所述网址信息所对应的内容信息。
- 根据权利要求1至3中任一项所述的方法,其中,所述解析结果信息还包括所述内容信息所对应的内容质量评定信息。
- 根据权利要求4所述的方法,其中,所述内容信息包括所述二维码的发布者的账号信息,所述内容质量评定信息包括对所述账号的质量评定信息。
- 根据权利要求1至5中任一项所述的方法,其中,在解析所述网址信息之前,该方法还包括:-基于问题网址库,确定所述网址信息是否属于问题网址,以对不属于问题网址的网址信息进行解析。
- 根据权利要求1至6中任一项所述的方法,其中,所述提供解析结果信息的步骤具体包括:-调用所述内容信息所对应的应用,以在所述应用中加载所述内容信息。
- 根据权利要求1至7中任一项所述的方法,其中,该方法还包括:-当检测到待呈现信息中包括二维码时,启动对所包括的二维码的识别。
- 一种解析二维码的装置,其中,该装置包括:-用于识别二维码,以获得所述二维码所对应的网址信息的装置;-用于解析所述网址信息,以获得相应的解析结果信息的装置,所述解析结果信息包括所述网址信息所对应的内容信息;-用于将所述解析结果信息提供给用户的装置。
- 根据权利要求9所述的装置,其中,所述解析所述网址信息的装置具体用于:-根据所述网址信息的字符特征信息,确定所述网址信息所对应的内容信息。
- 根据权利要求9所述的装置,其中,所述解析所述网址信息的装置具体用于:-根据所述网址信息,向相应网络服务器发送页面内容获取请求;-基于所述网络服务器的响应,确定所述网址信息所对应的内容信息。
- 根据权利要求9至11中任一项所述的装置,其中,所述解析结果信息还包括所述内容信息所对应的内容质量评定信息。
- 根据权利要求12所述的装置,其中,所述内容信息包括所述二维码的发布者的账号信息,所述内容质量评定信息包括对所述账号的质量评定信息。
- 根据权利要求9至13中任一项所述的装置,其中,该装置还包括:-用于基于问题网址库,确定所述网址信息是否属于问题网址的装置,以将不属于问题网址的网址信息传递给所述解析所述网址信息的装置。
- 根据权利要求9至14中任一项所述的装置,其中,所述提供解 析结果信息的装置具体用于:-调用所述内容信息所对应的应用,以在所述应用中加载所述内容信息。
- 根据权利要求9至15中任一项所述的装置,其中,该装置还包括:-用于当检测到待呈现信息中包括二维码时,启动对所包括的二维码的识别的装置。
- 一种即时通信软件,包括如权利要求8至16中任一项所述的解析二维码的装置。
- 一种二维码识别应用,包括如权利要求8至16中任一项所述的解析二维码的装置。
- 一种计算机可读存储介质,所述计算机可读存储介质包括计算机指令,当所述计算机指令被执行时,如权利要求1至8中任一项所述的方法被执行。
- 一种计算机程序产品,当所述计算机程序产品被执行时,如权利要求1至8中任一项所述的方法被执行。
- 一种终端设备,所述终端设备包括存储器和处理器,所述存储器中存储有计算机指令,所述处理器被配置来通过执行所述计算机指令以执行如权利要求1至8中任一项所述的方法。
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017508045A JP6500086B2 (ja) | 2015-05-26 | 2015-10-27 | 二次元コードの解析方法および装置、コンピュータ読み取り可能な記憶媒体、コンピュータプログラムおよび端末機器 |
KR1020177003943A KR101952248B1 (ko) | 2015-05-26 | 2015-10-27 | 2차원 코드를 해석하는 방법 및 장치, 컴퓨터 판독 가능한 저장 매체, 컴퓨터 프로그램 제품 및 단말기 장치 |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510276602.4 | 2015-05-26 | ||
CN201510276602.4A CN104991896A (zh) | 2015-05-26 | 2015-05-26 | 一种解析二维码的方法与装置 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2016188029A1 true WO2016188029A1 (zh) | 2016-12-01 |
Family
ID=54303712
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2015/092958 WO2016188029A1 (zh) | 2015-05-26 | 2015-10-27 | 解析二维码的方法及装置、计算机可读存储介质、计算机程序产品与终端设备 |
Country Status (4)
Country | Link |
---|---|
JP (1) | JP6500086B2 (zh) |
KR (1) | KR101952248B1 (zh) |
CN (1) | CN104991896A (zh) |
WO (1) | WO2016188029A1 (zh) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112887695A (zh) * | 2021-01-07 | 2021-06-01 | 深圳市大富网络技术有限公司 | 一种全景图共享处理方法、系统以及终端 |
CN113935353A (zh) * | 2020-07-13 | 2022-01-14 | 游戏橘子数位科技股份有限公司 | 自动读取编码图形的方法 |
CN114330406A (zh) * | 2021-12-29 | 2022-04-12 | 浪潮卓数大数据产业发展有限公司 | 一种基于移动端的二维码处理方法、设备及介质 |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104991896A (zh) * | 2015-05-26 | 2015-10-21 | 百度在线网络技术(北京)有限公司 | 一种解析二维码的方法与装置 |
CN105721462B (zh) * | 2016-02-01 | 2020-05-29 | 百度在线网络技术(北京)有限公司 | 信息推送的方法和装置 |
CN107391754A (zh) * | 2017-08-16 | 2017-11-24 | 重庆红村网络信息技术有限公司 | 信息获取方法及装置 |
CN110119967A (zh) * | 2018-02-07 | 2019-08-13 | 阿里巴巴集团控股有限公司 | 图像的处理方法、系统、移动终端及产品分享方法 |
CN110321498A (zh) * | 2018-03-30 | 2019-10-11 | 上海连尚网络科技有限公司 | 一种二维码生成和解析方法及设备 |
KR101985011B1 (ko) * | 2018-11-26 | 2019-05-31 | 김진만 | 가상 시리얼 포트를 이용한 전자처방전 전송방법 |
CN110532331A (zh) * | 2019-09-05 | 2019-12-03 | 腾讯科技(深圳)有限公司 | 一种对象类型确定的方法以及相关装置 |
WO2024062524A1 (ja) * | 2022-09-20 | 2024-03-28 | 日本電信電話株式会社 | 情報伝送システム、送信装置、受信装置、情報伝送方法およびプログラム |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102664987A (zh) * | 2012-03-23 | 2012-09-12 | 叶明� | 一种基于手机二维码扫描链接网址前的警示方法 |
CN102882993A (zh) * | 2012-10-19 | 2013-01-16 | 北京奇虎科技有限公司 | 计算设备及其下载方法 |
CN103984697A (zh) * | 2014-04-08 | 2014-08-13 | 百度在线网络技术(北京)有限公司 | 条码信息的处理方法、装置及系统 |
CN104052722A (zh) * | 2013-03-15 | 2014-09-17 | 腾讯科技(深圳)有限公司 | 网址安全性检测的方法、装置及系统 |
CN104462233A (zh) * | 2014-11-12 | 2015-03-25 | 刘文金 | 一种信息采集传播方法和系统 |
CN104991896A (zh) * | 2015-05-26 | 2015-10-21 | 百度在线网络技术(北京)有限公司 | 一种解析二维码的方法与装置 |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006040221A (ja) * | 2004-07-30 | 2006-02-09 | Carry All:Kk | 通信ネットワークを利用した2次元コードと署名または捺印との組合せデジタル画像データによる適正業務遂行の確認システム |
JP4973912B2 (ja) * | 2006-04-21 | 2012-07-11 | 日本電気株式会社 | 携帯端末、アクセス制限方法 |
JP2009009292A (ja) * | 2007-06-27 | 2009-01-15 | Tokyo Univ Of Science | 2次元コードを用いたコンテンツ提供装置、アクセサリ及びスタンプ |
JP4926130B2 (ja) * | 2008-05-27 | 2012-05-09 | ヤフー株式会社 | メッセージ判定装置、方法及びプログラム |
JP2010079688A (ja) * | 2008-09-26 | 2010-04-08 | Casio Hitachi Mobile Communications Co Ltd | 端末装置及びプログラム |
JP5033900B2 (ja) * | 2010-06-29 | 2012-09-26 | 京セラコミュニケーションシステム株式会社 | 診断サーバ装置 |
JP2012123598A (ja) * | 2010-12-08 | 2012-06-28 | Mitsubishi Electric Corp | 情報処理装置、表示方法及びプログラム |
JP5906176B2 (ja) * | 2012-12-12 | 2016-04-20 | 日本電信電話株式会社 | 興味分野比較分析装置及び方法及びプログラム |
-
2015
- 2015-05-26 CN CN201510276602.4A patent/CN104991896A/zh active Pending
- 2015-10-27 JP JP2017508045A patent/JP6500086B2/ja active Active
- 2015-10-27 KR KR1020177003943A patent/KR101952248B1/ko active IP Right Grant
- 2015-10-27 WO PCT/CN2015/092958 patent/WO2016188029A1/zh active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102664987A (zh) * | 2012-03-23 | 2012-09-12 | 叶明� | 一种基于手机二维码扫描链接网址前的警示方法 |
CN102882993A (zh) * | 2012-10-19 | 2013-01-16 | 北京奇虎科技有限公司 | 计算设备及其下载方法 |
CN104052722A (zh) * | 2013-03-15 | 2014-09-17 | 腾讯科技(深圳)有限公司 | 网址安全性检测的方法、装置及系统 |
CN103984697A (zh) * | 2014-04-08 | 2014-08-13 | 百度在线网络技术(北京)有限公司 | 条码信息的处理方法、装置及系统 |
CN104462233A (zh) * | 2014-11-12 | 2015-03-25 | 刘文金 | 一种信息采集传播方法和系统 |
CN104991896A (zh) * | 2015-05-26 | 2015-10-21 | 百度在线网络技术(北京)有限公司 | 一种解析二维码的方法与装置 |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113935353A (zh) * | 2020-07-13 | 2022-01-14 | 游戏橘子数位科技股份有限公司 | 自动读取编码图形的方法 |
CN112887695A (zh) * | 2021-01-07 | 2021-06-01 | 深圳市大富网络技术有限公司 | 一种全景图共享处理方法、系统以及终端 |
CN114330406A (zh) * | 2021-12-29 | 2022-04-12 | 浪潮卓数大数据产业发展有限公司 | 一种基于移动端的二维码处理方法、设备及介质 |
Also Published As
Publication number | Publication date |
---|---|
KR101952248B1 (ko) | 2019-02-26 |
CN104991896A (zh) | 2015-10-21 |
JP6500086B2 (ja) | 2019-04-10 |
JP2017534097A (ja) | 2017-11-16 |
KR20170030622A (ko) | 2017-03-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2016188029A1 (zh) | 解析二维码的方法及装置、计算机可读存储介质、计算机程序产品与终端设备 | |
US10187419B2 (en) | Method and system for processing notification messages of a website | |
CN101504673B (zh) | 一种识别疑似仿冒网站的方法与系统 | |
US20150127838A1 (en) | Page Operation Processing Method and Apparatus, and Terminal | |
CN104346396B (zh) | 一种即时通讯客户端的数据处理方法、装置、终端及系统 | |
WO2016138767A1 (zh) | 一种用于提供推荐信息的方法与设备 | |
CN105868290B (zh) | 一种展现搜索结果的方法及装置 | |
WO2015109928A1 (zh) | 一种加载推荐信息、网址检测的方法、装置和系统 | |
CN102541853A (zh) | 一种利用浏览器地址栏获取应用信息的方法和装置 | |
KR20080052097A (ko) | 웹 구조정보를 이용한 유해 사이트 차단 방법 및 장치 | |
WO2012094965A1 (zh) | 提示消息呈现方法、终端和服务器 | |
US11960834B2 (en) | Reader mode-optimized attention application | |
WO2014154033A1 (en) | Method and apparatus for extracting web page content | |
CN103986731A (zh) | 通过图片匹配来检测钓鱼网页的方法及装置 | |
JP2012088803A (ja) | 悪性ウェブコード判別システム、悪性ウェブコード判別方法および悪性ウェブコード判別用プログラム | |
US9584537B2 (en) | System and method for detecting mobile cyber incident | |
US20160342457A1 (en) | Processing a request for a web resource | |
US9967217B2 (en) | Method and device for displaying instant messaging messages | |
CN104965926B (zh) | 网页提供方法及装置 | |
CN104933061B (zh) | 字符串检测方法、装置及电子设备 | |
CN103425696A (zh) | 网络搜索行为识别方法及其系统 | |
US20240171609A1 (en) | Generating a content signature of a textual communication using optical character recognition and text processing | |
US11962618B2 (en) | Systems and methods for protection against theft of user credentials by email phishing attacks | |
Chorghe et al. | A solution to detect phishing in android devices | |
CN115695364A (zh) | 邮件处理方法、装置、设备和介质 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 15893105 Country of ref document: EP Kind code of ref document: A1 |
|
ENP | Entry into the national phase |
Ref document number: 2017508045 Country of ref document: JP Kind code of ref document: A Ref document number: 20177003943 Country of ref document: KR Kind code of ref document: A |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 15893105 Country of ref document: EP Kind code of ref document: A1 |