CN106407202B - Prospective information prompting method and device - Google Patents

Prospective information prompting method and device Download PDF

Info

Publication number
CN106407202B
CN106407202B CN201510454257.9A CN201510454257A CN106407202B CN 106407202 B CN106407202 B CN 106407202B CN 201510454257 A CN201510454257 A CN 201510454257A CN 106407202 B CN106407202 B CN 106407202B
Authority
CN
China
Prior art keywords
source data
expected
module
risk
numerical
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
CN201510454257.9A
Other languages
Chinese (zh)
Other versions
CN106407202A (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201510454257.9A priority Critical patent/CN106407202B/en
Publication of CN106407202A publication Critical patent/CN106407202A/en
Application granted granted Critical
Publication of CN106407202B publication Critical patent/CN106407202B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2458Special types of queries, e.g. statistical queries, fuzzy queries or distributed queries
    • G06F16/2462Approximate or statistical queries
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/242Query formulation
    • G06F16/2425Iterative querying; Query formulation based on the results of a preceding query
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/248Presentation of query results

Abstract

The invention relates to an expected information prompting method, which comprises the following steps: monitoring whether the input source data changes; acquiring an expected numerical increase corresponding to the source data every time the source data changes; and playing the obtained prompt message of the expected numerical increase. According to the expected information prompting method, once the input source data is changed, the corresponding expected numerical value is prompted to increase, and the user can refer to the expected numerical value increase to determine whether to submit the source data, so that the user does not need to manually measure the expected numerical value increase range, a large amount of time and labor are saved for the user, and the operation convenience of the user is improved. In addition, a prospective information prompting device is also provided.

Description

Prospective information prompting method and device
Technical Field
The invention relates to the technical field of computers, in particular to an expected information prompting method and device.
Background
With the development of computer technology and network technology, people increasingly use electronic devices to invest and manage money, and various investing and managing application software or platforms such as stock buying application software, lottery betting application software and the like are applied. In the process of investment and financing, people always want to avoid risks to the maximum extent and obtain the maximum profit as much as possible.
Generally, the existing investment financing application software does not have the function of estimating risks, and people need to estimate the income range of stocks invested by the people or the income range of lotteries to be bet based on the cognitive range of the people, but the existing investment financing application software is a complex process, needs to spend a great deal of time and energy and is easy to make mistakes; while some users make blind investments or bets, ignoring the possible risks, resulting in some avoidable losses.
Disclosure of Invention
In view of the above, there is a need to provide an expected information prompting method and apparatus capable of automatically prompting a user for expected growth information.
An expected information prompting method, comprising the following steps:
monitoring whether the input source data changes;
when the source data are changed, acquiring the currently input source data and acquiring the expected numerical value increase corresponding to the currently input source data;
generating prompt information of the obtained expected numerical increase;
playing the prompt message;
wherein the step of obtaining the expected numerical increase corresponding to the source data comprises:
counting a first number of source data combinations contained in the source data, wherein the source data combinations consist of a preset number of source data, different source data combinations contain incompletely identical source data, and calculating initial values corresponding to the source data according to the first number;
obtaining the maximum number of effective source data in the source data, counting a second number of the source data combinations contained in the source data with the maximum number, and calculating the maximum numerical increase corresponding to the source data according to the second number;
obtaining the minimum number of effective source data in the source data, counting the third number of the source data combinations contained in the source data with the minimum number, and calculating the minimum numerical increase corresponding to the source data according to the third number;
calculating the expected numerical increase as a numerical range of the minimum and maximum numerical increases relative to the initial numerical value.
An anticipatory information prompting device comprising:
the input monitoring module is used for monitoring whether the input source data changes;
an expected value increase obtaining module, configured to obtain currently input source data and obtain an expected value increase corresponding to the currently input source data whenever the source data changes;
the prompt message generation module is used for generating the obtained prompt message of the expected numerical value increase;
the prompt message playing module is used for playing the prompt message;
wherein the expected numerical growth acquisition module comprises:
the initial numerical value counting module is used for counting a first number of source data combinations contained in the source data, the source data combinations are composed of a preset number of source data, different source data combinations contain incompletely identical source data, and initial numerical values corresponding to the source data are calculated according to the first number;
a maximum result value counting module, configured to obtain a maximum number of valid source data in the source data, count a second number of the source data combinations included in the maximum number of source data, and calculate a maximum result value corresponding to the source data according to the second number;
the minimum result value counting module is used for acquiring the minimum number of effective source data in the source data, counting the third number of the source data combinations contained in the minimum number of source data, and calculating the minimum result value corresponding to the source data according to the third number;
and the numerical increase range calculation module is used for calculating the expected numerical increase as a numerical increase range formed by the minimum result numerical value and the maximum result numerical value relative to the initial numerical value.
The expected information prompting method and the expected information prompting device monitor whether the input source data is changed or not, and when the source data is changed, calculating an initial value corresponding to the source data according to a first number of source data combinations contained in the source data, and acquiring a maximum number of valid source data in the source data, calculating the maximum numerical increase corresponding to the source data according to the second numerical quantity of the source data combination contained in the maximum quantity of source data, and acquiring the minimum quantity of effective source data in the source data, calculating the minimum numerical increase corresponding to the source data according to the third quantity of the source data combinations contained in the minimum quantity of source data, further calculating the expected numerical increase to be a numerical range formed by the minimum numerical increase and the maximum numerical increase relative to the initial numerical value, and finally playing prompt information of the expected numerical increase; according to the expected information prompting method and device, once the input source data are changed, the corresponding expected numerical value is prompted to increase, and the user can refer to the expected numerical value increase to determine whether to submit the source data, so that the user does not need to manually measure the expected numerical value increase range, a large amount of time and labor are saved for the user, and the operation convenience of the user is improved.
Drawings
Fig. 1 is a partial block diagram of a terminal capable of operating the method for prompting information according to the present application in one embodiment;
FIG. 2 is a flow diagram that illustrates a method for anticipatory message prompting, according to one embodiment;
FIG. 3 is a flowchart illustrating the steps of obtaining an expected numerical increase corresponding to currently input source data, in one embodiment;
FIG. 4 is a flowchart illustrating the steps of obtaining an expected numerical increase corresponding to currently input source data in another embodiment;
FIG. 5 is a flow diagram that illustrates the processing of the prompt for risk information prior to submission of source data, in one embodiment;
FIG. 6 is a flowchart illustrating a process of prompting for risk information prior to submitting source data in another embodiment;
FIG. 7 is a schematic diagram of a source data input interface in one embodiment;
FIG. 8 is a schematic diagram of a risk prompt interface in one embodiment;
FIG. 9 is a schematic diagram of a prospective information presentation device in one embodiment;
FIG. 10 is a schematic structural diagram of a prospective information presentation device in another embodiment;
FIG. 11 is a block diagram that illustrates an expected value increase acquisition module, according to one embodiment;
FIG. 12 is a block diagram of an expected value increase acquisition module in accordance with another embodiment;
FIG. 13 is a schematic diagram of a prospective information presentation device in yet another embodiment;
fig. 14 is a schematic structural diagram of a prospective information presentation device in yet another embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Fig. 1 is a partial block diagram of a terminal capable of operating the method for prompting information according to the present application in one embodiment. The terminal includes but is not limited to a mobile phone, a notebook computer, a tablet computer and the like. As shown in fig. 1, in one embodiment, the terminal includes a processor, a storage medium, a memory, a network interface, a display screen, and an input mechanism connected via a system bus; the input mechanism triggers related instructions according to user operation, the display screen displays related information to a user, the network interface is used for communicating with a network, the memory is used for caching data, the storage medium stores software instructions for realizing the expected information prompting method, and the processor coordinates the work of each part and executes the instructions to realize the expected information prompting method. Those skilled in the art will appreciate that the configuration shown in fig. 1 is a block diagram of only a portion of the configuration relevant to the present application, and does not constitute a limitation on the terminal to which the present application is applied, and that a particular terminal may include more or less components than those shown in the drawings, or may combine certain components, or have a different arrangement of components.
An expected information prompting method, comprising the following steps:
monitoring whether the input source data changes;
when the source data are changed, acquiring the currently input source data and acquiring the expected numerical value increase corresponding to the currently input source data;
generating prompt information of the obtained expected numerical increase;
playing the prompt message;
wherein the step of obtaining the expected numerical increase corresponding to the source data comprises:
counting a first number of source data combinations contained in the source data, wherein the source data combinations consist of a preset number of source data, different source data combinations contain incompletely identical source data, and calculating initial values corresponding to the source data according to the first number;
obtaining the maximum quantity of effective source data in the source data, counting a second quantity of the source data combinations contained in the source data with the maximum quantity, and calculating a maximum result value corresponding to the source data according to the second quantity;
obtaining the minimum number of effective source data in the source data, counting the third number of the source data combinations contained in the source data with the minimum number, and calculating the minimum result value corresponding to the source data according to the third number;
calculating the expected numerical increase as a range of numerical increases of the minimum resultant numerical value and the maximum resultant numerical value relative to the initial numerical value.
In one embodiment, the method for prompting expected information further includes the following steps:
monitoring whether an operation for submitting the source data occurs;
when the operation for submitting the source data occurs, judging whether the expected numerical value increase is lower than a preset range;
when the expected numerical value increase is lower than a preset range, generating risk prompt information indicating that the expected numerical value increase is lower than the preset range, and playing the risk prompt information;
monitoring whether an operation for confirming submission of the source data occurs;
when the operation for confirming submission of the source data occurs, submitting the source data to request for processing related to the source data.
In one embodiment, the step of generating risk hint information indicating that the expected numerical increase is below a preset range, playing the risk hint information, and monitoring whether an operation for confirming submission of the source data occurs, and when the operation for confirming submission of the source data occurs, submitting the source data to request for processing related to the source data includes:
generating a risk prompt interface, and displaying the risk prompt interface, wherein the risk prompt interface comprises risk prompt information indicating that the expected numerical value increase is lower than a preset range, and the risk prompt interface further comprises a confirmation button, and the confirmation button is bound with a click event for submitting the source data;
monitoring whether the click operation of the confirmation button occurs or not;
when the clicking operation of the confirmation button occurs, executing the clicking event bound by the confirmation button to submit the source data.
The expected information prompting method includes monitoring whether input source data change or not, calculating an initial value corresponding to the source data according to a first number of source data combinations contained in the source data and acquiring a maximum number of effective source data in the source data when the source data change, calculating a maximum value increase corresponding to the source data according to a second number of the source data combinations contained in the maximum number of the source data, acquiring a minimum number of the effective source data in the source data, calculating a minimum value increase corresponding to the source data according to a third number of the source data combinations contained in the minimum number of the source data, further calculating the expected value increase to be a value range formed by the minimum increase value and the maximum value increase relative to the initial value, and finally playing prompt information of the expected value increase; according to the expected information prompting method, once the input source data is changed, the corresponding expected numerical value is prompted to increase, and the user can refer to the expected numerical value increase to determine whether to submit the source data, so that the user does not need to manually measure the expected numerical value increase range, a large amount of time and labor are saved for the user, and the operation convenience of the user is improved.
In some embodiments below, the expected numerical growth is interpreted as expected revenue to illustrate the expected information prompting method described above; this explanation is only an exemplary explanation and should not be construed as limiting the scope of the claims of this application.
In some embodiments, the initial value is interpreted as a cost, the result value is interpreted as a return, the maximum result value is interpreted as a maximum return, the minimum result value is interpreted as a minimum return, the expected result value is interpreted as an expected return, and the numerical growth range is interpreted as a profit range to explain the expected information prompting method; these explanations are merely exemplary explanations that should not be construed as limiting the scope of the claims of this application. As shown in FIG. 2, in one embodiment, a method of anticipatory information prompting includes the steps of:
step S202, monitoring whether the input source data changes.
In one embodiment, the source data is a key parameter for the cost of production and the reward, for example, the source data may be a lottery number, a stock code, a prize code, or a financial product code, among others.
In one embodiment, before step S202, the method for prompting expected information further includes the steps of: a source data input interface for inputting source data is presented.
In this embodiment, step S202 may monitor whether the source data input in the source data input interface changes.
Step S204, every time the input source data changes, the currently input source data is obtained, and the expected income corresponding to the currently input source data is obtained.
In one embodiment, the source data input interface comprises preset single selection controls corresponding to a plurality of different source data, one single selection control corresponds to one source data, the single selection control has two states of being selected and not being selected, the single selection control is bound with a click event, and the click event is used for converting the bound single selection control from the current state to another state;
therefore, when the single selection control is clicked, the single selection control is changed into another state from the current state; for example, if a radio control is currently in the selected state, the radio control is changed from the selected state to the non-selected state when the radio control is clicked, and if the radio control is currently in the non-selected state, the radio control is changed from the non-selected state to the selected state when the radio control is clicked.
Based on the above embodiment, step S202 may monitor whether a click operation occurs on the radio control of the source data input interface, and if so, it indicates that the selected source data changes.
Based on the above embodiment, in step S204, the source data corresponding to the radio control element currently in the selected state may be acquired as the currently input source data.
In another embodiment, the source data input interface comprises at least one source data input control, one source data input control for inputting one source data; in this embodiment, step S202 may monitor whether the content input in the source data input control changes, and step S204 may acquire that the content input in each source data input control in the source data input interface is currently input source data if the content in any source data input control changes.
And step S206, generating prompt information of the obtained expected income.
And step S208, playing the prompt message.
Based on the above embodiment, the prompt message may be presented in the source data input interface.
According to the expected information prompting method and the expected information prompting device, whether the input source data are changed or not is monitored, the expected income corresponding to the source data is obtained when the source data are changed, and the prompting information of the expected income is played.
As shown in FIG. 3, in one embodiment, the step of obtaining the expected revenue corresponding to the currently input source data comprises:
step S302, counting a first number of source data combinations included in currently input source data, where a source data combination is composed of a preset number of source data, different source data combinations include source data that are not completely the same, and calculating a cost corresponding to the currently input source data according to the first number.
In one embodiment, if the number of currently input source data is M and the preset number (i.e., the number of source data included in the source data combination) is N, the first number of source data combinations included in the currently input source data can be calculated as: m (M-1) X (M-2) … (M-N +1)/[ N (N-1) X (N-2) … X2X 1 ].
In one embodiment, each source data combination corresponds to the same fixed cost, one source data combination corresponds to one fixed cost, and the cost corresponding to the currently input source data can be calculated as: the product of the first number and the single fixed cost.
Step S304, obtaining the maximum number of valid source data in the currently input source data, counting the second number of source data combinations included in the maximum number of source data, and calculating the maximum return corresponding to the currently input source data according to the second number.
In one embodiment, the maximum number of valid source data in the currently input source data may be calculated according to the number of currently input source data and the agreed number of valid source data. For example, the valid source data amount may be the number of agreed winning numbers, corresponding to a lottery betting application scenario.
If the number of the currently input source data is larger than or equal to the agreed effective source data number, the maximum number of the effective source data in the currently input source data is the agreed effective source data number, otherwise, the maximum number of the effective source data in the currently input source data is the currently input source data number.
If the maximum number of valid source data in the currently input source data is L and the preset number (i.e., the number of source data included in the source data combination) is N, the second number may be calculated as: l × (L-1) × (L-2) × … × (L-N +1)/[ N × (N-1) × (N-2) × … × 2 × 1 ].
In one embodiment, each source data combination also corresponds to the same expected return, and one source data combination corresponds to one expected return;
the maximum reward corresponding to the currently input source data can be calculated as: the product of the second number and the expected return for a single stroke.
Step S306, obtaining the minimum number of valid source data in the currently input source data, counting the third number of source data combinations included in the minimum number of source data, and calculating the minimum return corresponding to the currently input source data according to the third number.
In one embodiment, the minimum number of valid source data in the currently input source data may be calculated according to the number of currently input source data and the agreed number of invalid source data.
For example, corresponding to one application scenario for lottery wagering, the sum of the agreed amount of invalid source data and the agreed amount of valid source data may be the total number of numbers in a lottery number source containing a plurality of different numbers, with winning numbers being a portion of numbers drawn from the number source.
If the number of the currently input source data is greater than or equal to the agreed invalid source data number, the minimum number of the valid source data in the currently input source data is: and the difference between the number of the currently input source data and the agreed invalid source data number, otherwise, the minimum number of the valid source data in the currently input source data is zero.
If the minimum number of valid data in the currently input source data is K and the preset number (i.e., the number of source data included in the source data combination) is N, the third number may be calculated as: k (K-1) × (K-2) × … × (K-N +1)/[ N (N-1) × (N-2) × … × 2 × 1 ].
Corresponding to the above embodiment, each source data combination also corresponds to the same expected return, and one source data combination corresponds to one expected return;
the minimum reward corresponding to the currently input source data may be calculated as: the product of the third amount and the expected return for a single stroke.
Step S308, calculating the expected profit corresponding to the currently input source data as a profit range formed by the corresponding minimum return and the maximum return relative to the corresponding cost.
The lower bound of the profit margin may be calculated as the difference between the corresponding minimum return and the corresponding cost, and the upper bound of the profit margin is the difference between the corresponding maximum return and the corresponding cost.
In another embodiment, as shown in fig. 4, the step of obtaining the expected revenue corresponding to the currently input source data comprises:
step S402, searching corresponding webpage content by taking currently input source data as keywords.
In one embodiment, a search result webpage corresponding to currently input source data can be requested from a preset search website, and the search result webpage takes the currently input source data as a keyword for searching.
The search result web page corresponding to the keyword is equivalent to a web page which can be obtained by inputting the keyword in a search website and searching. For example, if a user inputs a keyword in a search input box of a search website, and clicks a search button, a corresponding result webpage can be presented to the user, where the webpage is a search result webpage corresponding to the keyword.
In one embodiment, in the process of requesting a search result webpage corresponding to a keyword from a certain search website, a webpage link can be generated according to a preset rule, wherein the webpage link comprises URL information and keyword information of the search website, and the webpage link represents the search result webpage corresponding to the keyword requested from the search website; and further sending a webpage pulling request containing the webpage link to the search website, and receiving the webpage returned by the search website.
The search result web page corresponding to the keyword comprises a search result list corresponding to the keyword, the search result list comprises a plurality of search results, and each search result comprises a web page link.
Furthermore, the web pages corresponding to the web page links included in each search result in the search result list can be crawled, and the web page content of the crawled web pages is used as the web page content corresponding to the currently input source data.
In one embodiment, the web pages corresponding to the web page links included in each search result in the search result list can be crawled according to the preset number of layers; the method for obtaining the web pages corresponding to the web page links included in each search result can be called crawling a first-layer web page, the method for obtaining the web pages corresponding to the web page links in the first-layer web page is called crawling a second-layer web page, and the like, and the method for obtaining the web pages corresponding to the web page links in the nth-layer web page is called crawling an n + 1-layer web page.
Step S404, searching the near-meaning words corresponding to the expected income from a preset near-meaning word table.
The similar meaning words corresponding to the expected words and the income words can be inquired, and the similar meaning words corresponding to the two words are combined into the similar meaning words corresponding to the expected income.
Step S406, search the web page content for sentences corresponding to the similar meaning words corresponding to the expected profit.
The complete sentence containing a certain similar meaning word corresponding to the expected income in the webpage content can be extracted.
Step S408, semantic analysis is carried out on the searched sentences and statistical processing is carried out according to preset rules to obtain expected income within a certain period, so that expected income corresponding to the currently input source data is obtained.
The phrase representing the time period in the sentence may be extracted and formatted according to a preset rule, for example, converted into a time period in a digital form having a preset format.
For example, if the phrase indicating the time period in the sentence is "one week in the future", the current date may be acquired as the start date, and the date one week after the current date may be used as the expiration time, and the time period may be configured by the start date and the non-expiration period, for example, 20150429 to 20150506.
Further, the word group representing the profit in the sentence may be extracted, and the word group representing the profit may be formatted according to a preset rule, for example, converted into a profit value in a digital form having a preset format.
For example, the phrase representing revenue is: the rise is twenty percent, which can be converted into a numerical benefit value: + 20%, the value of the benefit in numerical form with a positive sign indicating a rise in benefit and a negative sign indicating a fall in benefit.
Further, the income values of each time period can be classified according to the time period, and the income values of the same time period can be averaged to obtain the average expected income of the same time period, so that the average expected income of each time period corresponding to the currently input source data is obtained.
The same time period is understood to mean the same or similar time periods.
For example, the time period and benefit value extracted from the two statements are: 20150429-20150506 + 20% and 20150429-20150505 + 15%, 20150429-20150506 and 20150429-20150505 which are close to each other can be regarded as the same time period, the average value of benefit values corresponding to the two time periods is calculated to obtain + 17.5%, any one time period of the two time periods can be used as a unified identifier of the two time periods, for example, 20150429-20150505 is used as the unified identifier, and therefore the expected benefit of 20150429-20150505 is + 17.5%.
In one embodiment, the method for prompting expected information further includes a process of prompting risk information before submitting the source data; as shown in fig. 5, in one embodiment, the process includes the steps of:
step S502, it is monitored whether an operation for submitting currently input source data occurs.
In one embodiment, the source data input interface includes a submit button for prompting the user to click the submit button to submit the source data. For example, the surface of the submit button may indicate words such as "bet", "buy", and "submit". In this embodiment, step S502 may monitor whether a click operation for the submit button occurs, and if so, it indicates that the user wishes to submit the currently input source data, which indicates that an operation for submitting the currently input source data occurs.
Step S504, when the operation for submitting the currently input source data occurs, whether the expected income corresponding to the currently input source data is lower than a preset range is judged.
And S506, when the expected income is lower than the preset range, generating risk prompt information indicating that the expected income is lower than the preset range, and playing the risk prompt information.
In one embodiment, the information carrier of the risk prompt message may include voice, interface, etc., and may play the risk prompt message in the form of voice, and display the risk prompt message in the form of interface, etc.
Step S508, it is monitored whether an operation for confirming submission of the currently input source data occurs.
In one embodiment, the clicking operation of the designated button in the preset interface or the operation panel is appointed as the operation for confirming the submission of the currently input source data, and step S508 may monitor whether the clicking operation of the designated button occurs, and if so, it indicates that the operation for confirming the submission of the currently input source data occurs.
In step S510, when an operation for confirming submission of the currently input source data occurs, the currently input source data is submitted to request for processing related to the currently input source data.
The associated processes are processes that can generate expected revenue. For example, a stock purchase process corresponding to the source data, a lottery betting process corresponding to the source data, or the like.
In one embodiment, the step of generating risk tip information indicating that the expected profit is below a preset range, playing the risk tip information, monitoring whether an operation for confirming submission of the currently input source data occurs, and when the operation for confirming submission of the currently input source data occurs, submitting the currently input source data to request for processing related to the currently input source data includes:
generating a risk prompt interface, and displaying the risk prompt interface, wherein the risk prompt interface comprises risk prompt information which indicates that the expected income corresponding to the currently input source data is lower than a preset range, and the risk prompt interface further comprises a confirmation button which is bound with a click event for submitting the source data;
monitoring whether click operation of a confirmation button occurs;
when the click operation of the confirmation button occurs, the click event bound by the confirmation button is executed to submit the currently input source data, so that the processing related to the currently input source data is requested to be performed.
Fig. 6 shows an execution flow of the above embodiment. As shown in fig. 6, in one embodiment, the process of prompting risk information before submitting source data includes the following steps:
step S602, it is monitored whether an operation for submitting currently input source data occurs.
Step S604, when an operation for submitting currently input source data occurs, determining whether an expected profit corresponding to the currently input source data is lower than a preset range.
And step S606, when the expected income is lower than the preset range, generating a risk prompt interface, and displaying the risk prompt interface, wherein the risk prompt interface comprises risk prompt information indicating that the expected income is lower than the preset range, and the risk prompt interface further comprises a confirmation button, and the confirmation button is bound with a click event for submitting currently input source data.
In step S608, whether the click operation of the confirmation button occurs is monitored.
In step S610, when the click operation of the confirmation button occurs, a click event bound to the confirmation button is executed to submit the currently input source data.
In one embodiment, the risk prompt interface further includes a cancel button that binds a click event for canceling submission of the currently entered source data.
The expected information prompting method further comprises the following steps: and monitoring whether the clicking operation of the cancel button occurs, and when the clicking operation of the cancel button occurs, executing a clicking event bound by the cancel button to cancel the submission of the currently input source data. For example, the risk prompt interface may be closed, thereby returning to the source data entry interface described above.
In one embodiment, the risk prompting interface is displayed in a full screen mode and covers the whole screen, and the risk prompting interface does not contain other controls bound with any monitoring event (such as a click event, a touch event and the like) except that the confirmation button and the cancel button are bound with the click event.
In this embodiment, the risk prompting interface does not include any other control bound with any monitoring event except that the confirmation button and the cancel button are bound with the click event, so that any part of the risk prompting interface except the confirmation button and the cancel button is operated (for example, click operation, touch operation, and the like) without any response; and the risk prompt interface is covered on the whole screen, so that the user cannot bypass the risk prompt interface to submit the currently input source data, and only can confirm the submission of the currently input source data by clicking a confirmation button or cancel the submission of the currently input source data by clicking a cancel button. In this embodiment, the monitoring of the operation of the user for confirming the submission of the source data becomes a necessary link before the submission of the source data, and the source data is submitted only when the user confirms the operation of the submission of the source data, so that possible loss of the user due to misoperation can be avoided.
The prospective information prompting method described above is described below in an application scenario in one embodiment of lottery wagering.
In this application scenario, the lottery number source includes 11 lottery numbers: 01 to 11; the user may select any number of the 11 lottery numbers for play. Any two of the selected lottery numbers form a bet, the bet corresponding to a source data combination, each bet corresponding to the same fixed cost: 2 yuan; and each lottery number corresponds to the same expected payback: 6 yuan.
The number of the appointed winning numbers is 5, namely, the number of the appointed effective source data is 5; the winning numbers are drawn from the 11 lottery numbers of the lottery number source, and thus, the agreed invalid source data amount is 6. Each of the lottery numbers that the user places in the lottery may receive a 6-dollar payout.
FIG. 7 is a schematic diagram of a source data input interface in one embodiment; as shown in fig. 7, the source data input interface 70 includes 11 radio controls 702 corresponding to source data (01 to 11), and one radio control corresponds to one source data; one source data corresponds to one lottery number.
The single selection control 702 has two states of being selected and not selected; when the single selection control 702 is selected, the lottery number corresponding to the single selection control 702 is displayed as white in the interface, and the background except the lottery number in the interface is displayed as dark color; when the single selection control 702 is not selected, the lottery number corresponding to the single selection control 702 is displayed in a dark color in the interface, and the background except the lottery number in the interface is displayed in a white color. As shown in fig. 7, the radio controls 702 corresponding to the lottery numbers 01 and 02 are not selected, and 9 radio controls 702 corresponding to 03 to 11 are selected.
The radio control 702 binds a click event that is used to transition the bound radio control 702 from the current state to another state.
The source data entry interface 70 also displays a prompt 704 for the expected revenue corresponding to the currently selected lottery number.
Also included in the source data entry interface 70 is a submit button 706, which submit button 706 is used to prompt the user to click on the button to submit a lottery number.
In one embodiment, an expected information prompting method may show the source data input interface 70, monitor whether a click operation is performed on the radio control 702 of the source data input interface 70, and if so, acquire the lottery number corresponding to the radio control 702 currently in the selected state as the currently input lottery number.
Further, expected revenue corresponding to the currently entered lottery number may be obtained.
The number of source data combinations contained in the currently input 9 lottery numbers can be counted, that is, any two lottery numbers in the 9 lottery numbers form a bet, so that 9 lottery numbers containing 9 × 8/(2 × 1) ═ 36 bet lottery numbers can be calculated; the cost corresponding to the 36-note lottery number is 36 x 2 ═ 72 yuan.
In this embodiment, two lottery numbers form a group, which is equivalent to a source data combination, and each group of lottery numbers corresponds to the same fixed cost: 2 yuan; and each set of lottery numbers also corresponds to the same expected payback: 6 yuan. The number of contracted winning numbers is 5,
further, the maximum number of valid source data in the currently input lottery numbers is obtained, and since the agreed number of winning numbers is 5, the currently input lottery numbers include 5 winning numbers at most, and thus, the maximum number of valid source data in the currently input lottery numbers is 5.
The 5 lottery numbers include 5 × 4/(2 × 1) ═ 10 lotteries, so that the maximum payback corresponding to the currently input lottery number is 10 × 6 ═ 60 yuan.
Further, a minimum number of valid data in the currently input lottery number may be acquired. Since 5 of the 11 lottery numbers in the lottery number source are winning numbers, the agreed number of invalid source data is 6, and the number of currently input lottery numbers is 9, the minimum number of valid data in the currently input lottery numbers is 3.
The 3 lottery numbers include 3 × 2/(2 × 1) ═ 3 lottery tickets, so that the currently input lottery number corresponds to a minimum payout of 3 × 6 ═ 18 yuan.
Further, the income range corresponding to the currently input lottery number can be calculated as follows: -54 to-12 membered.
Thus, the content of the prompt 704 for the expected revenue corresponding to the currently entered lottery number shown in the source data input interface 70 is represented as: total 36 bets, invest 72 yuan, expect 18 to 60 yuan for return, and-54 to-12 yuan for return.
The expected information prompting method can also monitor whether the click operation of the submission button 706 occurs, and when the click operation of the submission button 706 occurs, whether the expected income corresponding to the currently input lottery number is lower than a preset range is judged; specifically, it can be determined whether the upper bound of the expected profit is lower than 0, which means that the lottery bet will lose; and if the upper bound of the expected income is lower than 0, generating a risk prompt interface and displaying the risk prompt interface.
FIG. 8 is a diagram of a risk prompt interface in one embodiment. As shown in FIG. 8, risk alert interface 80 includes risk alert information 802 indicating that the expected revenue is below a predetermined range, and a confirm button 804 and a cancel button 806.
Further, whether the click operation of the confirm button 804 and the cancel button 806 occurs is monitored;
when the click operation of the confirmation button 804 occurs, the currently input lottery numbers can be submitted for the subsequent processing flow of lottery betting;
when a click operation of cancel button 806 occurs, risk prompt interface 80 may be closed, returning to source number entry interface 70.
An anticipatory information prompting device comprising:
the input monitoring module is used for monitoring whether the input source data changes;
an expected value increase obtaining module, configured to obtain currently input source data and obtain an expected value increase corresponding to the currently input source data whenever the source data changes;
the prompt message generation module is used for generating the obtained prompt message of the expected numerical value increase;
the prompt message playing module is used for playing the prompt message;
wherein the expected numerical growth acquisition module comprises:
the initial numerical value counting module is used for counting a first number of source data combinations contained in the source data, the source data combinations are composed of a preset number of source data, different source data combinations contain incompletely identical source data, and initial numerical values corresponding to the source data are calculated according to the first number;
a maximum result value counting module, configured to obtain a maximum number of valid source data in the source data, count a second number of the source data combinations included in the maximum number of source data, and calculate a maximum result value corresponding to the source data according to the second number;
the minimum result value counting module is used for acquiring the minimum number of effective source data in the source data, counting the third number of the source data combinations contained in the minimum number of source data, and calculating the minimum result value corresponding to the source data according to the third number;
and the numerical increase range calculation module is used for calculating the expected numerical increase as a numerical increase range formed by the minimum result numerical value and the maximum result numerical value relative to the initial numerical value.
In one embodiment, the expected information prompting apparatus further includes:
a submitting operation monitoring module for monitoring whether an operation for submitting the source data occurs;
an expected value increase judging module, configured to judge whether the expected value increase is below a preset range when the operation for submitting the source data occurs;
a risk prompt message generation module, configured to generate a risk prompt message indicating that the expected value increase is lower than a preset range when the expected value increase is lower than the preset range;
the risk prompt information playing module is used for playing the risk prompt information;
the confirmation operation monitoring module is used for monitoring whether an operation for confirming the submission of the source data occurs;
and the source data submitting module is used for submitting the source data to request for the processing related to the source data when the operation for confirming the submission of the source data occurs.
In one embodiment, the risk hint information generation module is configured to generate a risk hint interface, where the risk hint interface includes risk hint information indicating that the expected value increase is lower than a preset range, and the risk hint interface further includes a confirmation button, and the confirmation button binds a click event for submitting the source data;
the risk prompt information playing module is used for displaying the risk prompt interface;
the confirmation operation monitoring module is used for monitoring whether the click operation of the confirmation button occurs or not;
and the source data submitting module is used for executing the click event bound by the confirmation button to submit the source data when the click operation of the confirmation button occurs.
The expected information prompting device monitors whether input source data change, calculates an initial value corresponding to the source data according to a first number of source data combinations contained in the source data and acquires a maximum number of effective source data in the source data when the source data change, calculates a maximum value increase corresponding to the source data according to a second number of the source data combinations contained in the maximum number of the source data, acquires a minimum number of the effective source data in the source data, calculates a minimum value increase corresponding to the source data according to a third number of the source data combinations contained in the minimum number of the source data, further calculates the expected value increase as a value range formed by the minimum increase value and the maximum value increase relative to the initial value, and finally plays prompt information of the expected value increase; according to the expected information prompting method, once the input source data is changed, the corresponding expected numerical value is prompted to increase, and the user can refer to the expected numerical value increase to determine whether to submit the source data, so that the user does not need to manually measure the expected numerical value increase range, a large amount of time and labor are saved for the user, and the operation convenience of the user is improved.
In some embodiments below, the expected numerical growth is interpreted as an expected profit to illustrate the expected information prompting device described above; this explanation is only an exemplary explanation and should not be construed as limiting the scope of the claims of this application.
In some embodiments, the initial value is interpreted as a cost, the result value is interpreted as a return, the maximum result value is interpreted as a maximum return, the minimum result value is interpreted as a minimum return, the expected result value is interpreted as an expected return, and the numerical growth range is interpreted as a profit range to explain the expected information prompting device; these explanations are merely exemplary explanations that should not be construed as limiting the scope of the claims of this application.
As shown in fig. 9, in one embodiment, an expected information prompt apparatus includes an input monitoring module 902, an expected numerical increase obtaining module 904, a prompt information generating module 906, and a prompt information playing module 908, wherein:
the input monitoring module 902 is used for monitoring whether the input source data changes.
In one embodiment, the source data is a key parameter for the cost of production and the reward, for example, the source data may be a lottery number, a stock code, a prize code, or a financial product code, among others.
As shown in fig. 10, in an embodiment, the expected information prompting apparatus further includes a source data input interface displaying module 1002, configured to display a source data input interface for inputting source data.
In this embodiment, the input monitoring module 902 may monitor whether the source data input in the source data input interface changes.
The expected value increase obtaining module 904 is configured to obtain currently input source data and obtain an expected benefit corresponding to the currently input source data each time the input source data changes.
In one embodiment, the source data input interface comprises preset single selection controls corresponding to a plurality of different source data, one single selection control corresponds to one source data, the single selection control has two states of being selected and not being selected, the single selection control is bound with a click event, and the click event is used for converting the bound single selection control from the current state to another state;
therefore, when the single selection control is clicked, the single selection control is changed into another state from the current state; for example, if a radio control is currently in the selected state, the radio control is changed from the selected state to the non-selected state when the radio control is clicked, and if the radio control is currently in the non-selected state, the radio control is changed from the non-selected state to the selected state when the radio control is clicked.
Based on the above embodiments, the input monitoring module 902 may monitor whether a click operation for a single selection control of the source data input interface occurs, and if so, it indicates that the selected source data changes.
Based on the above embodiment, the expected value increase obtaining module 904 may obtain the source data corresponding to the radio control currently in the selected state as the currently input source data.
In another embodiment, the source data input interface comprises at least one source data input control, one source data input control for inputting one source data; in this embodiment, step S202 may be configured to monitor whether content input in the source data input control changes, and the expected value increase obtaining module 904 may be configured to obtain, if content in any one source data input control changes, that the content input by each source data input control in the source data input interface is currently input source data, and obtain an expected benefit corresponding to the currently input source data.
The hint information generation module 906 is configured to generate hints for the expected revenue obtained.
The prompt information playing module 908 is used for playing prompt information.
Based on the above embodiment, the prompt information playing module 908 may display the prompt information in the source data input interface.
According to the expected information prompting device and the expected information prompting method, once the input source data changes, the corresponding expected income is prompted, and a user can decide whether to submit the source data according to the expected income, so that the user does not need to manually estimate the expected income range, a large amount of time and labor are saved for the user, and the operation convenience of the user is improved.
As shown in fig. 11, in one embodiment, the expected value growth acquisition module 904 includes an initial value statistics module 1102, a maximum result value statistics module 1104, a minimum result value statistics module 1106, and a value growth range calculation module 1108, wherein:
the initial value counting module 1102 is configured to count a first number of source data combinations included in currently input source data, where a source data combination is composed of a preset number of source data, different source data combinations include source data that are not identical, and a cost corresponding to the currently input source data is calculated according to the first number.
In one embodiment, when the number of currently input source data is M and the preset number (i.e., the number of source data included in the source data combination) is N, the initial value statistics module 1102 may calculate a first number of source data combinations included in the currently input source data as: m (M-1) X (M-2) … (M-N +1)/[ N (N-1) X (N-2) … X2X 1 ].
In one embodiment, each source data combination corresponds to the same fixed cost, and one source data combination corresponds to one fixed cost, and further, the initial value statistics module 1102 may calculate the cost corresponding to the currently input source data as: the product of the first number and the single fixed cost.
The maximum result value counting module 1104 is configured to obtain a maximum number of valid source data in the currently input source data, count a second number of source data combinations included in the maximum number of source data, and calculate a maximum return corresponding to the currently input source data according to the second number.
In one embodiment, the maximum result value statistics module 1104 may calculate the maximum number of valid source data in the currently input source data according to the number of currently input source data and the agreed number of valid source data. For example, the valid source data amount may be the number of agreed winning numbers, corresponding to a lottery betting application scenario.
If the number of the currently input source data is larger than or equal to the agreed effective source data number, the maximum number of the effective source data in the currently input source data is the agreed effective source data number, otherwise, the maximum number of the effective source data in the currently input source data is the currently input source data number.
Note that the maximum number of valid source data in the currently input source data is L, and the preset number (i.e., the number of source data included in the source data combination) is N, the maximum result value statistics module 1104 may calculate a second number: l × (L-1) × (L-2) × … × (L-N +1)/[ N × (N-1) × (N-2) × … × 2 × 1 ].
In one embodiment, each source data combination also corresponds to the same expected return, and one source data combination corresponds to one expected return;
further, the maximum result value statistics module 1104 can calculate the maximum return corresponding to the currently input source data as: the product of the second number and the expected return for a single stroke.
The minimum result value statistics module 1106 is configured to obtain a minimum number of valid source data in the currently input source data, count a third number of source data combinations included in the minimum number of source data, and calculate a minimum reward corresponding to the currently input source data according to the third number.
In one embodiment, the minimum result value statistics module 1106 may calculate the minimum number of valid source data in the currently input source data according to the number of currently input source data and the agreed number of invalid source data.
For example, corresponding to one application scenario for lottery wagering, the sum of the agreed amount of invalid source data and the agreed amount of valid source data may be the total number of numbers in a lottery number source containing a plurality of different numbers, with winning numbers being a portion of numbers drawn from the number source.
If the number of the currently input source data is greater than or equal to the agreed invalid source data number, the minimum number of the valid source data in the currently input source data is: and the difference between the number of the currently input source data and the agreed invalid source data number, otherwise, the minimum number of the valid source data in the currently input source data is zero.
Note that the minimum number of valid data in the currently input source data is K, and the preset number (i.e., the number of source data included in the source data combination) is N, then the minimum result value statistics module 1106 may calculate a third number: k (K-1) × (K-2) × … × (K-N +1)/[ N (N-1) × (N-2) × … × 2 × 1 ].
Corresponding to the above embodiment, each source data combination also corresponds to the same expected return, and one source data combination corresponds to one expected return;
further, the minimum result value statistic module 1106 can calculate the minimum reward corresponding to the currently input source data as: the product of the third amount and the expected return for a single stroke.
The numerical growth range calculation module 1108 is configured to calculate an expected profit for the currently input source data as a profit range formed by the corresponding minimum return and the maximum return with respect to the corresponding cost.
The numerical growth range calculation module 1108 may calculate a lower bound of the profit range as the difference between the corresponding minimum return and the corresponding cost, and an upper bound of the profit range as the difference between the corresponding maximum return and the corresponding cost.
As shown in FIG. 12, in another embodiment, the expected value growth acquisition module 904 includes a web content search module 1202, a synonym query module 1204, a sentence extraction module 1206, and a parsing module 1208, wherein:
the web page content search module 1202 is configured to search for corresponding web page content by using currently input source data as a keyword.
In one embodiment, the web page content search module 1202 may request a search result web page corresponding to the currently input source data from a preset search website, where the search result web page uses the currently input source data as a keyword for searching.
The search result web page corresponding to the keyword is equivalent to a web page which can be obtained by inputting the keyword in a search website and searching. For example, if a user inputs a keyword in a search input box of a search website, and clicks a search button, a corresponding result webpage can be presented to the user, where the webpage is a search result webpage corresponding to the keyword.
In one embodiment, in the process of requesting a search result webpage corresponding to a keyword from a certain search website, a webpage link can be generated according to a preset rule, wherein the webpage link comprises URL information and keyword information of the search website, and the webpage link represents the search result webpage corresponding to the keyword requested from the search website; and further sending a webpage pulling request containing the webpage link to the search website, and receiving the webpage returned by the search website.
The search result web page corresponding to the keyword comprises a search result list corresponding to the keyword, the search result list comprises a plurality of search results, and each search result comprises a web page link.
Further, the web page content search module 1202 may crawl web pages corresponding to web page links included in each search result in the search result list, and use the crawled web page content of the web page as the web page content corresponding to the currently input source data.
In one embodiment, the web page content search module 1202 may crawl web pages corresponding to web page links included in each search result in the search result list according to a preset number of layers; the method for obtaining the web pages corresponding to the web page links included in each search result can be called crawling a first-layer web page, the method for obtaining the web pages corresponding to the web page links in the first-layer web page is called crawling a second-layer web page, and the like, and the method for obtaining the web pages corresponding to the web page links in the nth-layer web page is called crawling an n + 1-layer web page.
The similar meaning word query module 1204 is configured to query a similar meaning word corresponding to the expected revenue from a preset similar meaning word table.
The similar meaning word query module 1204 can query similar meaning words corresponding to the expected and income two words, and combine the similar meaning words corresponding to the two words into the similar meaning words corresponding to the expected income.
The sentence extraction module 1206 is configured to search the web page content for a sentence corresponding to each synonym corresponding to the expected revenue.
The sentence extraction module 1206 can extract a complete sentence containing a similar meaning word corresponding to the expected income from the webpage content.
The parsing module 1208 is configured to perform semantic parsing on the searched sentences and perform statistical processing according to preset rules to obtain expected revenue within a certain period, so as to obtain expected revenue corresponding to currently input source data.
The parsing module 1208 may extract a phrase representing the time period in the sentence, and format the phrase representing the time period according to a preset rule, for example, convert the phrase into a time period in a digital form with a preset format.
For example, if the phrase indicating the time period in the sentence is "one week in the future", the current date may be acquired as the start date, and the date one week after the current date may be used as the expiration time, and the time period may be configured by the start date and the non-expiration period, for example, 20150429 to 20150506.
Further, the parsing module 1208 may extract a word group representing revenue from the sentence, and format the word group representing revenue according to a preset rule, for example, convert the word group into a revenue value in a digital form with a preset format.
For example, the phrase representing revenue is: the rise is twenty percent, which can be converted into a numerical benefit value: + 20%, the value of the benefit in numerical form with a positive sign indicating a rise in benefit and a negative sign indicating a fall in benefit.
Further, the parsing module 1208 may classify the profit values of the time periods according to the time periods, and may average the profit values of the same time period to obtain the average expected profit of the same time period, so as to obtain the average expected profit of the time periods corresponding to the currently input source data.
The same time period is understood to mean the same or similar time periods.
For example, the time period and benefit value extracted from the two statements are: 20150429-20150506 + 20% and 20150429-20150505 + 15%, and the two time periods 20150429-20150506 and 20150429-20150505 which are close to each other can be considered as the same time period, the analysis module 1208 can calculate the average value of the benefit values corresponding to the two time periods to obtain + 17.5%, any one of the two time periods can be used as a unified identifier of the two time periods, for example, 20150429-20150505 is used as a unified identifier, and therefore the expected benefit of 20150429-20150505 is + 17.5%.
As shown in fig. 13, in an embodiment, the expected information prompting apparatus further includes a submitting operation monitoring module 1302, an expected value increase judging module 1304, a risk prompting information generating module 1306, a risk prompting information playing module 1308, a confirmation operation monitoring module 1310, and a source data submitting module 1312, where:
the commit operation monitoring module 1302 is used to monitor whether an operation for committing currently input source data occurs.
In one embodiment, the source data input interface includes a submit button for prompting the user to click the submit button to submit the source data. For example, the surface of the submit button may indicate words such as "bet", "buy", and "submit". In this embodiment, the submitting operation monitoring module 1302 may monitor whether a click operation for the submitting button occurs, and if so, it indicates that the user wishes to submit the currently input source data, indicating that an operation for submitting the currently input source data occurs.
The expected value increase judging module 1304 is configured to judge whether an expected benefit corresponding to the currently input source data is lower than a preset range when an operation for submitting the currently input source data occurs.
The risk prompt information generating module 1306 is configured to generate risk prompt information indicating that the expected profit is lower than the preset range when the expected profit is lower than the preset range.
The risk prompt information playing module 1308 is configured to play the risk prompt information.
In one embodiment, the information carrier of the risk hint information may include voice, an interface, and the like, and the risk hint information playing module 1308 may play the risk hint information in the form of voice, the risk hint information in the form of a presentation interface, and the like.
Confirmation operation monitoring module 1310 is used to monitor whether an operation for confirming submission of currently input source data has occurred.
In one embodiment, the clicking operation of the designated button in the preset interface or the operation panel is agreed to be an operation for confirming the submission of the currently input source data, and the confirmation operation monitoring module 1310 may monitor whether the clicking operation of the designated button occurs, and if so, it indicates that the operation for confirming the submission of the currently input source data occurs.
The source data submission module 1312 is configured to, when an operation for confirming submission of the currently input source data occurs, submit the currently input source data to request for processing related to the currently input source data.
The associated processes are processes that can generate expected revenue. For example, a stock purchase process corresponding to the source data, a lottery betting process corresponding to the source data, or the like.
In one embodiment, the risk hint information generating module 1306 is configured to generate a risk hint interface, where the risk hint interface includes risk hint information indicating that an expected revenue corresponding to currently input source data is lower than a preset range, and the risk hint interface further includes a confirmation button, where a click event for submitting the source data is bound to the confirmation button;
the risk prompt information playing module 1308 is configured to display a risk prompt interface;
the confirmation operation monitoring module 1310 is configured to monitor whether a click operation of a confirmation button occurs;
the source data submission module 1312 is configured to, when a click operation of the confirmation button occurs, execute a click event bound to the confirmation button to submit the currently input source data, thereby requesting a process related to the currently input source data.
In one embodiment, the risk prompt interface further includes a cancel button that binds a click event for canceling submission of the currently entered source data.
As shown in FIG. 14, in one embodiment, the expected information prompt apparatus further comprises a cancellation operation monitoring module 1402 and an operation cancellation module 1404, wherein
The cancel operation monitoring module 1402 is configured to monitor whether a click operation of a cancel button occurs.
An operation canceling module 1404, configured to, when a click operation of the cancel button occurs, execute a click event bound to the cancel button to cancel submission of the currently input source data. For example, the risk prompt interface may be closed, thereby returning to the source data entry interface described above.
In one embodiment, the risk prompting interface is displayed in a full screen mode and covers the whole screen, and the risk prompting interface does not contain other controls bound with any monitoring event (such as a click event, a touch event and the like) except that the confirmation button and the cancel button are bound with the click event.
In this embodiment, the risk prompting interface does not include any other control bound with any monitoring event except that the confirmation button and the cancel button are bound with the click event, so that any part of the risk prompting interface except the confirmation button and the cancel button is operated (for example, click operation, touch operation, and the like) without any response; and the risk prompt interface is covered on the whole screen, so that the user cannot bypass the risk prompt interface to submit the currently input source data, and only can confirm the submission of the currently input source data by clicking a confirmation button or cancel the submission of the currently input source data by clicking a cancel button. In this embodiment, the monitoring of the operation of the user for confirming the submission of the source data becomes a necessary link before the submission of the source data, and the source data is submitted only when the user confirms the operation of the submission of the source data, so that possible loss of the user due to misoperation can be avoided.
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (16)

1. An expected information prompting method, comprising the following steps:
displaying a source data input interface for inputting source data, and monitoring whether the source data input in the source data input interface changes; the source data input interface comprises a plurality of preset single selection controls corresponding to different source data, and one single selection control corresponds to one source data;
when the source data are changed, acquiring the source data corresponding to the radio control element in the selected state as the currently input source data, and acquiring the expected numerical value increase corresponding to the currently input source data, wherein the expected numerical value increase is expected income;
generating prompt information of the obtained expected numerical increase;
playing the prompt message;
wherein the step of obtaining the expected numerical increase corresponding to the currently input source data comprises:
counting a first number of source data combinations contained in the source data, wherein the source data combinations consist of a preset number of source data, different source data combinations contain incompletely identical source data, and calculating initial values corresponding to the source data according to the first number;
obtaining the maximum quantity of effective source data in the source data, counting a second quantity of the source data combinations contained in the source data with the maximum quantity, and calculating a maximum result value corresponding to the source data according to the second quantity, wherein the maximum result value is the maximum return;
obtaining the minimum number of effective source data in the source data, counting the third number of the source data combinations contained in the source data with the minimum number, and calculating the minimum result value corresponding to the source data according to the third number, wherein the minimum result value is the minimum return;
calculating the expected numerical increase as a numerical increase range formed by the minimum result numerical value and the maximum result numerical value relative to the initial numerical value, wherein the numerical increase range is a profit range;
further comprising the steps of:
monitoring whether an operation for submitting the source data occurs;
when the operation for submitting the source data occurs, judging whether the expected numerical value increase is lower than a preset range;
when the expected numerical value increase is lower than a preset range, generating risk prompt information indicating that the expected numerical value increase is lower than the preset range, and playing the risk prompt information;
monitoring whether an operation for confirming submission of the source data occurs;
when the operation for confirming submission of the source data occurs, submitting the source data to request for processing related to the source data.
2. The method of claim 1, wherein the steps of generating a risk hint indicating that the expected numerical increase is below a preset range, playing the risk hint, monitoring whether an operation for confirming submission of the source data occurs, and submitting the source data to request processing related to the source data when the operation for confirming submission of the source data occurs comprise:
generating a risk prompt interface, and displaying the risk prompt interface, wherein the risk prompt interface comprises risk prompt information indicating that the expected numerical value increase is lower than a preset range, and the risk prompt interface further comprises a confirmation button, and the confirmation button is bound with a click event for submitting the source data;
monitoring whether the click operation of the confirmation button occurs or not;
when the clicking operation of the confirmation button occurs, executing the clicking event bound by the confirmation button to submit the source data.
3. The method of claim 1, wherein the step of obtaining the expected revenue corresponding to the source data comprises:
searching corresponding webpage content by taking the source data as keywords;
searching a near-meaning word corresponding to the expected income from a preset near-meaning word table;
searching sentences corresponding to the similar meaning words corresponding to the expected income in the webpage content;
and carrying out semantic analysis on the searched sentences and carrying out statistical processing according to preset rules to obtain expected income in a certain period, thereby obtaining the expected income corresponding to the source data.
4. The method of claim 1, wherein each of the source data sets corresponds to a same fixed cost, and one of the source data sets corresponds to a fixed cost.
5. The method of claim 1, wherein the maximum number of valid source data in the currently inputted source data is calculated according to the number of currently inputted source data and the agreed number of valid source data.
6. The method of claim 5, wherein the number of valid source data is the number of agreed winning numbers.
7. The method of claim 5, wherein if the number of currently inputted source data is greater than or equal to the agreed effective source data number, the maximum number of effective source data in the currently inputted source data is the agreed effective source data number, otherwise, the maximum number of effective source data in the currently inputted source data is the currently inputted source data number.
8. The method of claim 1, wherein each of the source data sets corresponds to the same expected return, and one of the source data sets corresponds to an expected return.
9. The method of claim 8, wherein the currently inputted source data corresponds to a maximum reward of: the product of the second number and the expected return for a single stroke.
10. The method of claim 1, wherein the minimum number of valid source data in the currently inputted source data is calculated according to the number of currently inputted source data and the agreed number of invalid source data.
11. The method of claim 10, wherein if the number of currently inputted source data is greater than or equal to the agreed number of invalid source data, the minimum number of valid source data in the currently inputted source data is: and the difference between the number of the currently input source data and the agreed invalid source data number, otherwise, the minimum number of the valid source data in the currently input source data is zero.
12. An expected information presentation apparatus, comprising:
the input monitoring module is used for monitoring whether the input source data changes;
an expected numerical value increase obtaining module, configured to obtain currently input source data and obtain an expected numerical value increase corresponding to the currently input source data each time the source data changes, where the expected numerical value increase is an expected benefit;
the prompt message generation module is used for generating the obtained prompt message of the expected numerical value increase;
the prompt message playing module is used for playing the prompt message;
wherein the expected numerical growth acquisition module comprises:
the initial numerical value counting module is used for counting a first number of source data combinations contained in the source data, the source data combinations are composed of a preset number of source data, different source data combinations contain incompletely identical source data, and initial numerical values corresponding to the source data are calculated according to the first number;
a maximum result value counting module, configured to obtain a maximum number of valid source data in the source data, count a second number of source data combinations included in the maximum number of source data, and calculate a maximum result value corresponding to the source data according to the second number, where the maximum result value is a maximum return;
a minimum result value counting module, configured to obtain a minimum number of valid source data in the source data, count a third number of source data combinations included in the minimum number of source data, and calculate a minimum result value corresponding to the source data according to the third number, where the minimum result value is a minimum return;
a numerical growth range calculation module for calculating the expected numerical growth as a numerical growth range formed by the minimum result numerical value and the maximum result numerical value relative to the initial numerical value, the numerical growth range being a profit range;
a submitting operation monitoring module for monitoring whether an operation for submitting the source data occurs;
an expected value increase judging module, configured to judge whether the expected value increase is below a preset range when the operation for submitting the source data occurs;
a risk prompt message generation module, configured to generate a risk prompt message indicating that the expected value increase is lower than a preset range when the expected value increase is lower than the preset range;
the risk prompt information playing module is used for playing the risk prompt information;
the confirmation operation monitoring module is used for monitoring whether an operation for confirming the submission of the source data occurs;
and the source data submitting module is used for submitting the source data to request for the processing related to the source data when the operation for confirming the submission of the source data occurs.
13. The expected information prompting device according to claim 12, wherein the risk prompting information generating module is configured to generate a risk prompting interface, the risk prompting interface includes risk prompting information indicating that the expected value increase is below a preset range, and the risk prompting interface further includes a confirmation button, and the confirmation button binds a click event for submitting the source data;
the risk prompt information playing module is used for displaying the risk prompt interface;
the confirmation operation monitoring module is used for monitoring whether the click operation of the confirmation button occurs or not;
and the source data submitting module is used for executing the click event bound by the confirmation button to submit the source data when the click operation of the confirmation button occurs.
14. The expected information prompting device according to claim 12, wherein the expected numerical increase acquiring module includes:
the webpage content searching module is used for searching corresponding webpage content by taking the source data as a keyword;
the near meaning word query module is used for querying the near meaning words corresponding to the expected income from a preset near meaning word table;
the sentence extraction module is used for searching the webpage content for a sentence corresponding to the similar meaning word corresponding to the expected income;
and the analysis module is used for performing semantic analysis on the searched sentences and performing statistical processing according to preset rules to obtain expected income within a certain period, so that the expected income corresponding to the source data is obtained.
15. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor realizes the steps of the method of any one of claims 1 to 11 when executing the computer program.
16. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 11.
CN201510454257.9A 2015-07-29 2015-07-29 Prospective information prompting method and device Active CN106407202B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510454257.9A CN106407202B (en) 2015-07-29 2015-07-29 Prospective information prompting method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510454257.9A CN106407202B (en) 2015-07-29 2015-07-29 Prospective information prompting method and device

Publications (2)

Publication Number Publication Date
CN106407202A CN106407202A (en) 2017-02-15
CN106407202B true CN106407202B (en) 2021-03-02

Family

ID=58008804

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510454257.9A Active CN106407202B (en) 2015-07-29 2015-07-29 Prospective information prompting method and device

Country Status (1)

Country Link
CN (1) CN106407202B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102880985A (en) * 2012-09-17 2013-01-16 沈文策 Prompt message generation method and device
CN103400298A (en) * 2013-08-19 2013-11-20 王林 Method for monitoring stock transaction

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102880985A (en) * 2012-09-17 2013-01-16 沈文策 Prompt message generation method and device
CN103400298A (en) * 2013-08-19 2013-11-20 王林 Method for monitoring stock transaction

Also Published As

Publication number Publication date
CN106407202A (en) 2017-02-15

Similar Documents

Publication Publication Date Title
US9836795B2 (en) Computerized system and method for pre-filling of insurance data using third party sources
JP4683394B2 (en) Information processing apparatus, information processing method, and program
US11941714B2 (en) Analysis of intellectual-property data in relation to products and services
CN110086666A (en) A kind of alarm method, apparatus and system
US11887201B2 (en) Analysis of intellectual-property data in relation to products and services
US11348195B2 (en) Analysis of intellectual-property data in relation to products and services
US11803927B2 (en) Analysis of intellectual-property data in relation to products and services
US20220414741A1 (en) Systems and methods for managing a personalized online experience
CN110288403A (en) It keeps and plays frame method of ejecting, system, equipment and storage medium
JP2015106295A (en) Web site evaluation system, web site evaluation method, and quality evaluation server
CA3145812A1 (en) Analysis of intellectual-property data in relation to products and services
CN113168617A (en) System, information processing device, and program
CN111368195A (en) Model training method, device, equipment and storage medium
CN106575418A (en) Suggested keywords
CN106407202B (en) Prospective information prompting method and device
CN110215703B (en) Game application selection method, device and system
CN116975393A (en) Enterprise portrait construction method and device and electronic equipment
JP7465415B2 (en) Virtual Assistant Domain Selection Analysis
JP2020004161A (en) Examination support apparatus, examination support method, and service providing method
CN113742193A (en) Data analysis method and device, electronic equipment and storage medium
CN114722171A (en) Multi-turn conversation processing method and device, electronic equipment and storage medium
US11514036B2 (en) Method and system for self-learning natural language predictive searching
US20200118082A1 (en) Presentation of Credible and Relevant Job History
AU2020385369A1 (en) Contact center call volume prediction
JP3967230B2 (en) Image information display system

Legal Events

Date Code Title Description
C06 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