CN111709418B - Prompting method, device and equipment in code scanning process - Google Patents

Prompting method, device and equipment in code scanning process Download PDF

Info

Publication number
CN111709418B
CN111709418B CN202010490422.7A CN202010490422A CN111709418B CN 111709418 B CN111709418 B CN 111709418B CN 202010490422 A CN202010490422 A CN 202010490422A CN 111709418 B CN111709418 B CN 111709418B
Authority
CN
China
Prior art keywords
information
image
code
scanning area
prompt
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
Application number
CN202010490422.7A
Other languages
Chinese (zh)
Other versions
CN111709418A (en
Inventor
方视菁
李君�
邹启晨
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alipay Hangzhou Information Technology Co Ltd
Original Assignee
Alipay Hangzhou Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alipay Hangzhou Information Technology Co Ltd filed Critical Alipay Hangzhou Information Technology Co Ltd
Priority to CN202210272419.7A priority Critical patent/CN114663646A/en
Priority to CN202010490422.7A priority patent/CN111709418B/en
Publication of CN111709418A publication Critical patent/CN111709418A/en
Priority to PCT/CN2021/097666 priority patent/WO2021244525A1/en
Application granted granted Critical
Publication of CN111709418B publication Critical patent/CN111709418B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • G06V10/25Determination of region of interest [ROI] or a volume of interest [VOI]

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the specification discloses a prompting method, a prompting device and prompting equipment in a code scanning process, wherein the method comprises the following steps: acquiring a first image in a scanning area of code scanning equipment; determining position information of a first partial image of a bearing layer for bearing a code image contained in the first image in a scanning area; generating first prompt information for indicating a first direction based on the position information; the first direction is used to indicate a direction from the center position of the scanning area to the position of the first partial image in the scanning area.

Description

Prompting method, device and equipment in code scanning process
Technical Field
The application relates to the technical field of computers, in particular to a prompting method, a prompting device and prompting equipment in a code scanning process.
Background
Code patterns in specific formats, such as two-dimensional codes and bar codes, are increasingly used in the prior art.
However, in some scenarios, when a user holds a terminal device to scan an image containing a code pattern (hereinafter, simply referred to as a code image), a problem of scan failure may occur. For example, when there are two code images respectively belonging to different payment platforms and placed together at a short distance, the user may need to scan the first code image of the payment platform a, but the terminal device actually scans the second code image of the payment platform B. For example, when the user has limited eyesight and cannot see the specific position of the code image, so that the terminal device scans the code image, the whole code image is not in the scanning area, which also causes a problem of failure in transmission and scanning.
In summary, how to improve the success rate of scanning code images is a technical problem to be solved urgently.
Disclosure of Invention
The embodiment of the specification provides a prompting method, a prompting device and prompting equipment in a code scanning process, and aims to solve the problem that the success rate of code image scanning in the existing code scanning payment method process is low.
In order to solve the above technical problem, the embodiments of the present specification are implemented as follows:
the prompt method in the code scanning process provided by the embodiment of the specification comprises the following steps:
acquiring a first image in a scanning area of code scanning equipment; the first image comprises a first partial image of a bearing layer for bearing a code image;
determining first position information of the first partial image in the scanning area;
generating first prompt information used for indicating a first direction based on the first position information; the first direction is used to indicate a direction from the center position of the scanning area to a first position of the first partial image in the scanning area.
The suggestion device in code scanning process that this specification embodiment provided includes:
the first image acquisition module is used for acquiring a first image in a scanning area of the code scanning equipment; the first image comprises a first partial image of a bearing layer for bearing a code image;
a first position information determining module, configured to determine first position information of the first partial image in the scanning area;
the first prompt information generation module is used for generating first prompt information used for indicating a first direction based on the first position information; the first direction is used to indicate a direction from the center position of the scanning area to a first position of the first partial image in the scanning area.
The prompt device in the code scanning process provided by the embodiment of the specification comprises:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to:
acquiring a first image in a scanning area of code scanning equipment; the first image comprises a first partial image of a bearing layer for bearing a code image;
determining first position information of the first partial image in the scanning area;
generating first prompt information used for indicating a first direction based on the first position information; the first direction is used to indicate a direction from the center position of the scanning area to a first position of the first partial image in the scanning area.
The embodiment of the specification provides a computer readable medium, on which computer readable instructions are stored, and the computer readable instructions can be executed by a processor to realize a prompting method in a code scanning process.
One embodiment of the present description achieves the following advantageous effects: acquiring a first image in a scanning area of code scanning equipment; determining position information of a first partial image of a bearing layer for bearing a code image contained in the first image in the scanning area; generating first prompt information for indicating a first direction based on the position information; the first direction is used to indicate a direction from the center position of the scanning area to the position of the first partial image in the scanning area. By the method, according to the position information of the partial image of the bearing layer in the scanning area, prompt information for prompting a user to move the code scanning device can be generated, the user is guided to scan the code image, and the success rate of the user for scanning the code image is improved.
Drawings
In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments described in the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without any creative effort.
Fig. 1 is a flowchart of a prompting method in a code scanning process according to an embodiment of the present disclosure;
fig. 2 is a schematic view of bearer layer characteristic information provided in an embodiment of the present description;
fig. 3 is a first schematic diagram of determining a moving direction of a code scanning device in a code scanning process provided by an embodiment of the present specification;
fig. 4 is a second schematic diagram of determining a moving direction of a code scanning device in a code scanning process provided by an embodiment of the present specification;
FIG. 5 is a schematic diagram of a code scanning process provided by an embodiment of the present specification;
FIG. 6 is a schematic diagram of a prompting device in a code scanning process corresponding to FIG. 1 provided in an embodiment of the present disclosure;
fig. 7 is a schematic structural diagram of a prompting device in a code scanning process corresponding to fig. 1 provided in an embodiment of the present specification.
Detailed Description
To make the objects, technical solutions and advantages of one or more embodiments of the present disclosure more apparent, the technical solutions of one or more embodiments of the present disclosure will be described in detail and completely with reference to the specific embodiments of the present disclosure and the accompanying drawings. It is to be understood that the embodiments described are only a few embodiments of the present specification, and not all embodiments. All other embodiments that can be derived by a person skilled in the art from the embodiments given herein without making any creative effort fall within the protection scope of one or more embodiments of the present disclosure.
The technical solutions provided by the embodiments of the present description are described in detail below with reference to the accompanying drawings.
In the prior art, when a user performs code scanning payment, a merchant often provides code images corresponding to multiple payment platforms for scanning of the user in order to meet multiple payment requirements of the user, and for convenience of scanning of the user, the code images of the multiple platforms are placed at close distances.
In order to solve the defects in the prior art, the scheme provides the following embodiments:
a code scanning prompting method provided in an embodiment of the specification is specifically described with reference to the accompanying drawings:
fig. 1 is a schematic flowchart of a code scanning prompting method provided in an embodiment of the present specification. From the viewpoint of a program, the execution subject of the flow may be a program installed in an application server or an application client.
As shown in fig. 1, the process may include the following steps:
step 102: acquiring a first image in a scanning area of code scanning equipment; the first image comprises a first partial image of a carrier layer for carrying a code image.
The code scanning device can be a device with a code scanning function. For example: can be a mobile terminal with code scanning function, such as: cell-phone, panel computer. The code scanning device can also scan bar codes and two-dimensional codes, so the code scanning device can also be a bar code scanning gun, a two-dimensional code scanner, a code scanning machine and the like.
The scan area may represent the range of image areas that the code scanning device can scan. The image within the scanning area may comprise a partial code image of the payment code and may further comprise a first partial image of the carrier layer for carrying the code image. Of course, the image in the scanning area may not include the code image, but only include the first partial image of the carrier layer.
The carrier layer here may represent a carrier for carrying a code image, for example: the printed payment code is attached to a paper or plastic carrier, in which case the carrier layer may be the paper or plastic carrier. If the payment code is displayed in the display screen of the electronic screen, the carrier layer may be a layer in the software displaying the screen for displaying the payment code and the related information thereof.
It should be noted that the carrier layer for carrying the code image includes information related to the code image, such as: the carrier layer may have a background color and text, images, logos, etc. may be on the carrier layer.
Step 104: first position information of the first partial image within the scanning area is determined.
In practical applications, the size of the scanning area is fixed. The position information of the image within the scanning area in the scanning area is also fixed. The position information mentioned here may be position coordinates of the carrier image in the scanning area.
Step 106: generating first prompt information used for indicating a first direction based on the first position information; the first direction is used to indicate a direction from the center position of the scanning area to the position of the first partial image in the scanning area.
In practical application, when the code scanning device is used for scanning the code image, the whole code image is not completely located in the scanning area or the scanning area does not contain the code image, and at this time, in order to ensure that the code scanning is successful, the code scanning device can be moved according to the position information of the partial image of the bearing layer in the scanning area, so that the code image can be scanned by the scanning device. Specifically, the position information of the partial image of the carrying layer in the code scanning area in the current scanning area may be determined, and then the direction in which the center position of the scanning area points to the position of the partial image in the scanning area is determined as the direction in which the code scanning device moves.
During specific implementation, the coordinates of the center position of the partial image of the bearing layer in the code scanning area can be determined, and the moving direction of the code scanning device is determined according to the coordinates of the center position of the partial image in the code scanning area and the center coordinates of the code scanning area.
The first prompt information may specifically include: one or more of a text form, a graphic form, an animation form, and a voice form. When the user is prompted, the prompting mode of the prompting information can be freely selected/combined according to the actual situation, which is not specifically limited in the embodiments of the present specification.
The method of fig. 1, by acquiring a first image within a scanning area of a code scanning device; determining position information of a first partial image of a bearing layer for bearing a code image contained in the first image in the scanning area; generating first prompt information for indicating a first direction based on the position information; the first direction is used to indicate a direction from the center position of the scanning area to the position of the first partial image in the scanning area. By the method, according to the position information of the partial image of the bearing layer in the scanning area, prompt information for prompting a user to move the code scanning device can be generated, and the user is guided to scan the code image. So as to improve the success rate of the user for scanning the code image.
Based on the process of fig. 1, some specific embodiments of the process are also provided in the examples of this specification, which are described below.
Optionally, before determining the first position information of the first partial image in the scanning area, the method may further include:
identifying characteristic information of the bearing layer based on the partial image;
judging whether the characteristic information is consistent with the target characteristic information or not to obtain a first judgment result; the target characteristic information is characteristic information of a bearing layer of the target payment platform, wherein the bearing layer comprises a bearing code image;
the determining first position information of the first partial image in the scanning area may specifically include:
and when the first judgment result shows that the characteristic information is consistent with the target characteristic information, determining first position information of the first partial image in the scanning area.
The characteristic information of the carrier layer may include one or more of background color information, display text information, and specific identification information of the carrier layer. The display text information in the bearing layer can be publicity terms, Chinese names, Chinese name shorthand, English names and English name shorthand of the payment platform corresponding to the code images, and other text information related to the code images. The specific identification information may be information representing a payment platform corresponding to the code image with a specific symbol or pattern.
The target characteristic information may represent characteristic information of a bearer layer of the target payment platform. Such as: the background color of the bearing layer of the first payment platform is blue, and the bearing layer comprises name text information of the first payment platform and is used for referring in particular to a special identifier A of the first payment platform.
By judging whether the characteristic information of the bearing layer in the scanning area is consistent with the target characteristic information or not, if so, the bearing layer in the scanning area can be determined to be matched with the target payment platform.
To be able to describe the above method in more detail, it can be described with reference to fig. 2:
fig. 2 is a schematic view of bearer layer characteristic information provided in an embodiment of the present specification.
As shown in fig. 2, taking a payment method as an example, a background 2011 in the bearer layer 201 of the payment platform a is blue, and text information in the bearer layer 201 includes: "Payment request A Payment", "APAY", "Payment with A Scan code", and "open' Scan on A first Page". Specific identification information 2012 is also included in the carrier layer 201. According to the color of the background 2011 in the carrier layer 201, the text content of the text information and the specific identification information 2012, it can be determined that the code image carried in the carrier layer 201 corresponds to the a payment platform.
In the code area in the carrier layer 201 there is a code image 202, which matches the a-platform.
It should be noted that, when determining whether the feature information of the bearer layer is consistent with the target feature information of the bearer layer of the target payment platform, the determination may be performed only according to one type of feature information, or may be performed by combining multiple types of feature information. For example: the feature information of the bearing layer may be determined to be consistent with the target feature information of the bearing layer of the target payment platform only when it is determined that the text information of the bearing layer in the first partial image is the same as the text information of the bearing layer of the target payment platform. Or only judging that the background color and the identification information are the same, and determining that the characteristic information of the bearing layer is consistent with the target characteristic information of the bearing layer of the target payment platform. The text information is the same, and is not limited to the same text content. It is only necessary to ensure that the payment platform names in the text are the same.
Of course, it is also possible to determine a plurality of feature information simultaneously, such as: and only when all the characteristic information of the bearing layer in the first partial image is the same as all the characteristic information of the bearing layer of the target payment platform, the characteristic information of the bearing layer can be determined to be consistent with the target characteristic information of the bearing layer of the target payment platform.
And various characteristic information can be freely combined for judgment. For example: and if all the background color information and the text information of the bearing layer in the first partial image are the same as the background color information and the text information of the bearing layer of the target payment platform, or all the background color information and the specific identification information of the bearing layer in the first partial image are the same as the background color information and the specific identification information of the bearing layer of the target payment platform, determining that the characteristic information of the bearing layer is consistent with the target characteristic information of the bearing layer of the target payment platform.
By the method, whether the bearing layer is matched with the target payment mechanism or not can be determined according to one or more of the characteristic information of background color information, display text information and specific identification information in the bearing layer bearing the code image. Even the payment platform corresponding to the bearing layer can be determined according to the characteristic information in the bearing layer, when the user scans the bearing layer which is not matched with the application executing the code scanning operation, prompt information is displayed for the user, and the user is guided to move the code scanning device to scan the matched code image.
In practical applications, if the characteristic information of the carrier layer in the scanning area is consistent with the target characteristic information, the position information of a partial image of the carrier layer in the scanning area can be determined.
In practical application, when it is determined that the feature information of the bearer layer in the scanning area is consistent with the target feature information, it may be determined that the bearer layer in the scanning area is the bearer layer where the payment code corresponding to the target payment platform is located. If the code image carried by the carrying layer is not completely scanned within the first preset time length, first prompt information can be generated to prompt a user to move the code scanning device.
Through the method, the payment platform corresponding to the code image can be determined according to the partial image of the bearing layer bearing the code image, and if the payment platform is the target payment platform, prompt information used for indicating the moving direction of the code scanning device is generated according to the position information of the bearing image in the scanning area, so that a user is guided to scan the code image.
When the user is guided to scan the code image, the user moves the code scanning device to the position of the code image according to the first prompt information, when the code scanning device is moved to the position where the partial code image can be scanned, the image in the code scanning area comprises the partial code image and the partial bearing layer image, and at the moment, the scanning of the code image cannot be completed because the complete code image is still not contained. In this case, the following method may be adopted to guide the user to complete the scan:
optionally, the method may further include:
after the code scanning device is moved, acquiring a second image in a scanning area of the code scanning device; the second image comprises a second partial image of the bearing layer bearing the code image;
determining second position information of the code image in the second partial image;
generating second prompt information for indicating a second direction based on the second position information; the second direction is used to indicate a direction from the center position of the scanning area to a second position of the code image within the second partial image.
The second image may represent an image in the scanning area after the code scanning device is moved. The second image includes a second partial image of the carrier layer carrying the code image, and the second image may further include a partial image of the code image.
At this time, since the partial image of the code image is included in the second image in the scanning area, at this time, the second position information of the code image in the second image in the scanning area can be determined. And prompting the user to move the code scanning device according to the second direction according to the position of the partial code image in the scanning area so that the code scanning device can scan the complete code image. Wherein the second direction may be used to represent a direction pointing from the center position of the scanning area to the second position of the code image within the scanning area.
By the method, the prompt information for prompting the moving direction of the code scanning equipment is generated according to the position information of the code image in the scanning area, so that the efficiency of scanning the complete code image by a user is improved.
In practical applications, after the code scanning device is moved, for visually impaired people or people who do not pay for the code scanning device, there may be a case where the code image is not included in the image scanned by the code scanning device. The scanned image also does not include text, images or identification information related to the code image, and the scanned image only includes the background color information of the bearing layer. At this time, the center position of the code image cannot be determined. This is generally caused by the fact that the distance between the scanning device and the area to be scanned is less than a preset distance and is too close to each other; or due to too small an image distance of a camera of the code scanning device. At this time, the user may be prompted to indicate that the distance between the code scanning device and the area to be scanned is far away or the image distance of the camera is increased. Of course, even if the image in the code scanning area includes a partial image of the code image or other information related to the code image, if the distance between the scanning device and the area to be scanned is less than the preset distance, the center position of the code image cannot be determined. The user also needs to be prompted to indicate that the distance between the code scanning device and the area to be scanned is far away or the image distance of the camera is increased.
Specifically, the method may include the following steps:
after the code scanning device is moved, acquiring an image in a scanning area of the code scanning device;
according to the image in the scanning area of the code scanning equipment, when the position of the code image cannot be determined, prompt information is generated; the prompt information is used for prompting the distance between the code scanning equipment and the area to be scanned to be increased or the image distance to be enlarged.
It should be noted that the image in the above step does not include a code image, nor does it include text information or identification information related to the code image. The image may contain only background color information for a carrier layer carrying the code image.
By the method, when the distance between the code scanning device and the area to be scanned is smaller than the preset distance or the image distance is smaller, corresponding prompt information can be generated for prompting that the distance between the code scanning device and the area to be scanned is increased or the image distance is increased, so that the scanning process of a user on the code image is accelerated.
In practical application, when determining the moving direction of the scanning device based on the first position information after the first position information of the first partial image in the scanning area, the following method may be specifically adopted:
the first position information may specifically be a position coordinate of the first partial image within the scanning area. The position coordinate of the first partial image within the scanning area may specifically be a position coordinate of a set center of the first partial image within the scanning area.
Therefore, when determining the position coordinates of the first partial image in the scanning area, the geometric center of gravity of the first partial image may be determined; the position coordinates of the geometric center of gravity within the scanning area are then determined.
Optionally, the generating of the first prompt information for indicating the first direction may specifically include:
determining the first direction based on the first location information;
and generating the first prompt message based on the first direction.
It should be noted that the geometric center of gravity can be defined as: any line through the geometric center of gravity may bisect the area of a figure.
In practical applications, the first direction may refer to a specific direction of movement of the code scanning device, and may include up, down, left, right, upper left, lower left, upper right, lower right, and the like.
Optionally, the determining the first direction specifically may include:
determining first position coordinates of the first partial image within the scanning area;
determining a second position coordinate of a center position of the scanning area;
and determining the first direction according to the first position coordinate and the second position coordinate.
Specifically, when the first direction is determined according to the first position coordinate and the second position coordinate, the azimuth may be calculated according to the first position coordinate and the second position coordinate, and the first prompt information may be generated according to the calculated azimuth.
In calculating the azimuth, assume the first position coordinate to be A (x)1,y1) And the second position coordinate is B (x)2,y2) The azimuth can be calculated using the following formula:
Figure BDA0002520757420000111
wherein the content of the first and second substances,
Figure BDA0002520757420000112
the quadrant can be determined according to the positive and negative of the abscissa increment and the ordinate increment, and the quadrant is converted into the azimuth angle according to the quadrant.
After the azimuth angle is obtained through calculation, generating first prompt information according to the calculated azimuth angle, which may specifically include:
determining a direction angle range corresponding to the azimuth angle, determining a first direction corresponding to the azimuth angle according to the angle range corresponding to the azimuth angle, and generating first prompt information according to the first direction.
It can be understood that the specific angle value of the calculated azimuth is classified into a preset angle direction, and the first prompt message is generated according to the angle direction.
In order to improve the practicability, the following modes can be adopted:
when the prompt information is broadcasted in a voice mode, the direction of the prompt can be determined according to the azimuth angle obtained by calculation according to the method.
And when the prompt information is displayed in an image mode such as an arrow, generating a prompt image according to the calculated actual angle of the azimuth angle.
Of course, in practical application, the user may be prompted by combining the two manners, specifically, when the actual angle of the azimuth is obtained through calculation, the actual angle is classified into a preset angle direction, the angle direction is broadcasted through voice, and meanwhile, a direction arrow image corresponding to the actual angle is displayed for the user. For example: the resulting azimuth angle is 52.5 °, and at this time, 52.5 ° can be classified as the upper right direction. When prompting, a 52.5-degree direction arrow can be directly generated and displayed to the user as prompting information, and meanwhile, the voice is broadcasted to 'please move the code scanning device to the upper right'.
By the method, when the user performs code scanning payment, various prompting methods are provided for the user, so that the user can understand the prompting information conveniently, and the code scanning equipment can be operated quickly according to the prompting information.
Fig. 3 is a first schematic diagram for determining a moving direction of a code scanning device in a code scanning process provided by an embodiment of the present specification.
As shown in fig. 3, the first direction may be a specific direction of the movement of the code scanning device, and the first direction is preset with angle areas corresponding to eight directions, namely, up, down, left, right, up-left, down-left, up-right, and down-right: on the upper part
Figure BDA0002520757420000121
Lower part
Figure BDA0002520757420000122
Left side of
Figure BDA0002520757420000123
Figure BDA0002520757420000124
Right side
Figure BDA0002520757420000125
Upper left of
Figure BDA0002520757420000126
Figure BDA0002520757420000127
Left lower part
Figure BDA0002520757420000128
Upper right part
Figure BDA0002520757420000129
Figure BDA00025207574200001210
Lower right
Figure BDA00025207574200001211
At this time, the calculated azimuth angle is assumed
Figure BDA00025207574200001213
Due to the fact that
Figure BDA00025207574200001212
Therefore, the azimuth belongs to the upper right direction. First prompt information can be generated for prompting that the code scanning device is moved to the upper right direction.
By the method, the calculated azimuth angle corresponds to the preset direction angle range, and direction prompt information which is easy to understand is displayed for a user, so that the efficiency of scanning the complete code image by the user is improved.
Generating the first prompt information according to the calculated azimuth angle, and may further include:
after the azimuth angle is obtained through calculation, determining a quadrant area where the azimuth angle is located;
and determining the moving direction of the code scanning equipment according to the quadrant area where the azimuth angle is located.
Fig. 4 is a second schematic diagram for determining a moving direction of a code scanning device in a code scanning process provided by an embodiment of the present specification.
As shown in fig. 4, when the quadrant region to which the angle of the direction angle belongs is determined to be the first quadrant, the moving direction of the code scanning device is divided into two directions of right and up; when the moving direction of the code scanning equipment is the second quadrant, the moving direction of the code scanning equipment is decomposed into a left direction and an upward direction; when the moving direction of the code scanning equipment is the third quadrant, the moving direction of the code scanning equipment is decomposed into a left direction and a downward direction; in the fourth quadrant, the moving direction of the code scanning device is decomposed into two directions of right and up.
Prompting to move the code scanning equipment to any one of the decomposed directions, and calculating the position information of partial images in the code scanning area in real time according to the images scanned by the code scanning equipment when the code scanning equipment moves; and calculating the moving direction of the code scanning equipment according to the position information calculated in real time.
It should be noted that, during the movement of the code scanning device, there is an error in the direction angle of the code scanning device moved by the user, such as: when the indication is moved to the right, there may be no guarantee that the code scanning device can move in parallel without error. Based on this, in the embodiments of the present specification, the moving direction of the code scanning device may be calculated in real time during the moving process of the code scanning device. For example: the prompt information indicates that the user moves rightwards, at the moment, after the code scanning device moves rightwards for a certain distance, the moving direction of the code scanning device is calculated to be upward, at the moment, the prompt information can be displayed, the user is prompted to stop moving rightwards, and the code scanning device is indicated to move upwards.
Such as: calculating to obtain the azimuth angle
Figure BDA0002520757420000131
At this time, if the displayed prompt message is "please move the mobile phone to 50 °, at this time, the user's meatThe eye can not accurately identify the direction angle and can not accurately move the code scanning device, and on the basis, the quadrant where the azimuth angle is determined can be firstly determined, and the moving route of the code scanning device is decomposed into directions along coordinate axes according to the quadrant, for example: azimuth angle
Figure BDA0002520757420000141
When the temperature of the water is higher than the set temperature,
Figure BDA0002520757420000142
the moving direction of the user can be indicated to move to the right first and then stop moving to the right to indicate the moving direction when the user moves to a certain distance, or the moving direction of the user can be indicated to move to the right first and then stop moving to indicate the moving direction when the user moves to a certain distance.
Of course, in practical applications, the azimuth angle may be classified into the aforementioned eight angular directions of up, down, left, right, up-left, down-left, up-right, and down-right, and then decomposed.
After the direction corresponding to the azimuth angle is decomposed in the above manner, when the user is prompted according to the decomposed moving direction, the user can be prompted in combination with the aforementioned manner of improving the practicability. Specifically, when the user is prompted in a voice broadcast manner, the method may include the following steps:
after the azimuth angle is obtained through calculation, two basic moving directions corresponding to the azimuth angle can be obtained through decomposition according to the specific angle of the azimuth angle; the user is prompted to move according to the first basic direction, and after the user moves the code scanning device for a period of time/distance according to the first basic direction, the user is prompted to move according to the second basic direction. Specifically, the number of the basic directions and the corresponding relationship between the direction angle and the basic direction may be defined according to an actual application scenario, which is not specifically limited in this embodiment of the specification.
In the above steps, it should be noted that when the user is prompted that the code scanning device will move in each basic direction, the user may be prompted in combination with the foregoing manner of improving the practicability.
In practical application, to looking the barrier personage, can prefer the suggestion mode of selecting for use voice broadcast, during voice broadcast, if report specific angle value, understand the moving direction to the user and have great degree of difficulty, therefore, when carrying out voice broadcast, classify into the angle direction of predetermineeing with the specific angle of direction angle, carry out voice broadcast according to this angle direction, perhaps decompose the specific angle of direction angle into two basic moving directions, the voice prompt user removes according to two basic directions, can improve the barrier personage and sweep efficiency and the success rate of sign indicating number operation. In addition, for the common user, the prompt information can be conveniently and quickly understood by the common user, so that the code scanning efficiency of the common user is improved.
By the method, in the process of indicating the movement of the code scanning device, the moving direction of the code scanning device is calculated in real time according to the scanned image in the moving process of the code scanning device, so that the moving direction of the code scanning device is timely adjusted in the moving process of the code scanning device, and the code scanning device can scan a complete code image more quickly.
Generating third prompt information for indicating the first direction; the third prompt message and the first prompt message are presented in different information modes.
It should be noted that the third prompt information in the above steps may be presented simultaneously with the first prompt information, or may be presented after the first prompt information is displayed for a certain time. The prompt information in various forms is combined, so that the user can be better guided to move the code scanning equipment according to the prompt information to complete the scanning of the code image.
In practical application, after the first prompt message is generated, the first prompt message needs to be sent to the code scanning device, and at this time, the first prompt message may specifically be text message, image message, animation message, or voice message. In the specific implementation process, the setting can be performed according to the actual application scene. For example: the voice prompt information can be played while the text prompt information is displayed on the screen of the code scanning device. Or the text information can be displayed on the screen of the code scanning device, and after a period of time, if the code scanning device is not moved, the voice prompt information is played. For visually impaired people, voice prompts can be selected, and for illiterate people, voice, image or animation prompt information can be selected. The examples in this specification are not particularly limited.
For example: taking the mobile phone code scanning payment as an example, when the first direction of the mobile phone movement is determined to be the 'upper right' direction, after the first prompt message is generated, the first prompt message may be a message displaying a character in the current screen of the mobile phone, that is, "please move the mobile phone to the upper right", or may be a graphic simulating to move the mobile phone to the upper right in the current screen, or may be an animation guiding the user to move the mobile phone. The mobile phone also has a voice playing function, and directly plays voice information of 'please move the mobile phone to the right and up direction'.
Further optionally, the image in the code scanning area of the scanning device may not be the image corresponding to the target payment platform, for example: the image scanned by the code scanning device is the image corresponding to the payment platform A, but the application performing the code scanning operation is the application corresponding to the payment platform B. At this time, the user may be prompted in the following manner:
when the first judgment result shows that the characteristic information is inconsistent with the target characteristic information, determining an original payment platform corresponding to the characteristic information;
and generating fourth prompt information, wherein the fourth prompt information is used for prompting that the code image in the scanning area is the code image corresponding to the original payment platform.
When the first judgment result shows that the characteristic information is inconsistent with the target characteristic information and the code scanning time length is greater than or equal to the preset time length, jumping to an error reporting page; the error reporting page is used for prompting that the code image in the scanning area is not matched with the application executing the code scanning operation.
In the above step, when the feature information of the bearing layer in the scanned image is inconsistent with the target feature information of the bearing layer of the target payment platform, it may be determined that the image scanned by the code scanning device is not an image corresponding to the target payment platform. At this time, the original payment platform corresponding to the feature information of the bearer layer in the scanned image may be determined, and a name for prompting the original payment platform corresponding to the scanned image may be generated. Of course, if the code scanning duration is greater than or equal to the preset duration, the user can directly jump to an error reporting interface, and prompt information that the code image in the scanning area is not matched with the application executing the code scanning operation is displayed on the error reporting interface. For example: when the feature information of the bearing layer in the scanned image is inconsistent with the target feature information of the bearing layer of the target payment platform, the user can directly display the image which is scanned currently and paid for the payment A and the two-dimensional code which is paid for the payment B in the interface without jumping to an error reporting interface. When the first judgment result shows that the characteristic information is inconsistent with the target characteristic information and the code scanning duration is greater than or equal to the preset duration, directly jumping to an error reporting interface, and displaying that the current scanning image is not matched with the payment B in the error reporting interface. The fourth prompting message may be one or more prompting messages in a text form, a graphic form, and a voice form.
In order to describe the method in the above embodiments in detail, the following specific implementation examples can be used for description:
fig. 5 is a schematic diagram of a code scanning process provided in an embodiment of the present specification.
As shown in fig. 5, suppose that a user X purchases a commodity from a merchant Y, and after the commodity is purchased, code scanning payment needs to be performed, at this time, a counter card for code scanning payment of the user is placed on a cashier desk of the merchant Y, and payment codes of a payment platform a and a payment platform B can be attached to the counter card. The background color of the first bearer layer 501 corresponding to the payment platform a is blue, the first bearer layer 501 further has corresponding text information, special identification information, and a thumbnail of the payment platform a or a thumbnail of an application program corresponding to the payment platform a, and the payment code 502 in the first bearer layer 501 is a payment code corresponding to the payment platform a. The background color of the second bearer layer 503 corresponding to the B payment platform is blue, the second bearer layer 503 also has corresponding text information, special identification information, and a thumbnail of the B payment platform or a thumbnail of an application program corresponding to the B payment platform, and the payment code 504 in the second bearer layer 503 is a payment code corresponding to the B payment platform.
The user X wants to pay by using the payment method B, and the characteristic information of the bearing layer corresponding to the payment platform B is as follows: the background color is green, the text information carries the platform name or name abbreviation of the payment platform B, and the application program icon thumbnail corresponding to the payment platform B is provided.
When the user X scans the payment code on the counter board by using the code scanning device, the scanned image is the first image 505, at this time, the first image 505 includes the partial image of the first bearing layer 501 and the partial image of the second bearing layer 503, and at this time, the characteristic information of the partial image of the first bearing layer 501 is determined as follows: the background color is blue, and the characteristic information of the partial image of the second carrier layer 503 is: the background color is green, and the text information comprises the platform name of the payment platform B. At this time, it may be determined that the feature information of the second bearer layer coincides with the feature information of the target payment platform (B payment platform). Next, position information of the partial image of the second bearing layer in the scanning area is determined, the code scanning device is instructed to move towards the upper right direction according to the position information, after the code scanning device moves, a second image 506 is scanned, the second image comprises the partial image of the second bearing layer 503 and the partial image of the pay code 504, at this time, the position information of the partial image of the pay code 504 in the scanning area can be determined, the moving direction of the code scanning device is determined to be lower left according to the position information of the partial image of the pay code 504 in the scanning area, the code scanning device is instructed to move towards the lower left direction, and only the complete code image of the pay code 504 is scanned.
By the method, when the code scanning device does not scan the code image or does not scan the complete code image, the moving direction of the code scanning device can be determined according to the position information of the partial image of the bearing layer or the partial image of the code image in the scanning area, prompt information for indicating the code scanning device to move is generated according to the moving direction, and a user is guided to scan the code image, so that the success rate of scanning the code image by the user is improved.
Based on the same idea, the embodiment of the present specification further provides a device corresponding to the above method. Fig. 6 is a schematic diagram of a prompting device in a code scanning process corresponding to fig. 1 provided in an embodiment of the present specification. As shown in fig. 6, a prompting device 60 in the code scanning process may include:
a first image obtaining module 602, configured to obtain a first image in a scanning area of a code scanning device; the first image comprises a first partial image of a bearing layer for bearing a code image;
a first position information determining module 604, configured to determine first position information of the first partial image in the scanning area;
a first prompt information generating module 606, configured to generate first prompt information indicating a first direction based on the first location information; the first direction is used to indicate a direction from the center position of the scanning area to a first position of the first partial image in the scanning area.
The examples of this specification also provide some specific embodiments of the process based on the apparatus of fig. 6, which is described below.
Optionally, the apparatus may further include:
the bearing layer characteristic information identification module is used for identifying the characteristic information of the bearing layer based on the first partial image;
the judging module is used for judging whether the characteristic information is consistent with the target characteristic information or not to obtain a first judging result; the target characteristic information is characteristic information of a bearing layer of the target payment platform, wherein the bearing layer comprises a bearing code image;
the first location information determining module may be specifically configured to:
and when the first judgment result shows that the characteristic information is consistent with the target characteristic information, determining first position information of the first partial image in the scanning area.
Optionally, the first prompt information generating module 606 may specifically include:
and a first prompt information generating unit, configured to generate first prompt information for indicating a first direction when the first determination result indicates that the feature information is consistent with the target feature information and a code image carried by the carrier layer is not completely scanned within a first preset duration.
Optionally, the apparatus may further include:
the second image acquisition module is used for acquiring a second image in a scanning area of the code scanning device after the code scanning device is moved; the second image comprises a second partial image of the bearing layer bearing the code image;
a second position information determining module, configured to determine second position information of the code image in the scanning area;
the second prompt information generating module is used for generating second prompt information used for indicating a second direction based on the second position information; the second direction is used for indicating a direction from the center position of the scanning area to a second position of the code image in the scanning area.
Optionally, the first prompt information generating module 606 may specifically include:
a first direction determination unit configured to determine the first direction based on the first position information;
and the first prompt information generating unit is used for generating the first prompt information based on the first direction.
Optionally, the first direction determining unit may specifically include:
a first position coordinate determination subunit configured to determine a first position coordinate of the first partial image within the scanning area;
a second position coordinate determination subunit configured to determine a second position coordinate of a center position of the scanning area;
and the first direction determining subunit is used for determining the first direction according to the first position coordinate and the second position coordinate.
Optionally, the bearer layer characteristic information identification module may be specifically configured to:
identifying one or more of background color information, display text information, and specific identification information of the carrier layer.
Optionally, the first location information determining module 604 may be specifically configured to:
the position coordinates of the first partial image within the scanning region are determined.
Optionally, the first location information determining module 604 may be specifically configured to:
determining a geometric center of gravity of the first partial image;
the position coordinates of the geometric center of gravity within the scanning area are determined.
Optionally, the first prompt information may specifically include:
one or more of a text form, a graphic form, and a voice form.
Optionally, the apparatus may further include:
the third prompt message generation module is used for generating third prompt messages used for indicating the first direction; the third prompt message and the first prompt message are presented in different information modes.
Optionally, the second prompt information may specifically include:
one or more of a text form, a graphic form, and a voice form.
Optionally, the apparatus may further include:
the original payment platform determining module is used for determining an original payment platform corresponding to the characteristic information when the first judgment result shows that the characteristic information is inconsistent with the target characteristic information;
and the fourth prompt information generation module is used for generating fourth prompt information, and the fourth prompt information is used for prompting that the code image in the scanning area is the code image corresponding to the original payment platform.
Optionally, the apparatus may further include:
the error reporting module is used for skipping to an error reporting page when the first judgment result shows that the characteristic information is inconsistent with the target characteristic information and the code scanning time length is greater than or equal to a preset time length; the error reporting page is used for prompting that the code image in the scanning area is not matched with the application executing the code scanning operation.
Based on the same idea, the embodiment of the present specification further provides a device corresponding to the above method.
Fig. 7 is a schematic structural diagram of a prompting device in a code scanning process corresponding to fig. 1 provided in an embodiment of the present specification. As shown in fig. 7, the apparatus 700 may include:
at least one processor 710; and the number of the first and second groups,
a memory 730 communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory 730 stores instructions 720 executable by the at least one processor 710 to enable the at least one processor 710 to:
acquiring a first image in a scanning area of code scanning equipment; the first image comprises a first partial image of a bearing layer for bearing a code image;
determining first position information of the first partial image in the scanning area;
generating first prompt information used for indicating a first direction based on the first position information; the first direction is used to indicate a direction from the center position of the scanning area to a first position of the first partial image in the scanning area.
Based on the same idea, the embodiment of the present specification further provides a computer-readable medium corresponding to the above method. The computer readable medium has computer readable instructions stored thereon that are executable by a processor to implement the method of:
acquiring a first image in a scanning area of code scanning equipment; the first image comprises a first partial image of a bearing layer for bearing a code image;
determining first position information of the first partial image in the scanning area;
generating first prompt information used for indicating a first direction based on the first position information; the first direction is used to indicate a direction from the center position of the scanning area to a first position of the first partial image in the scanning area.
In the 90 s of the 20 th century, improvements in a technology could clearly distinguish between improvements in hardware (e.g., improvements in circuit structures such as diodes, transistors, switches, etc.) and improvements in software (improvements in process flow). However, as technology advances, many of today's process flow improvements have been seen as direct improvements in hardware circuit architecture. Designers almost always obtain the corresponding hardware circuit structure by programming an improved method flow into the hardware circuit. Thus, it cannot be said that an improvement in the process flow cannot be realized by hardware physical modules. For example, a Programmable Logic Device (PLD), such as a Field Programmable Gate Array (FPGA), is an integrated circuit whose Logic functions are determined by programming the Device by a user. A digital character system is "integrated" on a PLD by the designer's own programming without requiring the chip manufacturer to design and fabricate a dedicated integrated circuit chip. Furthermore, nowadays, instead of manually making an Integrated Circuit chip, such Programming is often implemented by "logic compiler" software, which is similar to a software compiler used in program development and writing, but the original code before compiling is also written by a specific Programming Language, which is called Hardware Description Language (HDL), and HDL is not only one but many, such as abel (advanced Boolean Expression Language), ahdl (alternate Hardware Description Language), traffic, pl (core universal Programming Language), HDCal (jhdware Description Language), lang, Lola, HDL, laspam, hardward Description Language (vhr Description Language), vhal (Hardware Description Language), and vhigh-Language, which are currently used in most common. It will also be apparent to those skilled in the art that hardware circuitry that implements the logical method flows can be readily obtained by merely slightly programming the method flows into an integrated circuit using the hardware description languages described above.
The controller may be implemented in any suitable manner, for example, the controller may take the form of, for example, a microprocessor or processor and a computer-readable medium storing computer-readable program code (e.g., software or firmware) executable by the (micro) processor, logic gates, switches, an Application Specific Integrated Circuit (ASIC), a programmable logic controller, and an embedded microcontroller, examples of which include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320, the memory controller may also be implemented as part of the control logic for the memory. Those skilled in the art will also appreciate that, in addition to implementing the controller as pure computer readable program code, the same functionality can be implemented by logically programming method steps such that the controller is in the form of logic gates, switches, application specific integrated circuits, programmable logic controllers, embedded microcontrollers and the like. Such a controller may thus be considered a hardware component, and the means included therein for performing the various functions may also be considered as a structure within the hardware component. Or even means for performing the functions may be regarded as being both a software module for performing the method and a structure within a hardware component.
The systems, devices, modules or units illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. One typical implementation device is a computer. In particular, the computer may be, for example, a personal computer, a laptop computer, a cellular telephone, a camera phone, a smartphone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
For convenience of description, the above devices are described as being divided into various units by function, and are described separately. Of course, the functionality of the units may be implemented in one or more software and/or hardware when implementing the present application.
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.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Disks (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices, or any other non-transmission medium which can be used to store information which can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application 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 application may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The application may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
The above description is only an example of the present application and is not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (19)

1. A prompting method in a code scanning process comprises the following steps:
acquiring a first image in a scanning area of code scanning equipment; the first image comprises a first partial image of a bearing layer for bearing a code image;
determining first position information of the first partial image in the scanning area; the first position information is used for representing the position coordinates of the first partial image in the scanning area;
generating first prompt information used for indicating a first direction based on the first position information; the first direction is used for indicating a direction from the center position of the scanning area to a first position of the first partial image in the scanning area; the first prompt message comprises one or more prompt messages in a text form, a graphic form, an animation form and a voice form;
the determining first position information of the first partial image in the scanning area specifically includes:
determining a geometric center of gravity of the first partial image;
the position coordinates of the geometric center of gravity within the scanning area are determined.
2. The method of claim 1, the determining first position information of the first partial image within the scan region further comprising:
identifying characteristic information of the bearing layer based on the first partial image;
judging whether the characteristic information is consistent with the target characteristic information or not to obtain a first judgment result; the target characteristic information is characteristic information of a bearing layer of the target payment platform, wherein the bearing layer comprises a bearing code image;
the determining first position information of the first partial image in the scanning area specifically includes:
and when the first judgment result shows that the characteristic information is consistent with the target characteristic information, determining first position information of the first partial image in the scanning area.
3. The method according to claim 2, wherein the generating of the first prompt information for indicating the first direction specifically includes:
and when the first judgment result shows that the characteristic information is consistent with the target characteristic information and the code image carried by the carrying layer is not completely scanned within a first preset time, generating first prompt information for indicating a first direction.
4. The method of claim 1, further comprising:
after the code scanning device is moved, acquiring a second image in a scanning area of the code scanning device; the second image comprises a second partial image of the bearing layer bearing the code image;
determining second position information of the code image in the scanning area;
generating second prompt information for indicating a second direction based on the second position information; the second direction is used for indicating a direction from the center position of the scanning area to a second position of the code image in the scanning area.
5. The method according to claim 2, wherein the identifying the characteristic information of the bearer layer specifically includes:
identifying one or more of background color information, display text information, and specific identification information of the carrier layer.
6. The method according to claim 1, wherein the generating of the first prompt information for indicating the first direction specifically includes:
determining the first direction based on the first location information;
and generating the first prompt message based on the first direction.
7. The method according to claim 6, wherein the determining the first direction specifically includes:
determining first position coordinates of the first partial image within the scanning area;
determining a second position coordinate of a center position of the scanning area;
and determining the first direction according to the first position coordinate and the second position coordinate.
8. The method of claim 1, further comprising:
generating third prompt information for indicating the first direction; the third prompt message and the first prompt message are presented in different information modes.
9. The method according to claim 4, wherein the second prompt message specifically includes:
one or more of a text form, a graphic form, and a voice form.
10. The method of claim 2, further comprising:
when the first judgment result shows that the characteristic information is inconsistent with the target characteristic information, determining an original payment platform corresponding to the characteristic information;
and generating fourth prompt information, wherein the fourth prompt information is used for prompting that the code image in the scanning area is the code image corresponding to the original payment platform.
11. The method of claim 2, further comprising:
when the first judgment result shows that the characteristic information is inconsistent with the target characteristic information and the code scanning time length is greater than or equal to the preset time length, jumping to an error reporting page; the error reporting page is used for prompting that the code image in the scanning area is not matched with the application executing the code scanning operation.
12. A prompt device in a code scanning process comprises:
the first image acquisition module is used for acquiring a first image in a scanning area of the code scanning equipment; the first image comprises a first partial image of a bearing layer for bearing a code image;
a first position information determining module, configured to determine first position information of the first partial image in the scanning area; the first position information is used for representing the position coordinates of the first partial image in the scanning area;
the first prompt information generation module is used for generating first prompt information used for indicating a first direction based on the first position information; the first direction is used for indicating a direction from the center position of the scanning area to a first position of the first partial image in the scanning area; the first prompt message comprises one or more prompt messages in a text form, a graphic form, an animation form and a voice form;
the first location information determining module is specifically configured to:
determining a geometric center of gravity of the first partial image;
the position coordinates of the geometric center of gravity within the scanning area are determined.
13. The apparatus of claim 12, the apparatus further comprising:
the bearing layer characteristic information identification module is used for identifying the characteristic information of the bearing layer based on the first partial image;
the judging module is used for judging whether the characteristic information is consistent with the target characteristic information or not to obtain a first judging result; the target characteristic information is characteristic information of a bearing layer of the target payment platform, wherein the bearing layer comprises a bearing code image;
the first location information determining module is specifically configured to:
and when the first judgment result shows that the characteristic information is consistent with the target characteristic information, determining first position information of the first partial image in the scanning area.
14. The apparatus according to claim 13, wherein the first prompt information generating module specifically includes:
and a first prompt information generating unit, configured to generate first prompt information for indicating a first direction when the first determination result indicates that the feature information is consistent with the target feature information and a code image carried by the carrier layer is not completely scanned within a first preset duration.
15. The apparatus of claim 12, further comprising:
the second image acquisition module is used for acquiring a second image in a scanning area of the code scanning device after the code scanning device is moved; the second image comprises a second partial image of the bearing layer bearing the code image;
a second position information determining module, configured to determine second position information of the code image in the scanning area;
the second prompt information generating module is used for generating second prompt information used for indicating a second direction based on the second position information; the second direction is used for indicating a direction from the center position of the scanning area to a second position of the code image in the scanning area.
16. The apparatus according to claim 12, wherein the first prompt information generating module specifically includes:
a first direction determination unit configured to determine the first direction based on the first position information;
and the first prompt information generating unit is used for generating the first prompt information based on the first direction.
17. The apparatus according to claim 16, wherein the first direction determining unit specifically includes:
a first position coordinate determination subunit configured to determine a first position coordinate of the first partial image within the scanning area;
a second position coordinate determination subunit configured to determine a second position coordinate of a center position of the scanning area;
and the first direction determining subunit is used for determining the first direction according to the first position coordinate and the second position coordinate.
18. A prompt device in a code scanning process comprises:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to:
acquiring a first image in a scanning area of code scanning equipment; the first image comprises a first partial image of a bearing layer for bearing a code image;
determining first position information of the first partial image in the scanning area; the first position information is used for representing the position coordinates of the first partial image in the scanning area;
generating first prompt information used for indicating a first direction based on the first position information; the first direction is used for indicating a direction from the center position of the scanning area to a first position of the first partial image in the scanning area; the first prompt message comprises one or more prompt messages in a text form, a graphic form, an animation form and a voice form;
the determining first position information of the first partial image in the scanning area specifically includes:
determining a geometric center of gravity of the first partial image;
the position coordinates of the geometric center of gravity within the scanning area are determined.
19. A computer readable medium having stored thereon computer readable instructions executable by a processor to implement a method of hinting during a code scan according to any one of claims 1 to 11.
CN202010490422.7A 2020-06-02 2020-06-02 Prompting method, device and equipment in code scanning process Active CN111709418B (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN202210272419.7A CN114663646A (en) 2020-06-02 2020-06-02 Prompting method, device and equipment in code scanning process
CN202010490422.7A CN111709418B (en) 2020-06-02 2020-06-02 Prompting method, device and equipment in code scanning process
PCT/CN2021/097666 WO2021244525A1 (en) 2020-06-02 2021-06-01 Prompting method, apparatus and device in code scanning process

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010490422.7A CN111709418B (en) 2020-06-02 2020-06-02 Prompting method, device and equipment in code scanning process

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN202210272419.7A Division CN114663646A (en) 2020-06-02 2020-06-02 Prompting method, device and equipment in code scanning process

Publications (2)

Publication Number Publication Date
CN111709418A CN111709418A (en) 2020-09-25
CN111709418B true CN111709418B (en) 2022-03-04

Family

ID=72538962

Family Applications (2)

Application Number Title Priority Date Filing Date
CN202010490422.7A Active CN111709418B (en) 2020-06-02 2020-06-02 Prompting method, device and equipment in code scanning process
CN202210272419.7A Pending CN114663646A (en) 2020-06-02 2020-06-02 Prompting method, device and equipment in code scanning process

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN202210272419.7A Pending CN114663646A (en) 2020-06-02 2020-06-02 Prompting method, device and equipment in code scanning process

Country Status (2)

Country Link
CN (2) CN111709418B (en)
WO (1) WO2021244525A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111709418B (en) * 2020-06-02 2022-03-04 支付宝(杭州)信息技术有限公司 Prompting method, device and equipment in code scanning process
CN112733566B (en) * 2021-01-14 2024-04-05 广东星云开物科技股份有限公司 Two-dimensional code reading method and device based on position guidance

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106327185A (en) * 2016-08-26 2017-01-11 维沃移动通信有限公司 Starting method for payment application and mobile terminal
CN108304744A (en) * 2018-01-18 2018-07-20 维沃移动通信有限公司 A kind of scan box location determining method and mobile terminal
WO2018170695A1 (en) * 2017-03-20 2018-09-27 华为技术有限公司 Method and device for recognizing descriptive attributes of appearance feature
CN108763987A (en) * 2018-05-07 2018-11-06 深圳市民德电子科技股份有限公司 A kind of intelligent scanning identification device, method and system
CN110059511A (en) * 2019-03-08 2019-07-26 阿里巴巴集团控股有限公司 A kind of scan code system and barcode scanning method
KR20200022300A (en) * 2018-08-22 2020-03-03 종 진 임 The method and device to pay for order in home shopping

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106875181A (en) * 2017-02-28 2017-06-20 努比亚技术有限公司 A kind of barcode scanning payment processing method and mobile terminal
CN113836956A (en) * 2017-12-25 2021-12-24 创新先进技术有限公司 Scanning positioning method, device, equipment and system
CN108198024B (en) * 2017-12-28 2021-05-18 纳恩博(北京)科技有限公司 Information processing method and device, electronic device and storage medium
WO2019173667A1 (en) * 2018-03-08 2019-09-12 Mastercard International Incorporated Code-enabled and push request payment transaction methods
CN108629220A (en) * 2018-03-23 2018-10-09 阿里巴巴集团控股有限公司 A kind of two dimension code reading method, apparatus and equipment
CN108764001A (en) * 2018-05-29 2018-11-06 维沃移动通信(深圳)有限公司 A kind of information processing method and mobile terminal
CN108846663B (en) * 2018-06-21 2020-10-30 维沃移动通信有限公司 Two-dimensional code adjusting method and device and mobile terminal
CN109242474A (en) * 2018-09-05 2019-01-18 深圳市百宝廊珠宝首饰有限公司 Barcode scanning method of payment, device, terminal and storage medium
CN109521978B (en) * 2018-09-28 2022-01-28 维沃移动通信有限公司 Content display method and terminal equipment
CN111709418B (en) * 2020-06-02 2022-03-04 支付宝(杭州)信息技术有限公司 Prompting method, device and equipment in code scanning process

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106327185A (en) * 2016-08-26 2017-01-11 维沃移动通信有限公司 Starting method for payment application and mobile terminal
WO2018170695A1 (en) * 2017-03-20 2018-09-27 华为技术有限公司 Method and device for recognizing descriptive attributes of appearance feature
CN108304744A (en) * 2018-01-18 2018-07-20 维沃移动通信有限公司 A kind of scan box location determining method and mobile terminal
CN108763987A (en) * 2018-05-07 2018-11-06 深圳市民德电子科技股份有限公司 A kind of intelligent scanning identification device, method and system
KR20200022300A (en) * 2018-08-22 2020-03-03 종 진 임 The method and device to pay for order in home shopping
CN110059511A (en) * 2019-03-08 2019-07-26 阿里巴巴集团控股有限公司 A kind of scan code system and barcode scanning method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Optimization of QR code readability in movement state using response surface methodology for implementing continuous chain traceability;Jianping Qian et.al;《Computers and Electronics in Agriculture》;20170615;第139卷;第56-64页 *
基于图像识别的移动设备无障碍QR码扫描软件的研究与实现;黄宇航;《中国优秀硕士学位论文全文数据库 信息科技辑》;20160715;第I138-1083页 *

Also Published As

Publication number Publication date
CN111709418A (en) 2020-09-25
CN114663646A (en) 2022-06-24
WO2021244525A1 (en) 2021-12-09

Similar Documents

Publication Publication Date Title
Grasset et al. Image-driven view management for augmented reality browsers
CN108415752A (en) Method for displaying user interface, device, equipment and storage medium
CN110090444B (en) Game behavior record creating method and device, storage medium and electronic equipment
CN111709418B (en) Prompting method, device and equipment in code scanning process
JP2013089195A (en) Viewer device, server device, display control method, electronic comic editing method and program
KR20140040875A (en) Cartoon providing system, cartoon providing device and cartoon providing method
CN112947969A (en) Page off-screen rendering method, device, equipment and readable medium
US20240048796A1 (en) Integrating overlaid digital content into displayed data via graphics processing circuitry
CN110262710A (en) A kind of display methods of interactive interface, device and equipment
CN109388309A (en) Display methods, device, terminal and the storage medium of menu
WO2022200110A1 (en) Multimedia quality evaluation
US11483472B2 (en) Enhancing quality of multimedia
CN106204695A (en) The edit methods of a kind of 3D animation and device
CN112348025A (en) Character detection method and device, electronic equipment and storage medium
JP6409429B2 (en) Direct video correction system and program for text, strokes and images
Le et al. An online platform for enhancing learning experiences with web-based augmented reality and pictorial Bar code
CN114237468B (en) Text and picture translation method and device, electronic equipment and readable storage medium
US20220350650A1 (en) Integrating overlaid digital content into displayed data via processing circuitry using a computing memory and an operating system memory
CN115619904A (en) Image processing method, device and equipment
CN110968513B (en) Recording method and device of test script
Sadun The Core IOS 6 Developer's Cookbook
CN112911367B (en) Video playing interface processing method and device and electronic equipment
CN112560530A (en) Two-dimensional code processing method, device, medium and electronic device
CN115129278A (en) Image display control method, system, readable storage medium and electronic device
CN107872730A (en) The acquisition methods and device of a kind of insertion content in video

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
GR01 Patent grant
GR01 Patent grant
OL01 Intention to license declared