Disclosure of Invention
The purpose of the invention is as follows: in order to overcome the disadvantages in the background art, embodiments of the present invention provide an order processing system for live broadcast sales and a working method thereof, which can effectively solve the problems related to the background art.
The technical scheme is as follows:
an order processing system for live sales, comprising:
the system comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is configured to acquire a live webcast room of an e-commerce platform which a user enters;
the second acquisition module is configured to acquire the commodity link displayed in the live webcast room;
the timing module is configured to calculate the watching duration of a user in the webcast room;
the first judging module is configured to judge whether the watching duration is greater than or equal to a preset time;
the password generation module is configured to generate a dynamic password, the dynamic password consists of numbers and/or letters, a one-to-one corresponding relation is established between the dynamic password and the commodity link, and the corresponding relation between the password and the commodity link is stored in a database of the e-commerce platform;
the password updating module is configured to update the dynamic password linked with the commodity every preset time and synchronously modify the stored corresponding relation;
the pre-storage module is configured to store the dynamic password to a clipboard of a browsing interface, the clipboard is hidden on the browsing interface, and a user calls the clipboard through a preset operation;
the third acquisition module is configured to acquire the dynamic password input by the user on the search bar;
the second judgment module is configured to judge whether the dynamic password input by the user exists in the stored corresponding relation;
the first extraction module is configured to extract a commodity link corresponding to the dynamic password according to the corresponding relation and enter a commodity sales page through the commodity link;
an order generation module configured to generate a commodity order created by a user.
As a preferred embodiment of the present invention, the present invention further comprises:
the fourth acquisition module is configured to acquire remark information set for the dynamic password by the user;
a second extraction module configured to extract a password selected by a user on a clipboard;
a modification module configured to add the remark information to the password on a clipboard.
As a preferred aspect of the present invention, the present invention further comprises:
and the prompting module is configured to send prompting information to a user after the dynamic password is invalid, wherein the prompting information comprises a live webcast room link where the commodity link corresponding to the dynamic password is located.
As a preferred embodiment of the present invention, the present invention further comprises:
the third extraction module is configured to extract a live webcast room link where the commodity link corresponding to the dynamic password on the clipboard is located, and enter the live webcast room link;
a third judging module configured to judge whether the live broadcast is finished;
and the deleting module is configured to delete the dynamic password on the clipboard and delete the corresponding relation comprising the dynamic password in a database.
As a preferred embodiment of the present invention, the present invention further comprises:
the fourth extraction module is configured to extract the commodity link displayed in the live webcast room;
and the fourth judging module is configured to judge whether the commodity link is the same as the commodity link corresponding to the dynamic password.
An operating method of an order processing system for live sales comprises the following operating steps:
s101: acquiring a live webcast room of an e-commerce platform, which a user enters, and acquiring a commodity link displayed in the live webcast room;
s102: calculating the watching time length of the user in the live webcast room;
s103: judging whether the watching duration is greater than or equal to preset time or not;
s104: if so, generating a dynamic password, establishing a one-to-one corresponding relation between the dynamic password and the commodity link, storing the corresponding relation between the password and the commodity link into a database of the E-commerce platform, updating the dynamic password of the commodity link at preset time intervals, and synchronously modifying the stored corresponding relation;
s105: storing the dynamic password to a clipboard of a browsing interface, wherein the clipboard is hidden on the browsing interface, and a user calls the clipboard through a preset operation;
s106: acquiring a dynamic password input by a user on a search bar;
s107: judging whether the dynamic password input by the user exists in the stored corresponding relation or not;
s108: if so, extracting a commodity link corresponding to the dynamic password according to the corresponding relation, and entering a commodity sales page through the commodity link;
s109: a user-created commodity order is generated.
As a preferred embodiment of the present invention, S105 further includes:
acquiring remark information set for the dynamic password by the user;
extracting a password selected by a user on a clipboard;
and adding the remark information for the password on the clipboard.
As a preferred embodiment of the present invention, S104 further includes:
and when the dynamic password is invalid, sending prompt information to a user, wherein the prompt information comprises a live webcast room link where the commodity link corresponding to the dynamic password is located.
As a preferred embodiment of the present invention, S105 is followed by:
extracting a live webcast room link where a commodity link corresponding to the dynamic password on the clipboard is located, and entering the live webcast room link;
judging whether the live broadcast is finished;
and if so, deleting the dynamic password on the clipboard, and deleting the corresponding relation comprising the dynamic password in a database.
As a preferred embodiment of the present invention, the present invention further comprises:
extracting commodity links displayed in the live webcast room;
judging whether the commodity link is the same as the commodity link corresponding to the dynamic password;
if not, deleting the dynamic password on the clipboard, and deleting the corresponding relation comprising the dynamic password in a database.
The invention realizes the following beneficial effects:
1. the system judges that the user is interested in commodity links in the live webcast room, the system generates a dynamic password, the dynamic password and the commodity links establish a one-to-one correspondence relationship, when the user exits the live webcast room, the system stores the dynamic password on a clipboard of a browsing interface, the clipboard is hidden and arranged on the browsing interface, the user can call out the clipboard through a preset operation, the user can also select to copy contents on the clipboard, and then the dynamic password can be directly input on a search bar of an e-commerce platform, the user can automatically enter the commodity links corresponding to the dynamic password, or the user can also select to enter the corresponding live webcast room and then manually enter the commodity links, so that live webcast shopping is facilitated.
2. The dynamic password is updated once every preset time, after the dynamic password is updated, the system sends prompt information to the user, the prompt information comprises a network live broadcast room link where a commodity link corresponding to the dynamic password is located, the user can directly click the link in the prompt information to enter the live broadcast room, an order is created, and the probability of missing preferential commodities is reduced.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments.
Example one
As shown in fig. 1, the present embodiment provides a working method of an order processing system for live sales, including the following working steps:
s101: acquiring a live webcast room of an e-commerce platform, which a user enters, and acquiring a commodity link displayed in the live webcast room;
s102: calculating the watching time length of the user in the live webcast room;
s103: judging whether the watching duration is greater than or equal to preset time or not;
s104: if yes, generating dynamic passwords, establishing a one-to-one corresponding relation between the dynamic passwords and the commodity links, storing the corresponding relation between the passwords and the commodity links into a database of the E-commerce platform, updating the dynamic passwords of the commodity links at preset intervals, and synchronously modifying the stored corresponding relation;
s105: storing the dynamic password to a clipboard of a browsing interface, wherein the clipboard is hidden on the browsing interface, and a user calls the clipboard through a preset operation;
s106: acquiring a dynamic password input by a user on a search bar;
s107: judging whether the dynamic password input by the user exists in the stored corresponding relation;
s108: if so, extracting a commodity link corresponding to the dynamic password according to the corresponding relation, and entering a commodity sales page through the commodity link;
s109: a user-created commodity order is generated.
As shown in fig. 2, S104 further includes:
and when the dynamic password is invalid, sending prompt information to a user, wherein the prompt information comprises a live webcast room link where the commodity link corresponding to the dynamic password is located.
Specifically, in S101, when the user watches live broadcast sales on the e-commerce platform or other platforms, the system obtains a live webcast room into which the user enters, and obtains a commodity link displayed in the live webcast room.
And if various commodities are displayed in the live webcast room at the same time, acquiring a plurality of commodity links.
In S102, the system calculates the time length of the user watching the live broadcast sale from the time the user enters the live broadcast room, and stops timing when the user exits the live broadcast room.
If the user exits from the live webcast room and immediately reenters the live webcast room, timing is continued on the basis of stopping timing, and a determination time is set for the above situation, in this embodiment, the determination time is set to 5 seconds, if the user reenters the live webcast room within 5 seconds after exiting from the live webcast room, timing is resumed, and if the user reenters the live webcast room within 5 seconds after exiting from the live webcast room, timing is started from zero.
In S103, a preset time is set in the system, when the time for the user to watch the live broadcast sale reaches the preset time, the system judges that the user is interested in the commodities for live broadcast sale, the commodities for live broadcast sale can be listed as target commodities, and the target commodities can still be rapidly acquired after the user exits from the network live broadcast room.
In S104, a dynamic password is generated, the dynamic password and the commodity link establish a one-to-one corresponding relation, different dynamic passwords correspond to different commodity links, and the system stores the corresponding relation of the dynamic password and the commodity link into a database of the e-commerce platform.
The dynamic password has timeliness, and the dynamic password can be updated once every preset time, namely the original dynamic password is invalid, and a user cannot search commodities sold by live broadcast through the original dynamic password.
And when the dynamic password is invalid, sending prompt information to the user, wherein the prompt information comprises a live webcast room link where the commodity link corresponding to the dynamic password is located, if the user is still interested in commodities sold in the live webcast room, clicking the live webcast room link to enter the live webcast room again, and when the user reenters the live webcast room, generating a new dynamic password by the system again to cover the dynamic password.
In S105, the system stores the dynamic password in a clipboard of the browsing interface, where the clipboard is hidden on any browsing interface, that is, when the user does not need the clipboard, the clipboard is retracted without affecting the browsing content of the user.
The user can call up the clipboard according to the preset operation method of the system.
The dynamic password on the clipboard may be copied.
In S106, when the user needs to return to the webcast room to purchase the product, the dynamic password is input in the search bar of the e-commerce platform, and the system obtains the dynamic password input or pasted by the user.
In S107, the system determines whether the dynamic password exists in the stored correspondence.
If the password does not exist, the dynamic password is invalid, or the user inputs the password incorrectly, and the user can input the dynamic password again.
In S108, if the dynamic password exists in the stored corresponding relationship, the system takes out the merchandise link corresponding to the dynamic password according to the corresponding relationship, and directly enters the merchandise link, and the sales page of the merchandise is displayed to the user at this time.
In S109, the user can place an order directly on the sales page, and the system can obtain the order created by the user.
Example two
As shown in fig. 3, S105 further includes:
acquiring remark information set for the dynamic password by the user;
extracting a password selected by a user on a clipboard;
and adding the remark information for the password on the clipboard.
Specifically, when the user is interested in commodities in a plurality of live rooms or commodities in a plurality of live rooms, the user can respectively remark a plurality of dynamic passwords on the clipboard.
And (3) inputting remark information at the remark position on the clipboard by the user, wherein each dynamic password has a remark position, and the system automatically displays the remark information and the dynamic password in a corresponding manner.
EXAMPLE III
As shown in fig. 4, after S105, the method further includes:
extracting a live webcast room link where a commodity link corresponding to the dynamic password on the clipboard is located, and entering the live webcast room link;
judging whether the live broadcast is finished;
and if so, deleting the dynamic password on the clipboard, and deleting the corresponding relation comprising the dynamic password in a database.
As shown in fig. 5, the method further includes:
extracting commodity links displayed in the live webcast room;
judging whether the commodity link is the same as the commodity link corresponding to the dynamic password;
if not, deleting the dynamic password on the clipboard, and deleting the corresponding relation comprising the dynamic password in a database.
Specifically, after the user exits from the webcast room, the system checks the dynamic password on the clipboard at regular time.
The method comprises the steps of extracting a dynamic password on a clipboard, extracting a live webcast room link corresponding to the dynamic password, entering the live webcast room through the link, judging whether live webcast sale is finished, if so, indicating that the dynamic password is invalid, deleting the invalid dynamic password on the clipboard, and deleting the corresponding relation including the invalid dynamic password in a database.
In addition, if the live broadcast is not finished, further verifying whether the dynamic password is invalid, firstly extracting a commodity link currently displayed in the live webcast room, then extracting a commodity link corresponding to the dynamic password, judging whether the two commodity links are the same, if not, indicating that the dynamic password is invalid, deleting the invalid dynamic password on the clipboard, and simultaneously deleting the corresponding relation including the invalid dynamic password in the database; if a plurality of commodity links are displayed in the live webcast room at the same time, whether the commodity link corresponding to the dynamic password exists in the commodity links or not is judged, and if not, the dynamic password is invalid.
Example four
As shown in fig. 6, an order processing system for live sales includes:
a first obtaining module 401, configured to obtain a webcast room of an e-commerce platform that a user enters;
a second obtaining module 402, configured to obtain a commodity link displayed in the webcast room;
a timing module 403 configured to calculate a time length of viewing of a user in the webcast room;
a first determining module 404 configured to determine whether the viewing duration is greater than or equal to a preset time;
a password generating module 405 configured to generate a dynamic password, the dynamic password is composed of numbers and/or letters, a one-to-one correspondence relationship is established between the dynamic password and the commodity link, and the correspondence relationship between the password and the commodity link is stored in a database of the e-commerce platform;
a password updating module 406, configured to update the dynamic password linked to the commodity every preset time, and synchronously modify the stored corresponding relationship;
a pre-storing module 407 configured to store the dynamic password to a clipboard of a browsing interface, where the clipboard is hidden on the browsing interface, and a user calls the clipboard through a preset operation;
a third obtaining module 408 configured to obtain the dynamic password input by the user on the search bar;
a second determination module 409 configured to determine whether the dynamic password input by the user exists in the stored correspondence;
a first extraction module 410, configured to extract a commodity link corresponding to the dynamic password according to the correspondence, and enter a commodity sales page through the commodity link;
an order generation module 411 configured to generate a commodity order created by a user.
A fourth obtaining module 412, configured to obtain remark information set for the dynamic password by the user;
a second extraction module 413 configured to extract the password selected by the user on the clipboard;
a modification module 414 configured to add the remark information for the password on a clipboard.
And the prompt module 415 is configured to send prompt information to the user after the dynamic password is invalid, where the prompt information includes a live webcast room link where the commodity link corresponding to the dynamic password is located.
A third extraction module 416, configured to extract a webcast link where a commodity link corresponding to the dynamic password on the clipboard is located, and enter the webcast link;
a third judging module 417 configured to judge whether the live broadcast is finished;
a deleting module 418 configured to delete the dynamic password on the clipboard and delete the correspondence including the dynamic password in the database.
A fourth extraction module 419 configured to extract the merchandise link displayed in the webcast;
a fourth determining module 420, configured to determine whether the merchandise link is the same as the merchandise link corresponding to the dynamic password.
In the system provided by the fourth embodiment, only the division of the functional modules is illustrated, and in practical applications, the functions may be allocated by different functional modules according to needs, that is, the internal structure of the system is divided into different functional modules, so as to complete all or part of the functions described above.
The above embodiments are merely illustrative of the technical ideas and features of the present invention, and are intended to enable those skilled in the art to understand the contents of the present invention and implement the present invention, and not to limit the scope of the present invention. All equivalent changes or modifications made according to the spirit of the present invention should be covered within the protection scope of the present invention.