CN110351184B - Information state change prompting method, device, terminal and readable storage medium - Google Patents

Information state change prompting method, device, terminal and readable storage medium Download PDF

Info

Publication number
CN110351184B
CN110351184B CN201910489986.6A CN201910489986A CN110351184B CN 110351184 B CN110351184 B CN 110351184B CN 201910489986 A CN201910489986 A CN 201910489986A CN 110351184 B CN110351184 B CN 110351184B
Authority
CN
China
Prior art keywords
transaction
information
event
seller
user
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
CN201910489986.6A
Other languages
Chinese (zh)
Other versions
CN110351184A (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.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen 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 Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN201910489986.6A priority Critical patent/CN110351184B/en
Publication of CN110351184A publication Critical patent/CN110351184A/en
Application granted granted Critical
Publication of CN110351184B publication Critical patent/CN110351184B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/043Real-time or near real-time messaging, e.g. instant messaging [IM] using or handling presence information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/046Interoperability with other network applications or services

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Technology Law (AREA)
  • Strategic Management (AREA)
  • Marketing (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Economics (AREA)
  • Development Economics (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a method, a device, a terminal and a readable storage medium for prompting information state change, wherein the method comprises the following steps: generating a transaction invitation request according to transaction information input by a user, and sending the transaction invitation request to a seller client corresponding to the transaction information; reading state information is obtained from the seller client through ajax polling; judging whether the reading state information is read or not; and if the reading state information is read, determining an identification icon corresponding to the transaction invitation request and the seller client, and updating the identification icon into a read icon in a transaction window displaying the transaction information. The invention also provides an information state change prompting device, a terminal and a readable storage medium. According to the invention, reading state information is acquired from the seller client by setting ajax polling, so that a user can judge whether the seller knows the transaction information or not according to the icon of the seller client, and the transaction efficiency is accelerated.

Description

Information state change prompting method, device, terminal and readable storage medium
Technical Field
The present invention relates to the field of network communication technologies, and in particular, to a method, an apparatus, a terminal, and a readable storage medium for prompting a change of an information status.
Background
Off-site trading refers to a trading mode in which two trading parties directly become counterparties. The off-site transaction is to determine the transaction price in a one-to-one mode, and the transaction price depends on the negotiation between two parties. The bargaining price can be a price determined by repeated negotiations of transaction parties; or one party can make a bid by listing, and the bid is adjusted according to the market condition and the acceptance degree of the other party, so that a certain negotiation pricing opportunity exists. In the existing off-site trading system, a user is reminded of the change of a trading price or a trading state through a mail, the user cannot know whether the opposite side reads or processes a trading invitation sent by the user, and when the user sends the trading invitation to a plurality of sellers, the user cannot timely know the reading condition of each seller, so that the trading efficiency is delayed.
Therefore, how to solve the technical problem of low transaction efficiency caused by the fact that the transaction invitation processing condition of each transaction object cannot be known in time in the existing off-site transaction process becomes a technical problem to be solved urgently at present.
Disclosure of Invention
The invention mainly aims to provide an information state change prompting method, an information state change prompting device, a terminal and a readable storage medium, aims to solve the technical problem that the transaction success rate is low due to the fact that the transaction invitation processing condition of each transaction object cannot be known in time in the existing transaction process, and is a technical problem to be solved at present.
In order to achieve the above object, the present invention provides an information state change prompting method, including:
generating a transaction invitation request according to transaction information input by a user, and sending the transaction invitation request to a seller client corresponding to the transaction information;
reading state information is obtained from the seller client through ajax polling;
detecting an operation event made in the transaction window by a user, judging whether the operation event is matched with a preset positive event or not, and judging whether the operation event is matched with a preset negative event or not;
when the operation event is matched with the preset positive event, increasing the interval time for initiating adjacent ajax polling;
when the operation event is matched with the preset negative event, reducing the interval time for initiating adjacent ajax polling;
judging whether the reading state information is read or not;
and if the reading state information is read, determining an identification icon corresponding to the transaction invitation request and the seller client, and updating the identification icon into a read icon in a transaction window displaying the transaction information.
Preferably, the step of obtaining the reading status information from the seller client by ajax polling comprises:
judging whether the operation event is matched with a preset positive event or not, and judging whether the operation event is matched with a preset negative event or not;
when the operation event is matched with the preset positive event, increasing the interval time for initiating adjacent ajax polling;
and when the operation event is matched with the preset negative event, reducing the interval time for initiating adjacent ajax polling.
Preferably, after the step of generating a transaction invitation request according to the transaction information input by the user and sending the transaction invitation request to the seller client corresponding to the transaction information, the method further includes:
receiving response information sent by the seller client according to the transaction invitation request;
acquiring current time information, and acquiring a message reminding mechanism corresponding to the time information according to a preset rule;
judging whether the message reminding mechanism is instant reminding or not;
and if the message reminding mechanism is instant reminding, generating a prompt event according to the response information, and displaying the prompt event.
Preferably, if the message reminding mechanism is an instant reminding, the step of generating a prompt event according to the response information and displaying the message prompt event includes:
acquiring a browser display state, and judging whether the browser display state is open or not;
if the browser display state is open, generating a prompt event according to the response information, and displaying the prompt event in the browser;
if the browser display state is closed, acquiring a desktop window display state, and judging whether the desktop window display state is open;
and if the display state of the desktop window is open, generating a prompt event according to the response information, and displaying the prompt event in the desktop window.
Preferably, if the desktop window display state is open, a prompt event is generated according to the response information, and the step of displaying the prompt event in the desktop window includes:
if the display state of the desktop window is open, acquiring a selling price in the response information;
and generating a prompt event according to the response information, and sequencing and displaying the identification icon corresponding to the seller client in the desktop window according to the selling price.
Preferably, the transaction information includes a plurality of seller identifications; the information state change prompting method further comprises the following steps:
receiving confirmation operation made by a user according to the response information, and setting a seller identifier corresponding to the confirmation operation as a determined transaction party identifier;
sending a transaction bill to a seller client corresponding to the determined transaction party identifier;
and sending a transaction closing instruction to a seller client corresponding to the non-determined transaction party identifier in the transaction information.
Preferably, the transaction information includes a product name of a pre-purchased product; the step of generating a transaction invitation request according to the transaction information input by the user and sending the transaction invitation request to a seller client corresponding to the transaction information comprises the following steps:
inquiring similar transactions corresponding to product names in prestored historical data according to the product names of products purchased in advance and input by a user;
acquiring a transaction object identifier corresponding to the similar transaction and displaying the transaction object identifier for a user to select;
receiving the seller identification input by a user, or receiving a selection operation made by the user based on the transaction object identification, and setting the transaction object identification as the seller identification;
and generating a transaction invitation request according to the product name and the transaction quantity, and sending the transaction invitation request to a seller client corresponding to the seller identification.
In addition, the present invention provides an information state change presentation device including:
the system comprises a first sending module, a second sending module and a third sending module, wherein the first sending module is used for generating a transaction invitation request according to transaction information input by a user and sending the transaction invitation request to a seller client corresponding to the transaction information;
the second sending module is used for acquiring reading state information from the seller client side through ajax polling;
the second judgment module is used for detecting an operation event made by a user in the transaction window, judging whether the operation event is matched with a preset positive event or not, and judging whether the operation event is matched with a preset negative event or not;
a time modification module, configured to increase an interval time for initiating adjacent ajax polling when the operation event matches the preset positive event; when the operation event is matched with the preset negative event, reducing the interval time for initiating adjacent ajax polling;
the first judging module is used for judging whether the reading state information is read or not;
and the updating module is used for determining the identification icon corresponding to the transaction invitation request and the seller client if the reading state information is read, and updating the identification icon into a read icon in a transaction window for displaying the transaction information.
The invention also provides a terminal, which comprises a processor, a memory and an information state change prompting program stored on the memory and capable of being executed by the processor, wherein when the information state change prompting program is executed by the processor, the steps of the information state change prompting method are realized.
The invention also provides a readable storage medium, which stores an information state change prompting program, wherein when the information state change prompting program is executed by a processor, the steps of the information state change prompting method are realized.
In the technical scheme of the invention, reading state information is acquired from the seller client by setting ajax polling, and the identification icon of the seller client is updated according to the reading state information, so that a user can judge whether the seller knows the transaction information or not according to the icon of the seller client, and further the transaction price and conditions are agreed according to the state and the reply of each seller; data updates can be made instantaneously by ajax polling.
Drawings
Fig. 1 is a schematic diagram of a hardware structure of a terminal according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a first embodiment of a method for prompting a change of information status according to the present invention;
FIG. 3 is a flowchart illustrating a second embodiment of a method for prompting a change of information status according to the present invention;
FIG. 4 is a flowchart illustrating a third embodiment of a method for prompting a change of information status according to the present invention;
FIG. 5 is a flowchart illustrating a fourth embodiment of a method for prompting a change of information status according to the present invention;
FIG. 6 is a flowchart illustrating a fifth embodiment of a method for prompting a change of information status according to the present invention;
FIG. 7 is a flowchart illustrating a sixth embodiment of a method for prompting a change of information status according to the present invention;
FIG. 8 is a flowchart illustrating a method for prompting a change of information status according to a seventh embodiment of the present invention;
fig. 9 is a block diagram of an information status change prompt apparatus according to the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and do not limit the invention.
The information state change prompting method related to the embodiment of the invention is mainly applied to a terminal, and the terminal is equipment with display and processing functions and can be mobile communication equipment, such as a smart phone, a multimedia mobile phone and the like; but also portable computers such as ipads, laptops, etc.
Referring to fig. 1, fig. 1 is a schematic diagram of a terminal structure according to an embodiment of the present invention. In the embodiment of the present invention, the terminal may include a processor 1001 (e.g., a CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. The communication bus 1002 is used for realizing connection communication among the components; the user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard); the network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface); the memory 1005 may be a high-speed RAM memory, or may be a non-volatile memory (e.g., a magnetic disk memory), and optionally, the memory 1005 may be a storage device independent of the processor 1001.
Those skilled in the art will appreciate that the hardware configuration shown in fig. 1 does not constitute a limitation of the apparatus, and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
With continued reference to fig. 1, the memory 1005 of fig. 1, which is a readable storage medium, may include an operating system, a network communication module, and an information state change prompting program.
In fig. 1, the network communication module is mainly used for connecting a server and performing data communication with the server; and the processor 1001 may call the information state change prompting program stored in the memory 1005 and execute the steps of the information state change prompting method.
Based on the hardware structure of the terminal, the invention provides various embodiments of the information state change prompting method.
The invention provides an information state change prompting method.
Referring to fig. 2, in a first embodiment of the present invention, a method for prompting a change of an information status includes the following steps:
step 100, generating a transaction invitation request according to transaction information input by a user, and sending the transaction invitation request to a seller client corresponding to the transaction information;
specifically, the user fills in the name of the commodity to be traded, the unit price of the pre-transaction, the seller identification of the pre-transaction, the transaction mode, the verification mode and the like in the window or the browser webpage interface of the application program according to the instructions in the window or the interface. For example: due to the fact that the market depth of the exchange in the existing field is not enough, hundreds of even dozens of bitcoins are bought at one time, and the market price can rise to 1.2 to 1.4. The user can choose to use the off-site trading one-time delivery of bitcoins to avoid market price floating caused by sequential purchase. The user inputs the trade commodity name: a bitcoin; the pre-purchase quantity: 300 pieces of the feed are added; seller identification: A. b, C; the transaction mode is as follows: carrying out surface mating; a qualification testing mode: and the asset certification given by the bank generates a transaction invitation request according to the information input by the user, and sends the transaction invitation request to the seller client corresponding to the seller identifier A, B, C respectively. In this document, the user of the seller client is not necessarily the commodity holder, but may be an intermediary, an intermediary agent, or the like.
200, acquiring reading state information from the seller client by ajax polling;
ajax (Asynchronous Javascript And XML) refers to a web page development technique for creating interactive web page applications. The Ajax polling refers to the timing of inquiring the server through Ajax. Polling (polling): the client sends an ajax request to the server at regular time according to the specified time, and the server returns response information immediately after receiving the request and closes the connection. Reading state information can be acquired in real time through Ajax polling. The reading state information is information generated by a user of the seller client making a certain trigger action on the terminal, for example: a refresh action, a click action, etc., the read information representing that the user of the vendor client has read the transaction invitation request.
Step S210, detecting an operation event made by a user in the transaction window, judging whether the operation event is matched with a preset positive event or not, and judging whether the operation event is matched with a preset negative event or not;
the preset positive event and the preset negative event are events preset by those skilled in the art according to actual needs. The operations of refreshing in the transaction window, opening a conversation window with a seller client and inquiring transaction information can be set as negative events, and reading state information needs to be acquired in time in a scene corresponding to the negative events. The method comprises the steps of closing a conversation window with a seller client, not detecting operation actions within preset time and the like, and setting the conversation window as a positive event, wherein reading state information can be obtained temporarily in a scene corresponding to the positive event.
Step S220, when the operation event is matched with the preset positive event, increasing the interval time for initiating adjacent ajax polling;
step S230, when the operation event matches the preset negative event, reducing the interval time for initiating adjacent ajax polling.
The ajax polling may be initiated at preset fixed time intervals, or may be initiated at regulated time intervals in the embodiment. For example: the preset interval time is 5 minutes. And presetting a positive event to close a conversation window corresponding to the seller client for the user, and presetting a negative event to refresh the user in the transaction window. When detecting that the user carries out refreshing operation in the transaction window, reducing the interval time for initiating adjacent ajax polling to be 3 minutes; and when detecting that the user closes the conversation window corresponding to the seller client, increasing the interval time for initiating the adjacent ajax polling to be 30 minutes.
Step 300, judging whether the reading state information is read;
step 400, if the reading state information is read, determining an identification icon corresponding to the transaction invitation request and the seller client, and updating the identification icon to be a read icon in a transaction window displaying the transaction information.
If the reading state information is unread, determining an identification icon corresponding to the transaction invitation request and the seller client, and updating the identification icon to be an unread icon in a transaction window displaying the transaction information or not changing the identification icon. Icons in different display forms can be set to distinguish read states from unread states of users of the seller client.
Reading state information is acquired from the seller client by setting ajax polling, and the identification icon of the seller client is updated according to the reading state information, so that a user can judge whether the seller knows the transaction information or not according to the icon of the seller client, and further the transaction price and conditions are agreed according to the state and the reply of each seller; data updates can be made instantaneously by ajax polling. The interval time for initiating adjacent ajax polling is adjusted according to the positive event and the negative event, so that resource occupation and service blockage caused by polling are avoided.
Further, referring to fig. 3, fig. 3 is a flowchart illustrating a second embodiment of the information state change prompting method according to the present invention, and based on the first embodiment, after step S100, the method further includes:
step S500, receiving response information sent by the seller client according to the transaction invitation request;
the response information is information sent by the seller client according to the transaction invitation request, and specifically can include a price expected by the seller so as to negotiate with the buyer; and may also include making changes to the transaction information entered by the buyer. Such as changing the transaction mode, changing the verification mode, or increasing the verification requirement.
Step S600, obtaining current time information, and obtaining a message reminding mechanism corresponding to the time information according to a preset rule;
the message reminding mechanism is a reminding rule set by a person or a user in the field according to actual needs, wherein reminding modes corresponding to different time periods are specified. For example, 9; 18, 00pm-9.
Step S700, judging whether the message reminding mechanism is an instant reminding;
step S800, if the message reminding mechanism is instant reminding, a prompt event is generated according to the response information, and the prompt event is displayed in the transaction window.
And if the message reminding mechanism is not instant reminding, generating a mail according to the response information, and sending the mail to a preset mailbox.
Different reminding modes are adopted according to the current time information, so that the instantaneity and convenience of receiving response information by a user are guaranteed.
Further, referring to fig. 4, fig. 4 is a flowchart illustrating a third embodiment of the method for prompting a change of an information state according to the present invention, and based on the second embodiment, step S800 includes:
step S810, acquiring a browser display state, and judging whether the browser display state is open;
the browser display state is a form in which the user displays a transaction window through the browser.
Step S820, if the browser display state is open, generating a prompt event according to the response information, and displaying the prompt event in the browser;
specifically, the prompt event can be displayed in a mode of refreshing a side bar in a browser display page, adding prompt information and scrolling a prompt in a prompt information bar.
Step S830, if the browser display state is closed, acquiring a desktop window display state, and judging whether the desktop window display state is open;
step 840, if the desktop window display state is open, generating a prompt event according to the response information, and displaying the prompt event in the desktop window.
And if the desktop window display state is closed, generating a mail according to the response information, and sending the mail to a preset mailbox.
The desktop window display state is open, that is, the application program is displayed on the desktop in the form of a window. When the left window is opened, the prompt event can be displayed in modes of popup window, flickering of the corresponding identification icon of the seller client and the like. By acquiring the display state of the desktop window and the display state of the browser, the current real-time readable state of the user can be judged, and therefore the prompt event is displayed for the user to read.
Further, referring to fig. 5, fig. 5 is a schematic flow chart of a fourth embodiment of the information state change prompting method of the present invention, and based on the third embodiment, the number of the response messages is multiple; the step S820 includes:
step S821, if the browser display state is open, generating a prompt event corresponding to each piece of response information, and opening a corresponding number of modeless windows in the browser to respectively display the prompt events corresponding to each piece of response information.
After the Modeless window is opened, other windows can still be operated. After popping up the modeless window in the tab page, the other windows in the tab page can still respond to user input. According to the number of the response messages, a plurality of modeless windows can be opened in the tab page of the same browser, so that the modeless windows can be arranged and displayed in the same tab page, and a user can browse and compare the response messages replied by the sellers at the same time. Further, for multiple response messages sent by the same seller client, only one modeless window may be opened to display all the response messages sent by the seller client.
Further, referring to fig. 6, fig. 6 is a flowchart illustrating a fifth embodiment of the information state change prompting method according to the present invention, and based on the third embodiment, step S840 includes:
step S841, if the display state of the desktop window is open, acquiring a selling price in the response information;
if the selling price is not obtained in the response message, the selling price corresponding to the seller client can be set to be 0. Specifically, the selling price can be extracted through a keyword search, a field search and the like, and the selling price is an expected commodity price given by the current seller for the transaction information.
Step S842, generating a prompt event according to the response information, and displaying the identifier icon corresponding to the seller client in the desktop window in order according to the selling price.
The seller can reply according to the received transaction information to negotiate the price. The selling prices given by different sellers are possibly different, and the identification icons corresponding to the seller clients are displayed according to the selling prices in a sequencing mode, so that the user can conveniently judge the transaction.
Further, referring to fig. 7, fig. 7 is a flowchart illustrating a sixth embodiment of the method for prompting a change of an information status according to the present invention, where based on the third embodiment, the transaction information includes a plurality of seller identifiers; the information state change prompting method further comprises the following steps:
step S910, receiving a confirmation operation made by a user according to the response information, and setting a seller identifier corresponding to the confirmation operation as a determined transaction party identifier;
when the user finishes bargaining with the seller, the confirmation operation is performed, specifically, the plug-in area, the display button and the like corresponding to the confirmation instruction are clicked.
Step S920, sending a transaction bill to the seller client corresponding to the determined transaction party identifier;
step S930, sending a transaction closing instruction to the seller client corresponding to the non-determined transaction party identifier in the transaction information.
The transaction is ready to be made because the user has negotiated a price with one of the sellers. And sending a transaction closing instruction to the client sides of the other sellers to prompt the other sellers that the transaction is finished without bargaining.
Further, referring to fig. 8, fig. 8 is a schematic flow chart of a seventh embodiment of the information state change prompting method of the present invention, based on the first embodiment, the transaction information includes a product name of a pre-purchased product; the step S100 includes:
step S110, inquiring similar transactions corresponding to product names in prestored historical data according to the product names of pre-purchased products input by a user;
and carrying out similarity calculation on the product name and the product name in each transaction in the pre-stored historical data. The similarity can be calculated specifically by the following method: the method comprises the steps of segmenting words of each product name, vectorizing each word to obtain word vectors corresponding to each word, obtaining the word vectors corresponding to the product names to form word vector groups, and calculating the similarity between the word vector groups through a word vector comparison formula such as Euclidean distance. Specifically, the product name, the product price, the product quantity, the transaction mode, the qualification mode and the like in the transaction parameters are set as different parameters, preset weights are set for the parameters, similarity calculation is carried out on the parameters and the same parameters of the transaction in the pre-stored historical data, and the similarity obtained through calculation is multiplied by the value of the sum corresponding to the preset weights to determine the similar transaction. Of course, the more parameters, the higher the accuracy of the similar transactions obtained by the query.
Step S120, obtaining a transaction object identifier corresponding to the similar transaction and displaying the transaction object identifier for a user to select;
step S130, receiving the seller identification input by the user, or receiving the selection operation made by the user based on the transaction object identification, and setting the transaction object identification as the seller identification;
the user can select the seller identification which needs to carry out the transaction currently in the provided transaction object identification, and can also directly input the seller identification which needs to carry out the transaction when the transaction is carried out.
Step S140, generating a transaction invitation request according to the product name and the transaction amount, and sending the transaction invitation request to the seller client corresponding to the seller identifier.
The step of manually inputting the seller identification by the user is saved by giving the transaction object identification in the similar transaction for the user to select.
Further, the present invention provides an information state change presentation device including:
the system comprises a first sending module 10, wherein the first sending module 10 is used for generating a transaction invitation request according to transaction information input by a user and sending the transaction invitation request to a seller client corresponding to the transaction information;
a second sending module 20, where the second sending module 20 is configured to obtain reading status information from the seller client through ajax polling;
a second determining module 50, where the second determining module 50 is configured to detect an operation event made by a user in the transaction window, determine whether the operation event matches a preset positive event, and determine whether the operation event matches a preset negative event;
a time modification module 60, wherein the time modification module 60 is configured to increase an interval time for initiating adjacent ajax polling when the operation event matches the preset positive event; when the operation event is matched with the preset negative event, reducing the interval time for initiating adjacent ajax polling;
a first judging module 30, where the first judging module 30 is configured to judge whether the reading status information is read;
an updating module 40, wherein the updating module 40 is configured to determine an identification icon corresponding to the transaction invitation request and the seller client if the reading status information is read, and update the identification icon to be a read icon in a transaction window displaying the transaction information.
Further, the information state change prompting device further includes:
the receiving module is used for receiving response information sent by the seller client according to the transaction invitation request;
the acquisition module is used for acquiring current time information and acquiring a message reminding mechanism corresponding to the time information according to a preset rule;
the third judging module is used for judging whether the message reminding mechanism is instant reminding or not;
and the prompting module is used for generating a prompting event according to the response information and displaying the prompting event if the message prompting mechanism is instant prompting.
Further, the prompt module includes:
the device comprises an acquisition unit, a display unit and a display unit, wherein the acquisition unit is used for acquiring a browser display state and judging whether the browser display state is open or not;
the display unit is used for generating a prompt event according to the response information and displaying the prompt event in the browser if the display state of the browser is started;
the acquisition unit is further used for acquiring a desktop window display state if the browser display state is closed, and judging whether the desktop window display state is open;
and the display unit is also used for generating a prompt event according to the response information and displaying the prompt event in the desktop window if the display state of the desktop window is open.
Further, the display unit is further configured to generate a prompt event corresponding to each piece of response information if the display state of the browser is open, and open a corresponding number of modeless windows in the browser to respectively display the prompt events corresponding to each piece of response information.
Further, the display unit is further configured to obtain a selling price in the response information if the display state of the desktop window is open;
and generating a prompt event according to the response information, and sequencing and displaying the identification icon corresponding to the seller client in the desktop window according to the selling price.
Further, the transaction information includes a plurality of seller identifications; the receiving module is also used for receiving confirmation operation made by a user according to the response information, and setting a seller identifier corresponding to the confirmation operation as a determined transaction party identifier;
the first sending module 10 is further configured to send a transaction bill to the seller client corresponding to the determined transaction party identifier;
and sending a transaction closing instruction to a seller client corresponding to the non-determined transaction party identifier in the transaction information.
Further, the transaction information includes a product name of a pre-purchased product; the first transmitting module 10 includes:
the query unit is used for querying similar transactions corresponding to product names in prestored historical data according to the product names of pre-purchased products input by a user;
the acquisition unit is used for acquiring the transaction object identification corresponding to the similar transaction and displaying the transaction object identification for a user to select;
the setting unit is used for receiving the seller identification input by a user or receiving selection operation made by the user based on the transaction object identification, and setting the transaction object identification as the seller identification;
and the generating unit is used for generating a transaction invitation request according to the product name and the transaction quantity and sending the transaction invitation request to a seller client corresponding to the seller identifier.
In addition, the invention also provides a readable storage medium, which stores the information state change prompting program, wherein when the information state change prompting program is executed by the processor, the steps of the interface updating method are realized.
The method implemented when the information state change prompting program is executed may refer to each embodiment of the interface updating method of the present invention, and is not described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system 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 system. Without further limitation, an element defined by the phrase "comprising a … …" does not exclude the presence of another identical element in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (9)

1. An information state change prompting method, characterized in that the prompting method comprises:
generating a transaction invitation request according to transaction information input by a user, and sending the transaction invitation request to a seller client corresponding to the transaction information, wherein the transaction information comprises: the product name of the product purchased in advance, the price of the deal in advance, the seller identification of the deal in advance, the deal mode and the verification mode, wherein the seller client comprises: commodity holders, intermediate agencies, intermediate agents;
reading state information is acquired from the seller client through ajax polling, and the reading state information is generated by a user of the seller client making a trigger action on a terminal;
detecting an operation event made by a user in a transaction window, judging whether the operation event is matched with a preset positive event or not, and judging whether the operation event is matched with a preset negative event or not;
when the operation event is matched with the preset positive event, increasing the interval time for initiating adjacent ajax polling;
when the operation event is matched with the preset negative event, reducing the interval time for initiating adjacent ajax polling;
judging whether the reading state information is read or not;
if the reading state information is read, determining an identification icon corresponding to the transaction invitation request and the seller client, and updating the identification icon into a read icon in a transaction window displaying the transaction information;
the step of generating a transaction invitation request according to the transaction information input by the user and sending the transaction invitation request to a seller client corresponding to the transaction information comprises the following steps:
inquiring similar transactions corresponding to product names in prestored historical data according to the product names of products purchased in advance and input by a user;
acquiring a transaction object identifier corresponding to the similar transaction and displaying the transaction object identifier for a user to select;
receiving the seller identification input by a user, or receiving a selection operation made by the user based on the transaction object identification, and setting the transaction object identification as the seller identification;
and generating a transaction invitation request according to the product name and the transaction quantity, and sending the transaction invitation request to a seller client corresponding to the seller identification.
2. The information state change prompting method according to claim 1, wherein after the step of generating a transaction invitation request according to the transaction information input by the user and sending the transaction invitation request to the seller client corresponding to the transaction information, further comprising:
receiving response information sent by the seller client according to the transaction invitation request;
acquiring current time information, and acquiring a message reminding mechanism corresponding to the time information according to a preset rule;
judging whether the message reminding mechanism is instant reminding or not;
and if the message reminding mechanism is instant reminding, generating a prompt event according to the response information, and displaying the prompt event.
3. The method according to claim 2, wherein if the message alert mechanism is an instant alert, the step of generating an alert event according to the response message and displaying the alert event comprises:
acquiring a browser display state, and judging whether the browser display state is open or not;
if the browser display state is open, generating a prompt event according to the response information, and displaying the prompt event in the browser;
if the browser display state is closed, acquiring a desktop window display state, and judging whether the desktop window display state is open;
and if the display state of the desktop window is open, generating a prompt event according to the response information, and displaying the prompt event in the desktop window.
4. The message status alteration prompting method according to claim 3, characterized in that the number of the response messages is plural; if the browser display state is open, generating a prompt event according to the response information, wherein the step of displaying the prompt event in the browser comprises the following steps:
if the browser display state is open, prompt events corresponding to the response information are generated, and a corresponding number of modeless windows are opened in the browser to display the prompt events corresponding to the response information respectively.
5. The information state change prompting method of claim 3, wherein if the desktop window display state is open, a prompting event is generated according to the response information, and the step of displaying the prompting event in the desktop window comprises:
if the display state of the desktop window is open, acquiring a selling price in the response information;
and generating a prompt event according to the response information, and sequencing and displaying the identification icon corresponding to the seller client in the desktop window according to the selling price.
6. The message status change prompting method as claimed in claim 2, wherein the transaction message includes a plurality of seller identifications; the prompting method further comprises the following steps:
receiving confirmation operation made by a user according to the response information, and setting a seller identifier corresponding to the confirmation operation as a determined transaction party identifier;
sending a transaction bill to a seller client corresponding to the determined transaction party identifier;
and sending a transaction closing instruction to a seller client corresponding to the non-determined transaction party identifier in the transaction information.
7. An information state change presentation device, comprising:
the system comprises a first sending module, a second sending module and a third sending module, wherein the first sending module is used for generating a transaction invitation request according to transaction information input by a user and sending the transaction invitation request to a seller client corresponding to the transaction information, and the transaction information comprises: the name of the commodity to be traded, the price of the pre-transaction, the seller identification for pre-transaction, the transaction mode and the verification mode, wherein the seller client comprises: commodity holders, intermediate agencies;
the second sending module is used for acquiring reading state information from the seller client through ajax polling, wherein the reading state information is generated by a user of the seller client making a trigger action on a terminal;
the second judgment module is used for detecting an operation event made by a user in a transaction window, judging whether the operation event is matched with a preset positive event or not, and judging whether the operation event is matched with a preset negative event or not;
a time modification module, configured to increase an interval time for initiating adjacent ajax polling when the operation event matches the preset positive event; when the operation event is matched with the preset negative event, reducing the interval time for initiating adjacent ajax polling;
the first judging module is used for judging whether the reading state information is read or not;
the updating module is used for determining the identification icon corresponding to the transaction invitation request and the seller client if the reading state information is read, and updating the identification icon into a read icon in a transaction window displaying the transaction information;
the first transmitting module comprises: the query unit is used for querying similar transactions corresponding to product names in prestored historical data according to the product names of pre-purchased products input by a user;
the acquisition unit is used for acquiring the transaction object identification corresponding to the similar transaction and displaying the transaction object identification for a user to select;
the setting unit is used for receiving the seller identification input by a user or receiving selection operation made by the user based on the transaction object identification, and setting the transaction object identification as the seller identification;
and the generating unit is used for generating a transaction invitation request according to the product name and the transaction quantity and sending the transaction invitation request to a seller client corresponding to the seller identifier.
8. A terminal comprising a processor, a memory, and an information state change prompting program stored on the memory and executable by the processor, wherein the information state change prompting program, when executed by the processor, implements the steps of the information state change prompting method as recited in any one of claims 1 to 6.
9. A readable storage medium having stored thereon an information state change prompting program, wherein the information state change prompting program, when executed by a processor, implements the steps of the information state change prompting method according to any one of claims 1 to 6.
CN201910489986.6A 2019-06-04 2019-06-04 Information state change prompting method, device, terminal and readable storage medium Active CN110351184B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910489986.6A CN110351184B (en) 2019-06-04 2019-06-04 Information state change prompting method, device, terminal and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910489986.6A CN110351184B (en) 2019-06-04 2019-06-04 Information state change prompting method, device, terminal and readable storage medium

Publications (2)

Publication Number Publication Date
CN110351184A CN110351184A (en) 2019-10-18
CN110351184B true CN110351184B (en) 2022-10-14

Family

ID=68181536

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910489986.6A Active CN110351184B (en) 2019-06-04 2019-06-04 Information state change prompting method, device, terminal and readable storage medium

Country Status (1)

Country Link
CN (1) CN110351184B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104954583A (en) * 2015-04-27 2015-09-30 深圳市金立通信设备有限公司 Terminal
CN105991681A (en) * 2015-01-30 2016-10-05 阿里巴巴集团控股有限公司 Network business parameter updating method and system
CN106339918A (en) * 2016-08-19 2017-01-18 北京三快在线科技有限公司 Order generation method and device
CN108011812A (en) * 2018-01-16 2018-05-08 吉浦斯信息咨询(深圳)有限公司 Realize that message in instant messaging has read the method and system of unread state synchronization
CN108400924A (en) * 2017-02-06 2018-08-14 阿里巴巴集团控股有限公司 Read state methods of exhibiting, instant communication client and the server-side of group message

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105991681A (en) * 2015-01-30 2016-10-05 阿里巴巴集团控股有限公司 Network business parameter updating method and system
CN104954583A (en) * 2015-04-27 2015-09-30 深圳市金立通信设备有限公司 Terminal
CN106339918A (en) * 2016-08-19 2017-01-18 北京三快在线科技有限公司 Order generation method and device
CN108400924A (en) * 2017-02-06 2018-08-14 阿里巴巴集团控股有限公司 Read state methods of exhibiting, instant communication client and the server-side of group message
CN108011812A (en) * 2018-01-16 2018-05-08 吉浦斯信息咨询(深圳)有限公司 Realize that message in instant messaging has read the method and system of unread state synchronization

Also Published As

Publication number Publication date
CN110351184A (en) 2019-10-18

Similar Documents

Publication Publication Date Title
US10943264B2 (en) Tap to subscribe to text message alerts
CN114930371A (en) Dynamically rendering interface elements during an online chat session
US20110320318A1 (en) Context-aware shopping services on mobile
US20200065882A1 (en) Collaborative geolocation shopping
US20220164844A1 (en) Method and system for providing production and distribution platform
US20220044306A1 (en) Electronic commerce method capable of integrated ordering and integrated delivery, and server therefor
JP2017208084A (en) Settlement processing method, settlement processing server, and computer program
US8140406B2 (en) Personal data submission with options to purchase or hold item at user selected price
CN111738798A (en) Method and device for generating commodity information
US20130317907A1 (en) Business to Consumer Marketing
CN110351184B (en) Information state change prompting method, device, terminal and readable storage medium
US20130311336A1 (en) Price negotiation from user device
KR101598570B1 (en) System and method for providing shopping service
CN112053230B (en) Processing method, mobile client and system for inventory product information
TW201702971A (en) User equipment and system of real estate self-selling
US20140279465A1 (en) Location Based Payments
KR20060058802A (en) System and method for providing the electric commercial transaction between buddies using the instant messenger
JP2001331689A (en) Auction system
CN110310120B (en) Guarantee transaction method, device and storage medium based on witness participation
CN110310180B (en) Guarantee transaction method, device and storage medium based on witness participation
CN110310181B (en) Transaction item recommendation method and device and storage medium
KR20010102695A (en) Electronic commercial transaction service mathod
US11443366B2 (en) Systems and methods for real time online to offline (O2O) shopping in and messaging to physical retail stores
JP2002324188A (en) Method and program for online transaction
US11645704B2 (en) System and methods for rapid data transfer and checkout

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