Terminal equipment circulation control method and device for server, equipment and medium

By generating and using predicted circulation information for reconfiguration of circulation quantity and terminal equipment circulation interception control, the problems of poor accuracy of circulation decisions and high system security risks in the prior art are solved, and more efficient server load reduction and system security improvement are achieved.

CN120106974AActive Publication Date: 2025-06-06CITICS FUTURES CO LTD

Patent Information

Application Number
CN202510161288.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-13
Publication Date
2025-06-06
Estimated Expiration
2045-02-13

AI Technical Summary

Technical Problem

In the prior art, the performance of category labels on the flow level is relatively coarse, resulting in poor accuracy of flow decisions, poor server load reduction effect, and inability to effectively intercept users' abnormal flow operations, resulting in high system security risks.

Method used

By obtaining the initial circulation data of the target item within the preset time period, preprocessing is performed to generate inertial circulation information, multi-form circulation information and real-time circulation information, combined with these information, generate predicted circulation information, and reconfigure the circulation quantity in response to the predicted circulation information meeting the threshold conditions, and perform flow interception control on the terminal equipment of the circulation user.

Benefits of technology

It improves the accuracy of traffic decisions, reduces traffic requests processed by the server, reduces server load, enhances system security, and effectively intercepts users' abnormal traffic operations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120106974A_ABST
    Figure CN120106974A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a terminal equipment circulation control method and device for a server, equipment and a medium. A specific embodiment of the method comprises the following steps: acquiring initial circulation data of a target article; preprocessing the initial circulation data to obtain circulation data; generating first inertia circulation information and second inertia circulation information according to the circulation data; generating polymorphic circulation information corresponding to the end time according to the circulation data; generating predicted circulation information according to the first inertia circulation information, the second inertia circulation information, the multi-form circulation information and the real-time circulation information; in response to determining that the predicted circulation information meets the preset threshold condition, reconfiguring the circulation quantity to obtain an updated circulation quantity; and performing circulation interception control on terminal equipment corresponding to the circulation user in response to the fact that the detected circulation quantity is equal to the updated circulation quantity. According to the embodiment, the effect of reducing the load of the server is improved, and the safety of the server system is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present disclosure relate to the field of computer technology, and in particular to a terminal device flow control method, apparatus, device, and medium for a server. Background Art

[0002] Automatically controlling the circulation of target items (such as agricultural products, metals, energy items, and chemical products) can improve the adaptive level of item circulation decisions. At present, when controlling the circulation of items, the following methods can be adopted: using macroscopic, discrete category labels to predict the level of item circulation, and issuing warnings to users to reduce circulation based on category labels, which can reduce the load on the server used to process users' item circulation requests.

[0003] However, when the above method is adopted, the following technical problems often occur: the category label has a coarse granularity in expressing the flow level, and the accuracy and precision of the determined flow level are poor, resulting in poor accuracy of the decision to reduce the flow determined according to the flow level, and the server is subjected to more flow requests, resulting in poor effect of reducing the server load; in addition, flow control is only performed by issuing warnings to users, and the user's own abnormal flow operations cannot be intercepted, resulting in a higher system security risk (for example, the number of network attacks on the server system caused by malicious modification of the front-end script when the user performs an abnormal flow operation is relatively high).

[0004] The above information disclosed in this Background section is only for enhancement of understanding of the background of the inventive concept and therefore it may contain information that does not form the prior art that is already known in this country to a person of ordinary skill in the art. Summary of the invention

[0005] The content of this disclosure is used to introduce concepts in a brief form, which will be described in detail in the detailed implementation section below. The content of this disclosure is not intended to identify the key features or essential features of the technical solution claimed for protection, nor is it intended to limit the scope of the technical solution claimed for protection.

[0006] Some embodiments of the present disclosure propose a terminal device flow control method, apparatus, electronic device and computer-readable medium for a server to solve one or more of the technical problems mentioned in the above background technology section.

[0007] In a first aspect, some embodiments of the present disclosure provide a terminal device control method for a server, the method comprising: obtaining initial circulation data of a target item within a preset time period, wherein the preset time period comprises a first preset time period and a second preset time period, the first preset time period is earlier than the second preset time period, and the current time is within the second preset time period; preprocessing the initial circulation data to obtain the preprocessed initial circulation data as circulation data; generating first inertial circulation information corresponding to the current time and second inertial circulation information corresponding to an end time according to the circulation data; generating multi-form circulation information corresponding to an end time according to the circulation data; generating multi-form circulation information corresponding to an end time according to the first inertial circulation information and the second inertial circulation information .... Inertial circulation information, the above-mentioned multi-form circulation information and the real-time circulation information corresponding to the above-mentioned current time are used to generate predicted circulation information corresponding to the above-mentioned end time; in response to determining that the above-mentioned predicted circulation information meets the preset threshold condition, the circulation quantity of the circulation user corresponding to the above-mentioned target item is reconfigured to obtain an updated circulation quantity; in response to detecting that the circulation quantity of the above-mentioned target item corresponding to the circulation user after reconfiguration is equal to the above-mentioned updated circulation quantity, the circulation interception control is performed on the terminal device corresponding to the circulation user, wherein the above-mentioned circulation interception control includes at least one of the following: discarding the circulation request of the terminal device, prohibiting the submission of the form for the circulation operation of the terminal device corresponding to the above-mentioned target item, and changing the device type of the terminal device in the server to a dishonest device.

[0008] In a second aspect, some embodiments of the present disclosure provide a terminal device control apparatus for a server, the apparatus comprising: an acquisition unit, configured to acquire initial circulation data of a target item within a preset time period, wherein the preset time period comprises a first preset time period and a second preset time period, the first preset time period is earlier than the second preset time period, and the current time is within the second preset time period; a processing unit, configured to pre-process the initial circulation data to obtain the pre-processed initial circulation data as circulation data; a first generating unit, configured to generate first inertial circulation information corresponding to the current time and second inertial circulation information corresponding to the end time according to the circulation data; a second generating unit, configured to generate multi-form circulation information corresponding to the end time according to the circulation data; a third generating unit, configured to generate multi-form circulation information corresponding to the end time according to the circulation data; According to the above-mentioned first inertial flow information, the above-mentioned second inertial flow information, the above-mentioned multi-form flow information and the real-time flow information corresponding to the above-mentioned current time, the predicted flow information corresponding to the above-mentioned end time is generated; the configuration unit is configured to, in response to determining that the above-mentioned predicted flow information meets the preset threshold condition, reconfigure the flow quantity of the flow user corresponding to the above-mentioned target item to obtain an updated flow quantity; the control unit is configured to, in response to detecting that the flow quantity of the above-mentioned target item corresponding to the flow user after reconfiguration is equal to the above-mentioned updated flow quantity, perform flow interception control on the terminal device corresponding to the flow user, wherein the above-mentioned flow interception control includes at least one of the following: discarding the flow request of the terminal device, prohibiting the submission of the form of the flow operation of the terminal device corresponding to the above-mentioned target item, and changing the device type of the terminal device in the server to a dishonest device.

[0009] In a third aspect, some embodiments of the present disclosure provide an electronic device comprising: one or more processors; a storage device on which one or more programs are stored, and when the one or more programs are executed by the one or more processors, the one or more processors implement the method described in any implementation manner of the above-mentioned first aspect.

[0010] In a fourth aspect, some embodiments of the present disclosure provide a computer-readable medium having a computer program stored thereon, wherein when the program is executed by a processor, the method described in any implementation manner of the above-mentioned first aspect is implemented.

[0011] The above-mentioned embodiments of the present disclosure have the following beneficial effects: through the terminal device flow control method for the server in some embodiments of the present disclosure, the effect of reducing the server load is improved, and the server system security is improved. Specifically, the reason for the poor effect of reducing the server load and the high security risk of the server system is that the category label has a coarse expression granularity for the flow level, the accuracy and precision of the determined flow level are poor, resulting in poor accuracy of the flow reduction decision determined according to the flow level, and the server bears more flow requests, resulting in poor effect of reducing the server load; in addition, the flow control is only performed by issuing a warning to the user, and the user's own abnormal flow operation cannot be intercepted, resulting in a high system security risk (for example, the number of network attacks on the server system caused by malicious modification of the front-end script by the user when performing an abnormal flow operation is high). Based on this, the terminal device flow control method for the server in some embodiments of the present disclosure, first, obtain the initial flow data of the target item within a preset time period, wherein the preset time period includes a first preset time period and a second preset time period, the first preset time period is earlier than the second preset time period, and the current time is within the second preset time period. Thus, the source data for predicting flow information can be obtained. Then, the initial circulation data is preprocessed to obtain the preprocessed initial circulation data as the circulation data. Thus, the acquired source data can be preprocessed before prediction. Secondly, according to the circulation data, the first inertial circulation information corresponding to the current time and the second inertial circulation information corresponding to the end time are generated. Thus, the inertial circulation information at the current moment and the end moment can be generated, and the inertial circulation information can characterize the comprehensive circulation level of the target item at the corresponding moment affected by the historical data performance, liquidity fluctuations, and trend changes. Then, according to the circulation data, the multi-form circulation information corresponding to the end time is generated. Thus, the fusion circulation level of the target item affected by different types of circulation behaviors and circulation trends at the end moment can be generated. Secondly, according to the first inertial circulation information, the second inertial circulation information, the multi-form circulation information and the real-time circulation information corresponding to the current time, the predicted circulation information corresponding to the end time is generated. Thus, the inertial circulation index and the multi-form circulation index can be fused to predict the final circulation information after the end moment. Then, in response to determining that the predicted circulation information meets the preset threshold condition, the circulation quantity of the circulation user corresponding to the target item is reconfigured to obtain an updated circulation quantity. Thus, the quantity of the target item that can be circulated by the circulation user can be limited by reconfiguration.Finally, in response to detecting that the number of the target items that have been circulated by the circulation user after the reconfiguration is equal to the updated circulation number, the terminal device corresponding to the circulation user is subjected to circulation interception control, wherein the circulation interception control includes at least one of the following: discarding the circulation request of the terminal device, starting the form of the circulation operation corresponding to the target item of the terminal device to prohibit the submission of the task, and changing the device type of the terminal device in the server to a dishonest device. Thus, after the number of the target items that have been circulated by the circulation user reaches the limit, the circulation interception of the terminal device of the circulation user can be performed, so that the circulation request of the circulation user for the target item can be directly restricted, and the abnormal circulation operation of the user can be blocked, thereby improving the system security of the server. In addition, the predicted circulation information obtained by the prediction is a numerical indicator obtained by combining the inertial circulation index and the multi-form circulation index, which can refine the performance granularity of the circulation level and improve the accuracy and precision of the circulation level of the predicted target item. Thus, the accuracy of the circulation interception control can be improved, the circulation requests that the server needs to process are reduced, and the effect of reducing the server load is improved. Thus, the effect of reducing the server load is improved, and the server system security is improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and that components and elements are not necessarily drawn to scale.

[0013] Figure 1 is an architectural diagram of an exemplary system in which some embodiments of the present disclosure may be applied;

[0014] Figure 2 is a flow chart of some embodiments of a terminal device flow control method for a server according to the present disclosure;

[0015] Figure 3 It is a structural schematic diagram of some embodiments of the terminal device flow control device for a server according to the present disclosure;

[0016] Figure 4 It is a schematic diagram of the structure of an electronic device suitable for implementing some embodiments of the present disclosure. DETAILED DESCRIPTION

[0017] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments set forth herein. On the contrary, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.

[0018] It should also be noted that, for ease of description, only the parts related to the invention are shown in the drawings. In the absence of conflict, the embodiments and features in the embodiments of the present disclosure can be combined with each other.

[0019] It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.

[0020] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".

[0021] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.

[0022] The present disclosure will be described in detail below with reference to the accompanying drawings and in conjunction with embodiments.

[0023] Figure 1 An exemplary system architecture 100 of a terminal device flow control method for a server or a terminal device flow control apparatus for a server to which some embodiments of the present disclosure can be applied is shown.

[0024] like Figure 1 As shown, the system architecture 100 may include terminal devices 101, 102, 103, a network 104 and a server 105. The network 104 is used to provide a medium for communication links between the terminal devices 101, 102, 103 and the server 105. The network 104 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc.

[0025] Users can use terminal devices 101, 102, 103 to interact with server 105 through network 104 to receive or send messages, etc. Various communication client applications can be installed on terminal devices 101, 102, 103, such as web browser applications, item circulation applications, search applications, instant messaging tools, email clients, social platform software, etc.

[0026] Terminal devices 101, 102, 103 can be hardware or software. When terminal devices 101, 102, 103 are hardware, they can be various electronic devices with display screens and supporting web browsing, including but not limited to smart phones, tablet computers, e-book readers, laptop computers, desktop computers, etc. When terminal devices 101, 102, 103 are software, they can be installed in the electronic devices listed above. They can be implemented as multiple software or software modules for providing distributed services, or they can be implemented as a single software or software module. No specific limitation is made here.

[0027] The server 105 may be a server that provides various services, such as a background server that provides support for information displayed on the terminal devices 101, 102, and 103. The background server may analyze and process the received request and other data, and feed back the processing results to the terminal device.

[0028] It should be noted that the terminal device flow control method for a server provided in the embodiment of the present disclosure may be executed by the server 105. Accordingly, the terminal device flow control apparatus for a server may be arranged in the server 105.

[0029] It should be noted that the server can be hardware or software. When the server is hardware, it can be implemented as a distributed server cluster consisting of multiple servers, or it can be implemented as a single server. When the server is software, it can be implemented as multiple software or software modules for providing distributed services, or it can be implemented as a single software or software module. No specific limitation is made here.

[0030] It should be understood that Figure 1 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to implementation requirements.

[0031] Continue to refer Figure 2 , shows a process 200 of some embodiments of the terminal device flow control method for a server according to the present disclosure. The terminal device flow control method for a server includes the following steps:

[0032] Step 201, obtaining initial circulation data of a target item within a preset time period.

[0033] In some embodiments, the execution subject of the terminal device flow control method for the server (for example Figure 1The server shown) can obtain the initial circulation data of the target item within a preset time period. Among them, the above-mentioned target item can be an item for which circulation volume is currently predicted. Here, the item can be but not limited to: agricultural products, metals, energy items, and chemical products. The item can also be a virtual item (for example, the virtual item can be a subject, and the subject can be a securities market, or a single security or a single contract). The above-mentioned preset time period includes a first preset time period and a second preset time period. The above-mentioned first preset time period is earlier than the above-mentioned second preset time period. The current time is within the above-mentioned second preset time period. For example, the above-mentioned first preset time period can be the entire month time period of the previous month. The above-mentioned second preset time period can be the entire month time period of the current month. The initial circulation data can be data at the minute level. The initial circulation data can include a circulation volume sequence. The time dimension corresponding to each circulation volume in the circulation volume sequence can be minutes. The circulation volume can be the number of the above-mentioned target items that are successfully circulated (for example, when the target item is soybeans, the circulation volume can be the circulation weight of soybeans in one minute; when the target item is the securities market, the circulation volume can be the total transaction volume of the securities market in one minute; when the target item is a single security, the circulation volume can be the total transaction volume of the single security in one minute).

[0034] Step 202, preprocessing the initial flow data to obtain the preprocessed initial flow data as flow data.

[0035] In some embodiments, the execution entity may pre-process the initial flow data to obtain the pre-processed initial flow data as the flow data.

[0036] In some optional implementations of some embodiments, the execution subject may preprocess the initial flow data through the following steps to obtain the preprocessed initial flow data as the flow data:

[0037] The first step is to perform data format verification on the above-mentioned initial flow data to obtain a data format verification result. In practice, the above-mentioned execution subject can determine whether the time included in the above-mentioned initial flow data is in a preset time format, and can also determine whether the flow volume included in the above-mentioned initial flow data is in a preset numerical format. The data format verification result can include a time format verification result and a flow volume format verification result. The time format verification result and the flow volume format verification result can both be Boolean data.

[0038] The second step is to perform a saturation check on the above initial flow data to obtain a saturation check result. In practice, the above execution entity can determine the time dimension corresponding to each time included in the above initial flow data to obtain a saturation check result. The time dimension may include but is not limited to: day granularity, hour granularity, minute granularity, and second granularity. Usually, the above initial flow data corresponds to the minute granularity, that is, it includes year, month, day, hour, and minute. Here, it is necessary to sample each flow volume of the second granularity to convert it into the flow volume of the minute granularity.

[0039] The third step is to perform data extreme value verification on the above-mentioned initial flow data to obtain the data extreme value verification result. In practice, the above-mentioned execution subject can select each flow amount that meets the preset extreme value condition from the above-mentioned initial flow data as the data extreme value verification result. Among them, the preset extreme value condition can be that the flow amount exceeds the flow amount distribution of the historical same moment by more than a preset number of standard deviations. The preset number can be 3. The historical same moment can be each historical moment that is the same as the moment of the flow amount.

[0040] In the fourth step, according to the above data format verification result, the above initial circulation data is format-corrected to obtain the second circulation data. In practice, the above execution subject can modify the time format of each time in the above initial circulation data to a preset time format in response to determining whether the time format verification result included in the above data format verification result indicates a positive or negative value. It can also modify the numerical format of each circulation amount in the above initial circulation data to a preset numerical format in response to determining whether the circulation amount format verification result included in the above data format verification result indicates a positive or negative value.

[0041] In the fifth step, according to the saturation check result, the second flow data is sampled to obtain the third flow data. In practice, the execution subject can aggregate the flow amounts corresponding to the second time dimension in the second flow data according to the minute granularity to obtain the third flow data.

[0042] Step 6: According to the data extreme value verification result, the third circulation data is cleaned for abnormalities to obtain circulation data. In practice, for each circulation amount in the data extreme value verification result, the execution subject can replace the circulation amount in the third circulation data with the average of each circulation amount of the target item at each historical moment that is the same as the moment corresponding to the circulation amount, so as to clean the third circulation data for abnormalities and obtain circulation data. Thus, the initial circulation data can be preprocessed in terms of format, time granularity and data distribution to improve the standardization of the circulation data.

[0043] Step 203: Generate first inertial flow information corresponding to the current time and second inertial flow information corresponding to the end time according to the flow data.

[0044] In some embodiments, the execution entity may generate first inertial flow information corresponding to the current time and second inertial flow information corresponding to the end time according to the flow data.

[0045] In some optional implementations of some embodiments, the execution subject may generate the first inertial flow information corresponding to the current time and the second inertial flow information corresponding to the end time according to the flow data through the following steps:

[0046] The first step is to select a circulation day from the first preset time period as the first circulation day according to the circulation data to obtain a first circulation day set.

[0047] The second step is to select the circulation days from the second preset time period as the second circulation days according to the circulation data, and obtain the second circulation day set.

[0048] In a third step, the number of each first circulation day included in the above-mentioned first circulation day set is determined as the first number.

[0049] In the fourth step, the number of each second circulation day included in the above second circulation day set is determined as the second number.

[0050] Step 5: For each first circulation day in the above first circulation day set, perform the following steps:

[0051] The first sub-step is to determine the weight coefficient corresponding to the first turnover day as the first weight coefficient. In practice, the weight coefficient corresponding to the first turnover day can be determined by using an exponentially weighted moving average method.

[0052] In the second sub-step, the circulation amount corresponding to the first circulation day and the current time included in the circulation data is determined as the first circulation amount. The circulation amount corresponding to the first circulation day and the current time can be the circulation amount whose corresponding year, month and day in the circulation data is the year, month and day corresponding to the first circulation day and whose corresponding time is the current time. The current time can be a time with minute granularity, that is, it can be the current time.

[0053] The third sub-step is to determine the product of the first weight coefficient and the first flow amount as the first flow component.

[0054] Step 6, determining the ratio of the sum of the determined first flow components to the first quantity as the first flow mean;

[0055] Step 7: For each second turnover day in the above second turnover day set, perform the following steps:

[0056] The first sub-step is to determine the weight coefficient corresponding to the second turnover day as the second weight coefficient. In practice, the weight coefficient corresponding to the second turnover day can be determined by using an exponentially weighted moving average method.

[0057] The second sub-step is to determine the circulation volume corresponding to the second circulation day and the current time included in the circulation data as the second circulation volume.

[0058] The third sub-step is to determine the product of the second weight coefficient and the second flow amount as the second flow component.

[0059] In the eighth step, the ratio of the sum of the determined second flow components to the second quantity is determined as the second flow mean.

[0060] In the ninth step, the average of the first circulation average and the second circulation average is determined as the first inertial circulation information corresponding to the current time. Thus, the inertial circulation index at the current time can be determined by comprehensively considering factors such as historical data performance, liquidity fluctuations, and short- to medium-term trend changes.

[0061] Step 10: For each first circulation day in the above first circulation day set, perform the following steps:

[0062] In the first sub-step, the circulation volume corresponding to the first circulation day and the end time included in the circulation data is determined as the third circulation volume. Here, the end time may be a time preset on the day to stop the circulation of the target item. The end time may be a time with a granularity of minutes, that is, it may be the end time. The end time and the current time are the time of the same day.

[0063] In the second sub-step, the product of the first weight coefficient corresponding to the first circulation day and the third circulation amount is determined as the third circulation component.

[0064] In the eleventh step, the ratio of the sum of the determined third flow components to the first quantity is determined as the third flow mean.

[0065] Step 12: For each second turnover day in the above second turnover day set, perform the following steps:

[0066] The first sub-step is to determine the circulation volume corresponding to the second circulation day and the end time included in the circulation data as the fourth circulation volume.

[0067] In the second sub-step, the product of the second weight coefficient corresponding to the second circulation day and the fourth circulation amount is determined as the fourth circulation component.

[0068] In the thirteenth step, the ratio of the sum of the determined fourth flow components to the second quantity is determined as the fourth flow mean.

[0069] Step 14: The average of the third circulation average and the fourth circulation average is determined as the second inertial circulation information corresponding to the end time. Thus, the inertial circulation index at the end of the day can be determined by comprehensively considering factors such as historical data performance, liquidity fluctuations, and short-term and medium-term trend changes.

[0070] In some optional implementations of some embodiments, the execution subject may select a circulation day from the first preset time period as the first circulation day according to the circulation data through the following steps to obtain a first circulation day set:

[0071] The first step is to perform the following steps for each daily granularity time in the first preset time period:

[0072] The first sub-step is to determine each flow volume corresponding to the daily granularity time in the flow data as a flow volume set. For example, the daily granularity time may be a day of the previous month.

[0073] The second sub-step is to determine the mean of each flow volume in the above flow volume set as the mean of the flow volume corresponding to the above daily granularity time.

[0074] The third sub-step is to determine the number of each flow time included in the daily granular time as the total time number. Here, the flow time can be the time when the flow occurs in the daily granular time.

[0075] The fourth sub-step is to perform the following steps for each flow time included in the above-mentioned daily granularity time:

[0076] First, the flow volume corresponding to the above-mentioned flow time in the above-mentioned flow volume set is determined as the flow volume to be compared.

[0077] Second, the difference between the turnover amount to be compared and the average turnover amount is determined as the comparison value.

[0078] In the fifth sub-step, the sum of the obtained comparison values ​​is determined as the comparison value sum.

[0079] The sixth sub-step is to generate a volatility according to the comparison value and the total time. In practice, the execution entity may determine the difference between the total time and 1 as the update time. Then, the ratio of the comparison value and the update time may be determined as the initial volatility. Finally, the first power of the initial volatility may be determined as the volatility.

[0080] In a seventh sub-step, in response to determining that the volatility satisfies a preset volatility condition, the daily granularity time is determined as the first turnover day. The preset volatility condition may be that the volatility is less than a preset volatility threshold. For example, the preset volatility threshold may be 0.2.

[0081] In the second step, each of the determined first turnover days is determined as a first turnover day set. Thus, the turnover days whose volatility of the turnover amount in the first preset time period meets the conditions can be screened. It should be noted that the method of screening the second turnover day set from the second preset time period can refer to the above-mentioned first step to the second step, which will not be repeated here.

[0082] Step 204, generating multi-form flow information corresponding to the end time according to the flow data.

[0083] In some embodiments, the execution entity may generate multi-format flow information corresponding to the end time according to the flow data.

[0084] In some optional implementations of some embodiments, the execution subject may generate multi-form flow information corresponding to the end time according to the flow data through the following steps:

[0085] In the first step, for each shape type in the preset shape type set, perform the following steps:

[0086] The first sub-step is to generate the predicted morphological flow information corresponding to the above-mentioned end time according to the above-mentioned morphological type. Among them, the above-mentioned morphological type set can be a function morphology for predicting the flow volume. The above-mentioned morphological type set can include but is not limited to at least one of the following: linear morphology, logarithmic morphology, polynomial morphology, power morphology, autoregressive morphology (differential autoregressive). Each morphological type can correspond to a pre-built flow volume prediction formula. In practice, the above-mentioned execution subject can input the above-mentioned end time as an independent variable into the flow volume prediction formula corresponding to the above-mentioned morphological type, and obtain the predicted flow volume as the predicted morphological flow information corresponding to the above-mentioned end time.

[0087] The second sub-step is to generate a morphological weight coefficient corresponding to the above morphological type according to the above circulation data and the above morphological type. In practice, the above executor may determine the morphological weight coefficient corresponding to the above morphological type by linear fitting. The independent variable may be the predicted circulation volume corresponding to the morphological type, and the dependent variable may be the actual circulation volume. The coefficient may be a morphological weight coefficient. The historical circulation volume data may be learned by regression and the optimal value of the morphological weight coefficient may be determined.

[0088] The third sub-step is to determine the product of the predicted morphological flow information and the morphological weight coefficient as the morphological flow component information.

[0089] In the second step, the sum of the determined flow component information of each form is determined as the multi-form flow information corresponding to the end time. In this way, the flow volume prediction results of multiple form type functions can be fused to determine the multi-form fusion index value at the end time. The flow volume prediction results of the fusion of multiple form type functions can more comprehensively and accurately reflect the predicted flow volume of the end time, and can refine the performance granularity of the flow level of the end time, thereby improving the accuracy and precision of the predicted flow level of the end time, thereby improving the accuracy and precision of the predicted flow information of the predicted end time. In addition, the accuracy of the final flow interception control can be improved, and the flow requests that the server needs to process are reduced, thereby improving the effect of reducing the server load.

[0090] In some optional implementations of some embodiments, the execution subject may generate a morphology weight coefficient corresponding to the morphology type according to the flow data and the morphology type through the following steps:

[0091] In the first step, for each shape type in the preset shape type set, perform the following steps:

[0092] The first sub-step is to determine the historical average flow volume information of the above-mentioned flow data corresponding to the preset time window. The preset time window can be a preset historical moment length. For example, the preset time window can be 45, which can represent the past 45 minutes. In practice, the above-mentioned execution entity can determine the mean of each flow volume in the above-mentioned flow data within the above-mentioned preset time window as the historical average flow volume information.

[0093] The second sub-step is to generate predicted morphological flow information corresponding to each time in the preset time window according to the above morphological type, and obtain a set of predicted morphological flow information. Each time in the preset time window can be every minute. In practice, the above execution subject can input the above time as an independent variable into the flow volume prediction formula corresponding to the above morphological type, and obtain the predicted flow volume as the predicted morphological flow information. In this way, a set of predicted morphological flow information can be obtained.

[0094] The third sub-step is to determine the mean of the above-mentioned predicted morphology flow information set as the average predicted morphology flow information.

[0095] The fourth sub-step is to determine the step length coefficient as the power of one-half of the step length of the preset time window.

[0096] The fifth sub-step is to perform the following steps for each time in the above preset time window:

[0097] First, the flow amount corresponding to the above time in the above flow data is determined as a first value.

[0098] Second, the difference between the first value and the historical average flow volume information is determined as the second value.

[0099] Third, the predicted morphology flow information corresponding to the above-mentioned time in the above-mentioned predicted morphology flow information set is determined as a third value.

[0100] Fourth, the difference between the third value and the average predicted morphological flow information is determined as a fourth value.

[0101] Fifth, the product of the second value and the fourth value is determined as a fifth value.

[0102] Sixth, the square of the second value is determined as the sixth value.

[0103] Seventh, the square of the fourth value is determined as the seventh value.

[0104] Eighth, the square of the difference between the first value and the third value is determined as an eighth value.

[0105] In the sixth sub-step, the sum of the obtained fifth values ​​is determined as the ninth value.

[0106] In the seventh sub-step, the product of the step size coefficient and the ninth value is determined as the tenth value.

[0107] In the eighth sub-step, the sum of the obtained sixth numerical values ​​is determined as the first sum value.

[0108] In a ninth sub-step, the sum of the obtained seventh numerical values ​​is determined as a second added value.

[0109] In the tenth sub-step, the sum of the obtained eighth numerical values ​​is determined as the third added value.

[0110] In the eleventh sub-step, the denominator value is determined as the power of half of the product of the first sum, the second sum and the third sum.

[0111] In the twelfth sub-step, the ratio of the tenth value to the denominator value is determined as the initial morphology weight coefficient.

[0112] In the second step, the sum of the obtained initial form weight coefficients is determined as the weight coefficient sum value.

[0113] In the third step, for each morphology type in the above morphology type set, the ratio of the initial morphology weight coefficient corresponding to the above morphology type to the sum of the above weight coefficients is determined as the morphology weight coefficient corresponding to the above morphology type. Thus, the weight coefficient corresponding to each morphology type can be determined by the difference between the predicted flow volume and the actual flow volume of each function morphology within the specified time window, so as to improve the weight of the morphology type with higher prediction accuracy. As a result, the flow volume prediction results of the fused functions of multiple morphology types can more comprehensively and accurately reflect the predicted flow volume at the end time, refine the expression granularity of the flow level at the end time, improve the accuracy and precision of the predicted flow level at the end time, and thus improve the accuracy and precision of the predicted flow information at the predicted end time. In addition, the accuracy of the final flow interception control can be improved, the flow requests that the server needs to process are reduced, and the effect of reducing the server load is improved.

[0114] Step 205 , generating predicted flow information corresponding to the end time according to the first inertial flow information, the second inertial flow information, the multi-form flow information and the real-time flow information corresponding to the current time.

[0115] In some embodiments, the execution subject may generate predicted flow information corresponding to the end time based on the first inertial flow information, the second inertial flow information, the multi-form flow information, and the real-time flow information corresponding to the current time. The predicted flow information may represent the final flow volume after the end time of the day.

[0116] In some optional implementations of some embodiments, the execution subject may generate the predicted flow information corresponding to the end time according to the first inertial flow information, the second inertial flow information, the multi-form flow information and the real-time flow information corresponding to the current time through the following steps:

[0117] In the first step, a product of a first preset coefficient, the real-time flow information and the second inertial flow information is determined as a first product.

[0118] In a second step, a ratio of the first product to the first inertial flow information is determined as a first ratio.

[0119] In the third step, the product of the second preset coefficient and the above-mentioned multi-form flow information is determined as the second product. Here, the first preset coefficient and the second preset coefficient can be trained or determined by fitting functions based on the flow volume in the past period of time and the actual final flow volume after the end time. The fitting function can include but is not limited to: neural network MLPRegressor, linear regression, nonlinear regression.

[0120] In the fourth step, the sum of the first ratio and the second product is determined as the predicted circulation information corresponding to the end time. Thus, the final circulation volume after the end of the day can be predicted. Also, because the predicted circulation information obtained is a numerical indicator obtained by combining the inertial circulation index and the multi-form circulation index, the granularity of the circulation level can be refined, and the accuracy and precision of the predicted circulation level of the target item can be improved. Thus, the accuracy of the circulation interception control can be improved, and the circulation requests that the server needs to process can be reduced, thereby improving the effect of reducing the server load.

[0121] Step 206, in response to determining that the predicted circulation information meets the preset threshold condition, the circulation quantity of the circulation user corresponding to the target item is reconfigured to obtain an updated circulation quantity.

[0122] In some embodiments, the above-mentioned execution subject may, in response to determining that the above-mentioned predicted circulation information satisfies a preset threshold condition, reconfigure the circulation quantity of the circulation user corresponding to the above-mentioned target item to obtain an updated circulation quantity. Among them, the above-mentioned preset threshold condition may be that the predicted circulation information is less than the preset threshold. The circulation user may be any user who can circulate the above-mentioned target item. The above-mentioned circulation user may own the above-mentioned target item. The circulation quantity of the circulation user corresponding to the above-mentioned target item may be the total quantity of the above-mentioned target items that can be circulated by all circulation users. In practice, the above-mentioned execution subject may determine the preset value as the circulation quantity corresponding to the above-mentioned target item to reconfigure the circulation quantity of the circulation user corresponding to the above-mentioned target item to obtain an updated circulation quantity.

[0123] Step 207, in response to detecting that the circulated quantity of the target item corresponding to the circulation user after the reconfiguration is equal to the updated circulation quantity, circulation interception control is performed on the terminal device corresponding to the circulation user.

[0124] In some embodiments, the execution subject may perform flow interception control on the terminal device corresponding to the circulation user in response to detecting that the circulated quantity corresponding to the circulation user after reconfiguration is equal to the updated flow quantity. Among them, the circulated quantity corresponding to the target item of the circulation user may be the total quantity of the target item circulated by all circulation users who can circulate the target item after the flow quantity of the target item is reconfigured. Terminal device flow control can be understood as flow interception control on the terminal device. The flow interception control may include but is not limited to at least one of the following: discarding the flow request of the terminal device, prohibiting the submission of the form for the circulation operation of the terminal device corresponding to the target item, and changing the device type of the terminal device in the server to a dishonest device.

[0125] In some optional implementations of some embodiments, the execution subject may perform flow interception control on the terminal device corresponding to the flow user through the following steps:

[0126] The first step is to send a form submission prohibition message corresponding to the circulation operation of the target item to each terminal device corresponding to the target item, so as to perform initial circulation interception on the terminal device corresponding to the circulation user. The form submission prohibition message can be a message indicating that the terminal device is prohibited from submitting a form for circulating the target item. After the terminal device receives the form submission prohibition message, the front-end script logic can be used to prohibit the submission of the form for circulating the target item, that is, to initiate the form submission prohibition task for the circulation operation of the target item corresponding to the terminal device.

[0127] In the second step, in response to detecting a transfer request sent by any terminal device after the above initial transfer interception, the following steps are performed:

[0128] The first sub-step is to determine the pre-stored device fingerprint information corresponding to the above-mentioned circulation operation of any of the above-mentioned terminal devices. The above-mentioned device fingerprint information may be verification information for the circulation operation performed by any of the above-mentioned terminal devices on the above-mentioned target item. The above-mentioned device fingerprint information may include but is not limited to at least one of the following: item identification, operation type, browser type, operating system version, screen resolution, and IP address. In practice, the above-mentioned execution subject may obtain device fingerprint information from a database, including an item identification of the above-mentioned target item, an operation type of a circulation operation, and an IP address of the above-mentioned terminal device.

[0129] The second sub-step is to change the available state of the above device fingerprint information to a disabled state. It should be noted that the device fingerprint information in the disabled state cannot be used to verify the flow operation of the terminal device.

[0130] The third step is to identify any of the above terminal devices as untrustworthy devices. In this way, the transfer request of the terminal device can be initially intercepted at the front end by prohibiting the submission of the form. If a transfer user maliciously modifies the front-end script at the front end of the terminal device, it can be identified as an abnormal transfer operation, and then the device fingerprint information of the terminal device can be directly disabled, so that the abnormal transfer operation of the terminal device can still be effectively intercepted when there is a malicious attack. At the same time, the terminal device can be directly identified as a untrustworthy device, reducing the number of network attacks caused by users maliciously modifying the front-end script at the front end of the terminal device, and further improving the security of the server system.

[0131] Optionally, the above execution entity may further perform the following steps:

[0132] The first step is to determine whether the terminal device is a trusted device in response to receiving a circulation request corresponding to the target item sent by the terminal device and the predicted circulation information does not meet the preset threshold condition.

[0133] In the second step, in response to determining that the terminal device is a trusted device, the fingerprint information of the device to be verified is obtained by parsing the transfer request. The various attributes included in the fingerprint information of the device to be verified may correspond to the various attributes included in the device fingerprint information.

[0134] The third step is to determine the pre-stored available device fingerprint information corresponding to the terminal device and the transfer operation. In practice, the execution subject can obtain from the database the device fingerprint information including the item identifier included in the device fingerprint information to be verified, the operation type included in the device fingerprint information to be verified, and the IP address included in the device fingerprint information to be verified.

[0135] The fourth step is to verify the above-mentioned device fingerprint information to be verified according to the determined device fingerprint information to obtain the verification result. In practice, the above-mentioned execution subject can determine the preset information representing the successful verification as the verification result in response to determining that the attribute values ​​corresponding to the various attributes included in the device fingerprint information to be verified are the same as the attribute values ​​corresponding to the various attributes included in the above-mentioned device fingerprint information. For example, the preset information representing the successful verification can be "S". The above-mentioned execution subject can determine the preset information representing the failure of the verification as the verification result in response to determining that the attribute values ​​corresponding to any attribute included in the device fingerprint information to be verified are different from the attribute values ​​corresponding to any of the above-mentioned attributes included in the above-mentioned device fingerprint information. For example, the preset information representing the failure of the verification can be "F".

[0136] The fifth step is to execute the transfer operation corresponding to the transfer request in response to determining that the verification result indicates that the verification is successful. In practice, the execution subject can execute the transfer task of the target item according to the transfer quantity included in the transfer request. Specifically, the transfer task can be encapsulated in the transfer interface, and the execution logic of the transfer task can be pre-implemented in the implementation code of the transfer interface. Here, there is no limitation on the specific execution logic of the transfer task. Thus, when there is no need to limit the circulation amount of the target item, after receiving the transfer request of the terminal device, first determine whether the terminal device is a trusted device, and then verify it according to the device fingerprint information. Only after the verification is successful can the terminal device respond to the request for the transfer of the target item, so that the transfer request of the terminal device with abnormal transfer operation can be discarded, and the abnormal transfer operation of the terminal device can be effectively intercepted, reducing the number of network attacks caused by users maliciously modifying the front-end script at the front end of the terminal device, and further improving the security of the system.

[0137] The above-mentioned embodiments of the present disclosure have the following beneficial effects: through the terminal device flow control method for the server in some embodiments of the present disclosure, the effect of reducing the server load is improved, and the server system security is improved. Specifically, the reason for the poor effect of reducing the server load and the high security risk of the server system is that the category label has a coarse expression granularity for the flow level, the accuracy and precision of the determined flow level are poor, resulting in poor accuracy of the flow reduction decision determined according to the flow level, and the server bears more flow requests, resulting in poor effect of reducing the server load; in addition, the flow control is only performed by issuing a warning to the user, and the user's own abnormal flow operation cannot be intercepted, resulting in a high system security risk (for example, the number of network attacks on the server system caused by malicious modification of the front-end script by the user when performing an abnormal flow operation is high). Based on this, the terminal device flow control method for the server in some embodiments of the present disclosure, first, obtain the initial flow data of the target item within a preset time period, wherein the preset time period includes a first preset time period and a second preset time period, the first preset time period is earlier than the second preset time period, and the current time is within the second preset time period. Thus, the source data for predicting flow information can be obtained. Then, the initial circulation data is preprocessed to obtain the preprocessed initial circulation data as the circulation data. Thus, the acquired source data can be preprocessed before prediction. Secondly, according to the circulation data, the first inertial circulation information corresponding to the current time and the second inertial circulation information corresponding to the end time are generated. Thus, the inertial circulation information at the current moment and the end moment can be generated, and the inertial circulation information can characterize the comprehensive circulation level of the target item at the corresponding moment affected by the historical data performance, liquidity fluctuations, and trend changes. Then, according to the circulation data, the multi-form circulation information corresponding to the end time is generated. Thus, the fusion circulation level of the target item affected by different types of circulation behaviors and circulation trends at the end moment can be generated. Secondly, according to the first inertial circulation information, the second inertial circulation information, the multi-form circulation information and the real-time circulation information corresponding to the current time, the predicted circulation information corresponding to the end time is generated. Thus, the inertial circulation index and the multi-form circulation index can be fused to predict the final circulation information after the end moment. Then, in response to determining that the predicted circulation information meets the preset threshold condition, the circulation quantity of the circulation user corresponding to the target item is reconfigured to obtain an updated circulation quantity. Thus, the quantity of the target item that can be circulated by the circulation user can be limited by reconfiguration.Finally, in response to detecting that the number of the target items that have been circulated by the circulation user after the reconfiguration is equal to the updated circulation number, the terminal device corresponding to the circulation user is subjected to circulation interception control, wherein the circulation interception control includes at least one of the following: discarding the circulation request of the terminal device, starting the form of the circulation operation corresponding to the target item of the terminal device to prohibit the submission of the task, and changing the device type of the terminal device in the server to a dishonest device. Thus, after the number of the target items that have been circulated by the circulation user reaches the limit, the circulation interception of the terminal device of the circulation user can be performed, so that the circulation request of the circulation user for the target item can be directly restricted, and the abnormal circulation operation of the user can be blocked, thereby improving the system security of the server. In addition, the predicted circulation information obtained by the prediction is a numerical indicator obtained by combining the inertial circulation index and the multi-form circulation index, which can refine the performance granularity of the circulation level and improve the accuracy and precision of the circulation level of the predicted target item. Thus, the accuracy of the circulation interception control can be improved, the circulation requests that the server needs to process are reduced, and the effect of reducing the server load is improved. Thus, the effect of reducing the server load is improved, and the server system security is improved.

[0138] Further references Figure 3 As an implementation of the methods shown in the above figures, the present disclosure provides some embodiments of a terminal device flow control device for a server, and these device embodiments are Figure 2 Corresponding to the method embodiments shown, the device can be specifically applied to various electronic devices.

[0139] like Figure 3As shown, in some embodiments, the terminal device circulation control device 300 for a server includes: an acquisition unit 301, a processing unit 302, a first generation unit 303, a second generation unit 304, a third generation unit 305, a configuration unit 306 and a control unit 307. The acquisition unit 301 is configured to acquire the initial circulation data of the target item within a preset time period, wherein the preset time period includes a first preset time period and a second preset time period, the first preset time period is earlier than the second preset time period, and the current time is within the second preset time period; the processing unit 302 is configured to pre-process the initial circulation data to obtain the pre-processed initial circulation data as the circulation data; the first generation unit 303 is configured to generate, according to the circulation data, first inertial circulation information corresponding to the current time and second inertial circulation information corresponding to the end time; the second generation unit 304 is configured to generate, according to the circulation data, multi-form circulation information corresponding to the end time; the third generation unit 305 is configured to generate, according to the first inertial circulation information, the second inertial circulation information corresponding to the end time, The configuration unit 306 is configured to reconfigure the circulation quantity of the circulation user corresponding to the above target item in response to determining that the above predicted circulation information meets the preset threshold condition, and obtain an updated circulation quantity; the control unit 307 is configured to perform circulation interception control on the terminal device corresponding to the circulation user in response to detecting that the circulation quantity of the above target item corresponding to the circulation user after reconfiguration is equal to the updated circulation quantity, wherein the circulation interception control includes at least one of the following: discarding the circulation request of the terminal device, prohibiting the submission of the form for the circulation operation of the terminal device corresponding to the above target item, and changing the device type of the terminal device in the server to a dishonest device.

[0140] It is understood that the units described in the device 300 are similar to those described in the reference Figure 2 Therefore, the operations, features and beneficial effects described above for the method are also applicable to the device 300 and the units contained therein, and will not be described in detail here.

[0141] Reference below Figure 4 , which shows an electronic device 400 (eg, Figure 1 A schematic diagram of the structure of the server in FIG. Figure 4 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0142] like Figure 4As shown, the electronic device 400 may include a processing device 401 (e.g., a central processing unit, a graphics processing unit, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 402 or a program loaded from a storage device 408 into a random access memory (RAM) 403. In the RAM 403, various programs and data required for the operation of the electronic device 400 are also stored. The processing device 401, the ROM 402, and the RAM 403 are connected to each other via a bus 404. An input / output (I / O) interface 405 is also connected to the bus 404.

[0143] Typically, the following devices may be connected to the I / O interface 405: an input device 406 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 407 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 408 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 409. The communication device 409 may allow the electronic device 400 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 4 The electronic device 400 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead. Figure 4 Each block shown in the figure may represent one device, or may represent multiple devices as required.

[0144] In particular, according to some embodiments of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, some embodiments of the present disclosure include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In some such embodiments, the computer program can be downloaded and installed from the network through the communication device 409, or installed from the storage device 408, or installed from the ROM 402. When the computer program is executed by the processing device 401, the above-mentioned functions defined in the method of some embodiments of the present disclosure are executed.

[0145] It should be noted that the computer-readable medium recorded in some embodiments of the present disclosure may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In some embodiments of the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In some embodiments of the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.

[0146] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.

[0147] The above-mentioned computer-readable medium may be included in the above-mentioned electronic device; or it may exist independently without being installed in the electronic device. The above-mentioned computer-readable medium carries one or more programs. When the above-mentioned one or more programs are executed by the electronic device, the electronic device: obtains the initial circulation data of the target item within a preset time period, wherein the above-mentioned preset time period includes a first preset time period and a second preset time period, the above-mentioned first preset time period is earlier than the above-mentioned second preset time period, and the current time is within the above-mentioned second preset time period; pre-processes the above-mentioned initial circulation data to obtain the pre-processed initial circulation data as circulation data; generates the first inertial circulation information corresponding to the above-mentioned current time and the second inertial circulation information corresponding to the end time according to the above-mentioned circulation data; generates multi-form circulation information corresponding to the end time according to the above-mentioned circulation data; generates the multi-form circulation information corresponding to the end time according to the above-mentioned first inertial circulation information , the second inertial flow information, the multi-form flow information and the real-time flow information corresponding to the current time, generate the predicted flow information corresponding to the end time; in response to determining that the predicted flow information meets the preset threshold condition, reconfigure the flow quantity of the flow user corresponding to the target item to obtain an updated flow quantity; in response to detecting that the flow quantity of the target item corresponding to the flow user after the reconfiguration is equal to the updated flow quantity, perform flow interception control on the terminal device corresponding to the flow user, wherein the flow interception control includes at least one of the following: discarding the flow request of the terminal device, prohibiting the submission of the form for the flow operation of the terminal device corresponding to the target item, and changing the device type of the terminal device in the server to a dishonest device.

[0148] Computer program code for performing the operations of some embodiments of the present disclosure may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0149] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0150] The units described in some embodiments of the present disclosure may be implemented by software or hardware. The described units may also be set in a processor, for example, it may be described as: a processor includes an acquisition unit, a processing unit, a first generation unit, a second generation unit, a third generation unit, a configuration unit and a control unit. The names of these units do not constitute a limitation on the units themselves in some cases. For example, the acquisition unit may also be described as "a unit for acquiring initial circulation data of a target item within a preset time period".

[0151] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.

[0152] The above descriptions are only some preferred embodiments of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of the invention involved in the embodiments of the present disclosure is not limited to the technical solutions formed by a specific combination of the above-mentioned technical features, but should also cover other technical solutions formed by any combination of the above-mentioned technical features or their equivalent features without departing from the above-mentioned inventive concept. For example, the above-mentioned features are replaced with the technical features with similar functions disclosed in the embodiments of the present disclosure (but not limited to) and the technical solutions formed.

Claims

1. A terminal device flow control method for a server, comprising: Acquire initial circulation data of a target item within a preset time period, wherein the preset time period includes a first preset time period and a second preset time period, the first preset time period is earlier than the second preset time period, and the current time is within the second preset time period; Preprocessing the initial flow data to obtain the preprocessed initial flow data as flow data; generating, according to the flow data, first inertial flow information corresponding to the current time and second inertial flow information corresponding to the end time; Generate multi-form flow information corresponding to the end time according to the flow data; generating predicted flow information corresponding to the end time according to the first inertial flow information, the second inertial flow information, the multi-form flow information and the real-time flow information corresponding to the current time; In response to determining that the predicted circulation information meets a preset threshold condition, reconfiguring the circulation quantity of the circulation user corresponding to the target item to obtain an updated circulation quantity; In response to detecting that the circulation quantity corresponding to the target item of the circulation user after reconfiguration is equal to the updated circulation quantity, circulation interception control is performed on the terminal device corresponding to the circulation user, wherein the circulation interception control includes at least one of the following: discarding the circulation request of the terminal device, prohibiting the submission of the task of the form that initiates the circulation operation of the terminal device corresponding to the target item, and changing the device type of the terminal device in the server to a untrustworthy device.

2. The method according to claim 1, wherein: The flow interception control of the terminal device corresponding to the flow user includes: Sending a form submission prohibition message corresponding to the circulation operation of the target item to each terminal device corresponding to the target item, so as to perform initial circulation interception on the terminal device corresponding to the circulation user; In response to detecting a flow transfer request sent by any terminal device after the initial flow transfer interception, the following steps are performed: Determine pre-stored device fingerprint information of the arbitrary terminal device corresponding to the flow operation; Modify the available state of the device fingerprint information to a disabled state; Determine the arbitrary terminal device as a dishonest device.

3. The method according to claim 2, wherein: The method further comprises: In response to receiving a circulation request corresponding to the target item sent by a terminal device, and the predicted circulation information does not meet the preset threshold condition, determining whether the terminal device is a trusted device; In response to determining that the terminal device is a trusted device, parsing the transfer request to obtain fingerprint information of the device to be verified; Determining pre-stored available device fingerprint information corresponding to the terminal device and the flow operation; According to the determined device fingerprint information, the fingerprint information of the device to be verified is verified to obtain a verification result; In response to determining that the verification result indicates that the verification is successful, a transfer operation corresponding to the transfer request is performed.

4. The method according to claim 1, wherein: The preprocessing of the initial flow data to obtain the preprocessed initial flow data as the flow data includes: Performing data format verification on the initial flow data to obtain a data format verification result; Performing a saturation check on the initial flow data to obtain a saturation check result; Performing data extreme value verification on the initial circulation data to obtain a data extreme value verification result; According to the data format verification result, format correction processing is performed on the initial flow data to obtain second flow data; According to the saturation check result, performing data sampling processing on the second flow data to obtain third flow data; According to the data extreme value verification result, the third circulation data is subjected to abnormal cleaning processing to obtain circulation data.

5. The method according to claim 1, wherein: The step of generating first inertial flow information corresponding to the current time and second inertial flow information corresponding to the end time according to the flow data includes: According to the circulation data, a circulation day is selected from the first preset time period as a first circulation day to obtain a first circulation day set; According to the circulation data, selecting a circulation day from the second preset time period as a second circulation day to obtain a second circulation day set; Determine the number of each first circulation day included in the first circulation day set as a first number; determining the number of each second circulation day included in the second circulation day set as a second number; For each first circulation day in the first circulation day set, perform the following steps: Determine the weight coefficient corresponding to the first circulation day as the first weight coefficient; determining the circulation amount corresponding to the first circulation day and the current time included in the circulation data as the first circulation amount; determining a product of the first weight coefficient and the first flow amount as a first flow component; Determine a ratio of the sum of the determined first flow components to the first quantity as a first flow mean; For each second turnover day in the second turnover day set, perform the following steps: Determining the weight coefficient corresponding to the second circulation day as a second weight coefficient; determining the circulation amount corresponding to the second circulation day and the current time included in the circulation data as the second circulation amount; determining a product of the second weight coefficient and the second flow amount as a second flow component; Determine a ratio of the sum of the determined second flow components to the second quantity as a second flow mean; An average of the first flow average and the second flow average is determined as first inertial flow information corresponding to the current time.

6. The method according to claim 5, wherein: The generating, according to the flow data, first inertial flow information corresponding to the current time and second inertial flow information corresponding to the end time, further comprises: For each first circulation day in the first circulation day set, perform the following steps: determining the circulation amount corresponding to the first circulation date and the end time included in the circulation data as a third circulation amount; determining a third circulation component by multiplying a first weight coefficient corresponding to the first circulation day and the third circulation amount; determining a ratio of the sum of the determined third flow components to the first quantity as a third flow mean; For each second turnover day in the second turnover day set, perform the following steps: determining the circulation amount corresponding to the second circulation day and the end time included in the circulation data as a fourth circulation amount; determining a fourth circulation component by multiplying a second weight coefficient corresponding to the second circulation day and the fourth circulation amount; determining a ratio of the sum of the determined fourth flow components to the second quantity as a fourth flow mean; An average of the third flow average and the fourth flow average is determined as second inertial flow information corresponding to the end time.

7. The method according to claim 5, wherein: The step of selecting a circulation day from the first preset time period as a first circulation day according to the circulation data to obtain a first circulation day set includes: For each daily granularity time in the first preset time period, perform the following steps: Determine each flow amount corresponding to the daily granularity time in the flow data as a flow amount set; Determine the mean of each flow amount in the flow amount set as the mean of the flow amount corresponding to the daily granularity time; Determine the number of each flow time included in the daily granular time as the total time number; For each flow time included in the daily granularity time, perform the following steps: Determine the flow volume corresponding to the flow time in the flow volume set as the flow volume to be compared; Determine the difference between the turnover amount to be compared and the mean value of the turnover amount as a comparison value; Determine the sum of the obtained comparison values ​​as the comparison value sum; Generate volatility according to the comparison value and the total time; In response to determining that the fluctuation rate satisfies a preset fluctuation condition, determining the daily granularity time as a first circulation day; The determined first circulation days are determined as a first circulation day set.

8. A terminal device flow control device for a server, comprising: an acquisition unit, configured to acquire initial circulation data of a target item within a preset time period, wherein the preset time period includes a first preset time period and a second preset time period, the first preset time period is earlier than the second preset time period, and the current time is within the second preset time period; a processing unit configured to preprocess the initial flow data to obtain the preprocessed initial flow data as flow data; A first generating unit is configured to generate first inertial flow information corresponding to the current time and second inertial flow information corresponding to an end time according to the flow data; A second generating unit is configured to generate multi-form flow information corresponding to an end time according to the flow data; a third generating unit configured to generate predicted flow information corresponding to the end time according to the first inertial flow information, the second inertial flow information, the multi-form flow information and the real-time flow information corresponding to the current time; a configuration unit configured to, in response to determining that the predicted circulation information satisfies a preset threshold condition, reconfigure the circulation quantity of the circulation user corresponding to the target item to obtain an updated circulation quantity; The control unit is configured to perform flow interception control on the terminal device corresponding to the circulation user in response to detecting that the flow quantity corresponding to the target item of the circulation user after reconfiguration is equal to the updated flow quantity, wherein the flow interception control includes at least one of the following: discarding the flow request of the terminal device, prohibiting the submission of the task of the form that initiates the flow operation of the terminal device corresponding to the target item, and changing the device type of the terminal device in the server to a dishonest device.

9. An electronic device, comprising: one or more processors; a storage device having one or more programs stored thereon, When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 7.

10. A computer readable medium having a computer program stored thereon, wherein: When the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Flow quantity prediction multi-time-sequence model generation method, information sending method and device

    CN113408797A

  • Article scheduling method, device and equipment and computer readable medium

    CN115759926A

  • Article transportation method and device, electronic equipment and computer readable medium

    CN117151564A

  • Article circulation information processing method, device and equipment and computer readable medium

    CN117689412A

  • Replenishment information generation method, device and equipment, computer readable medium and product

    CN118863764A

Cited By

  • Terminal equipment control method and device, electronic equipment and computer readable medium

    CN121435092A