CN105893996B - Information processing method and electronic equipment - Google Patents
Information processing method and electronic equipment Download PDFInfo
- Publication number
- CN105893996B CN105893996B CN201610201708.2A CN201610201708A CN105893996B CN 105893996 B CN105893996 B CN 105893996B CN 201610201708 A CN201610201708 A CN 201610201708A CN 105893996 B CN105893996 B CN 105893996B
- Authority
- CN
- China
- Prior art keywords
- image
- information
- electronic device
- electronic equipment
- opposite
- 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.)
- Active
Links
- 230000010365 information processing Effects 0.000 title claims abstract description 19
- 238000003672 processing method Methods 0.000 title claims abstract description 19
- 238000004891 communication Methods 0.000 claims abstract description 59
- 238000000034 method Methods 0.000 claims description 63
- 238000012545 processing Methods 0.000 claims description 28
- 230000007613 environmental effect Effects 0.000 claims description 15
- 238000012790 confirmation Methods 0.000 claims description 5
- 230000000694 effects Effects 0.000 description 16
- 238000003860 storage Methods 0.000 description 14
- 238000010586 diagram Methods 0.000 description 12
- 238000004590 computer program Methods 0.000 description 11
- 238000012937 correction Methods 0.000 description 5
- 238000012986 modification Methods 0.000 description 5
- 230000004048 modification Effects 0.000 description 5
- 230000006870 function Effects 0.000 description 4
- 238000001514 detection method Methods 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 238000003825 pressing Methods 0.000 description 2
- 230000004075 alteration Effects 0.000 description 1
- 230000003321 amplification Effects 0.000 description 1
- UQMRAFJOBWOFNS-UHFFFAOYSA-N butyl 2-(2,4-dichlorophenoxy)acetate Chemical compound CCCCOC(=O)COC1=CC=C(Cl)C=C1Cl UQMRAFJOBWOFNS-UHFFFAOYSA-N 0.000 description 1
- 238000005265 energy consumption Methods 0.000 description 1
- 230000005484 gravity Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 239000011159 matrix material Substances 0.000 description 1
- 238000003199 nucleic acid amplification method Methods 0.000 description 1
- 230000002035 prolonged effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/20—Image preprocessing
- G06V10/22—Image preprocessing by selection of a specific region containing or referencing a pattern; Locating or processing of specific regions to guide the detection or recognition
- G06V10/225—Image preprocessing by selection of a specific region containing or referencing a pattern; Locating or processing of specific regions to guide the detection or recognition based on a marking or identifier characterising the area
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Multimedia (AREA)
- Theoretical Computer Science (AREA)
- User Interface Of Digital Computer (AREA)
- Telephone Function (AREA)
Abstract
The application discloses an information processing method and an electronic device, comprising the following steps: receiving at least one frame of image from a peer device based on a communication link of the electronic device with the peer device; determining that the at least one frame of image comprises a coded image; identifying information carried by the encoded image; and executing an operation instruction corresponding to the information through the application of the electronic equipment. Through the technical scheme, the code can be remotely scanned in real time, and the user experience is improved.
Description
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
At present, the application of two-dimensional codes is deep in various aspects of people's life, such as: two-dimensional code payment, social or life services, and the like.
In the process of using the two-dimensional code, a user must be on site or a photo with the two-dimensional code is used for scanning, however, in the actual use process, if the user is not on site, other users are required to shoot the two-dimensional code into the photo and send the photo to the user, and then the two-dimensional code scanning can be completed, the whole operation process is complex, and the real-time performance is poor.
Disclosure of Invention
The embodiment of the invention provides an information processing method and electronic equipment, which can realize real-time remote code scanning and improve user experience.
In one aspect, an embodiment of the present application provides an information processing method, including the following steps:
receiving at least one frame of image from a peer device based on a communication link of the electronic device with the peer device;
determining that the at least one frame of image comprises a coded image;
identifying information carried by the encoded image;
and executing an operation instruction corresponding to the information through the application of the electronic equipment.
Optionally, the identifying information carried by the encoded image includes:
detecting an operation of obtaining the coded image;
determining whether the operation is a preset operation;
and if the operation is the preset operation, responding to the operation and identifying the information carried by the coded image.
Optionally, the identifying information carried by the encoded image includes:
enlarging the encoded image;
and scanning the amplified coded image through a scanning module in the electronic equipment to identify the information carried by the coded image.
Optionally, the executing, by the application of the electronic device, the operation instruction corresponding to the information includes:
determining the environmental parameters of the current environment of the opposite terminal equipment through the at least one frame of image;
and when the environment parameter indicates that the environment is a safe environment, executing an operation instruction corresponding to the information through the application of the electronic equipment.
Optionally, the executing, by the application of the electronic device, the operation instruction corresponding to the information includes:
sending the information to the opposite terminal equipment so that a user of the opposite terminal equipment can confirm whether the information is correct information or not;
and after receiving a confirmation instruction for representing that the information is correct information, executing an operation instruction corresponding to the information through the application of the electronic equipment.
On the other hand, an embodiment of the present application further provides an information processing method, including:
the first electronic equipment establishes a communication link with the second electronic equipment;
acquiring a first image through an image acquisition unit of the first electronic device; the first image at least comprises a coding image;
and sending the first image to the second electronic equipment through the communication link so that the second electronic equipment can acquire the information carried by the coded image through the first image.
Optionally, the acquiring, by the sensor of the first electronic device, a first image includes:
displaying a mark on a display unit of the first electronic device, wherein the mark is used for assisting the image acquisition unit to align with an acquired object so as to acquire a first image through the image acquisition unit of the first electronic device.
Optionally, the acquiring, by the image acquisition unit of the first electronic device, the first image includes:
and controlling an image acquisition unit of the first electronic equipment to acquire a first image according to a preset time interval.
On the other hand, an embodiment of the present application further provides an electronic device, including:
a housing;
the processing device is arranged in the shell and used for receiving at least one frame of image from the opposite terminal device based on the communication link between the electronic device and the opposite terminal device; determining that the at least one frame of image comprises a coded image; identifying information carried by the encoded image; and executing an operation instruction corresponding to the information through the application of the electronic equipment.
Optionally, the electronic device further includes:
sensing means for detecting an operation to obtain the encoded image;
the processing device is used for:
determining whether the operation is a preset operation;
and if the operation is the preset operation, responding to the operation and identifying the information carried by the coded image.
Optionally, the processing device is configured to:
determining the environmental parameters of the current environment of the opposite terminal equipment through the at least one frame of image;
and when the environment parameter indicates that the environment is a safe environment, executing an operation instruction corresponding to the information through the application of the electronic equipment.
On the other hand, an embodiment of the present application further provides an electronic device, including:
a housing;
a display unit disposed on the housing;
a transmitting device disposed within the housing;
the image acquisition device is arranged in the shell and is connected with the sending device;
the communication device is arranged in the shell, is connected with the sending device and is used for establishing a communication link between the electronic equipment and second electronic equipment;
the processing device is arranged in the shell, is connected with the image acquisition device and the sending device, and is used for controlling the image acquisition device to acquire a first image; the first image at least comprises a coding image; and controlling the sending device to send the first image to the second electronic equipment through the communication link, so that the second electronic equipment can acquire the information carried by the coded image through the first image.
Optionally, the processing device is configured to:
and controlling the display unit to display a mark for assisting the image acquisition unit to align with the acquired object so as to acquire a first image through the image acquisition unit.
Optionally, the processing device is configured to:
and controlling the image acquisition unit to acquire the first image according to a preset time interval.
On the other hand, an embodiment of the present application further provides an electronic device, including:
a first receiving unit, configured to receive at least one frame of image from a peer device based on a communication link between the electronic device and the peer device;
a first determining unit, configured to determine that the at least one frame of image includes an encoded image;
a first identification unit for identifying information carried by the encoded image;
and the first execution unit is used for executing the operation instruction corresponding to the information through the application of the electronic equipment.
On the other hand, an embodiment of the present application further provides an electronic device, including:
the first establishing unit is used for establishing a communication link with the second electronic equipment;
the first acquisition unit is used for acquiring a first image through the image acquisition unit of the first electronic equipment; the first image at least comprises a coding image;
and the first sending unit is used for sending the first image to the second electronic equipment through the communication link so that the second electronic equipment can acquire the information carried by the coded image through the first image.
One or more technical solutions in the embodiments of the present application have at least one or more of the following technical effects:
firstly, according to the technical scheme in the embodiment of the application, at least one frame of image is received from opposite-end equipment based on the communication link between the electronic equipment and the opposite-end equipment; determining that the at least one frame of image comprises a coded image; identifying information carried by the encoded image; and executing an operation instruction corresponding to the information through the application of the electronic equipment. That is, the two-dimensional code scanning can not be completed by other users who take pictures of the two-dimensional code and send the pictures to the users if the users are not on site like the prior art, and the whole operation process is complex and the real-time performance is low. In the technical scheme, the coded image sent by the opposite terminal equipment is received through the communication link between the electronic equipment and the opposite terminal equipment, and then the information borne by the coded image is timely acquired, so that the code is scanned in real time, and the technical effect of improving the user experience is achieved.
Secondly, due to the technical scheme in the embodiment of the application, the coded image is amplified; and scanning the amplified coded image through a scanning module in the electronic equipment to identify the information carried by the coded image. In other words, in the technical scheme, after the electronic device receives the first image sent by the opposite terminal, the coded image is amplified, so that the electronic device can more conveniently, more accurately and more quickly identify the information carried by the coded image, and further the technical effect of improving the user experience is achieved.
Thirdly, according to the technical scheme in the embodiment of the application, the environmental parameters of the current environment where the opposite-end equipment is located are determined through the at least one frame of image; and when the environment parameter indicates that the environment is a safe environment, executing an operation instruction corresponding to the information through the application of the electronic equipment. In other words, in the technical scheme, besides the information carried by the coded image is acquired through at least one frame of image, the environmental parameter of the current environment where the opposite terminal device is located can be determined according to at least one frame of image, and when the environment is determined to be a safe environment, the operation instruction corresponding to the information is executed, so that the operation safety is improved, and the technical effect of improving the user experience is further achieved.
Drawings
Fig. 1 is a flowchart illustrating an implementation of an information processing method according to an embodiment of the present disclosure;
fig. 2 is a flowchart illustrating a specific implementation of an information processing method according to a second embodiment of the present application;
fig. 3 is a schematic structural diagram of an electronic device according to a third embodiment of the present application;
fig. 4 is a schematic structural diagram of an electronic device according to a fourth embodiment of the present application;
fig. 5 is a schematic structural diagram of an electronic device according to a fifth embodiment of the present application;
fig. 6 is a schematic structural diagram of an electronic device according to a sixth embodiment of the present application.
Detailed Description
According to the technical scheme, real-time remote code scanning can be achieved, and user experience is improved.
In order to solve the technical problems, the general idea of the embodiment of the application is as follows:
receiving at least one frame of image from a peer device based on a communication link of the electronic device with the peer device;
determining that the at least one frame of image comprises a coded image;
identifying information carried by the encoded image;
and executing an operation instruction corresponding to the information through the application of the electronic equipment.
In the above technical solution, based on a communication link between the electronic device and an opposite device, at least one frame of image is received from the opposite device; determining that the at least one frame of image comprises a coded image; identifying information carried by the encoded image; and executing an operation instruction corresponding to the information through the application of the electronic equipment. That is, the two-dimensional code scanning can not be completed by other users who take pictures of the two-dimensional code and send the pictures to the users if the users are not on site like the prior art, and the whole operation process is complex and the real-time performance is low. In the technical scheme, the coded image sent by the opposite terminal equipment is received through the communication link between the electronic equipment and the opposite terminal equipment, and then the information borne by the coded image is timely acquired, so that the code is scanned in real time, and the technical effect of improving the user experience is achieved.
Example one
Referring to fig. 1, an information processing method provided in an embodiment of the present application includes:
s101: receiving at least one frame of image from a peer device based on a communication link of the electronic device with the peer device;
s102: determining that the at least one frame of image comprises a coded image;
s103: identifying information carried by the encoded image;
s104: and executing an operation instruction corresponding to the information through the application of the electronic equipment.
The information processing method provided by the embodiment of the application can be applied to an electronic device, such as: smart phones, tablet computers, notebook computers, and the like, or other electronic devices capable of establishing a communication link and recognizing or scanning a received image are not illustrated herein.
In the embodiment of the present application, step S101 is first executed: receiving at least one frame of image from a peer device based on a communication link of the electronic device with the peer device.
In this embodiment of the application, the peer device may specifically be a smart phone, a tablet computer, a notebook, or the like, or other electronic devices with an image acquisition unit, which is not specifically limited in this embodiment of the application. Further, in this embodiment of the present application, a communication link between the electronic device and the peer device may specifically be a video call link based on QQ, or a video call link based on WeChat, or another video call link, where the video call link established between the electronic device and the peer device may specifically be based on VoLTE (Voice over LTE) technology, which not only can provide a higher-quality and more natural voice and video call effect, but also makes the video call connection waiting time shorter, and then corresponds to this embodiment of the present application, that is, the electronic device can obtain information borne by the encoded image in real time to execute an operation instruction corresponding to the information, so as to improve user experience.
In a specific implementation process, after the electronic device establishes a communication link with the peer device, at least one frame of image sent by the peer device is received.
After step S101 is executed, step S102 is executed: determining that the at least one frame of image includes an encoded image.
In the embodiment of the present application, after acquiring at least one frame of image sent by an opposite-end device, it is determined whether the at least one frame of image includes a coded image, and in a specific implementation process, a graying process is performed on the received image first, because, in a normal state, an image acquired by an electronic device is a color image, and an information amount contained in the color image is large compared with a grayscale image, an occupied storage space is more, a color image processing process is relatively complex, and an operation amount is large, and therefore, a graying process needs to be performed on the received image to reduce an operation amount of a subsequent processing step.
Further, after the image graying processing, the binarization processing needs to be performed on the obtained image, that is, pixels of the grayscale image are divided into two parts, namely, a part larger than the threshold and a part smaller than the threshold, by using a preset threshold, and the background and the coded image in the image can be separated as long as the threshold is properly selected.
Further, pattern positioning, the coded image detects patterns from three positions with the same shape, and the three position detection images are respectively positioned at the upper left corner, the upper right corner and the lower left corner of the patterns under the condition of no rotation. And this is taken as a scanning feature of the position detection pattern, and based on this feature, when a line is cut to 1:1:3:1:1 alternately in black and white, the frame image can be considered to contain a coded image.
After step S102 is executed, S103 is executed: information carried by the encoded image is identified.
In the embodiment of the present application, there are two implementation manners for the specific implementation process of step S103, and each implementation manner is described in detail below.
The first implementation manner specifically includes the following steps:
detecting an operation of obtaining the coded image;
determining whether the operation is a preset operation;
and if the operation is the preset operation, responding to the operation and identifying the information carried by the coded image.
In a specific implementation process, when it is determined that the received at least one frame of image includes an encoded image, a prompt message may be output on the display unit, where the prompt message includes: and finding the two-dimensional code to prompt a user to acquire information and a website carried by the coded image through preset operation, and to pay attention to a certain micro signal, image, character and the like.
After the prompt information is output, whether the information carried by the two-dimensional code is acquired or not is determined by detecting the operation of the user by the user. In a specific implementation process, the operation performed by the user may be a click operation, a long-time press operation, a slide operation, or another operation, which is not illustrated here.
In the embodiment of the present application, the preset operation may be specifically a sliding operation, a long-pressing operation, an operation in which the pressing force is greater than a threshold, or the like, or another operation. In the embodiment of the present application, the preset operation specifically uses a long press operation as an example, and in a specific implementation process, if it is detected that an operation performed by a user on a display screen is the long press operation, information carried by a coded image is identified.
In the process of identifying the information carried by the coded image, the method specifically comprises the following steps: 1. a symbol image is acquired. The dark and light modules are identified as an array consisting of "0" and "1"; 2. recognizing format information (removing the mask pattern as required, completing error correction of the format information module, and recognizing error correction level and mask image reference); 3. reading version information and determining the version of the symbol; 4. carrying out XOR processing on the coding area in the matrix by using a mask image to eliminate the mask; 5. reading symbol characters according to a module arrangement rule, and recovering data and error correction code words of information; 6. detecting errors by using error correction code words corresponding to the error correction grade information, and if errors are found, correcting the errors; 7. subdividing the data code into a plurality of portions based on the mode indicator and the character count indicator; 8. decoding is carried out according to the used mode to obtain the data characters. Specifically, the identified information may be a website, a text, a picture, or music content, or other information, which is not illustrated herein.
Through the technical scheme in the embodiment of the application, whether the information carried by the coded image is identified can be determined according to the actual needs of the user, so that the coded image is prevented from being identified under the condition that the user does not need the coded image, the energy consumption of the electronic equipment is wasted, and the using effect of the user is further influenced.
The second implementation manner specifically includes the following steps:
enlarging the encoded image;
and scanning the amplified coded image through a scanning module in the electronic equipment to identify the information carried by the coded image.
In a specific implementation process, when the opposite-end device collects an image, the collected object may be smaller because the electronic device is far away from the collected object, so that when the electronic device receives the image collected by the opposite-end device, scanning is inconvenient. Therefore, in the embodiment of the present application, when it is determined that the received at least one frame of image includes a coded image, the coded image is first enlarged, and then the enlarged coded image is identified, so as to obtain information carried by the coded image.
Therefore, through the technical scheme in the embodiment of the application, the electronic equipment can conveniently, accurately and quickly identify the information carried by the coded image so as to improve the technical effect of user experience.
After step S103 is executed, step S104 is executed: and executing an operation instruction corresponding to the information through the application of the electronic equipment.
In the specific implementation process, there are two specific implementation manners for the specific implementation process of step S104, and each implementation manner is described in detail below.
The first implementation manner specifically includes the following steps:
determining the environmental parameters of the current environment of the opposite terminal equipment through the at least one frame of image;
and when the environment parameter indicates that the environment is a safe environment, executing an operation instruction corresponding to the information through the application of the electronic equipment.
In the specific implementation process, if the information carried by the encoded image is identified, the information is specifically: during information payment, before payment, determining an environmental parameter of a current environment of the opposite-end device based on at least one received frame of image, wherein the environmental parameter can be noise of the environment, and can also be speaking speed, tone and the like of a user of the opposite-end device in a video call process; or environmental parameters such as the place where the image is acquired.
In the specific implementation process, whether the environment of the opposite-end user is a safe environment or not can be determined according to whether the scene of the opposite-end user acquired by the video image is a public place or a remote place or not and according to further positioning;
or according to the noise of the environment where the opposite-end user is located, such as: if the environment is noisy, the fact that the opposite-end user is in a public place is indicated, and the opposite-end user belongs to a normal shopping environment; if the environment is quiet, the speech speed and the tone of the opposite-end user in the video call process are further required to be further determined, for example: if the speech speed is high and the sentences are not consistent in the conversation process, the current environment of the opposite-end user is unsafe, and the user needs to pay carefully;
or during the video call, according to the session of the opposite-end user, specifically, when it is determined that, in the call process, other users have a session with the opposite-end device user in addition to the opposite-end device user, it may be determined whether the environment where the opposite-end user is located is a secure environment based on the session content.
In a specific implementation process, when it is determined that the environment where the opposite-end user is located is a safe environment, the control instruction corresponding to the information is executed through the application of the electronic device, and specifically, the corresponding payment instruction is completed. In this embodiment, the application of the electronic device may specifically be an application such as WeChat, Paibao, Baidu wallet, or another application, which is not illustrated herein.
The second implementation manner specifically includes the following steps:
sending the information to the opposite terminal equipment so that a user of the opposite terminal equipment can confirm whether the information is correct information or not;
and after receiving a confirmation instruction for representing that the information is correct information, executing an operation instruction corresponding to the information through the application of the electronic equipment.
In the specific implementation process, after identifying the information carried by the encoded image, the specific examples are as follows: information such as the name of the commodity to be paid, the payment price, the payment time and the like is sent to the opposite-end device, and after the opposite-end device determines that the payment information is correct information, an operation instruction corresponding to the information, specifically, a payment instruction, is executed through the application of the electronic device.
Through the technical scheme provided by the embodiment of the application, the wrong payment can be avoided, subsequent troubles are brought to the user, and the technical effect of improving the user experience degree is achieved.
In the embodiment of the present application, the operation instruction may be used to complete an instruction for replacing an article or other instructions that need to be completed by scanning a two-dimensional code, which is not specifically limited in the embodiment of the present application.
In the embodiment of the present application, for the interval between step S103 and step S104, the application of the electronic device may be called first, for example: the information carried by the identification code image such as WeChat and Payment treasures is then finished with the control instruction corresponding to the information, or the information carried by the identification code image is firstly identified, and then the application of the electronic device is called, such as: the WeChat, the Payment treasure and the like can complete the control instruction corresponding to the information, both the two implementation modes can be realized, and the embodiment of the application is not particularly limited.
Example two
Referring to fig. 2, an information processing method provided in an embodiment of the present application includes:
s201: the first electronic equipment establishes a communication link with the second electronic equipment;
s202: acquiring a first image through an image acquisition unit of the first electronic device; the first image at least comprises a coding image;
s203: and sending the first image to the second electronic equipment through the communication link so that the second electronic equipment can acquire the information carried by the coded image through the first image.
The information processing method provided by the embodiment of the application can be applied to first electronic equipment, such as: a smart phone, a tablet computer, or other electronic devices with an image capturing unit are not illustrated here.
In the embodiment of the present application, step S201 is first executed: a communication link is established between the first electronic device and the second electronic device.
In a specific implementation process, the communication link established between the first electronic device and the second electronic device may specifically be a QQ-based video call link, a wechat-based video call link, or another video call, and is not specifically limited in this embodiment of the present application.
After step S101 is executed, step S202 is executed: acquiring a first image through an image acquisition unit of the first electronic device; the first image comprises at least one coded image.
For the specific implementation process of step S202, the following steps are specifically included:
displaying a mark on a display unit of the first electronic device, wherein the mark is used for assisting the image acquisition unit to align with an acquired object so as to acquire a first image through the image acquisition unit of the first electronic device.
In a specific implementation process, in order to enable a second electronic device connected to a first electronic device to quickly and accurately scan encoded information included in a first image sent by the first electronic device, when the first electronic device scans the first image, a mark is displayed on a display unit of the first electronic device.
In a specific implementation process, the mark displayed on the display unit may be a scanning frame specifically for aligning the focusing encoded image, so that when the first electronic device aligns the focusing encoded image, the second electronic device side can also align the focusing encoded image to ensure that the second electronic device can accurately and rapidly identify the encoded image, thereby achieving a technical effect of improving user experience.
In this embodiment of the application, when a first image is captured by an image of a first electronic device, an image capturing unit of the first electronic device may be controlled to capture the first image at preset time intervals.
In the embodiment of the present application, the preset time interval may specifically be 5 seconds, 10 seconds, or 15 seconds, or other time intervals, and a person skilled in the art may set the preset time interval according to actual needs, and the preset time interval is not specifically limited in the embodiment of the present application.
In a specific implementation process, when the first image is scanned at a preset time interval, the power consumption of the first electronic equipment in a video process can be reduced, so that the working time of the electronic equipment is prolonged; furthermore, after the first image is collected and before the next collection, the current picture of the first electronic device can be controlled to be the picture of the first image, so that the second electronic device can more stably identify or scan the picture in the first image, that is, the picture cannot be accurately scanned due to the shake of the first electronic device in the image collecting process, and therefore, through the technical scheme provided by the embodiment of the application, the technical effect of the user experience degree is improved.
After step S202 is executed, step S203 is executed: and sending the first image to the second electronic equipment through the communication link so that the second electronic equipment can acquire the information carried by the coded image through the first image.
In a specific implementation process, after the first image is collected, the collected first image is sent to the second electronic device through a communication link between the first electronic device and the second electronic device, so that the second electronic device obtains information carried by the coded image through the first image, and further completes a control instruction corresponding to the information.
Furthermore, according to the technical scheme provided by the embodiment of the application, the collected images are timely sent to the second electronic device through the communication link between the electronic devices, so that the second electronic device can timely complete the identification of the coded images, and then the instruction of the information borne by the coded images is executed, and further the technical effect of improving the user experience is achieved.
EXAMPLE III
Referring to fig. 3, based on the same inventive concept, an electronic device according to an embodiment of the present application further includes:
a housing 30;
processing means 31, disposed in the housing 30, for receiving at least one frame of image from a peer device based on a communication link between the electronic device and the peer device; determining that the at least one frame of image comprises a coded image; identifying information carried by the encoded image; and executing an operation instruction corresponding to the information through the application of the electronic equipment.
Optionally, the electronic device further includes:
sensing means 32 for detecting an operation to obtain the encoded image;
the processing means 31 are configured to:
determining whether the operation is an operation;
and if the operation is the preset operation, responding to the preset operation and identifying the information carried by the coded image.
In a specific implementation process, the sensing device may be specifically at least one of a pressure sensor, a gravity sensor, and a light sensor provided in the electronic device, or another sensor, which is not specifically limited in the embodiment of the present application.
Optionally, the processing device 31 is configured to:
determining the environmental parameters of the current environment of the opposite terminal equipment through the at least one frame of image;
and when the environment parameter indicates that the environment is a safe environment, executing an operation instruction corresponding to the information through the application of the electronic equipment.
Example four
Referring to fig. 4, based on the same inventive concept, an embodiment of the present application further provides an electronic device, including:
a housing 40;
a display unit 41 provided on the housing 40;
a transmitting device 42 disposed within the housing 40;
an image acquisition device 43 disposed in the housing 40 and connected to the transmitting device 42;
a communication device 44 disposed in the housing 40 and connected to the transmitting device 42 for establishing a communication link between the electronic device and a second electronic device;
the processing device 45 is arranged in the shell 40, is connected with the image acquisition device and the sending device, and is used for controlling the image acquisition device to acquire a first image; the first image at least comprises a coding image; and controlling the sending device to send the first image to the second electronic equipment through the communication link, so that the second electronic equipment can acquire the information carried by the coded image through the first image.
In the embodiment of the present application, the display unit may specifically be an LED display screen, an LCD display screen, or other types of display screens, which are not illustrated herein.
In this embodiment of the present application, the image capturing unit may specifically be a camera of the electronic device, and in a specific implementation process, the image capturing unit may be 1 camera, for example: the front camera or the rear camera may also be 2 cameras, and is not specifically limited in the embodiment of the present application.
In this embodiment, the communication device may specifically be a unit for establishing a wireless communication connection, specifically, a wireless access point, or the like, or other wireless communication modules, which is not illustrated here.
Optionally, the processing device 45 is configured to:
and controlling the display unit to display a mark for assisting the image acquisition unit to align with the acquired object so as to acquire a first image through the image acquisition unit.
Optionally, the processing device 45 is configured to:
and controlling the image acquisition unit to acquire the first image according to a preset time interval.
EXAMPLE five
Referring to fig. 5, based on the same inventive concept, an embodiment of the present application further provides an electronic device, including:
a first receiving unit 50, configured to receive at least one frame of image from a peer device based on a communication link between the electronic device and the peer device;
a first determining unit 51, configured to determine that the at least one frame of image includes an encoded image;
a first identifying unit 52 for identifying information carried by the encoded image;
and a first execution unit 53, configured to execute, by an application of the electronic device, an operation instruction corresponding to the information.
Optionally, the first identifying unit 52 includes:
a first detection module for detecting an operation of obtaining the encoded image;
the first determination module is used for determining whether the operation is a preset operation;
and the first identification module is used for responding to the operation and identifying the information carried by the coded image if the operation is the preset operation.
Optionally, the first identifying unit 52 includes:
the first amplification module is used for amplifying the coded image;
and the second identification module is used for scanning the amplified coded image through a scanning module in the electronic equipment so as to identify the information carried by the coded image.
Optionally, the first executing unit 53 includes:
a second determining module, configured to determine, through the at least one frame of image, an environmental parameter of an environment where the peer device is currently located;
and the first execution module is used for executing an operation instruction corresponding to the information through the application of the electronic equipment when the environment parameter indicates that the environment is a safe environment.
Optionally, the first executing unit 53 includes:
a first sending module, configured to send the information to the peer device, so that a user of the peer device determines whether the information is correct information;
and the second execution module is used for executing the operation instruction corresponding to the information through the application of the electronic equipment after receiving the confirmation instruction for representing that the information is correct information.
EXAMPLE six
Referring to fig. 6, an embodiment of the present application further provides an electronic device, including:
a first establishing unit 60 for establishing a communication link with a second electronic device;
a first acquisition unit 61, configured to acquire a first image through an image acquisition unit of the first electronic device; the first image at least comprises a coding image;
a first sending unit 62, configured to send the first image to the second electronic device through the communication link, so that the second electronic device can obtain information carried by the encoded image through the first image.
Optionally, the first collecting unit 61 includes:
the first acquisition module is used for displaying a mark on a display unit of the first electronic device, and is used for assisting the image acquisition unit to align with an acquired object so as to acquire a first image through the image acquisition unit of the first electronic device.
Optionally, the first collecting unit 61 includes:
and the second acquisition module is used for controlling the image acquisition unit of the first electronic equipment to acquire the first image according to a preset time interval.
Through one or more technical solutions in the embodiments of the present application, one or more of the following technical effects can be achieved:
firstly, according to the technical scheme in the embodiment of the application, at least one frame of image is received from opposite-end equipment based on the communication link between the electronic equipment and the opposite-end equipment; determining that the at least one frame of image comprises a coded image; identifying information carried by the encoded image; and executing an operation instruction corresponding to the information through the application of the electronic equipment. That is, it is not like in the prior art that if another user needs to find the two-dimensional code for scanning, the two-dimensional code needs to be photographed and sent to the user of the other party for scanning, and at this time, if the user of the other party does not check the photo sent by the user in time, the two-dimensional code cannot be scanned in time. In the technical scheme, if the user is not on site, other users need to take the two-dimensional code into a picture and send the picture to the user, and then the two-dimensional code scanning can be completed. In the technical scheme, the coded image sent by the opposite terminal equipment is received through the communication link between the electronic equipment and the opposite terminal equipment, and then the information borne by the coded image is timely acquired, so that the code is scanned in real time, and the technical effect of improving the user experience is achieved.
Secondly, due to the technical scheme in the embodiment of the application, the coded image is amplified; and scanning the amplified coded image through a scanning module in the electronic equipment to identify the information carried by the coded image. In other words, in the technical scheme, after the electronic device receives the first image sent by the opposite terminal, the coded image is amplified, so that the electronic device can more conveniently and accurately identify the information carried by the coded image, and further the technical effect of improving the user experience is achieved.
Thirdly, according to the technical scheme in the embodiment of the application, the environmental parameters of the current environment where the opposite-end equipment is located are determined through the at least one frame of image; and when the environment parameter indicates that the environment is a safe environment, executing an operation instruction corresponding to the information through the application of the electronic equipment. In other words, in the technical scheme, besides the information carried by the coded image is acquired through at least one frame of image, the environmental parameter of the current environment where the opposite terminal device is located can be determined according to at least one frame of image, and when the environment is determined to be a safe environment, the operation instruction corresponding to the information is executed, so that the operation safety is improved, and the technical effect of improving the user experience is further achieved.
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 the 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, a usb disk, or the like, and when the computer program instructions corresponding to the information processing method in the storage medium are read or executed by an electronic device, the method includes the following steps:
receiving at least one frame of image from a peer device based on a communication link of the electronic device with the peer device;
determining that the at least one frame of image comprises a coded image;
identifying information carried by the encoded image;
and executing an operation instruction corresponding to the information through the application of the electronic equipment.
Optionally, the step of storing in the storage medium: the identifying of the information carried by the encoded image, the corresponding computer instruction, in a specific executed process, specifically includes the steps of:
detecting an operation of obtaining the coded image;
determining whether the operation is a preset operation;
and if the operation is the preset operation, responding to the operation and identifying the information carried by the coded image.
Optionally, the step of storing in the storage medium: the identifying of the information carried by the encoded image, the corresponding computer instruction, in a specific executed process, specifically includes the steps of:
enlarging the encoded image;
and scanning the amplified coded image through a scanning module in the electronic equipment to identify the information carried by the coded image.
Optionally, the step of storing in the storage medium: the executing, by the application of the electronic device, the operation instruction corresponding to the information, where the corresponding computer instruction specifically includes, in a specific executed process, the following steps:
determining the environmental parameters of the current environment of the opposite terminal equipment through the at least one frame of image;
and when the environment parameter indicates that the environment is a safe environment, executing an operation instruction corresponding to the information through the application of the electronic equipment.
Optionally, the step of storing in the storage medium: the executing, by the application of the electronic device, the operation instruction corresponding to the information, where the corresponding computer instruction specifically includes, in a specific executed process, the following steps:
sending the information to the opposite terminal equipment so that a user of the opposite terminal equipment can confirm whether the information is correct information or not;
and after receiving a confirmation instruction for representing that the information is correct information, executing an operation instruction corresponding to the information through the application of the electronic equipment.
The computer program instructions corresponding to the information processing method in the embodiments of the present application may be stored on a storage medium such as an optical disc, a hard disc, a U-disc, etc., and when the computer program instructions corresponding to the information processing method in the storage medium are read or executed by an electronic device, the method includes the following steps
The first electronic equipment establishes a communication link with the second electronic equipment;
acquiring a first image through an image acquisition unit of the first electronic device; the first image at least comprises a coding image;
and sending the first image to the second electronic equipment through the communication link so that the second electronic equipment can acquire the information carried by the coded image through the first image.
Optionally, the step of storing in the storage medium: the method comprises the following steps that a first image is acquired through a sensor of the first electronic device, and a corresponding computer instruction specifically comprises the following steps in the specific executed process:
displaying a mark on a display unit of the first electronic device, wherein the mark is used for assisting the image acquisition unit to align with an acquired object so as to acquire a first image through the image acquisition unit of the first electronic device.
Optionally, the step of storing in the storage medium: the method comprises the following steps that a first image is acquired through an image acquisition unit of the first electronic device, and a corresponding computer instruction specifically comprises the following steps in the specific executed process:
and controlling an image acquisition unit of the first electronic equipment to acquire a first image according to a preset time interval.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
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.
Claims (16)
1. An information processing method applied to an electronic device, the method comprising:
receiving at least one frame of image from the opposite-end device in the process of video communication with the opposite-end device based on the video communication link between the electronic device and the opposite-end device;
determining that the at least one frame of image comprises a coded image;
outputting prompt information for prompting a user to acquire information carried by the coded image through preset operation;
identifying information carried by the encoded image;
executing an operation instruction corresponding to the information through the application of the electronic equipment;
when the opposite-end equipment scans the first image, a mark is displayed on a display unit of the opposite-end equipment and used for assisting in aligning the collected object.
2. The method of claim 1, wherein said identifying information carried by said encoded image comprises:
detecting an operation of obtaining the coded image;
determining whether the operation is the preset operation;
and if the operation is the preset operation, responding to the operation and identifying the information carried by the coded image.
3. The method of claim 1, wherein said identifying information carried by said encoded image comprises:
enlarging the encoded image;
and scanning the amplified coded image through a scanning module in the electronic equipment to identify the information carried by the coded image.
4. The method of claim 2 or 3, wherein executing, by the application of the electronic device, the operation instruction corresponding to the information comprises:
determining the environmental parameters of the current environment of the opposite terminal equipment through the at least one frame of image;
and when the environment parameter indicates that the environment is a safe environment, executing an operation instruction corresponding to the information through the application of the electronic equipment.
5. The method of claim 2 or 3, wherein executing, by the application of the electronic device, the operation instruction corresponding to the information comprises:
sending the information to the opposite terminal equipment so that a user of the opposite terminal equipment can confirm whether the information is correct information or not;
and after receiving a confirmation instruction for representing that the information is correct information, executing an operation instruction corresponding to the information through the application of the electronic equipment.
6. An information processing method comprising:
the first electronic equipment establishes a video communication link with the second electronic equipment;
acquiring a first image through an image acquisition unit of the first electronic device in the process of carrying out video communication with opposite-end equipment; the first image at least comprises a coding image;
sending the first image to the second electronic device through the communication link, so that the second electronic device outputs prompt information for prompting a user to acquire information carried by the coded image through preset operation, acquire the information carried by the coded image through the first image, and execute an operation instruction corresponding to the information through application of the second electronic device;
when the first electronic device scans the first image, a mark is displayed on a display unit of the first electronic device and used for assisting the image acquisition unit to align with an acquired object.
7. The method of claim 6, wherein said acquiring a first image by a sensor of the first electronic device comprises:
displaying a mark on a display unit of the first electronic device, wherein the mark is used for assisting the image acquisition unit to align with an acquired object so as to acquire a first image through the image acquisition unit of the first electronic device.
8. The method of claim 7, wherein said capturing a first image by an image capture unit of the first electronic device comprises:
and controlling an image acquisition unit of the first electronic equipment to acquire a first image according to a preset time interval.
9. An electronic device, comprising:
a housing;
the processing device is arranged in the shell and used for receiving at least one frame of image from the opposite-end equipment in the process of video communication with the opposite-end equipment based on the video communication link between the electronic equipment and the opposite-end equipment; determining that the at least one frame of image comprises a coded image; outputting prompt information for prompting a user to acquire information carried by the coded image through preset operation; identifying information carried by the encoded image; executing an operation instruction corresponding to the information through the application of the electronic equipment; when the opposite-end equipment scans the first image, a mark is displayed on a display unit of the opposite-end equipment and used for assisting in aligning the collected object.
10. The electronic device of claim 9, wherein the electronic device further comprises:
sensing means for detecting an operation to obtain the encoded image;
the processing device is used for:
determining whether the operation is a preset operation;
and if the operation is the preset operation, responding to the operation and identifying the information carried by the coded image.
11. The electronic device of claim 9, wherein the processing means is to:
determining the environmental parameters of the current environment of the opposite terminal equipment through the at least one frame of image;
and when the environment parameter indicates that the environment is a safe environment, executing an operation instruction corresponding to the information through the application of the electronic equipment.
12. An electronic device, comprising:
a housing;
a display unit disposed on the housing;
a transmitting device disposed within the housing;
the image acquisition device is arranged in the shell and is connected with the sending device;
the communication device is arranged in the shell, is connected with the sending device and is used for establishing a video communication link between the electronic equipment and second electronic equipment;
the processing device is arranged in the shell, connected with the image acquisition device and the sending device and used for controlling the image acquisition device to acquire a first image in the process of carrying out video communication with opposite-end equipment; the first image at least comprises a coding image; the sending device is controlled to send the first image to the second electronic equipment through the video communication link, so that the second electronic equipment outputs prompt information for prompting a user to acquire information borne by the coded image through preset operation, acquire the information borne by the coded image through the first image and execute an operation instruction corresponding to the information through application of the second electronic equipment; when the electronic equipment scans the first image, a mark is displayed on a display unit of the electronic equipment and used for assisting the image acquisition unit to align with an acquired object.
13. The electronic device of claim 12, wherein the processing means is to:
and controlling the display unit to display a mark for assisting the image acquisition unit to align with the acquired object so as to acquire a first image through the image acquisition unit.
14. The electronic device of claim 13, wherein the processing means is to:
and controlling the image acquisition unit to acquire the first image according to a preset time interval.
15. An electronic device, comprising:
the device comprises a first receiving unit, a second receiving unit and a processing unit, wherein the first receiving unit is used for receiving at least one frame of image from an opposite terminal device in the process of video communication with the opposite terminal device based on the video communication link between the electronic device and the opposite terminal device; when the opposite-end equipment scans the first image, a mark is displayed on a display unit of the opposite-end equipment and used for assisting in aligning an acquired object;
a first determining unit, configured to determine that the at least one frame of image includes an encoded image;
the display unit is used for outputting prompt information to prompt a user to acquire the information carried by the coded image through preset operation;
a first identification unit for identifying information carried by the encoded image;
and the first execution unit is used for executing the operation instruction corresponding to the information through the application of the electronic equipment.
16. An electronic device, comprising:
the first establishing unit is used for establishing a video communication link with the second electronic equipment;
the first acquisition unit is used for acquiring a first image through the image acquisition unit of the electronic equipment in the process of carrying out video communication with opposite-end equipment; the first image at least comprises a coding image; when the electronic equipment scans the first image, a mark is displayed on a display unit of the electronic equipment and used for assisting the image acquisition unit to align to an acquired object;
the first sending unit is used for sending the first image to the second electronic equipment through the communication link so as to enable the second electronic equipment to output prompt information for prompting a user to acquire the information borne by the coded image through preset operation, acquire the information borne by the coded image through the first image and enable an operation instruction corresponding to the information to be executed through application of the second electronic equipment.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610201708.2A CN105893996B (en) | 2016-03-31 | 2016-03-31 | Information processing method and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610201708.2A CN105893996B (en) | 2016-03-31 | 2016-03-31 | Information processing method and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105893996A CN105893996A (en) | 2016-08-24 |
CN105893996B true CN105893996B (en) | 2020-10-27 |
Family
ID=57012548
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610201708.2A Active CN105893996B (en) | 2016-03-31 | 2016-03-31 | Information processing method and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105893996B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106960338B (en) * | 2016-12-16 | 2021-08-31 | 中国银联股份有限公司 | Mobile payment terminal, payment method and payment system based on two-dimension code payment |
CN108256608A (en) * | 2017-03-15 | 2018-07-06 | 新华智云科技有限公司 | A kind of two dimensional image code and its recognition methods and equipment |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103347200A (en) * | 2013-05-30 | 2013-10-09 | 深圳市同洲电子股份有限公司 | Communication connection method and related devices and systems |
CN103488528A (en) * | 2013-09-05 | 2014-01-01 | 优视科技有限公司 | QR code processing method and device based on mobile terminals |
CN105407071A (en) * | 2014-08-29 | 2016-03-16 | 阿里巴巴集团控股有限公司 | Information displaying method, client, server, and system |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8297497B2 (en) * | 2011-02-11 | 2012-10-30 | Awind, Inc. | Transmitting device, receiving device, screen frame transmission system and method |
CN102156943A (en) * | 2011-04-18 | 2011-08-17 | 徐蔚 | Information processing system capable of realizing immediate business transaction through mobile terminals embedded in touched core engine and method thereof |
CN106850543B (en) * | 2013-07-08 | 2021-05-07 | 江苏凌空网络股份有限公司 | Device for communication by adopting bar code image |
CN112819503A (en) * | 2015-10-09 | 2021-05-18 | 徐蔚 | Information propagation method based on grid space |
-
2016
- 2016-03-31 CN CN201610201708.2A patent/CN105893996B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103347200A (en) * | 2013-05-30 | 2013-10-09 | 深圳市同洲电子股份有限公司 | Communication connection method and related devices and systems |
CN103488528A (en) * | 2013-09-05 | 2014-01-01 | 优视科技有限公司 | QR code processing method and device based on mobile terminals |
CN105407071A (en) * | 2014-08-29 | 2016-03-16 | 阿里巴巴集团控股有限公司 | Information displaying method, client, server, and system |
Also Published As
Publication number | Publication date |
---|---|
CN105893996A (en) | 2016-08-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11200395B2 (en) | Graphic code recognition method and apparatus, terminal, and storage medium | |
CN103279730B (en) | Mobile terminal processes the method and apparatus of visual graphic code | |
CN105046186B (en) | A kind of recognition methods of Quick Response Code and device | |
CN108399349B (en) | Image recognition method and device | |
CN101102572A (en) | Apparatus and method for photographing a business card in portable terminal | |
JP2018500702A (en) | Region recognition method and apparatus | |
JP2011513809A (en) | Method and apparatus for reading information contained in bar code | |
CN108351960A (en) | Electronic equipment with improved iris recognition and its method | |
US9418268B2 (en) | System and method for setting a real-time clock of a barcode reading device | |
CN112434546A (en) | Face living body detection method and device, equipment and storage medium | |
CN111507122A (en) | Graphic code identification method and device, storage medium and terminal | |
CN112990197A (en) | License plate recognition method and device, electronic equipment and storage medium | |
CN105893996B (en) | Information processing method and electronic equipment | |
CN112381749A (en) | Image processing method, image processing device and electronic equipment | |
JP6372396B2 (en) | Information transmission system | |
TWI399963B (en) | Two dimensional barcode recognition system on mobile phone | |
TWI744962B (en) | Information processing device, information processing system, information processing method, and program product | |
CN113408314A (en) | Bar code identification method and related equipment | |
CN110543799A (en) | two-dimensional code processing method and device, storage medium and mobile terminal | |
CN114821797A (en) | Lip language content identification method and device, storage medium and electronic equipment | |
CN112561809A (en) | Image processing method, device and equipment | |
JP3723948B2 (en) | Mobile phone with camera, barcode reading method, and program | |
CN112989943B (en) | Information processing method and information processing device | |
CN117939302A (en) | Image processing method, device and storage medium for continuous data transmission | |
WO2015196675A1 (en) | Projecting method and mobile hotspot device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |