CN111368578A - Information processing method and electronic equipment - Google Patents

Information processing method and electronic equipment Download PDF

Info

Publication number
CN111368578A
CN111368578A CN202010287176.5A CN202010287176A CN111368578A CN 111368578 A CN111368578 A CN 111368578A CN 202010287176 A CN202010287176 A CN 202010287176A CN 111368578 A CN111368578 A CN 111368578A
Authority
CN
China
Prior art keywords
application
dimensional code
identification result
electronic device
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010287176.5A
Other languages
Chinese (zh)
Inventor
黄大荣
刘旭国
张晓军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN202010287176.5A priority Critical patent/CN111368578A/en
Publication of CN111368578A publication Critical patent/CN111368578A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)
  • Stored Programmes (AREA)

Abstract

The embodiment of the application provides an information processing method and electronic equipment, which are used for reducing the time spent by the electronic equipment in identifying a two-dimensional code. The method comprises the following steps: acquiring a first image acquired by an image acquisition unit of electronic equipment; when the first image comprises a two-dimensional code, determining a first application corresponding to the two-dimensional code from applications installed on the electronic equipment based on the two-dimensional code; and starting the first application to enable the first application to identify the two-dimension code to obtain an identification result.

Description

Information processing method and electronic equipment
Technical Field
The present invention relates to the field of electronic technologies, and in particular, to an information processing method and an electronic device.
Background
The two-dimensional code is a code in which black and white images are distributed in two mutually perpendicular directions according to a certain rule. Different data are recorded by two-dimensional codes with different rules. Two-dimensional codes are widely used for advertisement pushing, webpage linking, social contact and the like nowadays.
The identification process based on the two-dimensional code in the prior art mainly comprises the following steps: the user determines the application corresponding to the two-dimensional code to be scanned, for example, the two-dimensional code of a mobile phone application is to be scanned, and then the corresponding application is the "application market", or the two-dimensional code of a wechat user is to be scanned, and then the corresponding application is the "wechat". And then starting the corresponding application, and starting a two-dimensional code scanning function in the application to scan the two-dimensional code. And finally, obtaining the identification result of the application to the two-dimensional code.
As can be seen from the above description, the process of identifying the two-dimensional code in the prior art is cumbersome and takes a long time.
Disclosure of Invention
The embodiment of the application provides an information processing method and electronic equipment, which are used for reducing the time spent by the electronic equipment in identifying a two-dimensional code.
In order to solve the above technical problem, an embodiment of the present application provides an information processing method, including:
acquiring a first image acquired by an image acquisition unit of electronic equipment;
when the first image comprises a two-dimensional code, determining a first application corresponding to the two-dimensional code from applications installed on the electronic equipment based on the two-dimensional code;
and starting the first application to enable the first application to identify the two-dimension code to obtain an identification result.
Optionally, acquiring a first image acquired by an image acquisition unit of the electronic device includes:
when the electronic equipment is in a low power consumption state, obtaining a first operation of a user; the electronic equipment can respond to a first instruction set comprising a starting acquisition instruction when in a low power consumption state; the electronic device also has a high power consumption state, when the electronic device is in the high power consumption state, a second set of instructions can be responded to; more instructions in the second set of instructions than in the first set of instructions.
Responding to the acquisition starting instruction based on a first operation to start the image acquisition unit to acquire;
obtaining a second operation executed by a user;
and acquiring the first image in response to the acquisition instruction based on a second operation.
Optionally, starting the first application to enable the first application to identify the two-dimensional code, and obtaining an identification result, includes:
starting a payment application with a payment function;
controlling the payment application to identify the two-dimension code to obtain payment information; the payment information at least comprises payer information or payee information;
after the first application is started to enable the first application to identify the two-dimensional code, and an identification result is obtained, the method further includes:
collecting payment based on the payer information or collecting payment based on the payee information.
Optionally, after the first application is started to enable the first application to identify the two-dimensional code to obtain an identification result, the method further includes:
judging whether the identification result meets a preset condition or not;
and when the identification result meets the preset condition, displaying the identification result on a display unit of the electronic equipment.
Optionally, the determining whether the recognition result meets a preset condition includes:
when the identification result is a second application which is not installed in the electronic equipment, judging whether the second application is not a blacklist application; or
When the identification result is a webpage link, judging whether the webpage link meets a preset safety condition; or
And when the identification result is a commodity, judging whether the commodity meets the user preference condition.
Optionally, after the recognition result is displayed on a display unit of the electronic device, the method further includes:
starting a third application with a search function in the electronic equipment, and taking the identification result as search information;
and controlling the third application to search according to the search information.
In a second aspect, the present application provides an electronic device comprising:
a housing;
the image acquisition unit is arranged in the shell and is used for acquiring a first image;
the processor is arranged in the shell, connected with the image acquisition unit and used for acquiring the first image; when the first image comprises a two-dimensional code, determining a first application corresponding to the two-dimensional code from applications installed on the electronic equipment based on the two-dimensional code; and starting the first application to enable the first application to identify the two-dimension code to obtain an identification result.
Optionally, the electronic device further includes:
the receiving device is used for obtaining a first operation of a user when the electronic equipment is in a low power consumption state; the electronic equipment can respond to a first instruction set comprising a starting acquisition instruction when in a low power consumption state; the electronic device also has a high power consumption state, when the electronic device is in the high power consumption state, a second set of instructions can be responded to; more instructions in the second set of instructions than in the first set of instructions.
The processor is used for responding to the acquisition starting instruction based on a first operation so as to start the acquisition of the image acquisition unit;
the receiving device is also used for obtaining a second operation executed by the user;
the processor is used for responding to the acquisition instruction based on a second operation;
the image acquisition unit is used for acquiring the first image.
Optionally, the processor is configured to launch a payment application having a payment function; controlling the payment application to identify the two-dimension code to obtain payment information; the payment information at least comprises payer information or payee information; collecting payment based on the payer information or collecting payment based on the payee information.
Optionally, the processor is further configured to start the first application, so that the first application identifies the two-dimensional code to obtain an identification result, and then determine whether the identification result meets a preset condition; when the identification result meets the preset condition, displaying the identification result on a display unit of the electronic equipment;
the display unit is used for displaying the identification result.
Optionally, the processor is configured to determine whether the second application is not a blacklist application when the identification result is the second application not installed in the electronic device; or when the identification result is the webpage link, judging whether the webpage link meets a preset safety condition; or when the identification result is a commodity, judging whether the commodity meets the user preference condition.
Optionally, the processor is further configured to, after the display unit displays the identification result, start a third application having a search function in the electronic device, and use the identification result as search information; and controlling the third application to search according to the search information.
One or more technical solutions in the embodiments of the present application have at least one or more of the following technical effects:
in the technical scheme of the embodiment of the application, a first image acquired by an image acquisition unit of electronic equipment is acquired first. When the two-dimensional code is included in the first image, the electronic equipment determines a first application corresponding to the two-dimensional code from the installed applications based on the two-dimensional code. And further starting the first application to enable the first application to identify the two-dimensional code, so as to obtain an identification result. It can be seen that no matter what kind of application of two-dimensional code needs can discern the result, the technical scheme of this application embodiment all directly gathers the two-dimensional code, and after determining the first application that can discern the result of this two-dimensional code based on the two-dimensional code in the first image, the automatic start first application discerns the two-dimensional code to make first application discern the result. Therefore, the user is not required to execute the complicated operations of determining the application capable of identifying the two-dimensional code, unlocking, starting the application to identify the two-dimensional code and the like, and the time spent by the electronic equipment for identifying the two-dimensional code is reduced.
Drawings
FIG. 1 is a flow chart of an information processing method in an embodiment of the present application;
FIG. 2 is a schematic diagram of a two-dimensional code according to an embodiment of the present application;
FIG. 3 shows the result of the two-dimensional code identification shown in FIG. 2 by the WeChat application in the embodiment of the present application;
fig. 4 is a schematic structural diagram of an electronic device in an embodiment of the present application.
Detailed Description
Specific embodiments of the present application will be described in detail below with reference to the accompanying drawings, but the present application is not limited thereto.
It will be understood that various modifications may be made to the embodiments disclosed herein. The following description is, therefore, not to be taken in a limiting sense, but is made merely as an exemplification of embodiments. Other modifications will occur to those skilled in the art within the scope and spirit of the disclosure.
The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the disclosure and, together with a general description of the disclosure given above, and the detailed description of the embodiments given below, serve to explain the principles of the disclosure.
These and other characteristics of the present application will become apparent from the following description of preferred forms of embodiment, given as non-limiting examples, with reference to the attached drawings.
It should also be understood that, although the present application has been described with reference to some specific examples, a person of skill in the art shall certainly be able to achieve many other equivalent forms of application, having the characteristics as set forth in the claims and hence all coming within the field of protection defined thereby.
The above and other aspects, features and advantages of the present disclosure will become more apparent in view of the following detailed description when taken in conjunction with the accompanying drawings.
Specific embodiments of the present disclosure are described hereinafter with reference to the accompanying drawings; however, it is to be understood that the disclosed embodiments are merely examples of the disclosure that may be embodied in various forms. Well-known and/or repeated functions and structures have not been described in detail so as not to obscure the present disclosure with unnecessary or unnecessary detail. Therefore, specific structural and functional details disclosed herein are not to be interpreted as limiting, but merely as a basis for the claims and as a representative basis for teaching one skilled in the art to variously employ the present disclosure in virtually any appropriately detailed structure.
The specification may use the phrases "in one embodiment," "in another embodiment," "in yet another embodiment," or "in other embodiments," which may each refer to one or more of the same or different embodiments in accordance with the disclosure.
The embodiment of the application provides an information processing method and electronic equipment, and is used for solving the technical problems that in the prior art, the operation of a two-dimensional code identification process is complex, and the time spent on identifying a two-dimensional code is long, and achieving the technical effect of reducing the time spent on identifying the two-dimensional code by the electronic equipment.
In order to solve the technical problems, the technical scheme provided by the application has the following general idea:
in the technical scheme of the embodiment of the application, a first image acquired by an image acquisition unit of electronic equipment is acquired first. When the two-dimensional code is included in the first image, the electronic equipment determines a first application corresponding to the two-dimensional code from the installed applications based on the two-dimensional code. And further starting the first application to enable the first application to identify the two-dimensional code, so as to obtain an identification result. It can be seen that no matter what kind of application of two-dimensional code needs can discern the result, the technical scheme of this application embodiment all directly gathers the two-dimensional code, and after determining the first application that can discern the result of this two-dimensional code based on the two-dimensional code in the first image, the automatic start first application discerns the two-dimensional code to make first application discern the result. Therefore, the user is not required to execute the complicated operations of determining the application capable of identifying the two-dimensional code, unlocking, starting the application to identify the two-dimensional code and the like, and the time spent by the electronic equipment for identifying the two-dimensional code is reduced.
The technical solutions of the present invention are described in detail below with reference to the drawings and specific embodiments, and it should be understood that the specific features in the embodiments and examples of the present invention are described in detail in the technical solutions of the present application, and are not limited to the technical solutions of the present application, and the technical features in the embodiments and examples of the present application may be combined with each other without conflict.
The term "and/or" herein is merely an association describing an associated object, meaning that three relationships may exist, e.g., a and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
An embodiment of the present application provides an information processing method, please refer to fig. 1, including the following steps:
s101: a first image acquired by an image acquisition unit of an electronic device is acquired.
S102: when the first image comprises a two-dimensional code, determining a first application corresponding to the two-dimensional code from applications installed on the electronic equipment based on the two-dimensional code.
S103: and starting the first application to enable the first application to identify the two-dimension code to obtain an identification result.
Specifically, first, the electronic device acquires a first image captured by the image capturing unit in S101. When the first image comprises the two-dimensional code, the electronic equipment carries out preliminary identification on the two-dimensional code. In the embodiment of the application, the electronic device performs the initial identification on the two-dimensional code to identify the attribute identifier of the two-dimensional code. The attribute identifier in the embodiment of the present application is information capable of characterizing the attribute of the two-dimensional code, such as "contact", "application", "wechat ID", and the like. For example, the two-dimensional code shown in fig. 2 is specifically a wechat contact two-dimensional code, and the wechat contact information included in the two-dimensional code is shown in fig. 3. The result of the electronic device performing the preliminary identification on the two-dimensional code shown in fig. 2 is the WeChat ID, and the specific WeChat contact information shown in fig. 3 is not identified.
Based on the result of the preliminary identification, the electronic equipment determines a first application corresponding to the two-dimensional code from the installed applications. For example, based on the two-dimensional code shown in fig. 2, it is determined that the corresponding first application is WeChat.
After the first application is determined, the electronic equipment automatically starts the first application, and provides the first image for the first application, so that the first application identifies the two-dimensional code to obtain an identification result.
It can be seen from the above description that no matter what kind of application is needed for the two-dimensional code to identify the result, the technical scheme of the embodiment of the application directly collects the two-dimensional code. After a first application capable of identifying the two-dimensional code is determined based on the two-dimensional code in the first image, the first application is automatically started to identify the two-dimensional code. Therefore, the user is not required to execute the complicated operations of determining the application capable of identifying the two-dimensional code, unlocking, starting the application to identify the two-dimensional code and the like, and the time spent by the electronic equipment for identifying the two-dimensional code is reduced.
Specifically, in the embodiment of the present application, there are two ways to acquire the first image acquired by the image acquisition unit in S101.
In a first manner, in order to reduce the time taken by the electronic device to identify the two-dimensional code, the image capturing units in the embodiment of the present application are all in a capturing state when the electronic device is powered on. Then the image acquisition unit will acquire the image in the acquisition range in real time. When the user needs to collect the two-dimensional code, no matter the electronic equipment is in a standby state, a screen locking state or a video playing state, the user only needs to make the two-dimensional code in the collection range of the image collection unit.
Further, in the first mode, the image capturing unit of the electronic device may be a common camera, that is, a camera used after the user starts the photographing application.
Or, because the image acquisition unit is always in the acquisition state, in order to reduce the power consumption of the image acquisition unit, the image acquisition unit can also be set as a low-pixel camera, and a user starts a common camera used after the photographing application. The pixels of the normal camera are higher than the pixels of the low pixel camera.
Specifically, the pixels of the low pixel camera are, for example, 160 × 160 pixels, 5 ten thousand pixels, the low pixel camera is connected with a sensor hub in the electronic device through an SPI (Serial Peripheral Interface), and the sensor hub is connected with a connection point AP of the electronic device through an I2C (Inter-Integrated Circuit) mode, so that the real-time collected images are provided for the electronic device.
In the first mode, the image acquisition unit is always in an acquisition state, so that if a user needs to identify the two-dimensional code, the image acquisition unit of the electronic equipment is directly aligned to the two-dimensional code for acquisition. No complicated operation is required. And because the image acquisition unit is always in an acquisition state, the image acquisition unit does not need to be started temporarily, and the time spent on starting the image acquisition unit is reduced.
In the second mode, the image acquisition unit does not always acquire the two-dimensional code when the electronic device is powered on, but acquires the two-dimensional code when the user needs the two-dimensional code. Specifically, in the second mode, the electronic device has two states, a low power consumption state and a high power consumption state.
A low power consumption state such as a standby state, a screen lock state, etc., and a high power consumption state such as a game state, a video play state, etc. In a low power state, the electronic device is capable of responding to a first set of instructions; while in the high power consumption state, the electronic device is capable of responding to the second set of instructions. Wherein the instructions in the second instruction set are more than the instructions in the first instruction set. The first instruction set at least comprises a starting acquisition instruction and an acquisition instruction.
For example, assuming that the low power consumption state is a standby state, the first instruction set includes 10 instructions, such as a start acquisition instruction, a screen lighting instruction, and an unlock instruction. The high power consumption state is a video playing state, and the second instruction set comprises 1032 states of a fast forward instruction, a pause instruction, an exit instruction and the like. Of course, those skilled in the art to which the present application pertains may set the setting according to the actual situation, and the present application is not limited specifically.
The standby state in the embodiment of the present application is specifically a state in which the screen of the electronic device is locked and the screen does not emit light.
S101 may specifically include:
when the electronic equipment is in a low power consumption state, obtaining a first operation of a user; the electronic equipment can respond to a first instruction set comprising a starting acquisition instruction when in a low power consumption state; the electronic device also has a high power consumption state, when the electronic device is in the high power consumption state, a second set of instructions can be responded to; more instructions in the second set of instructions than in the first set of instructions.
Responding to the acquisition starting instruction based on a first operation to start the image acquisition unit to acquire;
obtaining a second operation executed by a user;
and acquiring the first image in response to the acquisition instruction based on a second operation.
Specifically, when the electronic device is in a low power consumption state, such as a standby state, if the user needs the electronic device to capture a two-dimensional code, a first operation is performed on the electronic device. The first operation is, for example, a long press of a home menu key, or a power key click. And the electronic equipment obtains a first operation executed by the user.
After the first operation is obtained, it is determined that the first operation corresponds to an acquisition start instruction in the first instruction set, and therefore the acquisition start instruction is responded. The start acquisition instruction is used for starting an image acquisition unit of the electronic equipment.
After the image acquisition unit of the electronic equipment is started, the user can further move the electronic equipment so that the two-dimensional code to be identified enters the acquisition range of the image acquisition unit. And executing a second operation after the user determines that the two-dimensional code enters the acquisition range. The second operation is, for example, long-pressing a main menu key, clicking a volume up key, or the like.
The electronic equipment obtains a second operation executed by the user, and determines an instruction corresponding to the second operating machine as an acquisition instruction in the first instruction set. And the electronic equipment responds to the acquisition instruction and controls the image acquisition unit to acquire the first image.
As can be seen from the above description, in the second mode, when the electronic device is in the low power consumption state, if the user needs to identify the two-dimensional code, the electronic device can acquire the two-dimensional code only by performing the first operation and the second operation. The electronic equipment does not need to be switched off to a high power consumption state, such as the screen is lightened, a password is input, and then complicated operations such as scanning application and the like are not needed.
After the first image is obtained, the electronic equipment identifies the first image based on the characteristics of the two-dimensional code so as to judge whether the two-dimensional code is included in the first image. When the two-dimensional code is included in the first image, in S102, the electronic device determines the first application based on the two-dimensional code.
Specifically, the data carried by the two-dimensional code includes an attribute identifier. In S102, the electronic device performs preliminary identification on the two-dimensional code, thereby identifying attribute information in the two-dimensional code. Then, an application capable of processing the object of the attribute information is determined by searching from the installed application list.
For example, assume that a two-dimensional code is as shown in fig. 2. Through the preliminary identification, attribute information "micro ID" is obtained. The electronic equipment searches in the application list based on the WeChat ID, determines that the application WeChat can process the object with the attribute information of the WeChat ID, and therefore determines that the first application is the WeChat.
Further, in S103, the first application is automatically started. Furthermore, after the first application is started, the two-dimension code is transmitted to the first application through the two-dimension code acquisition interface of the first application, and then the first application identifies the two-dimension code to obtain an identification result.
The edges are described using the example above. The electronic device determines that the first application is "WeChat" and then automatically initiates "WeChat". After the WeChat is started, the two-dimensional code shown in the figure 2 is transmitted to the WeChat from the two-dimensional code scanning interface of the WeChat. The "WeChat" recognizes the two-dimensional code shown in FIG. 2 in a manner of depth recognition of the two-dimensional code, and the obtained recognition result is assumed to be as shown in FIG. 3.
In the embodiment of the application, the depth recognition is to obtain recognition of all information in the two-dimensional code according to a two-dimensional code recognition mode in the prior art.
The specific process of S103 will be described with reference to another embodiment. S103 includes:
starting a payment application with a payment function;
controlling the payment application to identify the two-dimension code to obtain payment information; the payment information at least comprises payer information or payee information;
after the first application is started to enable the first application to identify the two-dimensional code, and an identification result is obtained, the method further includes:
collecting payment based on the payer information or collecting payment based on the payee information.
Specifically, the electronic device determines the first application as a payment application having a payment function in S102, and then the electronic device starts the payment application in S103. In the implementation of the application, the payment application can pay other accounts from the default account corresponding to the payment application, and can also collect payment from other accounts to the default account.
Next, the payment application performs depth recognition on the two-dimensional code to obtain payment information.
Specifically, in the embodiment of the present application, the payment information includes at least payer information or payee information. Optionally, when the payment information includes information of the payer, the payment amount, the security information, the historical journal information, and the like may be further included. When the payment information includes payee information, the payment information may further include a payment amount, security information, historical journal information, and the like. The payer information at least comprises an account number for receiving payment, and also comprises a credit rating, an experience value and the like of the account number for receiving payment. The payee information at least comprises a collection source account number, and can also comprise a credit rating, an empirical value and the like of the collection source account number. Those of ordinary skill in the art to which the present application pertains may set the setting according to the practice, and the present application is not particularly limited.
Next, payment is collected based on the payer information, or collection is collected based on the payee information. Specifically, when the payer information is obtained by recognizing the two-dimensional code, it indicates that the default account needs to be paid to the account number that receives payment from the payer information. If the payer information includes a payment amount, the first application pays money in accordance with the payment amount to the account receiving the payment. If the payment information does not include the payment amount, the first application may obtain the amount input by the user, or pay the account receiving the payment according to a preset default amount.
And when the information of the payee is obtained by identifying the two-dimensional code, the first application waits for payment. And when receiving a collection request, extracting the information of a collector in the collection request, and determining whether the information of the collector is consistent with the information of the collector obtained by the depth identification two-dimensional code. And if the two are consistent, receiving a collection request for collection.
Optionally, in this embodiment of the application, after S103, the method may further include:
judging whether the identification result meets a preset condition or not;
and when the identification result meets the preset condition, displaying the identification result on a display unit of the electronic equipment.
Specifically, there are many possibilities of the preset condition, and thus there are many ways of determining whether the recognition result satisfies the preset condition. Three of these possibilities are listed below, including but not limited to the following in specific implementations.
The first method comprises the following steps:
judging whether the recognition result meets a preset condition or not, including:
and when the identification result is that the second application is not installed in the electronic equipment, judging whether the second application is not a blacklist application.
Specifically, when the identification result is specifically an application, and specifically is a second application not installed in the electronic device, it is determined whether the second application is not a blacklist application.
For example, assume that the recognition result of deep recognition of a two-dimensional code by an application "app store" is an a application. And after the identification result is obtained, determining that the application A is not installed in the electronic equipment by searching the installation application list. Further, a preset blacklist application list is obtained, and whether the application A is in the blacklist application list or not is judged. If the application A is in the blacklist application list, the application A is indicated as the blacklist application, and the identification result does not meet the preset condition; and if the application A is not in the blacklist application list, the application A is not the blacklist application, and the identification result meets the preset condition.
And the second method comprises the following steps:
judging whether the recognition result meets a preset condition or not, including:
and when the identification result is the webpage link, judging whether the webpage link meets a preset safety condition.
Specifically, when the identification result is a web page link, it is determined whether the identified web page link satisfies a preset security condition. The preset security condition is, for example, that the web page link does not contain a virus, and the web page corresponding to the web page link is a security web page marked by security software.
For example, assume that the recognition result of applying the "browser" to perform deep recognition on the two-dimensional code is the web page link www.baidu.com. Next, the electronic device performs a security check on web page link www.baidu.com through the security software to determine whether the web page link is a marked secure web page. www.baidu.com, if the web page is a marked safe web page, the web page link meets the preset safe condition, and the recognition result meets the preset condition; www.baidu.com is not the marked safe web page, the web page link does not satisfy the preset safe condition, and the recognition result does not satisfy the preset condition.
And the third is that:
judging whether the recognition result meets a preset condition or not, including:
and when the identification result is a commodity, judging whether the commodity meets the user preference condition.
When the identification result is a commodity, the electronic equipment judges whether the identified commodity meets the preset condition or not according to the preference condition of the user.
For example, assume that the user's preference conditions are electronic goods class, novel, sports equipment, and clothing. Suppose that the shirt is identified by applying the 'Taobao' to the two-dimensional code. The shirt belongs to the clothing class, so that the commodity can be judged to meet the preference condition of the user, and the identification result meets the preset condition. Suppose that the recognition result of applying "panning" to perform deep recognition on the two-dimensional code is a baby carriage. The baby carriage does not belong to the electronic goods category, novel, sports equipment or clothing, so that the condition that the goods do not meet the preference condition of the user can be judged, and the recognition result does not meet the preset condition.
In the specific implementation process, any one of the three manners may be selected according to actual practice by using ordinary techniques in the field to which the present application belongs, and the present application is not particularly limited.
And when the recognition result meets the preset condition, the electronic equipment further displays the recognition result on a display unit for the user to refer to. And when the recognition result does not satisfy the preset condition, the recognition may be displayed on the display unit while displaying prompt information indicating that the recognition result does not satisfy the preset condition. And when the identification result does not meet the preset condition, the identification result can be directly deleted. The present application is not particularly limited.
Optionally, after the electronic device displays the recognition result, the method may further include:
starting a third application with a search function in the electronic equipment, and taking the identification result as search information;
and controlling the third application to search according to the search information.
Specifically, in order to make the user more comprehensively understand the recognition result, the electronic device starts a third application having a search function after displaying the recognition result, and provides the recognition result as search information to the third application. Further, after the third application is started, a search is performed based on the search information, thereby outputting information related to the recognition result to the user.
Following the example above, the recognition result is an a application, and then the third application performs a search based on the search information "a application", thereby allowing the user to understand the ranking, evaluation, developer, and the like of the a application. Assume again that the recognition result is the web page link www.baidu.com, and then the third application performs a search based on the search information "www.baidu.com", thereby allowing the user to understand the ranking, evaluation, developer, etc. of the a application. Further, assuming that the recognition result is "shirt", the third application searches based on the search information "shirt" to let the user know whether the piece of shirt has information such as quality exposure.
Based on the same inventive concept as the information processing method in the foregoing embodiment, a second aspect of the present application further provides an electronic device, as shown in fig. 4, including:
a housing 401;
an image acquisition unit 402 disposed in the housing 401 for acquiring a first image;
a processor 403, disposed in the housing 401, connected to the image acquisition unit 402, for acquiring a first image; when the first image comprises the two-dimensional code, determining a first application corresponding to the two-dimensional code from applications installed on the electronic equipment based on the two-dimensional code; and starting the first application to enable the first application to identify the two-dimensional code to obtain an identification result.
Further, the electronic device further includes:
the receiving device is used for obtaining a first operation of a user when the electronic equipment is in a low power consumption state; the electronic equipment can respond to a first instruction set comprising a starting acquisition instruction when in a low power consumption state; the electronic device also has a high power consumption state, and is capable of responding to the second set of instructions when the electronic device is in the high power consumption state; more instructions in the second set of instructions than in the first set of instructions.
The processor 403 is configured to respond to the acquisition starting instruction to start the image acquisition unit to acquire based on the first operation;
the receiving device is also used for obtaining a second operation executed by the user;
the processor 403 is configured to respond to the acquisition instruction based on the second operation;
the image acquisition unit is used for acquiring a first image.
Optionally, the processor 403 is configured to launch a payment application with payment functionality; controlling the payment application to identify the two-dimensional code to obtain payment information; the payment information at least comprises payer information or payee information; collect payment based on payer information or collect payment based on payee information.
Further, in this embodiment of the application, the processor 403 is further configured to start a first application, so that the first application identifies the two-dimensional code to obtain an identification result, and then determine whether the identification result meets a preset condition; when the identification result meets a preset condition, displaying the identification result on a display unit of the electronic equipment;
the display unit is used for displaying the identification result.
Specifically, when the identification result is determined, the processor 403 is configured to determine whether the second application is not in the blacklist application when the identification result is that the second application is not installed in the electronic device; or when the identification result is the webpage link, judging whether the webpage link meets the preset safety condition; or when the identification result is a commodity, judging whether the commodity meets the user preference condition.
Further, the processor 403 is further configured to, after the display unit displays the identification result, start a third application having a search function in the electronic device, and use the identification result as search information; and controlling the third application to search according to the search information.
Further, the electronic device further comprises a processor 403 for controlling the recording process and the sending process, and packing the audio to be recognized, etc. Specifically, the processor 403 may be a general-purpose Central Processing Unit (CPU), an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits for controlling program execution.
Further, the electronic device may further include a memory, and the number of the memories may be one or more. The Memory may include a Read Only Memory (ROM), a Random Access Memory (RAM), and a disk Memory.
Various changes and specific examples of the information processing method in the foregoing embodiments of fig. 1 to 3 are also applicable to the electronic device of this embodiment, and those skilled in the art can clearly know the implementation method of the electronic device in this embodiment through the foregoing detailed description of the information processing method, so that the detailed description is omitted here for the sake of brevity of the description.
One or more technical solutions in the embodiments of the present application have at least one or more of the following technical effects:
in the technical scheme of the embodiment of the application, a first image acquired by an image acquisition unit of electronic equipment is acquired first. When the two-dimensional code is included in the first image, the electronic equipment determines a first application corresponding to the two-dimensional code from the installed applications based on the two-dimensional code. And further starting the first application to enable the first application to identify the two-dimensional code, so as to obtain an identification result. It can be seen that no matter what kind of application of two-dimensional code needs can discern the result, the technical scheme of this application embodiment all directly gathers the two-dimensional code, and after determining the first application that can discern the result of this two-dimensional code based on the two-dimensional code in the first image, the automatic start first application discerns the two-dimensional code to make first application discern the result. Therefore, the user is not required to execute the complicated operations of determining the application capable of identifying the two-dimensional code, unlocking, starting the application to identify the two-dimensional code and the like, and the time spent by the electronic equipment for identifying the two-dimensional code is reduced.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
Specifically, the computer program instructions corresponding to an information processing method in the embodiment of the present application may be stored on a storage medium such as an optical disc, a hard disc, or a usb disk, and when the computer program instructions corresponding to the first information processing method in the storage medium are read or executed by an electronic device, the method includes the following steps:
acquiring a first image acquired by an image acquisition unit of electronic equipment;
when the first image comprises a two-dimensional code, determining a first application corresponding to the two-dimensional code from applications installed on the electronic equipment based on the two-dimensional code;
and starting the first application to enable the first application to identify the two-dimension code to obtain an identification result.
Optionally, the computer instruction stored in the storage medium and corresponding to the first image acquired by the image acquisition unit of the step-acquiring electronic device specifically includes, in a specific executed process, the following steps:
when the electronic equipment is in a low power consumption state, obtaining a first operation of a user; the electronic equipment can respond to a first instruction set comprising a starting acquisition instruction when in a low power consumption state; the electronic device also has a high power consumption state, when the electronic device is in the high power consumption state, a second set of instructions can be responded to; more instructions in the second set of instructions than in the first set of instructions.
Responding to the acquisition starting instruction based on a first operation to start the image acquisition unit to acquire;
obtaining a second operation executed by a user;
and acquiring the first image in response to the acquisition instruction based on a second operation.
Optionally, the step of starting the first application stored in the storage medium to enable the first application to identify the two-dimensional code to obtain an identification result, and the step of executing the corresponding computer instruction specifically includes the following steps:
starting a payment application with a payment function;
controlling the payment application to identify the two-dimension code to obtain payment information; the payment information at least comprises payer information or payee information;
after the first application is started to enable the first application to identify the two-dimensional code, and an identification result is obtained, the method further includes:
collecting payment based on the payer information or collecting payment based on the payee information.
Optionally, the storage medium further stores other computer instructions, and the computer instructions perform the following steps: the first application is started to enable the first application to identify the two-dimensional code so as to obtain an identification result, and then the first application is executed, and the method comprises the following steps:
judging whether the identification result meets a preset condition or not;
and when the identification result meets the preset condition, displaying the identification result on a display unit of the electronic equipment.
Optionally, the step of storing in the storage medium determines whether the recognition result meets a preset condition, and the step of executing the corresponding computer instruction specifically includes the following steps:
when the identification result is a second application which is not installed in the electronic equipment, judging whether the second application is not a blacklist application; or
When the identification result is a webpage link, judging whether the webpage link meets a preset safety condition; or
And when the identification result is a commodity, judging whether the commodity meets the user preference condition.
Optionally, the storage medium further stores other computer instructions, and the computer instructions perform the following steps: the method is executed after the identification result is displayed on a display unit of the electronic equipment, and comprises the following steps when executed:
starting a third application with a search function in the electronic equipment, and taking the identification result as search information;
and controlling the third application to search according to the search information.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.
The above embodiments are only exemplary embodiments of the present application, and are not intended to limit the present application, and the protection scope of the present application is defined by the claims. Various modifications and equivalents may be made by those skilled in the art within the spirit and scope of the present application and such modifications and equivalents should also be considered to be within the scope of the present application.

Claims (12)

1. An information processing method comprising:
acquiring a first image acquired by an image acquisition unit of electronic equipment;
when the first image comprises a two-dimensional code, determining a first application corresponding to the two-dimensional code from applications installed on the electronic equipment based on the two-dimensional code;
and starting the first application to enable the first application to identify the two-dimension code to obtain an identification result.
2. The method of claim 1, wherein acquiring the first image acquired by the image acquisition unit of the electronic device comprises:
when the electronic equipment is in a low power consumption state, obtaining a first operation of a user; the electronic equipment can respond to a first instruction set comprising a starting acquisition instruction when in a low power consumption state; the electronic device also has a high power consumption state, when the electronic device is in the high power consumption state, a second set of instructions can be responded to; more instructions in the second set of instructions than in the first set of instructions;
responding to the acquisition starting instruction based on a first operation to start the image acquisition unit to acquire;
obtaining a second operation executed by a user;
and acquiring the first image in response to the acquisition instruction based on a second operation.
3. The method of claim 2, wherein starting the first application to enable the first application to identify the two-dimensional code to obtain an identification result comprises:
starting a payment application with a payment function;
controlling the payment application to identify the two-dimension code to obtain payment information; the payment information at least comprises payer information or payee information;
after the first application is started to enable the first application to identify the two-dimensional code, and an identification result is obtained, the method further includes:
collecting payment based on the payer information or collecting payment based on the payee information.
4. The method of claim 1, wherein after the first application is launched to cause the first application to recognize the two-dimensional code to obtain a recognition result, the method further comprises:
judging whether the identification result meets a preset condition or not;
and when the identification result meets the preset condition, displaying the identification result on a display unit of the electronic equipment.
5. The method of claim 4, wherein determining whether the recognition result satisfies a predetermined condition comprises:
when the identification result is a second application which is not installed in the electronic equipment, judging whether the second application is not a blacklist application; or
When the identification result is a webpage link, judging whether the webpage link meets a preset safety condition; or
And when the identification result is a commodity, judging whether the commodity meets the user preference condition.
6. The method of claim 5, wherein after displaying the recognition result on a display unit of the electronic device, the method further comprises:
starting a third application with a search function in the electronic equipment, and taking the identification result as search information;
and controlling the third application to search according to the search information.
7. An electronic device, comprising:
a housing;
the image acquisition unit is arranged in the shell and is used for acquiring a first image;
the processor is arranged in the shell, connected with the image acquisition unit and used for acquiring the first image; when the first image comprises a two-dimensional code, determining a first application corresponding to the two-dimensional code from applications installed on the electronic equipment based on the two-dimensional code; and starting the first application to enable the first application to identify the two-dimension code to obtain an identification result.
8. The electronic device of claim 7, wherein the electronic device further comprises:
the receiving device is used for obtaining a first operation of a user when the electronic equipment is in a low power consumption state; the electronic equipment can respond to a first instruction set comprising a starting acquisition instruction when in a low power consumption state; the electronic device also has a high power consumption state, when the electronic device is in the high power consumption state, a second set of instructions can be responded to; more instructions in the second set of instructions than in the first set of instructions;
the processor is used for responding to the acquisition starting instruction based on a first operation so as to start the acquisition of the image acquisition unit;
the receiving device is also used for obtaining a second operation executed by the user;
the processor is used for responding to the acquisition instruction based on a second operation;
the image acquisition unit is used for acquiring the first image.
9. The electronic device of claim 8, wherein the processor is to launch a payment application having payment functionality; controlling the payment application to identify the two-dimension code to obtain payment information; the payment information at least comprises payer information or payee information; collecting payment based on the payer information or collecting payment based on the payee information.
10. The electronic device of claim 7, wherein the processor is further configured to start the first application, so that after the first application identifies the two-dimensional code to obtain an identification result, whether the identification result meets a preset condition is determined; when the identification result meets the preset condition, displaying the identification result on a display unit of the electronic equipment;
the display unit is used for displaying the identification result.
11. The electronic device of claim 10, wherein the processor is configured to determine whether a second application is not a blacklisted application when the identification result is the second application not installed in the electronic device; or when the identification result is the webpage link, judging whether the webpage link meets a preset safety condition; or when the identification result is a commodity, judging whether the commodity meets the user preference condition.
12. The electronic device of claim 11, wherein the processor is further configured to, after the display unit displays the identification result, launch a third application having a search function in the electronic device, taking the identification result as search information; and controlling the third application to search according to the search information.
CN202010287176.5A 2015-08-31 2015-08-31 Information processing method and electronic equipment Pending CN111368578A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010287176.5A CN111368578A (en) 2015-08-31 2015-08-31 Information processing method and electronic equipment

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010287176.5A CN111368578A (en) 2015-08-31 2015-08-31 Information processing method and electronic equipment
CN201510549193.0A CN105117256A (en) 2015-08-31 2015-08-31 Information processing method and electronic device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN201510549193.0A Division CN105117256A (en) 2015-08-31 2015-08-31 Information processing method and electronic device

Publications (1)

Publication Number Publication Date
CN111368578A true CN111368578A (en) 2020-07-03

Family

ID=54665258

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201510549193.0A Pending CN105117256A (en) 2015-08-31 2015-08-31 Information processing method and electronic device
CN202010287176.5A Pending CN111368578A (en) 2015-08-31 2015-08-31 Information processing method and electronic equipment

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN201510549193.0A Pending CN105117256A (en) 2015-08-31 2015-08-31 Information processing method and electronic device

Country Status (1)

Country Link
CN (2) CN105117256A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117077703A (en) * 2023-09-14 2023-11-17 荣耀终端有限公司 Image processing method and electronic equipment

Families Citing this family (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106327185B (en) * 2016-08-26 2020-05-12 维沃移动通信有限公司 Starting method of payment application and mobile terminal
CN107423794B (en) * 2017-05-31 2021-07-02 北京安云世纪科技有限公司 Code scanning method and device for graphic coding and mobile terminal
CN107194690A (en) * 2017-06-23 2017-09-22 珠海市魅族科技有限公司 A kind of two-dimensional code scanning method and terminal, computer installation and readable storage medium storing program for executing
CN107491709A (en) * 2017-08-29 2017-12-19 努比亚技术有限公司 A kind of recognition methods of code figure, terminal and computer-readable recording medium
CN109426755A (en) * 2017-09-01 2019-03-05 北京搜狗科技发展有限公司 A kind of barcode scanning method, system and a kind of device for barcode scanning
WO2019051693A1 (en) * 2017-09-13 2019-03-21 深圳传音通讯有限公司 Method and apparatus for scanning two-dimensional code, and computer-readable storage medium
CN107678646A (en) * 2017-09-21 2018-02-09 珠海市魅族科技有限公司 Pay control method, device, computer installation and computer-readable recording medium
CN107679851A (en) * 2017-09-28 2018-02-09 珠海市魅族科技有限公司 Means of payment call method and device, computer installation and readable storage medium storing program for executing
CN107729791A (en) * 2017-09-30 2018-02-23 联想(北京)有限公司 Information processing method and electronic equipment
CN107748856A (en) * 2017-10-27 2018-03-02 努比亚技术有限公司 Two-dimensional code identification method, terminal and computer-readable recording medium
CN107833044A (en) * 2017-11-14 2018-03-23 珠海市魅族科技有限公司 A kind of information processing method and device
CN107943524B (en) * 2017-11-16 2020-07-03 珠海市魅族科技有限公司 Terminal device, control method thereof, computer device, and readable storage medium thereof
CN109992176A (en) * 2017-12-28 2019-07-09 北京搜狗科技发展有限公司 A kind of scan method and device of message identification code
CN110517034A (en) * 2018-05-22 2019-11-29 维沃移动通信有限公司 A kind of object identifying method and mobile terminal
EP3873074A4 (en) * 2018-12-18 2021-12-08 Huawei Technologies Co., Ltd. Apparatus in mobile terminal for identifying application program, and terminal
WO2021217367A1 (en) * 2020-04-27 2021-11-04 华为技术有限公司 Method and apparatus for starting application program, and terminal
CN113869076A (en) * 2020-06-30 2021-12-31 聚晶半导体股份有限公司 Scanning device for two-dimensional bar code

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102929595A (en) * 2012-09-20 2013-02-13 腾讯科技(深圳)有限公司 Method and device for realizing action command
CN103488528A (en) * 2013-09-05 2014-01-01 优视科技有限公司 QR code processing method and device based on mobile terminals
CN104091140A (en) * 2014-06-23 2014-10-08 联想(北京)有限公司 Information processing method and electronic device
CN104679525A (en) * 2015-03-18 2015-06-03 魅族科技(中国)有限公司 Two-dimensional code scanning method and system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104410790A (en) * 2014-12-15 2015-03-11 联想(北京)有限公司 Information processing method and electronic equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102929595A (en) * 2012-09-20 2013-02-13 腾讯科技(深圳)有限公司 Method and device for realizing action command
CN103488528A (en) * 2013-09-05 2014-01-01 优视科技有限公司 QR code processing method and device based on mobile terminals
CN104091140A (en) * 2014-06-23 2014-10-08 联想(北京)有限公司 Information processing method and electronic device
CN104679525A (en) * 2015-03-18 2015-06-03 魅族科技(中国)有限公司 Two-dimensional code scanning method and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
许可等: "《体验互联网新思维》", 31 January 2015, 经济管理出版社 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117077703A (en) * 2023-09-14 2023-11-17 荣耀终端有限公司 Image processing method and electronic equipment

Also Published As

Publication number Publication date
CN105117256A (en) 2015-12-02

Similar Documents

Publication Publication Date Title
CN111368578A (en) Information processing method and electronic equipment
CN111651797B (en) Information display method and device
US9788065B2 (en) Methods and devices for providing a video
KR101773885B1 (en) A method and server for providing augmented reality objects using image authentication
US10003785B2 (en) Method and apparatus for generating images
EP3110131B1 (en) Method for processing image and electronic apparatus therefor
WO2016187888A1 (en) Keyword notification method and device based on character recognition, and computer program product
TW202009785A (en) Facial recognition method and device
JP2020502639A (en) Method and apparatus for security question generation and identification
WO2017113790A1 (en) Method for implementing code-scan bluetooth automatic connection, master device, slave device, and system
CN106254807B (en) Electronic device and method for extracting still image
CN103942242A (en) Image processing apparatus, image processing method and display device
CN110765984A (en) Mobile state information display method, device, equipment and storage medium
WO2020063115A1 (en) Graphic coding display method and apparatus
US20230316529A1 (en) Image processing method and apparatus, device and storage medium
CN111915311B (en) Payment checking method and system
CN110570185B (en) Resource transfer method and device, storage medium and electronic equipment
US20140181745A1 (en) Image capture
CN112954212B (en) Video generation method, device and equipment
CN113128983A (en) Method for paying digital currency, electronic device and computer storage medium
JP5810890B2 (en) Information processing apparatus, information processing method, and program
JP2021103531A (en) Server device
CN112163436A (en) Information identification system, method and device
CN114742561A (en) Face recognition method, device, equipment and storage medium
KR20210047749A (en) Method and device for recognizing visually coded patterns

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200703