Temporary reminding method and device for adaptive adjustment of monitoring threshold, equipment and medium

By configuring the cache area and setting monitoring thresholds in the management server, generating and pushing reminder information, the problem of low efficiency in sending reminder messages in the prior art is solved, the accuracy and flexibility of reminder messages are improved, and the system performance consumption is reduced.

CN119579060APending Publication Date: 2025-03-07SHENZHEN LEXIN SOFTWARE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411626970.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-14
Publication Date
2025-03-07

AI Technical Summary

Technical Problem

In the prior art, the sending efficiency of the pop-up reminder message for merchant terminals is poor, and it is impossible to make targeted adjustments for different merchant terminals, and the system performance may be affected when the number of reminder messages is large.

Method used

By configuring the cache area in the management server and setting monitoring thresholds, generating reminder information based on the current inventory amount and setting an expiration time, monitoring inventory changes and updating thresholds, pushing pop-up reminder messages to the merchant terminal, and deleting reminder information after the expiration or reminder messages are sent.

Benefits of technology

Improve the accuracy and flexibility of pop-up reminder messages during inventory warning, reduce the consumption of system performance during reminder process, and save application costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119579060A_ABST
    Figure CN119579060A_ABST
Patent Text Reader

Abstract

The invention discloses a temporary reminding method, device and equipment for monitoring threshold adaptive adjustment and a medium, and the method comprises the steps: configuring a cache region of each commercial tenant terminal according to an input temporary reminding request, setting a corresponding monitoring threshold, and if the current stock of the cache region is lower than the monitoring threshold, executing the temporary reminding operation; if yes, reminding information is generated, expiration time is configured, then the reminding information is stored in a cache region, the current inventory corresponding to the cache region is monitored to update a monitoring threshold value, if login information of the merchant terminal is received, whether the reminding information is contained in the cache region or not is judged, and if yes, a popup reminding message is pushed to the merchant terminal. And if the expiration time is up or the popup window reminding message is pushed, deleting the corresponding reminding information from the cache region. According to the temporary reminding method for self-adaptively adjusting the monitoring threshold, the cache region is configured, the temporary reminding message is stored, and the current stock is intelligently monitored by setting the expiration time and the monitoring threshold, so that the application cost is saved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a temporary reminder method, device, equipment and medium for adaptively adjusting a monitoring threshold. Background Art

[0002] During the data information transmission process between the merchant terminal and the management server, the management server is usually required to push temporary reminder information to the merchant terminal, such as pop-up reminders based on inventory warnings. At present, for temporary reminders, the usual practice is to directly push pop-up reminder messages to the merchant terminal. Although the existing technical methods can realize the reminder function, the actual application process requires persistence costs, and the flexibility of sending reminder messages is poor. It is impossible to carry out targeted pop-up reminders for different merchant terminals, which may affect the system performance when the number of pop-up reminders is large. Therefore, the process of pop-up reminders for merchant terminals in the existing technical methods has the problem of poor efficiency in sending reminder messages. Summary of the invention

[0003] The embodiments of the present invention provide a temporary reminder method, device, equipment and medium for adaptively adjusting a monitoring threshold, aiming to solve the problem of poor reminder message sending efficiency in the process of performing a pop-up reminder on a merchant terminal in the prior art method.

[0004] In a first aspect, an embodiment of the present invention provides a temporary reminder method for adaptively adjusting a monitoring threshold, wherein the method is applied to a management server, a merchant terminal establishes a network connection with the management server to realize data information transmission, and the method includes:

[0005] configuring a cache area corresponding to each of the merchant terminals according to the input temporary reminder request;

[0006] Setting a monitoring threshold corresponding to the initial inventory quantity in the temporary reminder request according to a preset threshold setting rule;

[0007] Monitoring the current inventory corresponding to each of the cache areas to update the monitoring threshold;

[0008] If the login information of the merchant terminal is received, determining whether the cache area corresponding to the merchant terminal contains reminder information;

[0009] If the current inventory level of the cache area is lower than the corresponding monitoring threshold, a reminder message corresponding to the current inventory level is generated, the reminder message is stored in the cache area, and a corresponding expiration time is set for the reminder message;

[0010] If reminder information is included, push a corresponding pop-up reminder message to the merchant terminal according to the reminder information;

[0011] If the expiration time of the reminder information in the cache area is reached or the corresponding pop-up reminder message has been pushed according to the reminder information, the reminder information is deleted from the corresponding cache area.

[0012] In a second aspect, an embodiment of the present invention further provides a temporary reminder device for adaptively adjusting a monitoring threshold, wherein the device is configured in a management server, a merchant terminal establishes a network connection with the management server to realize the transmission of data information, and the device is used to execute the temporary reminder method for adaptively adjusting a monitoring threshold as described in the first aspect above, and the device includes:

[0013] A cache area configuration unit, configured to configure a cache area corresponding to each of the merchant terminals according to the input temporary reminder request;

[0014] A monitoring threshold setting unit, configured to set a monitoring threshold corresponding to the initial inventory quantity in the temporary reminder request according to a preset threshold setting rule;

[0015] a reminder information cache unit, configured to generate reminder information corresponding to the current inventory level if the current inventory level of the cache area is lower than the corresponding monitoring threshold, store the reminder information in the cache area, and set a corresponding expiration time for the reminder information;

[0016] A monitoring threshold updating unit, configured to monitor the current inventory corresponding to each of the cache areas to update the monitoring threshold;

[0017] A determination unit, configured to determine whether the cache area corresponding to the merchant terminal contains reminder information upon receiving the login information of the merchant terminal;

[0018] A pop-up window reminder message pushing unit, used to push a corresponding pop-up window reminder message to the merchant terminal according to the reminder information if the reminder information is included;

[0019] The reminder information deleting unit is used to delete the reminder information from the corresponding cache area if the expiration time of the reminder information in the cache area is reached or the corresponding pop-up reminder message has been pushed according to the reminder information.

[0020] In a third aspect, an embodiment of the present invention further provides a computer device, wherein the device includes a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other via the communication bus;

[0021] Memory, used to store computer programs;

[0022] The processor is used to implement the steps of the temporary reminder method for adaptively adjusting the monitoring threshold described in the first aspect when executing the program stored in the memory.

[0023] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the steps of the temporary reminder method for adaptively adjusting the monitoring threshold as described in the first aspect above are implemented.

[0024] The embodiment of the present invention provides a temporary reminder method, device, equipment and medium for adaptively adjusting the monitoring threshold, the method includes: configuring the cache area of ​​each merchant terminal according to the input temporary reminder request and setting the corresponding monitoring threshold, if the current inventory of the cache area is lower than the monitoring threshold, generating reminder information and configuring the expiration time and storing it in the cache area, monitoring the current inventory corresponding to the cache area to update the monitoring threshold, if the login information of the merchant terminal is received, judging whether the cache area contains reminder information, if it contains, pushing a pop-up window reminder message to the merchant terminal, if the expiration time is reached or the pop-up window reminder message has been pushed, deleting the corresponding reminder information from the cache area. The above-mentioned temporary reminder method for adaptively adjusting the monitoring threshold, by configuring the cache area and storing the temporary reminder message, by setting the expiration time and the monitoring threshold to intelligently monitor the current inventory, greatly improves the accuracy and flexibility of pushing the pop-up window reminder message during inventory warning, reduces the consumption of system performance during the pop-up window reminder process, and saves application costs. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying any creative work.

[0026] Figure 1 A method flow chart of a temporary reminder method for adaptively adjusting a monitoring threshold provided by an embodiment of the present invention;

[0027] Figure 2 A schematic diagram of an application scenario of the temporary reminder method for adaptively adjusting the monitoring threshold provided by an embodiment of the present invention;

[0028] Figure 3 A schematic block diagram of a temporary reminder device with adaptive adjustment of monitoring thresholds provided in an embodiment of the present invention;

[0029] Figure 4 It is a schematic block diagram of a computer device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0030] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0031] It should be understood that when used in this specification and the appended claims, the terms "include" and "comprises" indicate the presence of described features, integers, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or combinations thereof.

[0032] It should also be understood that the terms used in the present specification are only for the purpose of describing specific embodiments and are not intended to limit the present invention. As used in the present specification and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.

[0033] It should be further understood that the term "and / or" used in the present description and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0034] The embodiment of the present invention provides a temporary reminder method for adaptively adjusting the monitoring threshold, which is applied to the management server 10. The management server 10 executes the stored software program to implement the temporary reminder method for adaptively adjusting the monitoring threshold; the management server 10 can be a server device configured in an enterprise or institution to push pop-up reminder messages to merchant terminals, and the management server 10 can be a server device such as a cluster server, a parallel processing server, etc. Figure 2 As shown in the figure, the management server 10 establishes a network connection with the merchant terminal 20 to realize the transmission of data information, wherein the merchant terminal 20 can be a laptop computer, a desktop computer, a tablet computer or a mobile phone and other devices. The management server 10 pushes the pop-up reminder message to the merchant terminal 20 for display, and the user of the merchant terminal 20 can view the pop-up reminder message through the merchant terminal 20. The user of the merchant terminal 20 is also the merchant. Figure 2 The example only illustrates an application scenario in which a merchant terminal 20 establishes a network connection with the management server 10 to realize data information transmission. In actual application, multiple merchant terminals 20 can be configured to establish network connections with the management server 10 respectively to realize data information transmission with multiple merchant terminals 20 at the same time. Figure 1As shown, the method includes steps S110 to S150.

[0035] S110: configuring a cache area corresponding to each of the merchant terminals according to the input temporary reminder request.

[0036] The cache area corresponding to each of the merchant terminals is configured according to the input temporary reminder request. The user of the management server can input the temporary reminder request to the management server, and the user of the management server can be the administrator of the enterprise or organization. The management server configures the corresponding cache area according to the input temporary reminder request, and the temporary reminder request contains the terminal information of at least one merchant terminal. The corresponding cache area can be configured according to the terminal information in the temporary reminder request. Each cache area carries an identification code that uniquely identifies the cache area, that is, the identification code is unique.

[0037] In a specific embodiment, step S110 includes sub-steps: generating an identification code corresponding to each merchant terminal according to the terminal information included in the temporary reminder request; and allocating a corresponding cache area to each identification code according to the available cache space.

[0038] Specifically, an identification code corresponding to each merchant terminal may be generated first according to the terminal information included in the temporary reminder request. One merchant terminal corresponds to a set of terminal information, and the terminal information includes the terminal name, terminal type, terminal address, etc. of the merchant terminal. The various information included in the terminal information is obtained and combined to obtain a combined string, and the current date or current time is obtained and combined with the combined string to finally generate an identification code corresponding to the merchant terminal.

[0039] For example, if the terminal information includes multiple pieces of information such as "AD", "BID", and "REMINDER", and the current date is "20240601", then the identification code "AD_BID_REMINDER_20240601" can be generated accordingly, and the items of information can be separated by "_".

[0040] Furthermore, the free cache space of the current system of the management server is obtained, and the corresponding cache area is allocated to each identification code according to the free cache space. For example, half of the free cache space of the current system can be obtained as the allocatable cache space, and the allocatable cache space is evenly allocated according to the number of generated identification codes, so that the cache space allocated to each identification code is 1 / N of the allocatable cache space, where N is the number of identification codes.

[0041] S120: Setting monitoring thresholds corresponding to the respective cache areas according to preset threshold setting rules and the temporary reminder request.

[0042] The monitoring thresholds corresponding to the cache areas are set according to the preset threshold setting rules and the temporary reminder request. The management server is pre-configured with threshold setting rules, and the monitoring thresholds corresponding to the cache partitions can be set according to the threshold setting rules and the temporary reminder request. Specifically, the temporary reminder request includes monitoring information corresponding to each terminal information, and the monitoring information includes monitoring level, monitoring product type, initial inventory and other information.

[0043] In a specific embodiment, step S120 includes sub-steps: obtaining the initial inventory quantity corresponding to each of the cache areas in the temporary reminder request; obtaining the proportion value matching the initial inventory quantity in the threshold setting rule; if the expiration time of the reminder information in the cache area is reached or the corresponding pop-up reminder message has been pushed according to the reminder information, the reminder information is deleted from the corresponding cache area.

[0044] The initial inventory in the monitoring information corresponding to each cache area in the temporary reminder request can be obtained, and each cache area corresponds to an initial inventory. Further, the ratio value of the threshold setting rule to the initial inventory is obtained, the threshold setting rule includes multiple ratio values, and each ratio value in the threshold setting rule corresponds to an inventory interval. The ratio value corresponding to the inventory interval matching the initial inventory can be obtained as the ratio value matching the initial inventory.

[0045] For example, in the threshold setting rule, the inventory range corresponding to the ratio value "0.2" is "5000-10000", the inventory range corresponding to the ratio value "0.25" is "2000-5000", and the inventory range corresponding to the ratio value "0.28" is "500-2000".

[0046] More specifically, the threshold setting rules also include multiple coefficient values, each coefficient value corresponds to a monitored product type and a monitoring level. The coefficient value that matches the threshold setting rules and the monitored product type and monitoring level in the monitoring information can be obtained as the target coefficient value, and the target coefficient value is multiplied by the proportion value corresponding to the initial inventory quantity to be used as the final proportion value, thereby obtaining a more accurate proportion value to increase the accuracy of inventory monitoring.

[0047] For example, when the monitoring level is emergency and the monitored product type is clothing, the corresponding coefficient value is "1.2"; when the monitoring level is urgent and the monitored product type is clothing, the corresponding coefficient value is "1.5"; when the monitoring level is normal and the monitored product type is clothing, the corresponding coefficient value is "0.9"; when the monitoring level is the lowest and the monitored product type is clothing, the corresponding coefficient value is "0.75".

[0048] Specifically, the obtained initial inventory quantity can be multiplied by the matching ratio value to obtain the monitoring threshold and set a corresponding cache area. Then, the monitoring threshold corresponding to each cache area can be obtained and set accordingly through the above technical method, thereby setting the corresponding monitoring threshold for each cache area.

[0049] S130. If the current inventory level of the cache area is lower than the corresponding monitoring threshold, a reminder message corresponding to the current inventory level is generated, the reminder message is stored in the cache area, and a corresponding expiration time is set for the reminder message.

[0050] If the current inventory of the cache area is lower than the corresponding monitoring threshold, a reminder message corresponding to the current inventory is generated, the reminder message is stored in the cache area, and a corresponding expiration time is set for the reminder message. Each cache area corresponds to the inventory of a product. When the inventory has not changed, the current inventory is also the initial inventory. The initial inventory is a fixed value that cannot be changed, but the current inventory will change as the goods are shipped out of the warehouse. It is judged whether the current inventory of each cache area is lower than the corresponding set monitoring threshold. If the current inventory of the cache area is lower than the corresponding monitoring threshold, a reminder message corresponding to the current inventory can be generated. In the specific process, a reminder message including monitoring information, terminal information, current inventory and generation time can be generated according to the current inventory and the terminal information and monitoring information corresponding to the cache area. Further, a corresponding expiration time can be set in the generated reminder message. The expiration time is also the time period used to limit the storage of the reminder message. Only the reminder message between the expiration time is stored, and the reminder message exceeding the expiration time will be deleted. For example, the expiration time can be set to 10 minutes, 20 minutes, 30 minutes, etc.

[0051] S140: Monitor changes in the current inventory of each cache area to update the monitoring threshold when the current inventory changes.

[0052] After the generation of the reminder information is triggered, the change of the current inventory of each cache area is monitored to update the monitoring threshold when the current inventory changes. The change of the current inventory can be monitored, and if the current inventory changes, the monitoring threshold is reset according to the changed current inventory, that is, the monitoring threshold is updated.

[0053] In a specific embodiment, step S140 includes sub-steps: monitoring the current inventory level to obtain monitoring information on whether the inventory level has changed; if the monitoring information indicates that the inventory level has changed, updating the monitoring threshold according to the threshold setting rule and the changed current inventory level.

[0054] Specifically, it is possible to monitor whether the current inventory quantity has changed to obtain monitoring information; in order to reduce the consumption of system resources, whether the current inventory quantity has changed can be realized through periodic monitoring, and monitoring is performed once after each cycle. For example, the monitoring cycle can be set to 10 seconds, and the current inventory quantity is obtained every 10 seconds and compared with the current inventory quantity obtained last time, so as to obtain monitoring information on whether the current inventory quantity has changed.

[0055] If the monitoring information is a change in inventory, the monitoring threshold is updated according to the threshold setting rules and the changed current inventory.

[0056] In a specific embodiment, the monitoring threshold is updated according to the threshold setting rule and the changed current inventory level, including: obtaining a proportional value in the threshold setting rule that matches the changed current inventory level; and updating the set monitoring threshold according to the changed current inventory level and the proportional value.

[0057] Specifically, the ratio value matching the changed current inventory in the threshold setting rule can be obtained, that is, the ratio value corresponding to the inventory interval matching the current inventory is obtained as the ratio value matching the current inventory, and the ratio value matching the current inventory is multiplied by the current inventory to obtain a new monitoring threshold. The monitoring threshold can be updated by calculating the new product value.

[0058] Furthermore, if there is a target coefficient value that matches the monitored product type and monitoring level, the target coefficient value, the ratio value that matches the current inventory, and the current inventory can be multiplied together to obtain a new monitoring threshold.

[0059] After executing step S140, the process may return to executing step S130, that is, re-determine whether to trigger the generation of reminder information based on the updated monitoring threshold.

[0060] S150: If the login information of the merchant terminal is received, determine whether the cache area corresponding to the merchant terminal contains reminder information.

[0061] If the login information of the merchant terminal is received, it is determined whether the cache area corresponding to the merchant terminal contains reminder information. Further, it is determined whether each merchant terminal is logged in. If the merchant terminal is logged in, the merchant terminal must send the login information to the management server. If the management server receives the login information from the merchant terminal, it can determine whether the cache area corresponding to the merchant terminal contains reminder information.

[0062] S160: If reminder information is included, push a corresponding pop-up reminder message to the merchant terminal according to the reminder information.

[0063] If reminder information is included, a corresponding pop-up reminder message is pushed to the merchant terminal according to the reminder information. If the cache area corresponding to the logged-in merchant terminal contains reminder information, a pop-up reminder message corresponding to each reminder information in the cache area can be generated. For example, for a certain reminder information in the cache area, the corresponding pop-up reminder message generated is "The monitoring level is urgent, the monitored product type: clothing, the current inventory is XXX, which is lower than the set monitoring threshold YYY, please pay attention to inventory changes", and XXX and YYY are both integer values. The generated pop-up reminder message is pushed to the merchant terminal according to the terminal information corresponding to the merchant terminal.

[0064] S170: If the reminder information in the cache area expires or a corresponding pop-up reminder message has been pushed according to the reminder information, the reminder information is deleted from the corresponding cache area.

[0065] If the expiration time of the reminder information in the cache area is reached or the corresponding pop-up reminder message has been pushed according to the reminder information, the reminder information will be deleted from the corresponding cache area. Furthermore, it is possible to judge whether the reminder information stored in the cache area has reached the expiration time. If the expiration time set in the reminder information is reached, the reminder information can be deleted from the cache area; similarly, if the reminder information has pushed the corresponding pop-up reminder message, the reminder information will be deleted from the cache area. That is, if the reminder information meets any of the above conditions, the reminder information will be deleted from the cache area, thereby saving system resources.

[0066] In a specific embodiment, after step S160, the method further includes the following steps: if offline information of the merchant terminal is received, deregistering the cache area corresponding to the merchant terminal to reclaim the cache space.

[0067] After step S160, if offline information from the merchant terminal is detected, it indicates that the merchant terminal has logged out, and the cache area corresponding to the merchant terminal can be deregistered. After the cache area is deregistered, the cache space occupied by the cache area can be reclaimed, that is, the system resources are reclaimed in time. In addition to being executed after S160, the above-mentioned processing step of deregistering the cache area can also be executed after S150 and S170. As long as it is after receiving the login information of the merchant terminal, it can be realized to judge whether the merchant terminal sends offline information and execute the processing step of deregistering the cache area accordingly.

[0068] In the temporary reminder method with adaptive adjustment of monitoring threshold disclosed in the above embodiment, the method includes: configuring the cache area of ​​each merchant terminal according to the input temporary reminder request and setting the corresponding monitoring threshold; if the current inventory in the cache area is lower than the monitoring threshold, generating reminder information and configuring the expiration time and storing it in the cache area; monitoring the current inventory corresponding to the cache area to update the monitoring threshold; if the login information of the merchant terminal is received, determining whether the cache area contains reminder information; if so, pushing a pop-up window reminder message to the merchant terminal; if the expiration time is reached or the pop-up window reminder message has been pushed, deleting the corresponding reminder information from the cache area. The above temporary reminder method with adaptive adjustment of monitoring threshold, by configuring the cache area and storing temporary reminder messages, and by setting the expiration time and monitoring threshold to intelligently monitor the current inventory, greatly improves the accuracy and flexibility of pushing pop-up window reminder messages during inventory warnings, reduces the consumption of system performance during the pop-up window reminder process, and saves application costs.

[0069] The embodiment of the present invention also provides a temporary reminder device for adaptively adjusting the monitoring threshold, which can be configured in a management server and is used to execute any embodiment of the temporary reminder method for adaptively adjusting the monitoring threshold. Figure 3 , Figure 3 A schematic block diagram of a temporary reminder device with adaptive adjustment of monitoring thresholds provided in an embodiment of the present invention.

[0070] like Figure 3 As shown, the temporary reminder device 100 with adaptively adjusted monitoring threshold includes a cache area configuration unit 110, a monitoring threshold setting unit 120, a reminder information cache unit 130, a monitoring threshold update unit 140, a judgment unit 150, a pop-up reminder message push unit 160 and a reminder information deletion unit 170.

[0071] The cache area configuration unit 110 is used to configure the cache area corresponding to each of the merchant terminals according to the input temporary reminder request.

[0072] In a more specific embodiment, the cache area configuration unit 110 includes: an identification code generation unit, used to generate an identification code corresponding to each merchant terminal according to the terminal information contained in the temporary reminder request; a cache area allocation unit, used to allocate a corresponding cache area to each of the identification codes according to the available cache space.

[0073] The monitoring threshold setting unit 120 is used to set the monitoring threshold corresponding to the initial inventory quantity in the temporary reminder request according to a preset threshold setting rule.

[0074] The reminder information cache unit 130 is used to generate reminder information corresponding to the current inventory level if the current inventory level of the cache area is lower than the corresponding monitoring threshold, store the reminder information in the cache area, and set a corresponding expiration time for the reminder information.

[0075] The monitoring threshold updating unit 140 is used to monitor the change of the current inventory of each cache area to update the monitoring threshold when the current inventory changes.

[0076] The determining unit 150 is configured to determine whether the cache area corresponding to the merchant terminal contains reminder information if the login information of the merchant terminal is received.

[0077] The pop-up window reminder message pushing unit 160 is used to push the corresponding pop-up window reminder message to the merchant terminal according to the reminder information if the reminder information is included.

[0078] The reminder information deleting unit 170 is used to delete the reminder information from the corresponding cache area if the reminder information in the cache area expires or the corresponding pop-up reminder message has been pushed according to the reminder information.

[0079] The temporary reminder device with adaptive adjustment of monitoring threshold provided in the embodiment of the present invention applies the above-mentioned temporary reminder method with adaptive adjustment of monitoring threshold, configures the cache area of ​​each merchant terminal according to the input temporary reminder request and sets the corresponding monitoring threshold, if the current inventory in the cache area is lower than the monitoring threshold, generates reminder information and stores it in the cache area after configuring the expiration time, monitors the current inventory corresponding to the cache area to update the monitoring threshold, and if the login information of the merchant terminal is received, determines whether the cache area contains reminder information, if so, pushes a pop-up reminder message to the merchant terminal, and deletes the corresponding reminder information from the cache area if the expiration time is reached or the pop-up reminder message has been pushed. The above-mentioned temporary reminder method with adaptive adjustment of monitoring threshold, by configuring the cache area and storing temporary reminder messages, and by setting the expiration time and monitoring threshold to intelligently monitor the current inventory, greatly improves the accuracy and flexibility of pushing pop-up reminder messages during inventory warnings, reduces the consumption of system performance during the pop-up reminder process, and saves application costs.

[0080] The temporary reminder device for adaptively adjusting the monitoring threshold can be implemented in the form of a computer program. The computer program can be used in Figure 4 Runs on the computer device shown.

[0081] See also Figure 4 , Figure 41 is a schematic block diagram of a computer device provided by an embodiment of the present invention. The computer device may be a management server for executing a temporary reminder method for adaptively adjusting a monitoring threshold to push a pop-up window reminder message to a merchant terminal.

[0082] See also Figure 4 The computer device 500 includes a processor 502 , a memory and a communication interface 505 connected via a communication bus 501 , wherein the memory may include a storage medium 503 and an internal memory 504 .

[0083] The storage medium 503 can store an operating system 5031 and a computer program 5032. When the computer program 5032 is executed, the processor 502 can execute a temporary reminder method for adaptively adjusting a monitoring threshold, wherein the storage medium 503 can be a volatile storage medium or a non-volatile storage medium.

[0084] The processor 502 is used to provide computing and control capabilities to support the operation of the entire computer device 500 .

[0085] The internal memory 504 provides an environment for the operation of the computer program 5032 in the storage medium 503. When the computer program 5032 is executed by the processor 502, the processor 502 can execute a temporary reminder method for adaptively adjusting the monitoring threshold.

[0086] The communication interface 505 is used for network communication, such as providing data information transmission, etc. Those skilled in the art will understand that Figure 4 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present invention, and does not constitute a limitation on the computer device 500 to which the solution of the present invention is applied. The specific computer device 500 may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0087] The processor 502 is used to run the computer program 5032 stored in the memory to implement the corresponding functions in the temporary reminder method for adaptively adjusting the monitoring threshold.

[0088] Those skilled in the art will understand that Figure 4 The embodiments of the computer device shown in the figure do not constitute a limitation on the specific composition of the computer device. In other embodiments, the computer device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently. For example, in some embodiments, the computer device may only include a memory and a processor. In such embodiments, the structure and function of the memory and the processor are the same as those of the embodiment of the present invention. Figure 4 The embodiments shown are consistent and will not be described again here.

[0089] It should be understood that in the embodiment of the present invention, the processor 502 may be a central processing unit (CPU), and the processor 502 may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.

[0090] In another embodiment of the present invention, a computer-readable storage medium is provided. The computer-readable storage medium may be a volatile or non-volatile computer-readable storage medium. The computer-readable storage medium stores a computer program, wherein when the computer program is executed by a processor, the steps included in the temporary reminder method for adaptively adjusting the monitoring threshold are implemented.

[0091] Those skilled in the art can clearly understand that, for the convenience and simplicity of description, the specific working process of the above-described equipment, devices and units can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here. Those of ordinary skill in the art can appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented with electronic hardware, computer software or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to the function. Whether these functions are executed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present invention.

[0092] In the several embodiments provided by the present invention, it should be understood that the disclosed equipment, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. Units with the same function may also be combined into one unit. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interfaces, devices or units, or may be an electrical, mechanical or other form of connection.

[0093] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the embodiments of the present invention.

[0094] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0095] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a computer-readable storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned computer-readable storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a magnetic disk or an optical disk.

[0096] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present invention, and these modifications or replacements should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.

Claims

1. A temporary reminder method for adaptively adjusting monitoring threshold, characterized in that: The method is applied to a management server, and a merchant terminal establishes a network connection with the management server to realize the transmission of data information. The method includes: configuring a cache area corresponding to each of the merchant terminals according to the input temporary reminder request; Setting monitoring thresholds corresponding to each of the cache areas according to a preset threshold setting rule and the temporary reminder request; If the current inventory level of the cache area is lower than the corresponding monitoring threshold, a reminder message corresponding to the current inventory level is generated, the reminder message is stored in the cache area, and a corresponding expiration time is set for the reminder message; Monitoring the change of the current inventory of each cache area to update the monitoring threshold when the current inventory changes; If the login information of the merchant terminal is received, determining whether the cache area corresponding to the merchant terminal contains reminder information; If reminder information is included, push a corresponding pop-up reminder message to the merchant terminal according to the reminder information; If the expiration time of the reminder information in the cache area is reached or the corresponding pop-up reminder message has been pushed according to the reminder information, the reminder information is deleted from the corresponding cache area.

2. The temporary reminder method for adaptively adjusting the monitoring threshold according to claim 1 is characterized in that: The configuring a corresponding cache area according to the input temporary reminder request includes: generating an identification code corresponding to each merchant terminal according to the terminal information included in the temporary reminder request; A corresponding cache area is allocated to each identification code according to the available cache space.

3. The temporary reminder method for adaptively adjusting the monitoring threshold according to claim 1 or 2, characterized in that: The step of setting the monitoring thresholds corresponding to the respective cache areas according to the preset threshold setting rules and the temporary reminder request includes: Obtaining the initial inventory quantities corresponding to the respective cache areas in the temporary reminder request; Obtaining a ratio value in the threshold setting rule that matches the initial inventory quantity; A monitoring threshold corresponding to the ratio value is calculated according to the initial inventory, and a corresponding cache area is set according to the calculated monitoring threshold.

4. The temporary reminder method for adaptively adjusting the monitoring threshold according to claim 3 is characterized in that: The monitoring of the current inventory corresponding to each of the cache areas to update the monitoring threshold includes: Monitoring the current inventory to obtain monitoring information on whether the inventory has changed; If the monitoring information indicates a change in inventory, the monitoring threshold is updated according to the threshold setting rule and the changed current inventory.

5. The temporary reminder method for adaptively adjusting monitoring threshold according to claim 4 is characterized in that: The updating of the monitoring threshold according to the threshold setting rule and the changed current inventory quantity includes: Obtaining a ratio value in the threshold setting rule that matches the changed current inventory quantity; The set monitoring threshold is updated according to the changed current inventory and the ratio value.

6. The temporary reminder method for adaptively adjusting monitoring threshold according to claim 1 or 2, characterized in that: After pushing the corresponding pop-up window reminder message to the merchant terminal according to the reminder information, the method further includes: If the offline information of the merchant terminal is received, the cache area corresponding to the merchant terminal is deregistered to reclaim the cache space.

7. A temporary reminder device with adaptive adjustment of monitoring threshold, characterized in that: The device is configured in the management server, and the merchant terminal establishes a network connection with the management server to realize the transmission of data information. The device is used to execute the temporary reminder method for adaptively adjusting the monitoring threshold according to any one of claims 1 to 6, and the device includes: A cache area configuration unit, configured to configure a cache area corresponding to each of the merchant terminals according to the input temporary reminder request; A monitoring threshold setting unit, configured to set a monitoring threshold corresponding to the initial inventory quantity in the temporary reminder request according to a preset threshold setting rule; a reminder information cache unit, configured to generate reminder information corresponding to the current inventory level if the current inventory level of the cache area is lower than the corresponding monitoring threshold, store the reminder information in the cache area, and set a corresponding expiration time for the reminder information; A monitoring threshold updating unit, configured to monitor changes in the current inventory level of each of the cache areas so as to update the monitoring threshold when the current inventory level changes; A determination unit, configured to determine whether the cache area corresponding to the merchant terminal contains reminder information upon receiving the login information of the merchant terminal; A pop-up window reminder message pushing unit, used to push a corresponding pop-up window reminder message to the merchant terminal according to the reminder information if the reminder information is included; The reminder information deleting unit is used to delete the reminder information from the corresponding cache area if the expiration time of the reminder information in the cache area is reached or the corresponding pop-up reminder message has been pushed according to the reminder information.

8. The temporary reminder device with adaptive adjustment of monitoring threshold according to claim 7, characterized in that: The cache area configuration unit includes: an identification code generating unit, configured to generate an identification code corresponding to each merchant terminal according to the terminal information included in the temporary reminder request; The cache area allocation unit is used to allocate a corresponding cache area to each of the identification codes according to the available cache space.

9. A computer device, characterized in that: The device includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus; Memory, used to store computer programs; The processor is used to implement the steps of the temporary reminder method for adaptively adjusting the monitoring threshold value described in any one of claims 1 to 6 when executing the program stored in the memory.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the temporary reminder method for adaptively adjusting the monitoring threshold value according to any one of claims 1 to 6 are implemented.