CN113316099B - Fusing method, device, equipment and storage medium for user touch data - Google Patents

Fusing method, device, equipment and storage medium for user touch data Download PDF

Info

Publication number
CN113316099B
CN113316099B CN202110575033.9A CN202110575033A CN113316099B CN 113316099 B CN113316099 B CN 113316099B CN 202110575033 A CN202110575033 A CN 202110575033A CN 113316099 B CN113316099 B CN 113316099B
Authority
CN
China
Prior art keywords
information
sent
template
sending
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110575033.9A
Other languages
Chinese (zh)
Other versions
CN113316099A (en
Inventor
彭康康
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Puhui Enterprise Management Co Ltd
Original Assignee
Ping An Puhui Enterprise Management Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ping An Puhui Enterprise Management Co Ltd filed Critical Ping An Puhui Enterprise Management Co Ltd
Priority to CN202110575033.9A priority Critical patent/CN113316099B/en
Publication of CN113316099A publication Critical patent/CN113316099A/en
Application granted granted Critical
Publication of CN113316099B publication Critical patent/CN113316099B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/186Templates
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages

Abstract

The application relates to the technical field of communication, and discloses a fusing method, a fusing device, fusing equipment and a fusing storage medium for user trigger data, wherein the fusing method comprises the steps of obtaining a text template, and configuring attributes of the text template, wherein the attributes of the text template comprise sending frequency; filling the text template to obtain information to be sent and generating a corresponding unique value; inquiring a database according to the unique value corresponding to the information to be sent and the sending frequency, and judging whether the information to be sent is repeated information or not, wherein the sent information is stored in the database; if the information to be sent is repeated information, triggering a fusing mechanism and stopping sending the information to be sent; and if the information to be sent is not repeated information, sending the information to be sent. The application also relates to blockchain techniques, where textual template data is stored in blockchains. The method and the device have the advantages that the sending of repeated information can be reduced, and the accuracy of information pushing is improved.

Description

Fusing method, device, equipment and storage medium for user touch data
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method, an apparatus, a device, and a storage medium for fusing user-triggered data.
Background
With the rapid development of the internet, when users use various kinds of APPs, the users can receive various kinds of push information or short messages from the APPs, and with the continuous update of the APPs, various kinds of message notification templates or short message templates in the APPs can be continuously increased.
In the prior art, the scheme directly sends the message notification or the short message only through the APP, and for the sending of the message notification or the short message, the control of sending frequency is not provided, the message notification and the repeated sending of the short message cannot be effectively controlled, and a stopping means is not provided when the message notification or the short message is repeatedly sent, so that uncontrollable risks in production can be caused, and therefore, how to reduce the sending of the repeated information becomes a problem to be solved urgently.
Disclosure of Invention
The application provides a fusing method, a fusing device, fusing equipment and a fusing storage medium for user touch data, and aims to solve the problem of repeated message sending in the prior art.
In order to solve the above problem, the present application provides a method for fusing user reach-type data, including:
acquiring a text template, and configuring the attribute of the text template, wherein the attribute of the text template comprises sending frequency;
filling the text template to obtain information to be sent and generating a corresponding unique value;
inquiring a database according to the unique value corresponding to the information to be sent and the sending frequency, and judging whether the information to be sent is repeated information or not, wherein the sent information is stored in the database;
if the information to be sent is repeated information, triggering a fusing mechanism and stopping sending the information to be sent;
and if the information to be sent is not repeated information, sending the information to be sent.
Further, before the obtaining of the text template, the method further includes:
scanning a template basic table storing the text sending template every other first preset time, and calling a log of the template basic table;
analyzing the logs of the template basic table to obtain the using times of each text template in the template basic table;
and clearing the text template with the use frequency of zero in a preset time period.
Further, before the obtaining of the text template, the method further includes:
acquiring information of a user to be sent, and calling an information type corresponding to the information of the user to be sent;
acquiring a first message template and a second message template corresponding to the information type from a database, wherein the version of the first message template is higher than that of the second message template;
setting the selection proportion of the first message template and the second message template, and selecting to obtain the text template in a random lottery form;
acquiring user feedback information and identifying whether the user feedback information is error information;
and under the condition that no user feedback error information is received, continuously increasing the selection proportion of the first message template until the first message template is directly used as the text sending template.
Further, before the filling the text template, the method further comprises:
acquiring a feature code of a user to be sent;
and acquiring corresponding information of the user to be sent based on the feature code.
Further, the filling the text template to obtain information to be sent and generate a corresponding unique value includes:
filling the text template based on the information of the user to be sent to obtain the information to be sent;
and generating the corresponding unique value based on the feature code, the number corresponding to the text sending template and the information to be sent.
Further, the filling the text template based on the information of the user to be sent includes:
acquiring type information of content to be filled in the text template and a corresponding filling position;
based on the type information, calling corresponding content in the information of the user to be sent as content to be filled;
and filling the content to be filled into the corresponding filling position in the text template.
Further, the querying a database according to the unique value corresponding to the information to be sent and the sending frequency, and determining whether the information to be sent is the repeated information includes:
inquiring the database according to the unique value corresponding to the information to be sent, and searching whether the same unique value exists;
if so, acquiring the data transmission time of the last transmitted information with the same unique value corresponding to the information to be transmitted, and comparing the difference value between the data transmission time and the current time with the reciprocal of the transmission frequency;
if the difference is greater than the reciprocal of the sending frequency, determining that the information to be sent is not repeated information;
if the difference is smaller than the reciprocal of the sending frequency, determining that the information to be sent is repeated information;
and if not, determining that the information to be sent is not the repeated information.
In order to solve the above problem, the present application further provides a fusing apparatus for user-triggered data, the apparatus including:
the system comprises an acquisition module, a transmission module and a transmission module, wherein the acquisition module is used for acquiring a text template and configuring the attribute of the text template, and the attribute of the text template comprises transmission frequency;
the filling module is used for filling the text template to obtain information to be sent and generate a corresponding unique value;
the repeated judging module is used for inquiring a database according to the unique value corresponding to the information to be sent and the sending frequency, judging whether the information to be sent is repeated information or not, and storing the sent information in the database;
the fusing module is used for triggering a fusing mechanism to stop sending the information to be sent if the information to be sent is repeated information;
and the sending module is used for sending the information to be sent if the information to be sent is not the repeated information.
In order to solve the above problem, the present application also provides a computer device, including:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform a method of fusing user reach-like data as described above.
In order to solve the above problem, the present application further provides a non-volatile computer readable storage medium, which stores computer readable instructions, and when the computer readable instructions are executed by a processor, the method for fusing the user reach type data as described above is implemented.
Compared with the prior art, the fusing method, the fusing device, the fusing equipment and the storage medium for the user reach data provided by the embodiment of the application have the following beneficial effects:
the method comprises the steps of obtaining a message template, configuring the attribute of the message template in advance so as to facilitate the subsequent control of the message template, and generating a corresponding unique value after filling the message template to obtain information to be sent so as to facilitate the subsequent query of repeated information; then, according to the unique value and the sending frequency corresponding to the information to be sent, operation of inquiring a database is carried out so as to judge whether the information to be sent is repeated information; if the information to be sent is judged to be the repeated information, triggering a fusing mechanism and stopping sending the information to be sent; if the information to be sent is not the repeated information, the information to be sent is sent, so that the sending of the repeated information can be reduced, and the accuracy of information pushing is improved.
Drawings
In order to more clearly illustrate the solution of the present application, a brief description will be given below of the drawings required for describing the embodiments of the present application, and it is obvious that the drawings in the following description are some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings without inventive effort.
Fig. 1 is a schematic flowchart illustrating a method for fusing user-triggered data according to an embodiment of the present disclosure;
FIG. 2 is a block diagram illustrating a fuse apparatus for user-triggered data according to an embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of a computer device according to an embodiment of the present application.
Detailed Description
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs; the terminology used in the description of the application herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application; the terms "including" and "having," and any variations thereof, in the description and claims of this application and the description of the above figures are intended to cover non-exclusive inclusions. The terms "first," "second," and the like in the description and claims of this application or in the above-described drawings are used for distinguishing between different objects and not for describing a particular order.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. One skilled in the art will explicitly or implicitly appreciate that the embodiments described herein can be combined with other embodiments.
The application provides a fusing method of user touch data. Referring to fig. 1, a schematic flow chart of a fusing method for user reach class data according to an embodiment of the present disclosure is shown.
In this embodiment, the method for fusing user reach class data includes:
s1, obtaining a text template, and configuring the text template attribute, wherein the text template attribute comprises sending frequency;
the method comprises the steps of storing a plurality of text templates in a database, configuring various attributes of the text templates by acquiring the text templates, wherein the attributes of the text templates comprise sending frequency, and limiting in the subsequent information sending step by setting the sending frequency.
The same type of information corresponds to a plurality of different text templates, and random drawing can be performed.
Further, before the obtaining of the text template, the method further includes:
scanning a template basic table storing the text sending template every other first preset time, and calling a log of the template basic table;
analyzing the logs of the template basic table to obtain the using times of each text template in the template basic table;
and clearing the text sending template with zero use times in a preset time period.
The method comprises the steps of regularly scanning a template basic table stored with a text template, calling a log of the template basic table, analyzing the log, obtaining the use times of each text template, cleaning the corresponding text template with the use times being zero in a preset time period, realizing regularly scanning and cleaning the text template, and avoiding the problems that the text template which is not used for a long time occupies a storage space and is inconvenient to manage.
The first preset time can be freely set according to needs, and is 3 months in the application, and the corresponding preset time period is 3 months.
By cleaning the idle text sending template in time, the utilization rate of the storage space is improved, and the efficiency of maintaining the existing template is also improved.
Further, before the obtaining of the text template, the method further includes:
acquiring information of a user to be sent, and calling an information type corresponding to the information of the user to be sent;
acquiring a first message template and a second message template corresponding to the information type from a database, wherein the version of the first message template is higher than that of the second message template;
setting the selection proportion of the first message template and the second message template, and selecting to obtain the text template in a random lottery form;
acquiring user feedback information and identifying whether the user feedback information is error information;
and under the condition that no user feedback error information is received, continuously increasing the selection proportion of the first message template until the first message template is directly used as the text sending template.
Specifically, different a i Btest ratios (a i Btest is a method for comparing two versions of functions of a webpage or an application program and the like with each other to determine which version has a better effect) are set in different time periods, that is, the ratio of a first message template to a second message template is set in the method, and if no problem occurs, the selection ratio of the first message template is gradually increased, so that stepped batch pushing in multiple time periods is realized. Here, the first message template and the second message template may be new versions, or the first message template may be a new version of the text template, and the second message template may be an old version of the text template.
The method comprises the steps of obtaining an information type corresponding to information by obtaining the information of a user to be sent, and obtaining a corresponding first message template and a corresponding second message template from a database according to the information type.
In an embodiment of the present application, the first message template is a new version text template, the second message template is an old version text template, the selection ratio of the first message template and the second message template is set to 10%/90%, the text template is obtained by random decimation, and when text is sent to a user by using the text template obtained by decimation, user feedback information is obtained and whether the text is wrong or not is identified, if no user feedback error or the like occurs (for example, text error or the like occurs in the text template), the selection ratio of the first message template is increased, for example, to 20%/80%, so that users receiving the text template of the first message template will increase, if user feedback error or the like occurs, the selection ratio of the first message template will increase again, and repeating the steps until the selection proportion of the first message template reaches 100 percent, namely the first message template is directly used as a text template. The feedback information may be received in a variety of ways, such as mail, etc. And identifying the feedback information through a semantic identification model.
Through the stepped batch pushing in multiple time periods, the probability of large-range influence caused by template errors is reduced, and the accuracy of information pushing is improved.
Further, the text template attribute further includes a sending identifier, and the configuring of the text template attribute includes:
receiving a numerical value set by a user;
and configuring a sending identifier according to the value so as to set that the template is forbidden to be used within a second preset time.
Specifically, the control of the sending time of the text template is realized by receiving a sending identifier set by a user, for example, the sending identifier time is set to be 19:00-24:00, namely the text template is unusable in the time period; or directly configuring a sending switch to prohibit sending of certain information to be sent, namely triggering a fusing mechanism when the information to be sent is judged to be a repeated message, namely setting the sending identifier as prohibition to send.
The use forbidding time period is set, so that the information to be transmitted in the use forbidding time period is prohibited from being transmitted subsequently.
Further, after the obtaining the text template and configuring the text template attribute, the method further includes:
and setting a regular expression of parameters in the text template.
Specifically, the legality of the parameters is ensured by setting the regular expression. When the parameters of the sending identification are set, the regular expression is set, and only numbers can be set corresponding to the sending identification, and further: "before the number can only be in the range of" 01-24 ", in": the range of "the following numbers" is only a value within the range of "0 to 59".
The regular expression is set to limit the input parameters, and the accuracy of the input parameters is improved.
S2, filling the text template to obtain information to be sent and generate a corresponding unique value;
and acquiring the content to be sent corresponding to the user to be sent from a database, filling the content to be sent into the text sending template to obtain the information to be sent, and generating a corresponding unique value. In this application, the unique value is the MD5 value.
Further, before the filling the text template, the method further comprises:
acquiring a feature code of a user to be sent;
and acquiring corresponding information of the user to be sent based on the feature code.
Specifically, the feature code of the user to be sent, such as the phone number of the user, is obtained, and the corresponding information is obtained through the phone number.
And corresponding information is acquired according to the feature code of the user to be sent, so that the accuracy of acquiring the information of the user to be sent is improved.
Further, the filling the text template to obtain information to be sent and generate a corresponding unique value includes:
filling the text template based on the information of the user to be sent to obtain the information to be sent;
and generating the corresponding unique value based on the feature code, the number corresponding to the text template and the information to be sent.
Specifically, the feature code, the number corresponding to the text-sending template and the information to be sent are used to generate a corresponding MD5 value, so that the uniqueness of data is ensured, and only two identical information to be sent and the MD5 value are the same, so that repeated template contents can be effectively avoided.
And generating the unique value to facilitate the subsequent judgment of whether the information to be sent is repeated information.
Still further, the filling the text template based on the information of the user to be sent includes:
acquiring type information of content to be filled in the text template and a corresponding filling position;
based on the type information, calling corresponding content in the information of the user to be sent as content to be filled;
and filling the content to be filled into the corresponding filling position in the text template.
Specifically, the type information of the content to be filled in the text template is obtained first, and then the corresponding content is obtained from the information to be sent as the content to be filled according to the type information.
When each text template is configured, the type information of the content to be filled in the text template and the corresponding filling position are stored, and the text template can be directly called when used.
Because the user information is stored in a classified manner, for example, a plurality of user information are stored in an EXCEL, the first column is the user name or the feature code, the first row is the type of the user information, and the corresponding content in the information of the user to be sent can be called as the content to be filled according to the user name or the feature code of the user to be sent and the type information, and finally the content to be filled is filled into the corresponding filling position.
In the embodiment of the application, a text template "honored ___ customers, you consume ___ yuan in the month, and by the end of the month, you need to pay ___ yuan, in order to avoid default and influence your reputation, please pay as soon as possible", and the content to be filled in the text template includes "customer name, consumption amount and payment amount", so that the corresponding content, namely "wu xx, 1000, 2000", is obtained from the information of the user to be sent according to the content to be filled, and "wu xx, 1000, 2000" is filled in the corresponding content to be filled in the text template as the content to be filled. The information to be sent can be obtained, namely that the honored Wu xx client consumes 1000 yuan in the month, and the money is paid for 2000 yuan by the end of the month, so that the reputation of the user is not affected by default, and the user is required to pay as soon as possible.
And acquiring corresponding content from the information of the user to be sent according to the content to be filled, namely acquiring and filling the corresponding content according to the requirement, so that the accuracy of filling the content is improved.
Still further, the obtaining of the corresponding content from the information of the user to be sent based on the content to be filled includes, as the content to be filled:
and when the content corresponding to the content to be filled cannot be acquired from the information of the user to be sent, sending alarm information to at least one operation and maintenance receiving terminal.
Specifically, under a normal condition, the information of the user to be sent includes all information of the user, and when the content corresponding to the content to be filled cannot be obtained, there is a possibility that the information of the user to be sent is not refreshed in time or other conditions are caused, or a text template is wrong and the content to be filled is set wrong, so when the content corresponding to the content to be filled cannot be obtained, alarm information needs to be sent to an operation and maintenance receiving terminal, so that operation and maintenance personnel can perform maintenance.
And when the text sending template cannot be filled completely, sending an alarm mail to an operation and maintenance receiving end to remind the operation and maintenance personnel to process.
S3, inquiring a database according to the unique value corresponding to the information to be sent and the sending frequency, and judging whether the information to be sent is repeated information or not, wherein the sent information is stored in the database;
specifically, the repeated information refers to that sent information which is consistent with the unique value of the information to be sent is inquired in a database, and the difference value between the data sending time of the sent information and the current time is smaller than the reciprocal of the sending frequency.
Further, the querying a database according to the unique value corresponding to the information to be sent and the sending frequency, and determining whether the information to be sent is the repeated information includes:
inquiring the database according to the unique value corresponding to the information to be sent, and searching whether the same unique value exists;
if so, acquiring the data transmission time of the last transmitted information with the same unique value corresponding to the information to be transmitted, and comparing the difference value between the data transmission time and the current time with the reciprocal of the transmission frequency;
if the difference is greater than the reciprocal of the sending frequency, determining that the information to be sent is not repeated information;
if the difference is smaller than the reciprocal of the sending frequency, determining that the information to be sent is repeated information;
and if not, determining that the information to be sent is not the repeated information.
Specifically, the database is queried through the unique value, whether the sent information stored in the database has the same unique value is judged, and if not, the information to be sent is not repeated information; if yes, further judging the difference value between the data sending time of the last sent information and the current time, and comparing the difference value with the reciprocal of the sending frequency. The method can realize that the message notification or the short message can be sent only according to the preset sending frequency in a time period.
In this embodiment, the set sending frequency is 0.005HZ, that is, the sending time of two message pushes or short messages needs to be longer than 200S (1/0.005), when the data sending time is 17:23:34 and the current time is 17:26:00, the difference between the data sending time and the current time is 146S, and the difference is smaller than the reciprocal of the sending frequency, the information to be sent is determined to be the repeated information; and when the data transmission time is 17:20:00, the current time is 17:26:00, the difference value between the data transmission time and the current time is 360S, and the difference value is greater than the reciprocal of the transmission frequency, determining that the information to be transmitted is not repeated information.
The sending frequency is introduced to judge the repeated information so as to reduce the sending of the repeated information and improve the accuracy of information pushing.
S41, if the information to be sent is repeated information, triggering a fusing mechanism to stop sending the information to be sent;
further, after the triggering the fusing mechanism, the method further includes:
and sending alarm information to at least one operation and maintenance receiving end according to the information to be sent.
In this embodiment, the fusing mechanism is triggered to stop sending the information to be sent, and at this time, according to the information to be sent, alarm information is sent to at least one operation and maintenance receiving terminal, where the operation and maintenance receiving terminal includes a computer or a mobile terminal of an operation and maintenance worker, and the alarm information includes, but is not limited to, a mail and a short message. And reminding the operation and maintenance personnel to process in a mode of sending alarm information.
And an alarm is provided for the operation and maintenance personnel, so that the operation and maintenance personnel can rapidly handle the alarm.
And S42, if the information to be sent is not repeated information, sending the information to be sent.
Further, after the information to be transmitted is not the repeated information, the method further includes:
and storing the feature code, the number corresponding to the text sending template, the information to be sent and the attribute thereof and the corresponding unique value into a database.
Specifically, the information to be sent, which is not the repeated information, is stored in the database, so that query is facilitated when subsequent messages are sent, and the attributes of the information to be sent include sending time, parameter configuration conditions and the like.
The information to be sent which is determined not to be the repeated information and the unique value corresponding to the information are stored in the database, so that query is conveniently carried out before subsequent information is sent, and the sending of the repeated information is reduced.
It is emphasized that, in order to further ensure the privacy and security of the data, all the data of the text template may also be stored in the nodes of a blockchain.
The block chain referred by the application is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, a consensus mechanism, an encryption algorithm and the like. A block chain (Blockchain), which is essentially a decentralized database, is a series of data blocks associated by using a cryptographic method, and each data block contains information of a batch of network transactions, so as to verify the validity (anti-counterfeiting) of the information and generate a next block. The blockchain may include a blockchain underlying platform, a platform product service layer, an application service layer, and the like.
The method comprises the steps of obtaining a message template, configuring the attribute of the message template in advance so as to facilitate the subsequent control of the message template, and generating a corresponding unique value after filling the message template to obtain information to be sent so as to facilitate the subsequent query of repeated information; then, according to the unique value and the sending frequency corresponding to the information to be sent, operation of inquiring a database is carried out so as to judge whether the information to be sent is repeated information; if the information to be sent is judged to be the repeated information, triggering a fusing mechanism and stopping sending the information to be sent; if the information to be sent is not the repeated information, the information to be sent is sent, so that the sending of the repeated information can be reduced, and the accuracy of information pushing is improved.
FIG. 2 is a functional block diagram of a fusing apparatus for user-triggered data according to the present application.
The fuse apparatus 100 for user-triggered data may be installed in an electronic device. According to the implemented functions, the fusing apparatus 100 for user trigger type data may include an obtaining module 101, a filling module 102, a repeated judging module 103, a fusing module 104, and a sending module 105. A module, which may also be referred to as a unit in this application, refers to a series of computer program segments that can be executed by a processor of an electronic device and that can perform a fixed function, and that are stored in a memory of the electronic device.
In the present embodiment, the functions regarding the respective modules/units are as follows:
an obtaining module 101, configured to obtain a text template and configure a text template attribute, where the text template attribute includes a sending frequency;
further, the fuse device 100 for user touch data further includes a scanning and retrieving module, an analyzing module, and a clearing module;
the scanning and calling module is used for scanning and storing a template basic table of the text sending template every other first preset time and calling a log of the template basic table;
the analysis module is used for analyzing the logs of the template basic table to obtain the using times of each text template in the template basic table;
the clearing module is used for clearing the text sending template with zero use times in a preset time period.
Specifically, the scanning and calling module is used for regularly scanning a template basic table stored with a text template, calling logs of the template basic table, analyzing the logs by an analyzing module, acquiring the use times of each text template, and clearing the text template with the use times being zero in a preset time period by a clearing module, so that the regular scanning and the clearing of the text template are realized, and the problems that the text template which is not used for a long time occupies a storage space and is not convenient to manage are solved.
The idle text sending template is cleaned in time through the matching of the scanning calling module, the analyzing module and the clearing module, the utilization rate of the storage space is improved, and the efficiency of maintaining the existing template is also improved.
Further, the fusing device 100 for user touch data further includes an information type obtaining module, a message template obtaining module, a decimation module, a feedback information obtaining module and a proportion increasing module;
the information type acquisition module is used for acquiring the information of a user to be sent and calling an information type corresponding to the information of the user to be sent;
the message template acquisition module is used for acquiring a first message template and a second message template corresponding to the information type from a database, wherein the version of the first message template is higher than that of the second message template;
the drawing module is used for setting the selection proportion of the first message template and the second message template and obtaining the text template through the selection in a random drawing mode;
the feedback information acquisition module is used for acquiring user feedback information and identifying whether the user feedback information is error information;
the proportion increasing module is used for continuously increasing the selection proportion of the first message template under the condition that the error information fed back by the user is not received until the first message template is directly used as the text sending template.
The probability of large-range influence caused by template errors is reduced by the stepped batch pushing of the message template acquisition module, the decimation module and the proportion increasing module in a plurality of time periods.
Further, the text template attribute further includes a sending identifier, and the obtaining module 101 includes a setting receiving submodule and a configuration submodule;
the setting receiving submodule is used for receiving a numerical value set by a user;
and the configuration submodule is used for configuring the sending identifier according to the value so as to set that the template is forbidden to be used within second preset time.
The use forbidding time period is set through the cooperation of the setting receiving submodule and the configuration submodule, so that the information to be sent in the use forbidding time period is prevented from being sent subsequently.
Further, the fusing device 100 for the user touch data further includes a parameter regularization module;
the parameter regular expression module is used for setting the regular expression of the parameters in the text template.
The parameter regular expression module limits input parameters by setting a regular expression, and improves the accuracy of the input parameters.
A filling module 102, configured to fill the text template, obtain information to be sent, and generate a corresponding unique value;
further, the fusing device 100 for user touch data further includes a feature code obtaining module and an information obtaining module;
the feature code acquisition module is used for acquiring a feature code of a user to be sent;
and the information acquisition module is used for acquiring the corresponding information of the user to be sent based on the feature code.
The accuracy of obtaining the user information to be sent is improved through the matching of the feature code obtaining module and the information obtaining module.
Further, the filling module 102 includes an information filling sub-module and a unique value generating sub-module;
the information filling submodule is used for filling the text sending template based on the information of the user to be sent to obtain the information to be sent;
and the unique value generation submodule is used for generating the corresponding unique value based on the feature code, the number corresponding to the text sending template and the information to be sent.
The unique value is generated through the matching of the information filling submodule and the unique value generating submodule, so that whether the information to be sent is repeated information or not can be conveniently judged subsequently.
Still further, the information filling sub-module further comprises a content obtaining unit, a to-be-filled content obtaining unit and a content filling unit;
the content acquisition unit is used for acquiring the type information of the content to be filled in the text template and the corresponding filling position;
a to-be-filled content obtaining unit, configured to call, based on the type information, the information of the user to be sent to obtain corresponding content, which is used as to-be-filled content;
and the content filling unit is used for filling the content to be filled into the corresponding filling position in the text template.
Through the cooperation of the content acquisition unit, the to-be-filled content acquisition unit and the content filling unit, corresponding content is acquired from information of a user to be sent according to the content to be filled, namely, the corresponding content is acquired and filled according to the requirement, so that the accuracy of filling the content is improved.
Still further, the unit for acquiring the content to be filled comprises an alarm subunit;
and the alarm subunit is configured to send alarm information to at least one operation and maintenance receiving end when the content corresponding to the content to be filled cannot be obtained in the information of the user to be sent.
And when the text sending template cannot be filled completely, the alarm subunit sends an alarm mail to an operation and maintenance receiving end to remind the operation and maintenance personnel to process.
A repeat judgment module 103, configured to query a database according to the unique value corresponding to the to-be-sent information and the sending frequency, and judge whether the to-be-sent information is repeated information, where the sent information is stored in the database;
further, the repeated judgment module 103 includes a query sub-module and a frequency judgment sub-module;
the query submodule is used for querying the database according to the unique value corresponding to the information to be sent and searching whether the same unique value exists or not;
the frequency judgment submodule is used for acquiring the data sending time of the last sent information with the same unique value corresponding to the information to be sent if the query submodule obtains that the sent information with the same unique value exists in a database, and comparing the difference value between the data sending time and the current time with the reciprocal of the sending frequency; if the difference is greater than the reciprocal of the sending frequency, determining that the information to be sent is not repeated information; if the difference is smaller than the reciprocal of the sending frequency, determining that the information to be sent is repeated information;
and if the query submodule obtains that no sent information with the same unique value exists in the database, determining that the information to be sent is not repeated information.
Through the matching of the query submodule and the frequency judgment submodule, the repeated information is judged by introducing the sending frequency, so that the sending of the repeated information is reduced, and the accuracy of information pushing is improved.
A fusing module 104, configured to trigger a fusing mechanism to stop sending the to-be-sent information if the to-be-sent information is repeated information;
further, the fusing device 100 for the user touch data comprises an alarm sending module;
and the alarm sending module is used for sending alarm information to at least one operation and maintenance receiving end according to the information to be sent.
The alarm sending module provides an alarm for operation and maintenance personnel, and the operation and maintenance personnel can rapidly process the alarm.
A sending module 105, configured to send the information to be sent if the information to be sent is not the repeated information.
Further, the fusing device 100 for the user-triggered data includes a saving module;
and the storage module is used for storing the feature codes, the numbers corresponding to the text sending templates, the information to be sent and the attributes thereof and the corresponding unique values into a database.
The storage module stores the information to be sent which is determined not to be the repeated information and the unique value corresponding to the information to be sent into the database, so that the information to be sent can be conveniently inquired before the subsequent information is sent, and the sending of the repeated information is reduced.
By adopting the device, the fusing device 100 for the user touch data realizes that the sending of repeated information can be reduced and the accuracy of information pushing is improved by the matched use of the acquisition module 101, the filling module 102, the repeated judgment module 103, the fusing module 104 and the sending module 105.
In order to solve the technical problem, an embodiment of the present application further provides a computer device. Referring to fig. 3, fig. 3 is a block diagram of a basic structure of a computer device according to the present embodiment.
The computer device 4 comprises a memory 41, a processor 42, a network interface 43 communicatively connected to each other via a system bus. It is noted that only computer device 4 having components 41-43 is shown, but it is understood that not all of the shown components are required to be implemented, and that more or fewer components may be implemented instead. As will be understood by those skilled in the art, the computer device is a device capable of automatically performing numerical calculation and/or information processing according to a preset or stored instruction, and the hardware includes, but is not limited to, a microprocessor, an Application Specific Integrated Circuit (ASIC), a Programmable Gate Array (FPGA), a Digital Signal Processor (DSP), an embedded device, and the like.
The computer device can be a desktop computer, a notebook, a palm computer, a cloud server and other computing devices. The computer equipment can carry out man-machine interaction with a user through a keyboard, a mouse, a remote controller, a touch panel or voice control equipment and the like.
The memory 41 includes at least one type of readable storage medium including a flash memory, a hard disk, a multimedia card, a card type memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a Read Only Memory (ROM), an Electrically Erasable Programmable Read Only Memory (EEPROM), a Programmable Read Only Memory (PROM), a magnetic memory, a magnetic disk, an optical disk, etc. In some embodiments, the memory 41 may be an internal storage unit of the computer device 4, such as a hard disk or a memory of the computer device 4. In other embodiments, the memory 41 may also be an external storage device of the computer device 4, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the computer device 4. Of course, the memory 41 may also include both internal and external storage devices of the computer device 4. In this embodiment, the memory 41 is generally used for storing an operating system installed in the computer device 4 and various types of application software, such as computer readable instructions of a fusing method for user-triggered data. Further, the memory 41 may also be used to temporarily store various types of data that have been output or are to be output.
The processor 42 may be a Central Processing Unit (CPU), controller, microcontroller, microprocessor, or other data Processing chip in some embodiments. The processor 42 is typically used to control the overall operation of the computer device 4. In this embodiment, the processor 42 is configured to execute computer readable instructions stored in the memory 41 or process data, such as executing a fusing method of the user-trigger-type data.
The network interface 43 may comprise a wireless network interface or a wired network interface, and the network interface 43 is generally used for establishing communication connection between the computer device 4 and other electronic devices.
In this embodiment, when the processor executes the computer readable instructions stored in the memory, the steps of the fusing method for user trigger data according to the above embodiments are implemented, so that the message template is controlled subsequently by obtaining the message template and configuring the attributes of the message template in advance, and after the message template is filled to obtain information to be sent, a corresponding unique value is generated, so that repeated information is queried subsequently; then, according to the unique value and the sending frequency corresponding to the information to be sent, operation of inquiring a database is carried out so as to judge whether the information to be sent is repeated information; if the information to be sent is judged to be the repeated information, triggering a fusing mechanism and stopping sending the information to be sent; if the information to be sent is not the repeated information, the information to be sent is sent, so that the sending of the repeated information can be reduced, and the accuracy of information pushing is improved.
Another embodiment is provided, in which a computer-readable storage medium is stored, and the computer-readable instructions are executable by at least one processor, so that the at least one processor performs the steps of the user trigger-type data method, where a text template is obtained and attributes of the text template are configured in advance, so as to facilitate subsequent control over the text template, and after the text template is filled to obtain information to be sent, a corresponding unique value is generated, so as to facilitate subsequent query of repeated information; then, according to the unique value and the sending frequency corresponding to the information to be sent, operation of inquiring a database is carried out so as to judge whether the information to be sent is repeated information; if the information to be sent is judged to be the repeated information, triggering a fusing mechanism and stopping sending the information to be sent; if the information to be sent is not the repeated information, the information to be sent is sent, so that the sending of the repeated information can be reduced, and the accuracy of information pushing is improved.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
It is to be understood that the above-described embodiments are merely illustrative of some, but not restrictive, of the broad invention, and that the appended drawings illustrate preferred embodiments of the invention and do not limit the scope of the invention. This application is capable of embodiments in many different forms and is provided for the purpose of enabling a thorough understanding of the disclosure of the application. Although the present application has been described in detail with reference to the foregoing embodiments, it will be apparent to one skilled in the art that the present application may be practiced without modification or with equivalents of some of the features described in the foregoing embodiments. All equivalent structures made by using the contents of the specification and the drawings of the present application are directly or indirectly applied to other related technical fields and are within the protection scope of the present application.

Claims (8)

1. A method for fusing user-triggered data, the method comprising:
acquiring a text template, and configuring the attribute of the text template, wherein the attribute of the text template comprises sending frequency;
filling the text template to obtain information to be sent and generating a corresponding unique value;
inquiring a database according to the unique value corresponding to the information to be sent and the sending frequency, and judging whether the information to be sent is repeated information or not, wherein the sent information is stored in the database;
if the information to be sent is repeated information, triggering a fusing mechanism and stopping sending the information to be sent;
if the information to be sent is not repeated information, sending the information to be sent;
prior to said populating said text template, further comprising:
acquiring a feature code of a user to be sent;
acquiring corresponding information of the user to be sent based on the feature code;
the filling the text template to obtain information to be sent and generate a corresponding unique value comprises:
filling the text template based on the information of the user to be sent to obtain the information to be sent;
and generating the corresponding unique value based on the feature code, the number corresponding to the text template and the information to be sent.
2. The method for fusing user-triggered data according to claim 1, further comprising, before the obtaining the text template:
scanning a template basic table storing the text sending template every other first preset time, and calling a log of the template basic table;
analyzing the logs of the template basic table to obtain the using times of each text template in the template basic table;
and clearing the text template with the use frequency of zero in a preset time period.
3. The method for fusing user-triggered data according to claim 1, further comprising, before the obtaining the text template:
acquiring information of a user to be sent, and calling an information type corresponding to the information of the user to be sent;
acquiring a first message template and a second message template corresponding to the information type from a database, wherein the version of the first message template is higher than that of the second message template;
setting the selection proportion of the first message template and the second message template, and selecting to obtain the text template in a random lottery form;
acquiring user feedback information and identifying whether the user feedback information is error information;
and under the condition that no user feedback error information is received, continuously increasing the selection proportion of the first message template until the first message template is directly used as the text sending template.
4. The method for fusing user-triggered data according to claim 1, wherein the populating the text template based on the information about the user to be sent comprises:
acquiring type information of content to be filled in the text template and a corresponding filling position;
based on the type information, calling corresponding content in the information of the user to be sent as content to be filled;
and filling the content to be filled into the corresponding filling position in the text template.
5. The method for fusing user reach-related data according to any one of claims 1 to 4, wherein the querying a database according to the unique value corresponding to the information to be sent and the sending frequency to determine whether the information to be sent is repetitive information comprises:
inquiring the database according to the unique value corresponding to the information to be sent, and searching whether the same unique value exists;
if so, acquiring the data transmission time of the last transmitted information with the same unique value corresponding to the information to be transmitted, and comparing the difference value between the data transmission time and the current time with the reciprocal of the transmission frequency;
if the difference is greater than the reciprocal of the sending frequency, determining that the information to be sent is not repeated information;
if the difference is smaller than the reciprocal of the sending frequency, determining that the information to be sent is repeated information;
and if not, determining that the information to be sent is not repeated information.
6. A user-activated data fusing device, the device comprising:
the system comprises an acquisition module, a transmission module and a transmission module, wherein the acquisition module is used for acquiring a text template and configuring the attribute of the text template, and the attribute of the text template comprises transmission frequency;
the filling module is used for filling the text template to obtain information to be sent and generate a corresponding unique value;
the repeated judging module is used for inquiring a database according to the unique value corresponding to the information to be sent and the sending frequency, judging whether the information to be sent is repeated information or not, and storing the sent information in the database;
the fusing module is used for triggering a fusing mechanism to stop sending the information to be sent if the information to be sent is repeated information;
the sending module is used for sending the information to be sent if the information to be sent is not repeated information;
the device further comprises:
the system comprises a feature code acquisition module, a feature code sending module and a feature code sending module, wherein the feature code acquisition module is used for acquiring a feature code of a user to be sent;
the information acquisition module is used for acquiring the corresponding information of the user to be sent based on the feature code;
the filling module includes:
the information filling submodule is used for filling the text sending template based on the information of the user to be sent to obtain the information to be sent;
and the unique value generation submodule is used for generating the corresponding unique value based on the feature code, the number corresponding to the text sending template and the information to be sent.
7. A computer device, characterized in that the computer device comprises:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores computer readable instructions which, when executed by the processor, implement a method of fusing user-reach-type data as recited in any one of claims 1 to 5.
8. A computer-readable storage medium having computer-readable instructions stored thereon, which when executed by a processor implement a method for fusing user-reach-type data according to any one of claims 1 to 5.
CN202110575033.9A 2021-05-26 2021-05-26 Fusing method, device, equipment and storage medium for user touch data Active CN113316099B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110575033.9A CN113316099B (en) 2021-05-26 2021-05-26 Fusing method, device, equipment and storage medium for user touch data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110575033.9A CN113316099B (en) 2021-05-26 2021-05-26 Fusing method, device, equipment and storage medium for user touch data

Publications (2)

Publication Number Publication Date
CN113316099A CN113316099A (en) 2021-08-27
CN113316099B true CN113316099B (en) 2022-08-12

Family

ID=77374776

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110575033.9A Active CN113316099B (en) 2021-05-26 2021-05-26 Fusing method, device, equipment and storage medium for user touch data

Country Status (1)

Country Link
CN (1) CN113316099B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101021838A (en) * 2007-03-02 2007-08-22 华为技术有限公司 Text handling method and system
CN101137087A (en) * 2007-08-01 2008-03-05 浙江大学 Short message monitoring center and monitoring method
CN102421200A (en) * 2008-04-23 2012-04-18 联发科技股份有限公司 Methods for performing pin verification by mobile station with subscriber identity cards and systems utilizing the same

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106060787A (en) * 2016-05-16 2016-10-26 北京奇虎科技有限公司 Information transmitting method, apparatus and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101021838A (en) * 2007-03-02 2007-08-22 华为技术有限公司 Text handling method and system
CN101137087A (en) * 2007-08-01 2008-03-05 浙江大学 Short message monitoring center and monitoring method
CN102421200A (en) * 2008-04-23 2012-04-18 联发科技股份有限公司 Methods for performing pin verification by mobile station with subscriber identity cards and systems utilizing the same

Also Published As

Publication number Publication date
CN113316099A (en) 2021-08-27

Similar Documents

Publication Publication Date Title
CN107908680A (en) Management method, electronic device and the computer-readable recording medium of wechat public platform
CN111475369A (en) Log monitoring adding method and device, computer equipment and storage medium
CN110516471B (en) Product promotion method based on information security and related equipment
CN111651468A (en) Data updating method and device based on SQL analysis, electronic equipment and storage medium
CN107544765A (en) A kind of order print system and method
CN112052111A (en) Processing method, device and equipment for server abnormity early warning and storage medium
CN112468409A (en) Access control method, device, computer equipment and storage medium
CN114281552A (en) Task scheduling method, device, equipment and medium based on directed acyclic graph
CN113316099B (en) Fusing method, device, equipment and storage medium for user touch data
CN109391658B (en) Account data synchronization method and equipment, storage medium and terminal thereof
CN110874365B (en) Information query method and related equipment thereof
CN112860662A (en) Data blood relationship establishing method and device, computer equipment and storage medium
CN112036579A (en) Self-learning online updating method, system and device for multi-classification model
CN114374737A (en) Message pushing method and device, computer equipment and storage medium
CN114281817A (en) Data cleaning method and device, computer equipment and storage medium
CN114615325A (en) Message pushing method and device, computer equipment and storage medium
CN114070847B (en) Method, device, equipment and storage medium for limiting current of server
CN114520807A (en) File uploading and downloading method and device, computer equipment and storage medium
CN113626509A (en) Data access method and device, electronic equipment and readable storage medium
CN112965721A (en) Android-based project compiling method and device, computer equipment and storage medium
CN112632192A (en) Node maintenance method and device, computer equipment and medium
CN112130936A (en) Polling-based data calling method, device, equipment and storage medium
CN109918278B (en) Method and device for monitoring operation times of user system and computer storage medium
CN110839085A (en) Instruction management method, instruction management device, electronic equipment and storage medium
EP4092610A1 (en) Information processing method, device, system, and computer-readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant