A digital marketing method, system, program product and storage medium
By synchronizing local time with accurate external time through distributed system time synchronization and consistency maintenance algorithms, generating encrypted timestamps and verifying the number of deliveries, dynamically adjusting network protocols, and periodically monitoring keys, the system solves the marketing chaos caused by time and network issues in digital marketing, and improves the accuracy and security of marketing tasks.
Patent Information
- Application Number
- CN202411850347.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-16
- Publication Date
- 2025-12-26
- Estimated Expiration
- 2044-12-16
AI Technical Summary
In existing digital marketing methods, factors such as vulnerabilities in time management systems or unstable network environments can lead to deviations in the timing of marketing campaigns, resulting in incorrect or out-of-time marketing pushes and reduced marketing effectiveness.
The system synchronizes local time with accurate external time through distributed system time synchronization and consistency maintenance algorithms, generates encrypted timestamps and verifies the number of times they are distributed, promptly identifies and marks potential faulty nodes, dynamically adjusts communication protocol parameters to ensure network stability, periodically monitors keys and generates new keys, and uses hash functions to identify abnormal data.
It effectively avoids the waste of marketing resources and deviations in results caused by time or network issues, improves the quality and efficiency of marketing task execution, ensures data security and accuracy, and optimizes overall marketing results.
Smart Images

Figure CN119831660B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the field of Internet advertising services, and in particular to a digital marketing method, system, program product and storage medium. BACKGROUND
[0002] With the vigorous development of the Internet, the demand for precision marketing and brand promotion of enterprises is increasing day by day, and digital marketing methods have become the focus of attention of enterprises. Enterprises often use it for multi-channel marketing activities, develop targeted marketing plans and dissemination paths, and carry out brand promotion on target audiences, etc.
[0003] At present, the digital marketing method is usually to first determine the specific marketing activity target and the target audience characteristics, and then dig out the user information that may meet the requirements from the massive data. Then, the platform will use automatic tools to carry out marketing on these users according to the preset marketing plan and dissemination path. After the users contact the marketing information, the digital marketing system executes according to the preset plan, understands user behavior and collects feedback with the help of data analysis and personalized recommendation technology.
[0004] However, due to the loopholes of the time management system or the unstable network environment and other factors, the problem of chaotic delivery time often occurs. For example, the marketing activity should be carried out for the users in a specific region at a specific time period, but the time setting deviates, resulting in marketing push to the users at the wrong time, or the time is chaotic during the delivery process, which prolongs or shortens the marketing time, greatly reducing the effect of digital marketing. SUMMARY
[0005] The present application provides a digital marketing method, system, program product and storage medium for improving the effect of digital marketing.
[0006] In a first aspect, the application provides a digital marketing method applied to a digital marketing system, the method comprising: in response to a new task instruction input by a user, extracting a preset time node, a preset expected delivery quantity range corresponding to each time node, a preset marketing channel type and a preset material script information in the new task instruction, and starting to execute a marketing task; the marketing task is sequentially delivering the preset material script information to a customer through the preset marketing channel type; during the execution of the marketing task, when the system local time reaches a system synchronization time node, obtaining a real-time completed delivery task quantity value, and simultaneously synchronizing the system local time and the external accurate time by using a distributed system time synchronization and consistency maintenance algorithm; the system synchronization time node is any one of the preset time nodes; after the system local time and the external accurate time are synchronized, generating an encrypted timestamp for the system synchronization time node data, the real-time completed delivery task quantity value and the current synchronization number data; verifying whether the real-time completed delivery task quantity value in the encrypted timestamp is within the expected delivery quantity range corresponding to the system synchronization time node; if it is within the range, the marketing task is continued to be executed; if it is not within the range, the system synchronization time node is marked as a potential fault node, and the marketing task is continued to be executed.
[0007] In the above embodiments, by extracting information and carrying out marketing tasks accordingly, it is ensured that the marketing activities are carried out in a planned manner; during the execution, the local time and the external accurate time are synchronized by using the distributed system time synchronization and consistency maintenance algorithm, so as to avoid time deviation caused by system or network factors; the system synchronization time node data, the real-time delivery quantity value and the like are generated into an encrypted timestamp, and it is verified whether the delivery quantity is within the preset range, so that the possible abnormalities at the time node can be found in time and marked as a potential fault node, the time of the entire marketing process meets the expectation, the situation that the marketing effectiveness is reduced due to time disorder is prevented, the resource waste and the effect deviation caused by abnormal delivery are avoided, and the quality and efficiency of the execution of the overall marketing task are improved.
[0008] In some embodiments of the first aspect, in response to a new task instruction input by a user, the preset time node, the preset estimated number range corresponding to each time node, the preset marketing channel type, and the preset material script information in the new task instruction are extracted to start executing the marketing task, specifically including: in response to a new task instruction input by a user, the time zone information of each customer in the task, the preset time node in the new task instruction, the preset estimated number range corresponding to each time node, the preset marketing channel type, and the preset material script information are extracted, and customers in the same time zone are grouped by the time zone information and arranged according to the corresponding preset time zone information corresponding value; the time zone information of the current time zone group customers is called in sequence, the external accurate time and the system local time corresponding to the time zone information are obtained; in the case that the time difference value is greater than the preset time difference threshold, the system local time is calibrated to the external accurate time, and the marketing task is started to be executed; the time difference value is the difference between the calculated external accurate time and the system local time.
[0009] In the above embodiments, intelligent grouping and sorting are performed according to customer time zone information; secondly, the external accurate time and the system local time corresponding to each group of customers are obtained in sequence, the accuracy of the system local time is accurately judged by comparing the difference value with the preset threshold; when there is a large deviation, the external accurate time is calibrated in time, so that the marketing task is accurately carried out according to the preset time node in different time zone customer groups, effectively solving the marketing confusion problem caused by time zone difference and inaccurate time, effectively improving the customer acceptance and response rate of the marketing activity, and optimizing the overall marketing effect and resource utilization.
[0010] In some embodiments of the first aspect, in the marketing task execution process, when the system local time reaches the system synchronization time node, the number of real-time completed task is obtained, and the distributed system time synchronization and consistency maintenance algorithm is used to synchronize the system local time and the external accurate time, specifically including: in the marketing task execution process, when the system local time reaches the system synchronization time node, a network probe packet is sent, the delay of receiving response and the packet loss rate are obtained, and it is judged whether the current network is in a stable state; the network stable state is that the delay of receiving response is within the preset delay threshold range and the packet loss rate is within the preset packet loss rate range; in the case that the network is not in a stable state, the communication protocol parameters are dynamically adjusted according to the network condition, and it is judged again whether the current network is in a stable state; in the case that the network is in a stable state, the number of real-time completed task is obtained, and the distributed system time synchronization and consistency maintenance algorithm is used to synchronize the system local time and the external accurate time.
[0011] In the above embodiments, the network stability state is determined by sending a network probe packet when the system local time reaches the system synchronization time node, obtaining the delay and packet loss rate of the received response, and determining the network stability state; if the network is unstable, the communication protocol parameters are dynamically adjusted according to the network status, and then the network stability state is determined again; if the network is stable, the number of real-time completed delivery tasks is obtained, and the distributed system time synchronization and consistency maintenance algorithm is used to synchronize the system local time and the external precise time, so as to ensure that the delivery task data can be accurately obtained in a stable network environment, and the reliability and accuracy of the marketing task execution are improved, and the marketing failure caused by network problems or time deviation is effectively avoided.
[0012] In combination with some embodiments of the first aspect, in some embodiments, after the system local time and the external precise time are synchronized, the system synchronization time node data, the number of real-time completed delivery tasks, and the current synchronization number data are generated into an encrypted timestamp, specifically including: after the system local time and the external precise time are synchronized, the system synchronization time node data, the number of real-time completed delivery tasks, and the current synchronization number data are obtained and combined into combined data; an encryption algorithm is selected, and a corresponding encryption key is obtained; the combined data is encrypted using the encryption algorithm and the encryption key to generate an encrypted timestamp.
[0013] In the above embodiments, after the system local time and the external precise time are synchronized, the system synchronization time node data, the number of completed delivery tasks, and the synchronization number data are obtained and integrated to form combined data, then a suitable encryption algorithm is selected and a corresponding encryption key is obtained, and finally the combined data is encrypted using the selected encryption algorithm and key to generate an encrypted timestamp; through these steps, the key marketing task related data is effectively encrypted and protected, the confidentiality and integrity of the data in the storage and transmission links are ensured, and the accuracy of digital marketing and marketing effect are improved.
[0014] In some embodiments of the first aspect, after the system local time and the external precise time are synchronized, and the system synchronization time node data, the number of completed real-time delivery tasks, and the current synchronization frequency data are generated with encrypted time stamps, the method further comprises: periodically checking whether there is an abnormal key through a cryptographic analysis tool according to a preset monitoring key time frequency; the abnormal key is a weak key or a cracked key; the weak key is a complementary key, a byte repeating key, or a key with a length less than a preset minimum key threshold in a symmetric encryption algorithm; in the case of an abnormal key, backing up all data of an abnormal encrypted time stamp with the abnormal key, generating a new key for the abnormal encrypted time stamp through a preset encryption algorithm; decrypting the abnormal encrypted time stamp using the abnormal key and initializing the abnormal encrypted time stamp; storing all files in the abnormal encrypted time stamp and re-encrypting the abnormal encrypted time stamp using the new key and the preset encryption algorithm to obtain a new encrypted time stamp.
[0015] In the above embodiments, by periodically monitoring the key time frequency, the system can timely discover and handle abnormal keys such as weak keys or cracked keys, ensuring encryption security; once an abnormal key is found, the system will backup related data and generate a new key to re-encrypt the abnormal time stamp, improving the timeliness and effectiveness of data protection, avoiding security risks caused by key problems, ensuring the accuracy and reliability of the encrypted time stamp, and thus optimizing the overall data protection effect and resource utilization.
[0016] In some embodiments of the first aspect, after storing all files in the abnormal encrypted time stamp and re-encrypting the abnormal encrypted time stamp using the new key to obtain a new encrypted time stamp, the method further comprises: in the case of an abnormal key, generating a new content hash value of the new encrypted time stamp content using a hash function, and generating a backup hash value of the backed up data using the hash function; in the case that the new content hash value is different from the backup hash value, isolating the data in the new encrypted time stamp and marking the time node corresponding to the new encrypted time stamp as an abnormal node.
[0017] In the above embodiments, by generating hash values of the new encrypted time stamp content and the backup data using a hash function when an abnormal key appears, and comparing the differences between the two, the system can identify and isolate abnormal data, improving the security and accuracy of marketing delivery data. Once it is found that the new content hash value is inconsistent with the backup hash value, the system will mark the corresponding time node as abnormal, effectively avoiding the impact of incorrect data on marketing activities, ensuring the continuity and reliability of marketing tasks, and improving the efficiency of data management and marketing effect.
[0018] In some embodiments of the first aspect, if the system synchronization time node is not within the range, the method further comprises, after marking the system synchronization time node as a potential fault node, collecting a running log of the system synchronization time node; and adjusting algorithm parameters according to error codes and analysis results in the case that the error codes and analysis results indicate errors in the distributed system time synchronization and consistency maintenance algorithm and node communication protocol or a timeout of the distributed system time synchronization and consistency maintenance algorithm.
[0019] In the above embodiments, by collecting a running log and analyzing error codes when an exception occurs at a system synchronization time node, the system can identify and locate a potential fault node. This method is based on in-depth monitoring of a distributed system time synchronization and consistency maintenance algorithm, ensures that marketing content accurately reaches target customers at the correct time, improves customer acceptance and response rate to marketing activities, and optimizes overall marketing effectiveness.
[0020] In a second aspect, the embodiments of the present application provide a digital marketing system, comprising: one or more processors and a memory; the memory is coupled to the one or more processors, and the memory is configured to store computer program code, the computer program code comprising computer instructions, and the one or more processors are configured to invoke the computer instructions to enable the digital marketing system to perform the method described in the first aspect and any possible implementation manner of the first aspect.
[0021] In a third aspect, the embodiments of the present application provide a computer program product comprising instructions, which, when executed on a digital marketing system, enable the digital marketing system to perform the method described in the first aspect and any possible implementation manner of the first aspect.
[0022] In a fourth aspect, the embodiments of the present application provide a computer-readable storage medium comprising instructions, which, when executed on a digital marketing system, enable the digital marketing system to perform the method described in the first aspect and any possible implementation manner of the first aspect.
[0023] It can be understood that the digital marketing system provided in the second aspect, the computer program product provided in the third aspect, and the computer storage medium provided in the fourth aspect are all used to execute the digital marketing method provided in the embodiments of the present application. Therefore, the beneficial effects that can be achieved are referred to the beneficial effects in the corresponding method, which will not be described here.
[0024] The one or more technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages:
[0025] 1、The application extracts information and carries out marketing tasks accordingly to ensure that marketing activities are carried out in a planned manner; in the execution process, the distributed system time synchronization and consistency maintenance algorithm is used to synchronize the local time with the external precise time to avoid time deviation caused by system or network factors; the system synchronization time node data, real-time delivery quantity value, etc. are generated into encrypted time stamps and the delivery quantity is verified to be within the preset range, which can timely discover possible abnormalities at the time node and mark them as potential fault nodes, the time of the entire marketing process meets the expectation, prevents the occurrence of cases where the marketing effectiveness is reduced due to time disorder, avoids resource waste and effect deviation caused by abnormal delivery, and improves the quality and efficiency of the overall marketing task execution.
[0026] 2、The application sends a network probe packet when the system local time reaches the system synchronization time node, obtains the delay and packet loss rate of the received response, and judges the network stability; if the network is unstable, the communication protocol parameters are dynamically adjusted according to the network status and then judged again; if the network is stable, the quantity value of the real-time completed delivery task is obtained, and the distributed system time synchronization and consistency maintenance algorithm is used to synchronize the system local time with the external precise time, which ensures that the delivery task data can be accurately obtained in a stable network environment, thereby improving the reliability and accuracy of the marketing task execution and effectively avoiding marketing failures caused by network problems or time deviation.
[0027] 3、The application periodically monitors the key time frequency, and the system can timely discover and handle abnormal keys such as weak keys or cracked keys to ensure encryption security; once an abnormal key is found, the system will backup related data and generate a new key to re-encrypt the abnormal time stamp, which improves the timeliness and effectiveness of data protection, avoids security risks caused by key problems, ensures the accuracy and reliability of the encrypted time stamp, and further optimizes the overall data protection effect and resource utilization. BRIEF DESCRIPTION OF DRAWINGS
[0028] Figure 1 is a structural schematic diagram of a system architecture applicable to the digital marketing method in the embodiments of the application;
[0029] Figure 2 is a flowchart of the digital marketing method in the embodiments of the application;
[0030] Figure 3 is another flowchart of the digital marketing method in the embodiments of the application;
[0031] Figure 4 is an exemplary hardware structure schematic diagram of the digital marketing system controller in the embodiments of the application. DETAILED DESCRIPTION
[0032] The terminology used in the following embodiments of the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the present application. As used in the description of the embodiments of the application and the appended claims, the singular forms "a," "an" and "the" are intended to include both singular and plural forms, unless the context clearly indicates otherwise. It will be further understood that the terms "and / or," as used in the description of the embodiments of the application, refers to and encompasses any and all possible combinations of one or more of the associated listed items.
[0033] Hereinafter, the terms "first" and "second" are used only for the purpose of description and should not be understood as implying or suggesting relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined with "first" and "second" can explicitly or implicitly include one or more of the features, and in the description of the embodiments of the present application, the meaning of "a plurality of" is two or more, unless otherwise specified.
[0034] Figure 1 is a structural schematic diagram of a system architecture to which the digital marketing method in the embodiments of the present application can be applied.
[0035] Please refer to Figure 1 The system includes a server 110, a network device 120 and a user terminal device 130.
[0036] The server 110 mainly includes a task processing server 111, a time synchronization server 112 and a data storage server 113, and is a key component of the digital marketing system, which collectively ensures the efficient operation of the system. Among them, the task processing server 111 is used to receive and process the marketing task instructions input by the user, analyze various parameters in the task instructions, plan and schedule the marketing tasks according to these parameters, orderly carry out the marketing activities according to the set time and rules, and manage and maintain the execution status of the marketing tasks; the time synchronization server 112 is connected with an external authoritative time source (such as an atomic clock server or a network time protocol server), obtains the external accurate time, and stores the related records of time synchronization; the data storage server 113 is used to store all data related to digital marketing and responsible for the organization and management of data, to ensure efficient storage and fast retrieval of data, to store data by database management system, to establish index to improve query efficiency, and to provide data support for other devices.
[0037] The network device 120 mainly includes a router 121 and a firewall 122, mainly responsible for building a safe, stable and efficient network connection, realizing accurate transmission and exchange of data, and effectively resisting external network threats, providing a solid network foundation guarantee for the smooth development of marketing tasks and the overall stable operation of the system. Among them, the router 121 is used to build and manage network connections, connect servers and other devices, realize data transmission and exchange; the firewall 122 is used to protect the network security of the digital marketing system, monitor and filter network traffic in and out of the system, and prevent unauthorized access and malicious attacks.
[0038] The user terminal device 130 is an interface for users to interact with the digital marketing system. Users input marketing task instructions through personal computers, tablet computers, smartphones and other terminal devices, and can view the execution feedback of the marketing task on the terminal device. When the system detects potential fault nodes, network instability and other conditions, it sends prompt information to the user through the terminal device, so that the user can understand the status of the marketing activity in a timely manner and make corresponding decisions according to the feedback information.
[0039] The present application provides a digital marketing method, which starts a marketing task by extracting task instruction information. During the execution of the marketing task, the system local time is synchronized with the external time at the preset time node, and the real-time completed marketing delivery quantity is recorded. It is judged whether the current progress is within the preset range. If it is not within the preset range, the current node is marked as a fault node, which effectively guarantees the progress of the marketing task according to the plan, identifies abnormal nodes in a timely manner, improves the execution accuracy and stability of digital marketing, and improves the effect of digital marketing.
[0040] The digital marketing method in one embodiment of the present application is described below:
[0041] As shown in Figure 2 Fig. 1 is a flowchart of a digital marketing method provided by an embodiment of the present application. The method can be used in the system architecture shown in Figure 1 The following steps are included:
[0042] S201, in response to the user input of a new task instruction, extract the preset time node in the new task instruction, the preset range of the expected delivery quantity corresponding to each time node, the preset marketing channel type and the preset material script information, and start executing the marketing task;
[0043] It can be understood that the preset time node refers to a specific time point preset by the user in the input new task instruction; the preset expected delivery quantity range corresponding to each preset time node refers to the preset delivery quantity interval for each preset time node, which is preset by the user in the input new task instruction, and specifies the quantity interval of the marketing content to be delivered at a specific time point; the preset marketing channel type refers to the approach for delivering the marketing content, such as an email, a short message, sending a promotion in an application software, and the like, which is preselected by the user in the input new task instruction; the preset material copy information refers to the marketing copy content, including an advertising copy, a product introduction, an activity introduction, and the like, which is preset by the user in the input new task instruction; and the marketing task refers to sequentially sending the preset material copy information to the customer through the preset marketing channel type.
[0044] S202, in the marketing task execution process, when the system local time reaches the system synchronization time node, the real-time completed delivery task quantity value is acquired, and the distributed system time synchronization and consistency maintenance algorithm is used to synchronize the system local time and the external accurate time;
[0045] In the marketing task execution process, the system synchronization time node is set as any one of the preset time nodes, when the set system synchronization time node is reached, firstly, the real-time completed delivery task quantity value is acquired; secondly, a suitable distributed system time synchronization and consistency maintenance algorithm, such as a network time protocol, is used, the system sends a time request data packet to an external high-precision time server, records the sending time, the time server records the receiving time after receiving the request and returns a response with a time stamp, records the second sending time, the system records the second receiving time after receiving the response, and adjusts the local time according to a specific formula to calculate the round-trip delay and clock offset to synchronize the system local time with the external accurate time.
[0046] In some embodiments of the present application, the distributed system time synchronization and consistency maintenance algorithm used by the synchronization time is a network time protocol, which measures the round-trip delay time to calculate the offset between the local clock and the server clock, thereby adjusting the local clock; in other embodiments of the present application, algorithms such as the precise time protocol can also be used, the precise time protocol works in a master-slave clock mode, the master clock sends a synchronization message to the slave clock, which contains the time stamp of the master clock, the slave clock calculates the time difference with the master clock according to the time stamp in the message and the time when it receives the message, and then adjusts its own clock, which is not limited here.
[0047] S203, after the system local time and the external accurate time are synchronized, the system synchronization time node data, the real-time completed delivery task quantity value, and the current synchronization number data are generated into an encrypted time stamp;
[0048] When the system local time is synchronized with the external precise time, first, the system synchronization time node data, that is, the time data of the current system synchronization time node, is obtained, the number of real-time completed delivery tasks is extracted, the current synchronization number data is obtained, which is used to record the number of times of time synchronization operation, then the three data are combined and arranged in a specific order, for example, the synchronization time node data, the delivery task number value, and the synchronization number data; second, the combined data is encrypted by using an encryption algorithm, and finally an encrypted timestamp is generated.
[0049] S204, verifying whether the number of real-time completed delivery tasks in the encrypted timestamp is within the expected delivery quantity range corresponding to the system synchronization time node;
[0050] If it is within the range, the above step S202 is executed;
[0051] If it is not within the range, the following step S205 is executed;
[0052] The number of real-time completed delivery tasks in the encrypted timestamp is obtained, and whether the number of real-time completed delivery tasks reaches the expected requirement is determined by judging whether the number of real-time completed delivery tasks is within the expected delivery quantity range corresponding to the system synchronization time node. If the number is within the expected delivery quantity range, it indicates that the current marketing task progress is normal, and the above step S202 is returned to wait for the repetition operation after reaching any one of the preset time nodes. If it is not within the range, the following step S205 is executed, and the system synchronization time node is marked as a potential fault node. This can effectively ensure that the marketing task is carried out according to the plan, identify potential fault nodes in time, and make the entire marketing process orderly, so as to avoid the overall confusion caused by the deviation of a certain link, thereby improving the execution accuracy of digital marketing and finally improving the effect of digital marketing.
[0053] S205, after marking the system synchronization time node as a potential fault node, the above step S202 is executed.
[0054] When the number of real-time completed delivery tasks is not within the expected delivery quantity range corresponding to the system synchronization time node, the system adds a special mark in its internal task monitoring module or data recording module for the specific system synchronization time node, for example, writes a fault identification code in a specific field of the related data record or changes the node state mark to potential fault, and finally returns to the above step S202 to wait for the repetition operation after reaching any one of the preset time nodes.
[0055] In the above embodiments, by extracting information and carrying out marketing tasks accordingly, the marketing activities are ensured to be carried out in a planned manner. During the execution process, the local time is synchronized with the external accurate time using distributed system time synchronization and consistency maintenance algorithms to avoid time deviations caused by system or network factors. The system synchronized time node data, real-time delivery quantity values, etc. are used to generate encrypted timestamps and verify whether the delivery quantity is within the preset range. This can promptly detect any anomalies that may exist on the time nodes and mark them as potential fault nodes. The timing of the entire marketing process is in line with expectations, preventing the reduction of marketing effectiveness due to time discrepancies, and improving the accuracy and effectiveness of digital marketing.
[0056] In some embodiments, special situations may arise during the execution of digital marketing tasks, such as risks to encrypted timestamps, such as malicious attacks or system vulnerabilities leading to the cracking of encrypted timestamps, data leaks, or task execution disruptions. The digital marketing system ensures the secure and stable operation of the system by promptly detecting and handling abnormal keys. Figure 3 The diagram shown is another flowchart illustrating a digital marketing method provided in this application embodiment. This method can be used for... Figure 1 The digital marketing system architecture shown includes the following steps:
[0057] S301. Upon receiving a new task instruction from the user, extract the time zone information of each customer in the task, the preset time nodes in the new task instruction, the expected delivery quantity range corresponding to each preset time node, the preset marketing channel type, and the preset material copy information. Group customers in the same time zone according to the time zone information and arrange the time zone groupings according to the corresponding preset time zone information values.
[0058] First, upon receiving a new task instruction from a user, the system parses the time zone information of each customer from the instruction. For example, customer A is in the UTC+8 time zone, and customer B is in the UTC+9 time zone. Second, it extracts the preset time nodes, the expected delivery range for each node, the marketing channel type, and the creative copy. Then, based on the time zone information, customers in the same time zone are grouped together, for example, all customers in the UTC+8 time zone are grouped together. After that, these time zone groups are arranged according to the preset time zone information corresponding values (such as numbering them according to the time zone sequence), for example, the UTC+8 group is numbered 1, the UTC+9 group is numbered 2, etc., so that subsequent precise marketing activities can be carried out for different time zone groups in sequence, ensuring that the marketing content can be delivered to customers at the appropriate local time.
[0059] S302. Retrieve the time zone information of the current time zone group customers in sequence, and obtain the external precise time and system local time corresponding to the time zone information;
[0060] First, the time zone information of the current time zone group customer to be processed is selected in a predetermined order from the grouped data; then, a special time acquisition interface or protocol is used to communicate with an external precise time server (such as a GPS or atomic clock-based time server), and the precise time data corresponding to the time zone is acquired according to the extracted time zone information; at the same time, the system local time is acquired through a system internal clock reading mechanism; for example, if the current time zone group is an East 8 customer, the precise time of East 8 is requested from the time server, and the clock time of the local computer or server is read to facilitate subsequent time comparison and necessary calibration operations, so as to ensure that the marketing task is executed at the correct time point.
[0061] S303, if the time difference value is greater than the preset time difference threshold, the system local time is calibrated to the external precise time, and the marketing task is started to be executed;
[0062] After the external precise time corresponding to the current time zone group customer and the system local time are acquired, the difference between the two is calculated, and if the difference exceeds the preset time difference threshold, it indicates that the system local time has a large deviation, which may affect the accurate delivery of the marketing task; secondly, the external precise time is taken as the reference time, and the system local time is adjusted through the operating system or a special time synchronization software to make it consistent with the external precise time; after the calibration is completed, the preset marketing material information is sent to the customers in the time zone group according to the predetermined marketing channel type according to the preset marketing task process, so as to ensure that the marketing activity can be orderly promoted at the accurate time point, and the marketing effect and customer experience are improved.
[0063] In the above steps, first, multi-class key information is extracted from the user new task instruction, and intelligent grouping and sorting are performed according to the customer time zone information; secondly, the external precise time and the system local time of each group of customers corresponding to the time zone are acquired in sequence, and the accuracy of the system local time is accurately judged by comparing the difference value with the preset threshold; when there is a large deviation, the system local time is calibrated in time to make the marketing task accurately carried out according to the preset time node in the customer group in different time zones, effectively solving the problem of marketing delivery confusion caused by time zone difference and inaccurate time, and improving the effect of digital marketing.
[0064] S304, during the execution of the marketing task, when the system local time reaches the system synchronization time node, a network probe packet is sent to acquire the delay and packet loss rate of the received response;
[0065] When the system local time reaches the system synchronization time node, network probe packets are generated and sent to a specific target address, which carry identification information such as timestamps; after sending, the target address is waited for a response, when the response is received, the delay of receiving the response can be calculated according to the sending time and the receiving response time, and the proportion of the number of probe packets that are not received to the total sending quantity, i.e. the packet loss rate, is calculated; the collection and calculation of these data are completed through a special network detection tool or program module, so as to accurately grasp the current network delay and packet loss conditions.
[0066] S305, determining whether the current network is stable;
[0067] If not, the following step S306 is executed;
[0068] If yes, the following step S307 is executed;
[0069] After obtaining the delay of receiving the response and the packet loss rate, the delay is compared with the preset delay threshold, and the packet loss rate is compared with the preset packet loss rate range. If the delay is within the preset delay threshold range and the packet loss rate is within the preset packet loss rate range, it is determined that the current network is stable; otherwise, if the delay exceeds the preset delay threshold or the packet loss rate is not within the preset packet loss rate range, it is determined that the current network is unstable, and the following step S306 is executed to improve the network condition.
[0070] S306, dynamically adjusting the communication protocol parameters according to the network condition, and then executing the above step S305;
[0071] When it is determined that the network is unstable, the system dynamically adjusts the communication protocol parameters according to the obtained network condition data; for example, for the transmission control protocol, if the packet loss rate is high, the sending window size is appropriately reduced to reduce the amount of data sent at one time and alleviate network congestion; if the delay is large, the retransmission timer is extended to avoid frequent retransmission, and after adjustment, the above step is executed again to determine whether the network is in a stable state. Through targeted adjustment, the network transmission performance is optimized and the network stability is improved.
[0072] S307, obtaining the real-time number of completed delivery tasks, and synchronizing the system local time and the external accurate time by using a distributed system time synchronization and consistency maintenance algorithm;
[0073] In the above steps, the delay and packet loss rate of receiving response are obtained by sending network probe packets when the system local time reaches the system synchronization time node, and the network stability state is judged; if the network is unstable, the communication protocol parameters are dynamically adjusted according to the network status, and then judged again; if the network is stable, the number of real-time completed delivery tasks is obtained, and the distributed system time synchronization and consistency maintenance algorithm is used to synchronize the system local time and the external precise time. Through such a process, accurate evaluation and optimization adjustment of network status are realized during the execution of marketing tasks; thereby ensuring that the delivery task data can be accurately obtained in a stable network environment, and the reliability and accuracy of marketing task execution are improved, effectively avoiding marketing failures caused by network problems or time deviation.
[0074] S308、In the system local time and external precise time synchronization is completed, the system synchronization time node data, the number of real-time completed delivery tasks and the current synchronization number data are obtained and combined as combined data;
[0075] When the system local time and the external precise time are synchronized, the system synchronization time node related data is extracted, the accurate number of real-time completed delivery tasks is obtained, the task progress is reflected, and finally the current synchronization number data is determined; then the three data are arranged and combined in a specific order to form a complete combined data containing time, task progress and synchronization information.
[0076] S309、Select an encryption algorithm and obtain a corresponding encryption key;
[0077] First, according to the security requirements and data characteristics of the system, suitable types are selected from a large number of encryption algorithms. If it is symmetric encryption, a fixed length key is generated, which can be generated by a random number generator. If it is asymmetric encryption, a public key and private key pair is generated, the public key can be public and the private key is strictly confidential. Secondly, the selected encryption algorithm and the corresponding encryption key generated or obtained are associated and configured, so as to be used for subsequent data encryption operation.
[0078] S310、Use the encryption algorithm and the encryption key to perform encryption operation on the combined data to generate an encrypted timestamp;
[0079] First, the combined data is input into the encryption algorithm module selected in the previous step, and the data is processed according to the rules of the encryption algorithm. If it is a symmetric encryption algorithm, the combined data is encrypted and transformed bit by bit using the encryption key; if it is an asymmetric encryption algorithm, the combined data is signed and encrypted using the private key; after a series of encryption steps, the encrypted result is encapsulated and identified to form an encrypted timestamp with uniqueness and security
[0080] In the above steps, first, according to the security standards and data security requirements of the system, the appropriate encryption algorithm is selected, then the corresponding encryption key is obtained according to the requirements of the selected algorithm, and the uniqueness and secrecy of the key are ensured through the key generation mechanism; then the combination data containing the system synchronization time node data, the completed task quantity value and the synchronization frequency data are executed by the encryption process using the selected encryption algorithm and encryption key, and the original data is converted into an encrypted timestamp through encryption transformation, effectively protecting the confidentiality and integrity of the data in the storage and transmission process, preventing key marketing data from being stolen or tampered with, greatly enhancing the security and data credibility of the system, and thus improving the reliability and accuracy of the marketing task execution.
[0081] S311, according to the preset monitoring key time frequency, regularly check whether there is an abnormal key through the password analysis tool;
[0082] The system starts the checking process according to the preset monitoring key time frequency, for example, set to check once every hour or every ten minutes; when checking, call professional password analysis tools, which scan and analyze the encryption keys in use in the system, detect whether the key has weak key characteristics such as length less than the preset minimum key length or structure does not meet the preset requirements, or whether there are signs of being cracked, such as abnormal fluctuations in the encryption mode of the key or matching with known cracked key characteristics.
[0083] S312, in the case of abnormal key, backup all data of abnormal encryption timestamp with the abnormal key, generate a new key for the abnormal encryption timestamp through the preset encryption algorithm;
[0084] When an abnormal key is detected, immediately start the backup program to copy all data contained in the abnormal encryption timestamp associated with the abnormal key to a secure backup storage area; then according to the encryption algorithm preset by the system, if it is symmetric encryption, a symmetric key with appropriate length and high security strength is regenerated, if it is asymmetric encryption, a new public key and private key pair is regenerated; the new key is used to re-encrypt the data of the abnormal encryption timestamp after being generated.
[0085] S313, use the abnormal key to decrypt the abnormal encryption timestamp, and initialize the abnormal encryption timestamp;
[0086] First, call the decryption function or module matching the abnormal key, take the abnormal encryption timestamp as input data, use the abnormal key to perform reverse operation according to the decryption rule of the corresponding encryption algorithm, for example, symmetric encryption uses the same abnormal key to perform reverse XOR operation, asymmetric encryption uses the private key to perform signature verification and other decryption steps; After decryption, the data in the abnormal encryption timestamp is emptied or set to the initial default value, and is ready to be stored again.
[0087] S314, store all files in the abnormal encryption timestamp and re-encrypt the abnormal encryption timestamp using the new key and the preset encryption algorithm to obtain a new encryption timestamp.
[0088] First, all the previously backed up files are completely transferred to the corresponding storage area of the abnormal encryption timestamp to ensure data integrity; Then, according to the encryption rule of the preset encryption algorithm, the abnormal encryption timestamp of the stored file is encrypted using the newly generated key, such as symmetric encryption using the new key to perform bit-by-bit encryption operation, asymmetric encryption using the new key to sign, etc. After a series of encryption steps, a new encryption timestamp with higher security is finally obtained.
[0089] In the above steps, first, check whether there is an abnormal key according to the preset monitoring key time frequency with the help of a password analysis tool. Once an abnormal key is found, backup all data of the related abnormal encryption timestamp, generate a new key through a preset encryption algorithm, decrypt and initialize the abnormal encryption timestamp using the abnormal key, and then re-encrypt the data using the new key and the preset encryption algorithm to obtain a new encryption timestamp. This effectively prevents data leakage risks caused by abnormal keys and ensures that the encryption timestamp data is always in a safe and reliable state. Even if there is a key problem, it can be remedied in time to maintain the confidentiality, integrity and availability of marketing task data and ensure the stable and secure operation of the entire digital marketing system.
[0090] S315, in the presence of an abnormal key, generate a new content hash value for the new encryption timestamp using a hash function, and generate a backup hash value for the backup data using the hash function;
[0091] When an abnormal key is detected, for the newly generated encryption timestamp, a selected hash function is called, and its content is taken as input to calculate a fixed-length new content hash value through a hash algorithm. This value can be used as a unique identifier for the content of the encryption timestamp. At the same time, the backup data is also processed using the hash function to generate a backup hash value with the same algorithm logic, so that the integrity and consistency of the data during processing can be verified by comparing the two hash values.
[0092] S316, in the case of different new content hash value and backup hash value, the data in the new encrypted timestamp is isolated and the time node corresponding to the new encrypted timestamp is marked as an abnormal node;
[0093] If the new content hash value is different from the backup hash value, it indicates that the data may have errors or be tampered with during processing. First, the data in the new encrypted timestamp is transferred to a special isolated storage area, which is separated from normal data. Then, in the system log or data management record, the time node corresponding to the new encrypted timestamp is explicitly marked as an abnormal node, so that the root cause of the problem can be traced and corresponding repair or recovery measures can be taken to ensure the accuracy and security of the data.
[0094] In the above steps, in the case of an abnormal key, first, a hash function is used to generate a new content hash value for the new encrypted timestamp content and a backup hash value for the backup data. This step mainly provides a basis for subsequent data verification, and the uniqueness of the hash value ensures that the integrity and consistency of the data can be effectively detected. When the new content hash value is found to be different from the backup hash value, the data in the new encrypted timestamp is isolated, which is separated from normal data, and the corresponding time node is marked as an abnormal node. This can timely detect abnormal changes that may occur during data processing, prevent abnormal data from affecting the operation of other normal data through isolation, and explicitly mark the abnormal node to facilitate subsequent targeted troubleshooting of the root cause, further ensuring the accuracy and security of the entire system data processing.
[0095] S317, verify whether the real-time completed delivery task quantity value in the encrypted timestamp is within the expected delivery quantity range corresponding to the system synchronization time node;
[0096] If it is within the range, execute the above step S303;
[0097] If it is not within the range, execute the following step S318;
[0098] First, the real-time completed delivery task quantity value recorded in the encrypted timestamp is obtained, and then the setting data of the expected delivery quantity range corresponding to the system synchronization time node is searched. The real-time completed delivery task quantity value is compared with the expected delivery quantity range to determine whether it is within the range. If it is within the range, it indicates that the delivery task progress meets the expectations, and the above step is returned to wait for the next system synchronization time node. If it is not within the range, the following step is executed to mark the node that does not complete the expected progress as a potential fault node.
[0099] S318, mark the system synchronization time node as a potential fault node and collect the operation log of the system synchronization time node;
[0100] When the value of the number of real-time completed delivery tasks in the encrypted timestamp is not within the expected delivery quantity range corresponding to the system synchronization time node, the system synchronization time node is marked as a potential failure node in the system record to prompt subsequent focus and troubleshooting; at the same time, the log collection program is started to filter out all running log information related to the system synchronization time node from the system log storage module, including system resource usage, network connection state, task execution process record, etc., so as to conduct in-depth analysis on the abnormal conditions of the node.
[0101] S319、In the case of error codes of the distributed system time synchronization and consistency maintenance algorithm and inter-node communication protocol error or algorithm calculation timeout in the running log, the algorithm parameters are adjusted according to the error codes and analysis results, and step S303 is executed.
[0102] When error codes of the distributed system time synchronization and consistency maintenance algorithm and inter-node communication protocol error or algorithm calculation timeout are found in the running log, the error code information is first accurately extracted and the error details are analyzed to determine the error type and severity; then, according to the pre-set error code and adjustment strategy mapping table, the corresponding algorithm parameter adjustment scheme is found; finally, the related parameters of the distributed system time synchronization and consistency maintenance algorithm are modified according to the scheme, such as adjusting the step size of time synchronization, the number of timeout retransmissions of the communication protocol, etc.
[0103] In the above steps, by collecting running logs and analyzing error codes when the system synchronization time node appears abnormal, the system can identify and locate potential failure nodes. This method is based on in-depth monitoring of the distributed system time synchronization and consistency maintenance algorithm, ensuring that marketing content accurately reaches target customers at the correct time, improving customer acceptance and response rate to marketing activities, and optimizing overall marketing effectiveness.
[0104] Step S307 is similar to step S202 in the embodiment shown in Figure 2 The step S202 in the embodiment shown in
[0105] In the above embodiments, the digital marketing method provided by the application extracts relevant information and arranges them according to customer time zones after responding to new task instructions, and starts the marketing task after calibrating the local time of the system; during the execution of the marketing task, the system local time is synchronized to the node, the network state is detected and the parameters are adjusted first, the number of task values is obtained after the system is stable and synchronized with the external time, the encrypted time stamp is generated and the task quantity range is verified, and if it is normal, it will continue, otherwise it will be marked as a potential fault node; check the key regularly, backup data, generate a new key and re-encrypt when it is abnormal, and compare the hash value to ensure data security; collect the running log after marking the potential fault node, and adjust the algorithm parameters according to the error code. Through these steps, precise marketing is realized, the task is ensured to be promoted according to the plan, the stability and data security of the system are enhanced, the problems of network, time, key and system failure and other aspects are effectively solved, the marketing activities are ensured to be carried out smoothly and efficiently, the data is ensured to be complete and reliable, and the marketing effect of digital marketing is improved.
[0106] The following introduces an exemplary digital marketing system controller provided by the embodiments of the application. Figure 4 FIG. 4 is an exemplary hardware structure schematic diagram of a digital marketing system controller 400 provided by the embodiments of the application.
[0107] In some embodiments, the digital marketing system controller 400 is a computer device or includes a computer device in the digital marketing system controller 400. The computer device includes a processor, a memory and a network interface connected through a system bus. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operating system and the computer program in the non-volatile storage medium to run. The database of the computer device is used to store data. The network interface of the computer device is used to communicate with other terminals or servers outside through network connection. In some embodiments, the network interface can be a wired network interface, and in some embodiments, the network interface can also be a wireless network interface. The computer program is executed by the processor to implement the method in the embodiments of the application.
[0108] Those skilled in the art can understand that, Figure 4 The structure shown in FIG. 4 is only a block diagram of part of the structure related to the scheme of the application, and does not constitute a limitation on the computer device to which the scheme of the application is applied. The specific computer device can include more or fewer components than those shown in the figure, or combine certain components, or have a different component arrangement.
[0109] The above-described embodiments merely serve to illustrate the technical solutions of the present application, rather than limit the present application; even though the present application has been described in detail with reference to the foregoing embodiments, those ordinarily skilled in the art should understand that they can still modify the technical solutions recorded in the foregoing embodiments, or equivalently replace some of the technical features thereof; and these modifications or replacements do not cause the essence of the corresponding technical solutions to depart from the scope of the technical solutions of the embodiments of the present application.
[0110] In the above-described embodiments, the term "when" can be interpreted as meaning "if" or "after" or "in response to determining" or "in response to detecting" according to the context. Similarly, the phrase "upon determining" or "if detecting (the stated condition or event)" can be interpreted as meaning "if determining" or "in response to determining" or "upon detecting (the stated condition or event)" or "in response to detecting (the stated condition or event)" according to the context.
[0111] In the above-described embodiments, all or some of the processes can be implemented by software, hardware, firmware or any combination thereof. When implemented by software, the processes can be implemented in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded into and executed by a computer, all or some of the processes described in the embodiments of the present application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable apparatus. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions can be transmitted from one website, computer, server or data center to another website, computer, server or data center through a wired (such as coaxial cable, optical fiber, digital subscriber line) or wireless (such as infrared, wireless, microwave, etc.) manner. The computer-readable storage medium can be any available medium accessible by a computer or a data storage device such as a server, data center, etc. that includes one or more available media sets. The available media can be a magnetic medium (such as a floppy disk, a hard disk, a magnetic tape), an optical medium (such as a DVD), or a semiconductor medium (such as a solid-state disk), etc.
[0112] Those of ordinary skill in the art can understand that all or part of the processes in the above-described embodiments can be implemented by a computer program instructing relevant hardware, which can be stored in a computer-readable storage medium. The program can include the processes of the above-described embodiments when executed. The aforementioned storage medium includes ROM or random access memory (RAM), a magnetic disk or an optical disk, and various media that can store program codes.
Claims
1. A method of digital marketing, characterized by, The application relates to a marketing task execution method and system. In response to a new task instruction input by a user, preset time nodes, preset predicted delivery quantity ranges corresponding to each time node, preset marketing channel types and preset material text information in the new task instruction are extracted, and a marketing task is started to be executed; the marketing task is to sequentially deliver the preset material text information to customers through the preset marketing channel types; During the execution of the marketing task, when the system local time reaches a system synchronization time node, a real-time completed delivery task quantity value is obtained, and a distributed system time synchronization and consistency maintenance algorithm is used to synchronize the system local time and the external accurate time; the system synchronization time node is any one of the preset time nodes; After the system local time and the external accurate time are synchronized, the system synchronization time node data, the real-time completed delivery task quantity value and current synchronization frequency data are generated into an encrypted time stamp; It is verified whether the real-time completed delivery task quantity value in the encrypted time stamp is within the predicted delivery quantity range corresponding to the system synchronization time node; if yes, the marketing task is continuously executed; if not, the system synchronization time node is marked as a potential fault node, and the marketing task is continuously executed.
2. The method of claim 1, wherein, The method comprises the following steps: In response to a new task instruction input by a user, time zone information of each customer in the task, preset time nodes in the new task instruction, preset predicted delivery quantity ranges corresponding to each time node, preset marketing channel types and preset material text information are extracted, customers in the same time zone are grouped according to the time zone information, and the time zone groups are arranged according to corresponding preset time zone information corresponding values; The time zone information of the customers in the current time zone group is called in sequence, and the external accurate time and the system local time corresponding to the time zone information are obtained; If the time difference value is greater than a preset time difference threshold value, the system local time is calibrated as the external accurate time, and the marketing task is started to be executed; the time difference value is the difference between the calculated external accurate time and the system local time.
3. The method of claim 1, wherein, During the execution of the marketing task, when the system local time reaches a system synchronization time node, a real-time completed delivery task quantity value is obtained, and a distributed system time synchronization and consistency maintenance algorithm is used to synchronize the system local time and the external accurate time, comprising the following steps: During the execution of the marketing task, when the system local time reaches a system synchronization time node, a network probe packet is sent, a delay of a receiving response and a packet loss rate are obtained, and it is judged whether the current network is in a stable state; the network stable state is that the delay of the receiving response is within a preset delay threshold range and the packet loss rate is within a preset packet loss rate range; If the network is not in the stable state, the communication protocol parameters are dynamically adjusted according to the network condition, and it is judged again whether the current network is in the stable state; In the case of network stability, the number of completed real-time delivery tasks is obtained, and the system local time and external precise time are synchronized by using a distributed system time synchronization and consistency maintenance algorithm.
4. The method of claim 1, wherein, After the system local time and external precise time are synchronized, the system synchronization time node data, the number of completed real-time delivery tasks, and the current synchronization number data are generated into an encrypted timestamp, specifically including: After the system local time and external precise time are synchronized, the system synchronization time node data, the number of completed real-time delivery tasks, and the current synchronization number data are obtained and combined into combined data; An encryption algorithm is selected, and a corresponding encryption key is obtained; The combined data is encrypted by using the encryption algorithm and the encryption key to generate an encrypted timestamp.
5. The method of claim 1, wherein, After the system local time and external precise time are synchronized, the system synchronization time node data, the number of completed real-time delivery tasks, and the current synchronization number data are generated into an encrypted timestamp, and further including: According to a preset monitoring key time frequency, whether there is an abnormal key is checked regularly by using a password analysis tool; the abnormal key is a weak key or a cracked key; the weak key is a complementary key, a byte repeating key, or a key with a length lower than a preset minimum key threshold in a symmetric encryption algorithm; In the case of an abnormal key, all data of an abnormal encrypted timestamp with the abnormal key are backed up, a new key is generated for the abnormal encrypted timestamp by using a preset encryption algorithm; The abnormal encrypted timestamp is decrypted by using the abnormal key, and the abnormal encrypted timestamp is initialized; All files are stored in the abnormal encrypted timestamp, and the abnormal encrypted timestamp is re-encrypted by using the new key and the preset encryption algorithm to obtain a new encrypted timestamp.
6. The method of claim 5, wherein, After all files are stored in the abnormal encrypted timestamp and the abnormal encrypted timestamp is re-encrypted by using the new key to obtain a new encrypted timestamp, further including: In the case of an abnormal key, a new content hash value is generated for the content of the new encrypted timestamp by using a hash function, and a backup hash value is generated for the backed up data by using the hash function; In the case that the new content hash value is different from the backup hash value, the data in the new encrypted timestamp is isolated, and the time node corresponding to the new encrypted timestamp is marked as an abnormal node.
7. The method of claim 1, wherein, After the system synchronization time node is marked as a potential fault node, the marketing task is continued to execute, and further including: After the system synchronization time node is marked as a potential fault node, the running log of the system synchronization time node is collected; In the case that the error code of the distributed system time synchronization and consistency maintenance algorithm and the node communication protocol error or the distributed system time synchronization and consistency maintenance algorithm calculation timeout appears in the running log, the algorithm parameters are adjusted according to the error code and analysis results.
8. A digital marketing system, characterized by, The digital marketing system comprises one or more processors and a memory; the memory is coupled with the one or more processors, the memory is configured to store computer program codes, the computer program codes comprise computer instructions, the one or more processors invoke the computer instructions to enable the digital marketing system to perform the method as claimed in any one of claims 1-7.
9. A computer program product comprising instructions, characterized in that, When the computer program product runs on the digital marketing system, the computer program product enables the digital marketing system to perform the method as claimed in any one of claims 1-7.
10. A computer-readable storage medium comprising instructions, characterized in that, When the instructions run on the digital marketing system, the instructions enable the digital marketing system to perform the method as claimed in any one of claims 1-7.
Citation Information
Patent Citations
Task monitoring method and device
CN110969331A
Advertisement putting management method, platform and system suitable for overseas
CN112232872A