CN109409162B - Bar code rotating method and device - Google Patents

Bar code rotating method and device Download PDF

Info

Publication number
CN109409162B
CN109409162B CN201811285054.1A CN201811285054A CN109409162B CN 109409162 B CN109409162 B CN 109409162B CN 201811285054 A CN201811285054 A CN 201811285054A CN 109409162 B CN109409162 B CN 109409162B
Authority
CN
China
Prior art keywords
preset condition
current posture
bar code
preset
wearable electronic
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
CN201811285054.1A
Other languages
Chinese (zh)
Other versions
CN109409162A (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.)
Beijing Yufanzhi Information Technology Co ltd
Original Assignee
Beijing Yufanzhi 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 Beijing Yufanzhi Information Technology Co ltd filed Critical Beijing Yufanzhi Information Technology Co ltd
Priority to CN201811285054.1A priority Critical patent/CN109409162B/en
Publication of CN109409162A publication Critical patent/CN109409162A/en
Application granted granted Critical
Publication of CN109409162B publication Critical patent/CN109409162B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/14Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
    • G06K7/1404Methods for optical code recognition
    • G06K7/1439Methods for optical code recognition including a method step for retrieval of the optical code
    • G06K7/1456Methods for optical code recognition including a method step for retrieval of the optical code determining the orientation of the optical code with respect to the reader and correcting therefore
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/14Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
    • G06K7/1404Methods for optical code recognition
    • G06K7/1408Methods for optical code recognition the method being specifically adapted for the type of code
    • G06K7/14131D bar codes

Abstract

The embodiment of the invention discloses a bar code rotating method and a bar code rotating device, which are used for solving the problem that a bar code displayed by wearable electronic equipment cannot be successfully scanned by code scanning equipment. The method is applied to wearable electronic equipment and comprises the following steps: obtaining a current posture of the wearable electronic equipment through a posture detection device in the wearable electronic equipment; judging whether the current posture meets a preset condition, wherein the preset condition is used for indicating that the display direction of a bar code in the wearable electronic equipment is different from a preset direction; and if the current posture meets the preset condition, controlling the bar code to be displayed in a target state, wherein the target state is a state that the display direction of the bar code is consistent with the preset direction.

Description

Bar code rotating method and device
Technical Field
The embodiment of the invention relates to the field of mobile payment, in particular to a bar code rotating method and device.
Background
A bar code (barcode) is a graphic identifier in which a plurality of black bars and spaces having different widths are arranged according to a certain coding rule to express a set of information. Common bar codes are a pattern of parallel lines of dark bars (simply bars) and white bars (simply spaces) of widely differing reflectivity. The bar code can mark many information such as the producing country, the manufacturer, the commodity name, the production date, the book classification number, the starting and stopping place of the mail, the class, the date and the like of the article, so the bar code is widely applied to many fields such as commodity circulation, book management, postal management, bank systems and the like.
In view of the above-mentioned characteristics of bar codes, bar code payments have come into play with the ability of bar codes to carry payments. The consumer can show the bar code on the electronic equipment to the merchant when paying, the merchant does not need to install a POS machine, and the existing bar code displayed by the consumer can be directly scanned by using the existing bar code scanning equipment, so that the payment collection of the consumer is realized. Moreover, with the continuous development of the technology, the consumer can pay not only through the bar code in the mobile phone, but also through the bar code in the wearable electronic device.
However, when a consumer calls up a barcode in the wearable electronic device, the barcode is directed toward the consumer, and when the consumer presents the barcode to the barcode scanning device, the display direction of the barcode may be inconsistent with respect to the identification direction of the barcode scanning device, and some barcode scanning devices cannot identify the barcode inconsistent with the identification direction of the barcode scanning device, so that the barcode presented by the wearable electronic device cannot be successfully scanned by the barcode scanning device.
Disclosure of Invention
In view of the foregoing problems, an object of the embodiments of the present invention is to provide a barcode rotation method and apparatus, so as to solve the problem that a barcode presented by a wearable electronic device cannot be successfully scanned by a barcode scanning device.
In order to solve the above technical problems, embodiments of the present invention provide the following technical solutions:
in a first aspect, an embodiment of the present invention provides a barcode rotation method, where the method is applied in a wearable electronic device, and the method includes: obtaining a current posture of the wearable electronic equipment through a posture detection device in the wearable electronic equipment; judging whether the current posture meets a preset condition, wherein the preset condition is used for indicating that the display direction of a bar code in the wearable electronic equipment is different from a preset direction; and if the current posture meets the preset condition, controlling the bar code to be displayed in a target state, wherein the target state is a state that the display direction of the bar code is consistent with the preset direction.
In other embodiments of the present invention, the determining whether the current posture meets a preset condition includes: acquiring first data of the current posture and second data in the preset condition, wherein the first data is used for indicating the posture of the wearable electronic equipment; determining whether the current posture meets the preset condition or not according to whether the first data is matched with the second data or not; if the first data is matched with the second data, determining that the current posture meets the preset condition; and if the first data is not matched with the second data, determining that the current posture does not meet the preset condition.
In other embodiments of the present invention, the determining whether the current posture meets the preset condition according to whether the first data and the second data match includes: determining whether the current posture meets the preset condition or not according to whether the current overturning angle of the wearable electronic equipment is matched with a preset angle or not; if the turning angle is matched with the preset angle, determining that the current posture meets the preset condition; if the turning angle is not matched with the preset angle, determining that the current posture does not meet the preset condition; and/or determining whether the current posture meets the preset condition or not according to whether the turning time interval of the current turning and the last turning of the wearable electronic equipment is matched with a preset time interval or not; if the turning time interval is matched with the preset time interval, determining that the current posture meets the preset condition; and if the turning time interval is not matched with the preset time interval, determining that the current posture does not meet the preset condition.
In other embodiments of the present invention, if the current posture meets the preset condition, the controlling the barcode to be displayed in a target state includes: and if the current posture meets the preset condition, controlling the bar code to rotate or regenerate so that the bar code is displayed in the target state.
In other embodiments of the present invention, the method further comprises: and if the current posture does not meet the preset condition, keeping the state of the bar code unchanged.
In other embodiments of the present invention, if the current posture does not satisfy the preset condition, the keeping the state of the barcode unchanged includes: if the current posture does not meet the preset condition, judging whether the current posture meets the preset condition again after first preset time; if the current posture is judged to not meet the preset condition again, keeping the state of the bar code unchanged; or, if the current posture does not meet the preset condition, re-acquiring the posture of the wearable electronic device after a second preset time; judging whether the re-acquired gesture meets the preset condition or not; and if the posture acquired again does not meet the preset condition, keeping the state of the bar code unchanged.
In other embodiments of the present invention, the method further comprises: when the wearable electronic equipment displays the bar code, controlling the gesture detection device to be started; and when the wearable electronic equipment is closed and displays the bar code, controlling the gesture detection device to be closed.
In a second aspect, an embodiment of the present invention provides a barcode rotation apparatus, where the apparatus is applied in a wearable electronic device, and the apparatus includes: an obtaining module configured to obtain, by a gesture detection apparatus in the wearable electronic device, a current gesture of the wearable electronic device; a judging module configured to judge whether the current posture meets a preset condition, where the preset condition is used to indicate that a display direction of a barcode in the wearable electronic device is different from a preset direction; and the execution module is configured to control the bar code to be displayed in a target state if the current posture meets the preset condition, wherein the target state is a state that the display direction of the bar code is consistent with a preset direction.
In a third aspect, an embodiment of the present invention provides an electronic device, including: at least one processor; and at least one memory, bus connected with the processor; the processor and the memory complete mutual communication through the bus; the processor is configured to call the program instructions in the memory to perform the method according to one or more of the above-mentioned embodiments.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, where the computer-readable storage medium stores computer instructions, and the computer instructions cause the computer to execute the method described in one or more of the above technical solutions.
The bar code rotating method and the bar code rotating device provided by the embodiment of the invention are both applied to wearable electronic equipment. Firstly, obtaining the current posture of the wearable electronic equipment through a posture detection device in the wearable electronic equipment; then, judging whether the current posture meets a preset condition or not to determine whether the display direction of the bar code in the wearable electronic equipment is the same as the preset direction or not; and finally, if the current posture meets the preset condition, namely the display direction of the bar code is judged to be different from the preset direction, controlling the bar code to be displayed in a target state, namely adjusting the display direction of the bar code to enable the display direction of the bar code to be consistent with the preset direction. Therefore, according to the judgment result that whether the display direction of the bar code in the wearable electronic device is the same as the preset direction or not, the display direction of the bar code is adjusted, so that the display direction of the bar code is consistent with the preset direction, and finally the bar code displayed by the wearable electronic device can be successfully scanned by the bar code scanning device.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained according to the drawings without creative efforts for those skilled in the art.
FIG. 1 is a schematic flow chart illustrating a bar code rotation method according to an embodiment of the present invention;
fig. 2 is a first schematic diagram illustrating relative positions of a wearable electronic device and a code scanning device according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a display direction of a barcode viewed from a user in an embodiment of the present invention;
fig. 4 is a schematic diagram of a relative position between the wearable electronic device and the code scanning device in the embodiment of the present invention;
FIG. 5 is a first schematic diagram illustrating a display direction of a barcode viewed from the direction of the barcode scanning apparatus according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of a bar code display direction viewed from the direction of the bar code scanner in the embodiment of the present invention;
FIG. 7 is a schematic structural diagram of a bar code rotating apparatus according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of an electronic device in an embodiment of the present invention.
Detailed Description
The technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. It is to be understood that the embodiments described are only a few embodiments of the present invention, and not all embodiments. Other embodiments may be derived from these embodiments by those of ordinary skill in the art without the exercise of inventive faculty.
The embodiment of the invention provides a bar code rotating method, which can be applied to wearable electronic equipment, wherein the wearable electronic equipment can be intelligent electronic equipment which can be worn on a human body, such as an intelligent watch, an intelligent bracelet and the like, and the specific form of the wearable electronic equipment is not limited herein.
In practical applications, the method may be applied to a scenario where a user wears the wearable electronic device and uses a barcode in the wearable electronic device to pay a merchant. When a user needs to pay a merchant by using wearable electronic equipment worn by the user, firstly, the user needs to display a bar code on a display screen of the wearable electronic equipment; then, a processor in the wearable electronic device judges whether the display direction of the bar code is the same as the preset direction, namely whether the display direction of the bar code is the same as the identification direction of the bar code scanning device of the merchant; and finally, if the display direction of the bar code is different from the preset direction, adjusting the display direction of the bar code to enable the display direction of the bar code to be consistent with the preset direction, and finally enabling the bar code displayed in the wearable electronic equipment to be successfully scanned by the bar code scanning equipment, so that the user can pay for the merchant by using the bar code displayed in the wearable electronic equipment.
Next, a barcode rotation method provided in an embodiment of the present invention is described with reference to fig. 1.
Fig. 1 is a schematic flow chart of a barcode rotation method in an embodiment of the present invention, and referring to fig. 1, the method may include:
s110: the current posture of the wearable electronic equipment is obtained through a posture detection device in the wearable electronic equipment.
The gesture detection device can be a device capable of directly or indirectly detecting the display direction of the bar code in the wearable electronic device, and the direction of the bar code currently displayed by the wearable electronic device can be obtained through the gesture detection device so as to determine whether the current display direction of the bar code meets a preset condition.
S120: and judging whether the current posture meets a preset condition.
The preset condition is used for indicating that the display direction of the bar code in the wearable electronic equipment is different from the preset direction.
Here, the judging whether the current posture satisfies the preset condition is to compare the display direction of the barcode with the preset direction, and judge whether the display direction of the barcode is the same as the preset direction. If the display direction of the bar code is different from the preset direction, determining that the current posture meets the preset condition; and if the display direction of the bar code is judged to be the same as the preset direction, determining that the current posture does not meet the preset condition.
It should be noted that: some old-fashioned code scanning equipment can only identify the bar code of which the display direction is consistent with the identification direction of the bar code, and once the display direction of the bar code is different from the identification direction of the code scanning equipment, the code scanning equipment cannot identify the bar code, so that whether the display direction of the bar code is the same as the preset direction needs to be judged so as to adjust the bar code and enable the bar code to be successfully scanned by the code scanning equipment.
It should be noted that: the preset direction may be a direction preset in the wearable electronic device, and generally, the preset direction may be a direction opposite to a normal display direction of a display screen in the wearable electronic device; the preset direction may also be an identification direction obtained by the wearable electronic device from the code scanning device of the merchant when the display screen of the wearable electronic device scans the code scanning device of the merchant, specifically, after the wearable electronic device obtains the identification direction, the identification direction is converted into a direction capable of being compared with the display direction of the barcode, and then the direction is compared with the display direction of the barcode. The specific arrangement form of the preset direction is not limited herein.
S130: and if the current posture meets the preset condition, controlling the bar code to be displayed in a target state.
The target state is a state that the display direction of the bar code is consistent with the preset direction.
Here, the bar code may be controlled to be displayed in a target state, and the bar code may be rotated so that the display direction of the bar code coincides with the preset direction, or one bar code may be newly generated so that the display direction of the newly generated bar code coincides with the preset direction. The specific manner of controlling the barcode to be displayed in the target state is not limited herein.
In practical application, referring to fig. 2, fig. 2 is a schematic diagram of relative positions of a wearable electronic device and a code scanning device in an embodiment of the present invention, that is, when a user 210 uses the wearable electronic device 220 worn by the user to pay for a code scanning device 230, the user 210 needs to operate the wearable electronic device 220 through a display screen 221 of the wearable electronic device 220, so that a barcode is displayed on the display screen 221, and therefore, at a stage when the user 210 opens the barcode, the display screen 221 faces the user 210.
At this time, referring to fig. 3 in conjunction with fig. 2, fig. 3 is a schematic diagram of a display direction of the barcode viewed from the user direction in the embodiment of the present invention, and the barcode 222 is displayed in the display screen 221 in a forward direction viewed from the user direction.
Then, referring to fig. 4, fig. 4 is a schematic diagram illustrating a relative position of the wearable electronic device and the code scanning device in the embodiment of the present invention, when the user 210 needs to present the barcode to the code scanning device 230, the user 210 needs to turn the wearable electronic device 220 so that the display screen 221 is turned from facing the user 210 to facing the code scanning device 230, so as to achieve the purpose of presenting the barcode in the display screen 221 to the code scanning device 230.
At this time, referring to fig. 5 in conjunction with fig. 4, fig. 5 is a schematic diagram showing a display direction of the barcode as viewed from the direction of the barcode scanning apparatus in the embodiment of the present invention, i.e., fig. 5 shows that the barcode 222 is displayed upside down in the display screen 221 as viewed from the direction of the barcode scanning apparatus.
Then, the processor in the wearable electronic device learns that the posture of the wearable electronic device changes through the posture detection device in the wearable electronic device, that is, the display direction of the barcode is opposite to the preset direction, that is, the display direction of the barcode is different from the preset direction, and then the processor controls the barcode to rotate or regenerate, so that the barcode is displayed in a target state.
At this time, referring to fig. 6, fig. 6 is a schematic diagram of a display direction of the barcode viewed from the direction of the barcode scanning device in the embodiment of the present invention, and further, as viewed from the direction of the barcode scanning device, the barcode 222 is displayed on the display screen 221 in a target state, that is, the barcode 222 is displayed in the forward direction in the display screen 221.
And finally, the bar code displayed in the target state is successfully scanned by the code scanning device, and the user finishes the process of payment by using the wearable electronic device.
It is thus clear that whether the display direction of the bar code is the same as the preset direction is judged, and then the display direction of the bar code is adjusted according to the judgment result, so that the display direction of the bar code is consistent with the preset direction, and finally the bar code displayed in the wearable electronic device can be successfully scanned by the code scanning device, so that the user can smoothly pay for the merchant.
And, when the user uses wearable electronic equipment to pay, only need rotate the wrist, with the bar code alignment in the wearable electronic equipment sweep a sign indicating number equipment can, it is more convenient when can making the user use wearable electronic equipment to pay. The elbow does not need to be turned outwards or inwards, or the user turns back to face the code scanning device and adjusts the position of the wrist, so that the bar code is aligned with the code scanning device, the display direction of the bar code is consistent with the identification direction of the code scanning device, and then payment is carried out.
It should be noted that: the above-mentioned bar code refers to a one-dimensional bar code that expresses information only in one direction (generally, the horizontal direction) and does not express any information in the vertical direction.
Based on the foregoing embodiment, in order to accurately determine whether the display direction of the barcode is the same as the preset direction. Further, S120 may include:
s121: acquiring first data of a current posture and second data in a preset condition;
s122: and determining whether the current posture meets a preset condition according to whether the first data is matched with the second data.
Specifically, first data indicating the posture of the wearable electronic device is obtained from a current posture, and second data indicating the posture of the wearable electronic device is obtained from a preset condition; then, judging whether the first data is matched with the second data, namely judging whether the second data has the same data as the first data; finally, if the second data is judged to have the same data as the first data, determining that the current posture meets a preset condition; and if the second data does not have the same data as the first data, determining that the current posture does not meet the preset condition.
Therefore, whether the current posture meets the preset condition can be accurately judged by matching the first data of the current posture with the second data in the preset condition to determine whether the current posture meets the preset condition.
Based on the foregoing embodiment, whether the display direction of the barcode is the same as the preset direction is determined more conveniently and accurately. Further, S122 may include:
s122 a: and determining whether the current posture meets a preset condition or not according to whether the current overturning angle of the wearable electronic equipment is matched with a preset angle or not.
Here, the turning angle is obtained by the posture detection device, and the posture detection device may be a device capable of detecting a posture change of the wearable electronic apparatus, for example, the posture detection device can detect which direction the wearable electronic apparatus is turned and the turning angle.
It should be noted that: the processor obtains the flip angle of the wearable electronic device when flipped outward relative to the user.
Wherein, gesture detection device can be gravity sensor, and the treater can confirm that wearable electronic equipment is outwards upset or inwards upset relative to the user according to gravity sensor to confirm the upset angle.
Alternatively, the attitude detection device may be a gyroscope, which can also realize the above-described functions of the gravity sensor and is more accurate than the detection result of the gravity sensor.
In addition, the gesture detection device may also be an accelerometer combined with a device having a direction recognition function, and the specific form of the gesture detection device is not limited herein.
Specifically, if the turning angle is matched with the preset angle, which indicates that the bar code in the wearable electronic device is changed from being displayed to the user to be displayed to the bar code scanning device, determining that the display direction of the bar code is different from the preset direction, namely determining that the current posture meets the preset condition; if the turning angle is not matched with the preset angle, the fact that the bar code in the wearable electronic equipment is not displayed to the bar code scanning equipment from the display to the user is indicated, and it is determined that the current posture does not meet the preset condition.
For example, if the preset angle is 90 ° to 180 °, when the user opens the barcode in the wearable electronic device and turns the wrist 100 ° to align the barcode with the barcode scanning device, the gravity sensor or the gyroscope detects that the display screen of the wearable electronic device is turned outward relative to the user and the turning angle is 100 °, and the processor determines that 100 ° exists between 90 ° and 180 °, it is determined that the current posture meets the preset condition; when the user opens the bar code in the wearable electronic device and does not show the bar code to the code scanning device, but only shakes the wrist (the turnover angle of the wrist does not exceed 45 degrees), the gravity sensor or the gyroscope detects that the maximum turnover angle of the wearable electronic device is 45 degrees, and the processor judges that 45 degrees do not exist between 90 degrees and 180 degrees, and then the current posture is determined not to meet the preset condition.
Further, S122 may further include:
s122 b: and determining whether the current posture meets a preset condition or not according to whether the turning time interval of the current turning and the last turning of the wearable electronic equipment is matched with a preset time interval or not.
Here, the turning time interval is obtained by the posture detection device, the posture detection device may be a device capable of detecting a posture change of the wearable electronic device, and the turning time interval may be obtained by calculating a time interval between the current turning detection and the last turning detection of the posture detection device.
It should be noted that: the processor obtains a time interval between a current flip of the wearable electronic device relative to the user and a last flip of the wearable electronic device.
Also, the posture detecting device may be a gravity sensor, a gyroscope, or an accelerometer in combination with a device having a direction recognition function. The specific form of the posture detection device is not limited herein.
Specifically, if the turning time interval is matched with the preset time interval, which indicates that the bar code in the wearable electronic device is changed from being displayed to the user to be displayed to the code scanning device, determining that the display direction of the bar code is different from the preset direction, that is, determining that the current posture meets the preset condition; if the turning time interval is not matched with the preset time interval, the fact that the bar code in the wearable electronic equipment is not displayed to the bar code scanning equipment from the display to the user is indicated, and it is determined that the current posture does not meet the preset condition.
For example, if the preset time interval is greater than 5s, when the user opens the barcode in the wearable electronic device and turns over the wrist, and turns over the wrist again after 6s, the time interval of two turns over of the display screen of the wearable electronic device detected by the gravity sensor or the gyroscope is 6s, and the processor determines that the current posture meets the preset condition when the processor determines that 6s exists in the time greater than 5 s; when the user opens the bar code in the wearable electronic device and turns over the wrist, and turns over the wrist again after 2s (the bar code is not displayed to the code scanning device, and the wrist may be shaken), the gravity sensor or the gyroscope detects that the turning time interval of the wearable electronic device is 2s, and the processor determines that the current posture does not satisfy the preset condition if the processor determines that 2s does not exist within a time period greater than 5 s.
Therefore, whether the current posture meets the preset condition or not, namely whether the display direction of the bar code is the same as the preset direction or not, can be judged more conveniently and accurately by judging whether the turning angle is matched with the preset angle or not or whether the turning time interval is matched with the preset time interval or not.
It should be noted that: s122 may include only S122a, S122 may include only S122b, and S122 may include both S122a and S122 b.
Based on the foregoing embodiments, the barcode is displayed in a target state for better control. Further, S130 may include:
s131: and if the current posture meets the preset condition, controlling the bar code to rotate or regenerate so that the bar code is displayed in a target state.
Specifically, if it is determined that the current posture meets the preset condition, which indicates that the display direction of the barcode is different from the preset direction, the display direction of the barcode needs to be adjusted to make the display direction of the barcode consistent with the preset direction.
In general, there are two ways to adjust the display orientation of the barcode:
the first mode is as follows: the bar code that displays at present among the wearable electronic equipment of control is rotatory, can make the bar code show with the target state fast, when guaranteeing that the user can succeed in the payment, can also improve user's payment efficiency. Typically, accurate rotation can be achieved by rotating the bar code 180 ° or upside down.
The second mode is as follows: and controlling the wearable electronic equipment to regenerate a bar code with the display direction consistent with the preset direction. Because the bar code can become invalid after a period of time, a bar code is regenerated, the wearable electronic equipment can be prevented from displaying a failed bar code for scanning by the bar code scanning equipment, and the payment efficiency of a user can be improved.
Therefore, when the current posture meets the preset condition, the bar code can be better displayed in the wearable electronic equipment for scanning by the bar code scanning equipment by controlling the bar code to rotate or regenerate.
Based on the foregoing embodiment, the display direction of the barcode whose display direction coincides with the preset direction is prevented from being changed. Further, the method may further include:
s140: and if the current posture does not meet the preset condition, keeping the state of the bar code unchanged.
Specifically, if it is determined that the current posture does not satisfy the preset condition, that is, if it is determined that the display direction of the barcode in the wearable electronic device is consistent with the preset direction, the state of the barcode is maintained, where the state of the barcode refers to the display direction of the barcode, that is, the display direction of the barcode is fixed in the current display direction of the barcode, that is, the display direction of the barcode is fixed in the direction consistent with the preset direction. Thus, the display direction of the bar code whose display direction coincides with the preset direction can be prevented from being changed.
Based on the foregoing embodiment, in order to improve the accuracy of the determination result, the display direction of the barcode is prevented from being fixed incorrectly. Further, S140 may include: s141 or S142.
Wherein S141 may include:
s141 a: if the current posture does not meet the preset condition, judging whether the current posture meets the preset condition again after the first preset time;
s141 b: and if the current posture is judged to not meet the preset condition again, keeping the state of the bar code unchanged.
Specifically, if it is determined for the first time that the current posture does not satisfy the preset condition, that is, if it is determined for the first time that the display direction of the barcode is consistent with the preset direction, it is determined again whether the current posture satisfies the preset condition after the first preset time, that is, it is determined again whether the display direction of the barcode is consistent with the preset direction after the first preset time, where the first preset time may be set according to specific situations, and is not limited herein; if the display direction of the bar code is judged to be consistent with the preset direction again, namely the current posture is judged to not meet the preset condition again, the state of the bar code is kept unchanged.
Therefore, whether the display direction of the bar code is consistent with the preset direction or not is judged twice, accidental errors caused by one-time judgment can be avoided, the accuracy of a judgment result can be improved, and the situation that the display direction of the bar code is mistakenly fixed in the direction inconsistent with the preset direction when a user uses the bar code to pay is avoided.
Here, it should be noted that: the display direction of the barcode determined again is the display direction of the barcode determined for the first time.
Further, S142 may include:
s142 a: if the current posture does not meet the preset condition, the posture of the wearable electronic equipment is obtained again after a second preset time;
s142 b: judging whether the re-acquired gesture meets a preset condition or not;
s142 c: and if the posture acquired again does not meet the preset condition, keeping the state of the bar code unchanged.
Specifically, if it is determined for the first time that the current posture does not satisfy the preset condition, that is, if it is determined for the first time that the display direction of the barcode is consistent with the preset direction, the posture of the wearable electronic device is obtained again after a second preset time, where the obtained posture may be the same as or different from the current posture, and the second preset time may be set according to specific situations, for example: 1s, 2s, 3s, etc.
Then, whether the reacquired posture meets the preset condition is judged again, that is, whether the display direction of the reacquired bar code is consistent with the preset direction is judged again. Because the display direction of the bar code is judged to be consistent with the preset direction for the first time, the user may mistakenly align the bar code to the code scanning device instead of paying, the user may realize that the bar code is mistakenly aligned to the code scanning device after the second preset time and turn the display screen of the wearable electronic device back to face the user, at this moment, whether the posture obtained again meets the preset condition is judged again after the second preset time, the situation that the display direction of the bar code is mistakenly locked in the direction consistent with the preset direction can be avoided, the bar code is in the inverted direction when the user turns the display screen of the wearable electronic device back to face the user is avoided, and the accuracy of the judgment result is improved.
And finally, if the display direction of the re-acquired bar code is judged to be consistent with the preset direction again, namely the re-acquired gesture is judged not to meet the preset condition again, keeping the state of the bar code unchanged. At this time, the user can be confirmed to be just aiming at the code scanning device to pay, the display direction of the bar code is kept to be the same as that of the code scanning device, and the bar code can be scanned by the code scanning device smoothly.
Based on the foregoing embodiments, in order to save power in the wearable electronic device. Prior to S110, the method may further include: s150 a: when the wearable electronic equipment displays the bar code, the gesture detection device is controlled to be started. After S130, the method may further include: s150 b: and when the wearable electronic equipment is closed and displays the bar code, controlling the gesture detection device to be closed.
Specifically, since the gesture detection device is used for directly or indirectly detecting the display direction of the bar code, when the processor controls the bar code to be displayed on the display screen of the wearable electronic device, the processor controls the gesture detection device to be turned on again, and when the processor controls the bar code to be turned off to be displayed on the display screen of the wearable electronic device, the processor controls the gesture detection device to be turned off again. Therefore, the gesture detection device can be prevented from being in an open state when the display direction of the bar code does not need to be detected, and the electric quantity in the wearable electronic equipment is avoided being wasted.
The whole operation of the bar code rotation method according to the embodiment of the present invention will be described below with specific examples.
The bar code rotating method can be applied to wearable electronic equipment, and the wearable electronic equipment can be a smart watch, a smart bracelet and the like. Firstly, a user needs to wear the wearable electronic equipment on the wrist, and when the user needs to pay by using a bar code in the wearable electronic equipment, the user starts the bar code in the wearable electronic equipment; then, the user turns the wrist over so that the bar code faces the code scanning device, wherein the code scanning device can be a code scanning gun or the like; then, a gravity sensor in the wearable electronic equipment detects that a display screen displaying the bar code in the wearable electronic equipment is turned outwards, and a processor controls the bar code to rotate 180 degrees on the display screen after acquiring a signal indicating that the display screen is turned outwards and sent by the gravity sensor; and finally, the display direction of the bar code in the wearable electronic equipment is consistent with the preset direction, the bar code can be successfully scanned by the code scanning equipment, and finally, the user can smoothly complete payment.
Based on the same inventive concept, the embodiment of the invention also provides a bar code rotating device, and the bar code rotating device is applied to wearable electronic equipment. Fig. 7 is a schematic structural diagram of a barcode rotation apparatus according to an embodiment of the present invention, and referring to fig. 7, the barcode rotation apparatus 700 may include: an obtaining module 710 configured to obtain, by a gesture detection apparatus in the wearable electronic device, a current gesture of the wearable electronic device; a determining module 720, configured to determine whether the current posture meets a preset condition, where the preset condition is used to indicate that a display direction of a barcode in the wearable electronic device is different from a preset direction; the executing module 730 is configured to control the barcode to be displayed in a target state if the current posture meets a preset condition, where the target state is a state in which a display direction of the barcode is consistent with a preset direction.
Based on the foregoing embodiment, the determining module is configured to obtain first data of a current posture and second data in a preset condition, where the first data is used for indicating a posture of the wearable electronic device; determining whether the current posture meets a preset condition according to whether the first data is matched with the second data; if the first data is matched with the second data, determining that the current posture meets a preset condition; and if the first data is not matched with the second data, determining that the current posture does not meet the preset condition.
Based on the foregoing embodiment, the determining module is configured to determine whether the current posture meets a preset condition according to whether a turning angle of the wearable electronic device in the current turning is matched with a preset angle; if the turning angle is matched with a preset angle, determining that the current posture meets a preset condition; if the turning angle is not matched with the preset angle, determining that the current posture does not meet the preset condition; and/or determining whether the current posture meets a preset condition according to whether the turning time interval of the current turning and the last turning of the wearable electronic equipment is matched with a preset time interval; if the turning time interval is matched with a preset time interval, determining that the current posture meets a preset condition; and if the turning time interval is not matched with the preset time interval, determining that the current posture does not meet the preset condition.
Based on the foregoing embodiment, the execution module is configured to control the barcode to rotate or regenerate if the current posture meets a preset condition, so that the barcode is displayed in a target state.
Based on the foregoing embodiment, the apparatus may further include a control module; and the control module is configured to keep the state of the bar code unchanged if the current posture does not meet the preset condition.
Based on the foregoing embodiment, the control module is configured to, if the current posture does not satisfy the preset condition, determine again whether the current posture satisfies the preset condition after a first preset time; if the current posture is judged to not meet the preset condition again, keeping the state of the bar code unchanged; or if the current posture does not meet the preset condition, the posture of the wearable electronic equipment is obtained again after a second preset time; judging whether the re-acquired gesture meets a preset condition or not; and if the posture acquired again does not meet the preset condition, keeping the state of the bar code unchanged.
Based on the foregoing embodiment, the apparatus may further include a switch module; a switch module configured to control the gesture detection apparatus to turn on when the wearable electronic device displays the barcode; and when the wearable electronic equipment is closed and displays the bar code, controlling the gesture detection device to be closed.
Here, it should be noted that: the above description of the apparatus embodiments, similar to the above description of the method embodiments, has similar beneficial effects as the method embodiments. For technical details not disclosed in the embodiments of the apparatus according to the invention, reference is made to the description of the embodiments of the method according to the invention for understanding.
Based on the same inventive concept, the embodiment of the present invention further provides an electronic device, where the electronic device may include the barcode rotating apparatus in the above embodiment, and the electronic device may be a smart watch, a smart bracelet, or the like. Fig. 8 is a schematic structural diagram of an electronic device in an embodiment of the present invention, and referring to fig. 8, the electronic device 800 may include: at least one processor 810; and at least one memory 820, bus 830 connected to processor 810; the processor 810 and the memory 820 complete communication with each other through the bus 830; the processor 810 is configured to call program instructions in the memory 820 to execute the barcode rotation method in one or more embodiments as described above, and the processor 810 is configured to obtain a current posture of the wearable electronic device through a posture detection apparatus in the wearable electronic device; judging whether the current posture meets a preset condition, wherein the preset condition is used for indicating that the display direction of a bar code in the wearable electronic equipment is different from the preset direction; and if the current posture meets the preset condition, controlling the bar code to be displayed in a target state, wherein the target state is a state that the display direction of the bar code is consistent with the preset direction.
Based on the foregoing embodiment, the processor is configured to acquire first data of a current posture and second data in a preset condition, wherein the first data is used for indicating a posture of the wearable electronic device; determining whether the current posture meets a preset condition according to whether the first data is matched with the second data; if the first data is matched with the second data, determining that the current posture meets a preset condition; and if the first data is not matched with the second data, determining that the current posture does not meet the preset condition.
Based on the foregoing embodiment, the processor is configured to determine whether the current posture meets a preset condition according to whether a turning angle of the wearable electronic device currently turning is matched with a preset angle; if the turning angle is matched with a preset angle, determining that the current posture meets a preset condition; if the turning angle is not matched with the preset angle, determining that the current posture does not meet the preset condition; and/or determining whether the current posture meets a preset condition according to whether the turning time interval of the current turning and the last turning of the wearable electronic equipment is matched with a preset time interval; if the turning time interval is matched with a preset time interval, determining that the current posture meets a preset condition; and if the turning time interval is not matched with the preset time interval, determining that the current posture does not meet the preset condition.
Based on the foregoing embodiment, the processor is configured to control the barcode to rotate or regenerate if the current posture meets a preset condition, so that the barcode is displayed in a target state.
Based on the foregoing embodiment, the processor is further configured to keep the state of the barcode unchanged if the current posture does not satisfy the preset condition.
Based on the foregoing embodiment, the processor is configured to, if the current posture does not satisfy the preset condition, determine again whether the current posture satisfies the preset condition after a first preset time; if the current posture is judged to not meet the preset condition again, keeping the state of the bar code unchanged; or if the current posture does not meet the preset condition, the posture of the wearable electronic equipment is obtained again after a second preset time; judging whether the re-acquired gesture meets a preset condition or not; and if the posture acquired again does not meet the preset condition, keeping the state of the bar code unchanged.
Based on the foregoing embodiment, the processor is further configured to control the gesture detection device to turn on when the wearable electronic device displays the barcode; and when the wearable electronic equipment is closed and displays the bar code, controlling the gesture detection device to be closed.
Here, it should be noted that: the above description of the embodiments of the electronic device is similar to the description of the embodiments of the method described above, and has similar advantageous effects to the embodiments of the method. For technical details not disclosed in the embodiments of the electronic device according to the embodiments of the present invention, please refer to the description of the method embodiments of the present invention.
Based on the same inventive concept, embodiments of the present invention also provide a computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, implements the barcode rotation method as in one or more embodiments above.
Here, it should be noted that: the above description of the computer-readable storage medium embodiments is similar to the description of the method embodiments described above, with similar beneficial effects as the method embodiments. For technical details not disclosed in the embodiments of the computer-readable storage medium of the embodiments of the present invention, reference is made to the description of the method embodiments of the present invention for understanding.
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 present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. 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). The 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 Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that 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 identical elements in the 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 above are merely examples of the present application and are 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 (7)

1. A bar code rotation method is applied to a wearable electronic device and comprises the following steps:
obtaining a current posture of the wearable electronic equipment through a posture detection device in the wearable electronic equipment;
judging whether the current posture meets a preset condition, wherein the preset condition is used for indicating that the display direction of a bar code in the wearable electronic equipment is different from a preset direction;
if the current posture meets the preset condition, controlling the bar code to be displayed in a target state, wherein the target state is a state that the display direction of the bar code is consistent with the preset direction;
if the current posture does not meet the preset condition, keeping the state of the bar code unchanged;
the judging whether the current posture meets a preset condition includes:
acquiring first data of the current posture and second data in the preset condition, wherein the first data is used for indicating the posture of the wearable electronic equipment;
determining whether the current posture meets the preset condition or not according to whether the first data is matched with the second data or not;
if the first data is matched with the second data, determining that the current posture meets the preset condition; if the first data is not matched with the second data, determining that the current posture does not meet the preset condition;
determining whether the current posture meets the preset condition according to whether the first data is matched with the second data or not, wherein the determining comprises the following steps:
determining whether the current posture meets the preset condition or not according to whether the current overturning angle of the wearable electronic equipment is matched with a preset angle or not; if the turning angle is matched with the preset angle, determining that the current posture meets the preset condition; if the turning angle is not matched with the preset angle, determining that the current posture does not meet the preset condition; and/or the presence of a gas in the gas,
determining whether the current posture meets the preset condition or not according to whether the turning time interval of the current turning and the last turning of the wearable electronic equipment is matched with a preset time interval or not; if the turning time interval is matched with the preset time interval, determining that the current posture meets the preset condition; and if the turning time interval is not matched with the preset time interval, determining that the current posture does not meet the preset condition.
2. The method according to claim 1, wherein if the current posture meets the preset condition, controlling the barcode to be displayed in a target state comprises:
and if the current posture meets the preset condition, controlling the bar code to rotate or regenerate so that the bar code is displayed in the target state.
3. The method according to claim 1, wherein if the current posture does not satisfy the preset condition, keeping the state of the barcode unchanged comprises:
if the current posture does not meet the preset condition, judging whether the current posture meets the preset condition again after first preset time; if the current posture is judged to not meet the preset condition again, keeping the state of the bar code unchanged; or the like, or, alternatively,
if the current posture does not meet the preset condition, the posture of the wearable electronic equipment is obtained again after a second preset time; judging whether the re-acquired gesture meets the preset condition or not; and if the posture acquired again does not meet the preset condition, keeping the state of the bar code unchanged.
4. The method according to any one of claims 1 to 3, further comprising:
when the wearable electronic equipment displays the bar code, controlling the gesture detection device to be started;
and when the wearable electronic equipment is closed and displays the bar code, controlling the gesture detection device to be closed.
5. A bar code rotating device, wherein the device is applied to a wearable electronic device, and the device comprises:
an obtaining module configured to obtain, by a gesture detection apparatus in the wearable electronic device, a current gesture of the wearable electronic device;
a judging module configured to judge whether the current posture meets a preset condition, where the preset condition is used to indicate that a display direction of a barcode in the wearable electronic device is different from a preset direction;
the execution module is configured to control the bar code to be displayed in a target state if the current posture meets the preset condition, wherein the target state is a state that the display direction of the bar code is consistent with the preset direction; if the current posture does not meet the preset condition, keeping the state of the bar code unchanged;
the judging module is configured to acquire first data of a current posture and second data in a preset condition, wherein the first data is used for indicating the posture of the wearable electronic equipment; determining whether the current posture meets a preset condition according to whether the first data is matched with the second data; if the first data is matched with the second data, determining that the current posture meets a preset condition; if the first data is not matched with the second data, determining that the current posture does not meet the preset condition;
the judging module is configured to determine whether the current posture meets a preset condition according to whether the current overturning angle of the wearable electronic device is matched with a preset angle; if the turning angle is matched with a preset angle, determining that the current posture meets a preset condition; if the turning angle is not matched with the preset angle, determining that the current posture does not meet the preset condition; and/or determining whether the current posture meets a preset condition according to whether the turning time interval of the current turning and the last turning of the wearable electronic equipment is matched with a preset time interval; if the turning time interval is matched with a preset time interval, determining that the current posture meets a preset condition; and if the turning time interval is not matched with the preset time interval, determining that the current posture does not meet the preset condition.
6. An electronic device, comprising:
at least one processor;
and at least one memory, bus connected with the processor; wherein the content of the first and second substances,
the processor and the memory complete mutual communication through the bus;
the processor is configured to invoke program instructions in the memory to perform the method of any of claims 1 to 4.
7. A computer-readable storage medium storing computer instructions that cause a computer to perform the method of any one of claims 1 to 4.
CN201811285054.1A 2018-10-31 2018-10-31 Bar code rotating method and device Active CN109409162B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811285054.1A CN109409162B (en) 2018-10-31 2018-10-31 Bar code rotating method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811285054.1A CN109409162B (en) 2018-10-31 2018-10-31 Bar code rotating method and device

Publications (2)

Publication Number Publication Date
CN109409162A CN109409162A (en) 2019-03-01
CN109409162B true CN109409162B (en) 2022-01-21

Family

ID=65470843

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811285054.1A Active CN109409162B (en) 2018-10-31 2018-10-31 Bar code rotating method and device

Country Status (1)

Country Link
CN (1) CN109409162B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP4270243A1 (en) * 2020-12-31 2023-11-01 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Graphic code display method and apparatus, terminal, and storage medium
CN116524631A (en) * 2021-02-18 2023-08-01 支付宝(杭州)信息技术有限公司 Bright code identification method and device and access control system thereof

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103778403A (en) * 2012-10-17 2014-05-07 财团法人工业技术研究院 Dynamic bar code anti-counterfeiting device, anti-counterfeiting system and method applying dynamic bar code
WO2016036361A1 (en) * 2014-09-03 2016-03-10 Hewlett-Packard Development Company, L. P. Protective case with barcode scanner
CN106408290A (en) * 2016-08-26 2017-02-15 维沃移动通信有限公司 Payment interface start method and mobile terminal
CN106647234A (en) * 2017-02-07 2017-05-10 北京羽扇智信息科技有限公司 Watchband, smart watch comprising watchband and control method thereof
CN106845589A (en) * 2015-12-03 2017-06-13 Sk普兰尼特有限公司 Bar code copy prevention method and apparatus for the method
CN107571900A (en) * 2017-09-09 2018-01-12 荆门创佳机械科技有限公司 Can Automatic-searching commodity unmanned supermarket shopping car
CN107993379A (en) * 2017-11-10 2018-05-04 深圳易伙科技有限责任公司 A kind of smart shopper settlement system based on cloud+end
CN108021837A (en) * 2016-11-04 2018-05-11 株式会社理光 A kind of bar code detection method, bar code detecting device and electronic equipment
CN108596005A (en) * 2018-05-03 2018-09-28 哈尔滨理工大学 The time overhead computational methods identified in real time for two-dimensional barcode image

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103778403A (en) * 2012-10-17 2014-05-07 财团法人工业技术研究院 Dynamic bar code anti-counterfeiting device, anti-counterfeiting system and method applying dynamic bar code
WO2016036361A1 (en) * 2014-09-03 2016-03-10 Hewlett-Packard Development Company, L. P. Protective case with barcode scanner
CN106845589A (en) * 2015-12-03 2017-06-13 Sk普兰尼特有限公司 Bar code copy prevention method and apparatus for the method
CN106408290A (en) * 2016-08-26 2017-02-15 维沃移动通信有限公司 Payment interface start method and mobile terminal
CN108021837A (en) * 2016-11-04 2018-05-11 株式会社理光 A kind of bar code detection method, bar code detecting device and electronic equipment
CN106647234A (en) * 2017-02-07 2017-05-10 北京羽扇智信息科技有限公司 Watchband, smart watch comprising watchband and control method thereof
CN107571900A (en) * 2017-09-09 2018-01-12 荆门创佳机械科技有限公司 Can Automatic-searching commodity unmanned supermarket shopping car
CN107993379A (en) * 2017-11-10 2018-05-04 深圳易伙科技有限责任公司 A kind of smart shopper settlement system based on cloud+end
CN108596005A (en) * 2018-05-03 2018-09-28 哈尔滨理工大学 The time overhead computational methods identified in real time for two-dimensional barcode image

Also Published As

Publication number Publication date
CN109409162A (en) 2019-03-01

Similar Documents

Publication Publication Date Title
US20220147231A1 (en) Information processing apparatus, information processing method, and computer program product for displaying different items to be processed according to different areas on a display in a locked state
US10127414B2 (en) Portable encoded information reading terminal configured to adjust transmit power level
KR102537922B1 (en) Method for measuring angles between displays and Electronic device using the same
US10387692B2 (en) Portable encoded information reading terminal configured to locate groups of RFID tags
US8727225B2 (en) System and method for calibration and mapping of real-time location data
ES2877506T3 (en) Method and apparatus for displaying information
CN109409162B (en) Bar code rotating method and device
US20200051052A1 (en) Payment system, payment method, and program
US11696013B2 (en) Electronic device and recording method thereof
US20210073766A1 (en) Pairing merchant point of sale with payment reader terminal via server application programming interface
US10037510B2 (en) System and method for calibration and mapping of real-time location data
CN103729105A (en) Unhealthy posture detection method and device for mobile terminal
TW202013243A (en) Graphic code display method and device
CN113920502A (en) Cloud deck adjusting method, device, equipment and medium
CN111738577A (en) Raw material management method and related device
US11231782B2 (en) Electronic device for providing time information and operation method of electronic device
CN108354303A (en) Based reminding method and intelligent school bag system
EP4345722A1 (en) Offline transaction processing
WO2019001427A1 (en) Account management method and device
CN112837053B (en) Payment processing method and device
CN110009445A (en) Competition for orders method, equipment and storage medium
US20210342596A1 (en) Smart reader system
US11501448B2 (en) Electronic device and object sensing method of electronic device
WO2020026866A1 (en) Information processing device and information processing method
JP2011150622A (en) Non-contact ic medium system and non-contact ic medium to be used for the same

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