Method and system for information recording
Abstract
Embodiments of the present application disclose a method and system for recording purchase data performed by a first terminal device and a second terminal device. During operation, the first terminal device receives a command to record purchase data. In response to receiving the command to record purchase data, the first terminal device scans a digital object identifier generated by the second terminal device. The digital object identifier includes purchase data acquired by the second terminal device. The first terminal device then extracts and records the purchase data from the digital object identifier.
Claims
exact text as granted — not AI-modifiedWhat is claimed is:
1. A computer-implemented method for recording purchase data performed by a first terminal device, comprising:
receiving, by the first terminal device, a first command to record purchase data;
in response to receiving the first command, scanning, by a user of the first terminal device, a digital object identifier which comprises encoded purchase data and which is generated by a second terminal device, wherein the purchase data is acquired and encoded by the second terminal device;
obtaining the purchase data from a scanned image of the digital object identifier by decoding the encoded purchase data without requiring the user to manually input the purchase data;
reducing an energy and load consumption of the first terminal device;
determining whether a purchase time can be obtained from the scanned image of the digital object identifier;
in response to determining that the purchase time cannot be obtained from the scanned image of the digital object identifier, assigning, by the first terminal device, a current time as the purchase time of the purchase data;
in response to determining that the purchase time can be obtained from the scanned image of the digital object identifier, assigning, by the first terminal device, a second purchase time as the purchase time of the purchase time of the purchase data, wherein the second purchase time is extracted from the scanned image of the digital object identifier;
storing the purchase data and data associating the purchase data with the purchase time; and
providing a purchase suggestion to the user of the first terminal device, which involves, in response to determining that a total purchase amount within a predetermined recent purchasing cycle exceeds a predetermined threshold:
generating a notification message to inform the user that purchases corresponding to the total purchase amount have exceeded the predetermined threshold, wherein the notification message is presented to the user on a display screen of the first terminal device; and
refraining, by the user, from making a purchase when the total purchase amount within the predetermined recent purchasing cycle exceeds the predetermined threshold.
2. The method according to claim 1 , wherein the digital object identifier further comprises a purchase category set by the second terminal device for the purchase data, and the method further comprises:
extracting the purchase category from the digital object identifier;
storing data associating the stored purchase data with the purchase category; and
in response to receiving a second command to present purchase data, presenting the purchase data according to the purchase category.
3. The method according to claim 1 , further comprising:
in response to receiving user input to set a purchase category, storing data associating the stored purchase data with the purchase category; and
in response to receiving a second command to present purchase data, presenting the purchase data according to the purchase category.
4. The method according to claim 1 , wherein in response to determining that the purchase time can be obtained from the scanned image of the digital object identifier, the method further comprises:
determining that the scanned image of the digital object identifier indicates the second purchase time for the purchase data, wherein the second purchase time is recorded by the second terminal device;
extracting the second purchase time from the scanned image of the digital object identifier;
and
in response to receiving a second command to present purchase data, presenting the purchase data according to a purchase time sequence which includes the second purchase time.
5. The method according to claim 1 , further comprising:
in response to receiving a second command to present purchase data, presenting the purchase data according to a purchase time sequence which includes the stored purchase time.
6. The method according to claim 1 , further comprising:
calculating the total purchase amount within the predetermined recent purchasing cycle.
7. The method according to claim 1 , further comprising:
determining a product indicated by the purchase data;
searching for product information associated with the product; and
presenting the product information including a description and a price of the product and information regarding a party that issued the product information.
8. A method for recording purchase data performed by a second terminal device, comprising:
acquiring, by the second terminal device, purchase data;
encoding, by the second terminal device, the purchase data;
generating, by the second terminal device, a digital object identifier which comprises the encoded purchase data; and
transmitting, by the second terminal device, the digital object identifier to a first terminal device, which causes the first terminal device to:
scan, by a user of the first terminal device, the digital object identifier;
obtain the purchase data from a scanned image of the digital object identifier by decoding the encoded purchase data without requiring the user to manually input the purchase data;
reduce an energy and load consumption of the first terminal device;
determine whether a purchase time can be obtained from the scanned image of the digital object identifier;
in response to determining that the purchase time cannot be obtained from the scanned image of the digital object identifier, assign, by the first terminal device, a current time as the purchase time of the purchase data;
in response to determining that the purchase time can be obtained from the scanned image of the digital object identifier, assign, by the first terminal device, a second purchase time as the purchase time of the purchase time of the purchase data, wherein the second purchase time is extracted from the scanned image of the digital object identifier;
store the purchase data and data associating the purchase data with the purchase time; and
provide a purchase suggestion to the user of the first terminal device, which involves, in response to determining that a total purchase amount within a predetermined recent purchasing cycle exceeds a predetermined threshold:
generating a notification message to inform the user that purchases corresponding to the total purchase amount have exceeded the predetermined threshold, wherein the notification message is presented to the user on a display screen of the first terminal device; and
refraining, by the user, from making a purchase when the total purchase amount within the predetermined recent purchasing cycle exceeds the predetermined threshold.
9. The method according to claim 8 , further comprising:
in response to acquiring the purchase data, setting a purchase category for the purchase data, wherein the digital object identifier further comprises the purchase category, thereby allowing the first terminal device to extract the purchase category from the digital object identifier, to store data associating the stored purchase data with the purchase category, and to present the purchase data according to the purchase category.
10. The method according to claim 8 , further comprising:
in response to acquiring the purchase data, storing, by the second terminal device, a current time as the purchase time of the purchase data; and
including, by the second terminal device, the purchase time in the digital object identifier;
wherein transmitting, by the second terminal device, the digital object identifier to the first terminal device further causes the first terminal device, in response to determining that a purchase time can be obtained from the scanned image of the digital object identifier, to:
extract, by the first terminal device, the purchase time from the digital object identifier;
store the purchase data and data associating the stored purchase data with the purchase time; and
present, by the first terminal device, the purchase data according to a purchase time sequence which includes the stored purchase time.
11. A computer system for recording purchase data configured as a first terminal device, comprising:
a processor; and
a storage device storing instructions that when executed by the processor cause the processor to perform a method, the method comprising:
receiving, by the first terminal device, a first command to record purchase data;
in response to receiving the first command, scanning, by a user of the first terminal device, a digital object identifier which comprises encoded purchase data and which is generated by a second terminal device, wherein the purchase data is acquired and encoded by the second terminal device;
obtaining the purchase data from a scanned image of the digital object identifier by decoding the encoded purchase data without requiring the user to manually input the purchase data;
reducing an energy and load consumption of the first terminal device;
determining whether a purchase time can be obtained from the scanned image of the digital object identifier;
in response to determining that the purchase time cannot be obtained from the scanned image of the digital object identifier, assigning, by the first terminal device, a current time as the purchase time of the purchase data;
in response to determining that the purchase time can be obtained from the scanned image of the digital object identifier, assigning, by the first terminal device, a second purchase time as the purchase time of the purchase time of the purchase data, wherein the second purchase time is extracted from the scanned image of the digital object identifier;
storing the purchase data and data associating the purchase data with the purchase time; and
providing a purchase suggestion to the user of the first terminal device, which involves, in response to determining that a total purchase amount within a predetermined recent purchasing cycle exceeds a predetermined threshold:
generating a notification message to inform the user that purchases corresponding to the total purchase amount have exceeded the predetermined threshold, wherein the notification message is presented to the user on a display screen of the first terminal device; and
refraining, by the user, from making a purchase when the total purchase amount within the predetermined recent purchasing cycle exceeds the predetermined threshold.
12. The computer system according to claim 11 , wherein the digital object identifier further comprises a purchase category set by the second terminal device for the purchase data, and wherein the method further comprises:
extracting the purchase category from the digital object identifier;
storing data associating the stored purchase data with the purchase category; and
in response to receiving a second command to present purchase data, presenting the purchase data according to the purchase category.
13. The computer system according to claim 11 , wherein the method further comprises:
in response to receiving user input to set the purchase category, storing data associating the stored purchase data with the purchase category; and
in response to receiving a second command to present purchase data, presenting the purchase data according to the purchase category.
14. The computer system according to claim 11 , wherein in response to determining that the purchase time can be obtained from the scanned image of the digital object identifier, the method further comprises:
determining that the scanned image of the digital object identifier indicates the second purchase time for the purchase data, wherein the second purchase time is recorded by the second terminal device;
extracting the second purchase time from the scanned image of the digital object identifier; and
and
in response to receiving a second command to present purchase data, presenting the purchase data according to a purchase time sequence which includes the second purchase time.
15. The computer system according to claim 11 , wherein the method further comprises:
in response to receiving a second command to present purchase data, presenting the purchase data according to a purchase time sequence which includes the stored purchase time.
16. The computer system according to claim 11 , wherein the method further comprises:
calculating the total purchase amount within the predetermined recent purchasing cycle.
17. The computer system according to claim 11 , wherein the method further comprises:
determining a target product indicated by the purchase data;
searching for product information issued for the target product, wherein the product information comprises a description and a price of the target product, and information regarding a party that issued the product information.
18. A computer system for recording purchase data configured as a second terminal device, comprising:
a processor; and
a storage device storing instructions that when executed by the processor cause the processor to perform a method, the method comprising:
acquiring, by the second terminal device, purchase data;
encoding, by the second terminal device, the purchase data;
generating, by the second terminal device, a digital object identifier which comprises the encoded purchase data; and
transmitting, by the second terminal device, the digital object identifier to a first terminal device, which causes the first terminal device to:
scan, by a user of the first terminal device, the digital object identifier;
obtain the purchase data from a scanned image of the digital object identifier by decoding the encoded purchase data without requiring the user to manually input the purchase data;
reduce an energy and load consumption of the first terminal device;
determine whether a purchase time can be obtained from the scanned image of the digital object identifier;
in response to determining that a purchase time cannot be obtained from the scanned image of the digital object identifier, assign, by the first terminal device, a current time as a purchase time of the purchase data;
in response to determining that the purchase time can be obtained from the scanned image of the digital object identifier, assign, by the first terminal device, a second purchase time as the purchase time of the purchase time of the purchase data, wherein the second purchase time is extracted from the scanned image of the digital object identifier;
store the purchase data and data associating the purchase data with the purchase time; and
provide a purchase suggestion to the user of the first terminal device, which involves, in response to determining that a total purchase amount within a predetermined recent purchasing cycle exceeds a predetermined threshold:
generating a notification message to inform the user that purchases corresponding to the total purchase amount have exceeded the predetermined threshold, wherein the notification message is presented to the user on a display screen of the first terminal device; and
refraining, by the user, from making a purchase when the exceeds total purchase amount within the predetermined recent purchasing cycle exceeds the predetermined threshold.
19. The computer system according to claim 18 , wherein the method further comprises:
in response to acquiring the purchase data, setting a purchase category for the purchase data, wherein the digital object identifier further comprises the purchase category, thereby allowing the first terminal device to extract the purchase category from the digital object identifier, to store data associating the stored purchase data with the purchase category, and to present the purchase data according to the purchase category.
20. The computer system according to claim 18 , further comprising:
in response to acquiring the purchase data, storing, by the second terminal device, a current time as the purchase time of the purchase data; and
including, by the second terminal device, the purchase time in the digital object identifier;
wherein transmitting, by the second terminal device, the digital object identifier to the first terminal device further causes the first terminal device, in response to determining that a purchase time can be obtained from the scanned image of the digital object identifier, to:
extract, by the first terminal device, the purchase time from the digital object identifier;
store the purchase data and data associating the stored purchase data with the purchase time; and
present, by the first terminal device, the purchase data according to a purchase time sequence which includes the stored purchase time.
21. A non-transitory computer-readable storage medium storing instructions that when executed by a computer cause the computer to perform a method for recording purchase data, wherein the computer is configured as a first terminal device, the method comprising:
receiving, by the first terminal device, a command to record purchase data;
in response to receiving the command, scanning, by a user of the first terminal device, a digital object identifier which comprises encoded purchase data and which is generated by a second terminal device, wherein the purchase data is acquired and encoded by the second terminal device;
obtaining the purchase data from a scanned image of the digital object identifier by decoding the encoded purchase data without requiring the user to manually input the purchase data;
reducing an energy and load consumption of the first terminal device;
determining whether a purchase time can be obtained from the scanned image of the digital object identifier;
in response to determining that the purchase time cannot be obtained from the scanned image of the digital object identifier, assigning, by the first terminal device, a current time as the purchase time of the purchase data;
in response to determining that the purchase time can be obtained from the scanned image of the digital object identifier, assigning, by the first terminal device, a second purchase time as the purchase time of the purchase time of the purchase data, wherein the second purchase time is extracted from the scanned image of the digital object identifier;
storing the purchase data and data associating the purchase data with the purchase time; and
providing a purchase suggestion to the user of the first terminal device, which involves, in response to determining that a total purchase amount within a predetermined recent purchasing cycle exceeds a predetermined threshold:
generating a notification message to inform the user that purchases corresponding to the total purchase amount have exceeded the predetermined threshold, wherein the notification message is presented to the user on a display screen of the first terminal device; and
refraining, by the user, from making a purchase when the total purchase amount within the predetermined recent purchasing cycle exceeds the predetermined threshold.Join the waitlist — get patent alerts
Track US10438263B2 — get alerts on status changes and closely related new filings.
We store only your email — no account needed. See our privacy policy.