CN109995643B - Business mail pushing method and device - Google Patents

Business mail pushing method and device Download PDF

Info

Publication number
CN109995643B
CN109995643B CN201711487661.1A CN201711487661A CN109995643B CN 109995643 B CN109995643 B CN 109995643B CN 201711487661 A CN201711487661 A CN 201711487661A CN 109995643 B CN109995643 B CN 109995643B
Authority
CN
China
Prior art keywords
data
service data
service
mail
pushing
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
CN201711487661.1A
Other languages
Chinese (zh)
Other versions
CN109995643A (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.)
China Mobile Communications Group Co Ltd
China Mobile Group Henan Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Group Henan 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 China Mobile Communications Group Co Ltd, China Mobile Group Henan Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201711487661.1A priority Critical patent/CN109995643B/en
Publication of CN109995643A publication Critical patent/CN109995643A/en
Application granted granted Critical
Publication of CN109995643B publication Critical patent/CN109995643B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/06Message adaptation to terminal or network requirements
    • H04L51/066Format adaptation, e.g. format conversion or compression
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/214Monitoring or handling of messages using selective forwarding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/224Monitoring or handling of messages providing notification on incoming messages, e.g. pushed notifications of received messages
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/42Mailbox-related aspects, e.g. synchronisation of mailboxes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention provides a business mail pushing method and a device, wherein the business mail pushing method comprises the steps of collecting various business data for forming a target business mail, wherein the data sources of different types of business data are different; respectively configuring various service data according to configuration rules corresponding to the various service data, judging whether the configured various service data meet preset pushing requirements, and if so, converting the data formats of the various service data into standard formats; and combining all the service data converted into the standard data format according to a preset rule to obtain a target service mail, and sending the target service mail to a corresponding receiving object. The invention can quickly carry out service mail pushing according to the service data of different data sources, and can effectively improve the accuracy and reliability of service mail pushing.

Description

Business mail pushing method and device
Technical Field
The embodiment of the invention relates to the field of mobile communication, in particular to a method and a device for pushing a service mail.
Background
Push Mail (Push Mail) means that a Mail client initiates a session to a Mail server, and when the Mail server has a new Mail, a new Mail message is actively sent to the Mail client so as to inform a user that a new Mail exists in a Mail account.
At present, business mails in the field of mobile business service guarantee are mainly displayed by C language programs, and each business needs the C language program of a corresponding version to realize related functions, but with the rapid increase of mobile business volume, the workload of monitoring and early warning for related businesses and systems in the field of service guarantee is increased suddenly, and the C programs of different versions need to be developed for different business apertures and systems every time, so that the development cost and the time cost are greatly increased, and the system maintenance is too complex.
Therefore, how to design a way for quickly pushing mails according to data from different data sources is an urgent problem to be solved.
Disclosure of Invention
In view of the defects in the prior art, embodiments of the present invention provide a method and an apparatus for pushing a service email, which can quickly push a service email according to service data of different data sources, and can effectively improve the accuracy and reliability of pushing a service email.
In order to solve the technical problems, the invention provides the following technical scheme:
in a first aspect, the present invention provides a method for pushing a service email, where the method for pushing a service email includes:
collecting various service data for forming a target service mail, wherein the data sources of different types of service data are different;
respectively configuring various service data according to configuration rules corresponding to the various service data, judging whether the configured various service data meet preset pushing requirements, and if so, converting the data formats of the various service data into standard formats;
and combining all the service data converted into the standard data format according to a preset rule to obtain a target service mail, and sending the target service mail to a corresponding receiving object.
In a second aspect, the present invention provides a service email push system, where the service email push system includes:
the system comprises a front-stage business logic processing and configuration module, a front-stage business logic processing and configuration module and a front-stage business logic processing and configuration module, wherein the front-stage business logic processing and configuration module is used for acquiring various business data for forming a target business mail, and the data sources of different types of business data are different;
the preposed data checking and data type converting module is used for respectively configuring various service data according to the configuration rules corresponding to the various service data, judging whether the configured various service data meet the preset pushing requirement or not, and converting the data formats of the various service data into standard formats if the configured various service data meet the preset pushing requirement;
and the mail combination module is used for combining all the service data converted into the standard data format according to a preset rule to obtain a target service mail and sending the target service mail to a corresponding receiving object.
In a third aspect, the present invention provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the service mail pushing method.
In a fourth aspect, the present invention provides a computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements the steps of the service mail pushing method.
As can be seen from the foregoing technical solutions, in the service mail pushing method according to the embodiment of the present invention, various service data used for forming a target service mail are collected, where data sources of different types of service data are different; respectively configuring various service data according to configuration rules corresponding to the various service data, judging whether the configured various service data meet preset pushing requirements, and if so, converting the data formats of the various service data into standard formats; combining all the service data converted into the standard data format according to a preset rule to obtain a target service mail, and sending the target service mail to a corresponding receiving object; the method can quickly push the business mails according to the business data of different data sources, can effectively improve the accuracy and reliability of pushing the business mails, further effectively reduces the development and maintenance cost of the business mail pushing process, and effectively reduces the business mail pushing time.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a schematic flow chart of a business email pushing method according to a first embodiment of the present invention;
fig. 2 is a schematic flow chart of step 200 in the business mail pushing method of the present invention;
fig. 3 is a flow chart illustrating a business mail pushing method in an application example of the present invention;
FIG. 4 is a schematic structural diagram of a business mail automatic pushing system in an application example of the present invention;
fig. 5 is a schematic structural diagram of a service mail pushing system in the second embodiment of the present invention;
fig. 6 is a schematic structural diagram of an electronic device according to a third embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
An embodiment of the present invention provides a specific implementation manner of a service email pushing method, and referring to fig. 1, the service email pushing method includes:
step 100: various types of service data for composing the target service mail are collected, wherein the data sources of different types of service data are different.
In step 100, in order to accurately manage the service data and reduce the processing pressure of the service modules, in the existing mobile service assurance system, different types of service data are respectively stored in different service modules, where the service modules may also be understood as service apertures, and based on the above background, when performing automatic pushing of a mail, the service mail pushing system needs to collect different types of service data of different service modules and sources, as a data basis for forming a target service mail. It is understood that the type of the service data may be divided by a function division or a receiving object of the target service mail, and the target service mail may be an alert mail, a notification mail or a reminder mail.
It can be understood that the service mail pushing system may automatically trigger the collection process of the service data at a predetermined time according to a preset timing pushing rule, or may trigger the collection process of the service data according to the pushing content requirement information when receiving the pushing content requirement information.
Step 200: and respectively configuring various types of service data according to the configuration rules corresponding to the various types of service data, judging whether the configured various types of service data meet the preset pushing requirement, and if so, converting the data formats of the various types of service data into standard formats.
In step 200, different service modules are configured with different configuration rules, so that when the service mail pushing system acquires various service data, configuration rules corresponding to the service data are also acquired, and the various service data are respectively configured according to the configuration rules corresponding to the various service data; then, in order to ensure that the service data from different service modules can be composed as a part of the target service mail, after the service mail pushing system configures the service data, it is further required to judge whether the service data is successfully configured according to the configuration rule corresponding to each of the various service data, if so, it can be determined that the service data can be mail-combined, and the service data is subjected to data format conversion to obtain various service data in a standard format. It can be understood that the configuring of each type of service data refers to performing preprocessing such as application environment and decryption on each type of collected service data, and configuring the collected service data into a data form capable of performing format conversion in the service mail pushing system, and the corresponding difference between the configuration rules of different data sources is that different configuration rules need to be set for different forms, application environments or encrypted data, for example, a certain type of service data is in an encrypted state in a source service module, and the application environment of the certain type of service data is the same as the application environment of the service mail pushing system, so the configuration rule for the service data only needs to be set as the corresponding decryption rule.
Step 300: and combining all the service data converted into the standard data format according to a preset rule to obtain a target service mail, and sending the target service mail to a corresponding receiving object.
In step 300, the service mail pushing system combines all the service data converted into the standard data format according to a preset rule to obtain a target service mail, and sends the target service mail to a corresponding receiving object. It can be understood that the preset rule may be a preset fixed position where different types of service data acquired in advance by the service mail pushing system need to be displayed in the mail, for example, if the current service data type is a header type, the preset fixed position of the service data is the header position displayed in the mail. In this step, the service mail push system sends the target service mail to a corresponding receiving object, where the receiving object refers to a corresponding mobile terminal or PC terminal, and the like.
As can be seen from the above description, the service mail pushing method provided in the embodiment of the present invention can quickly perform service mail pushing according to service data of different data sources, and can effectively improve the accuracy and reliability of service mail pushing, thereby effectively reducing the development and maintenance costs of the service mail pushing process, and effectively reducing the service mail pushing time.
In a specific embodiment, if the service mail pushing system determines whether the service data is successfully configured according to the configuration rule corresponding to each of the various types of service data, and determines that one or more service data which is not successfully configured exists, the service mail pushing system needs to further process the service data which is not successfully configured, referring to fig. 2, where the step 200 specifically includes:
step 201: respectively configuring various types of service data according to the configuration rules corresponding to the various types of service data;
step 202: judging whether the configured various service data meet preset pushing requirements, if so, entering step 203; otherwise, go to step 204.
Step 203: the data formats of the various service data are converted into standard formats, and the step 300 is performed.
Step 204: and reselecting new service data to replace the service data which does not meet the preset pushing requirement, wherein the new service data and the service data which does not meet the preset pushing requirement are of the same type, then returning to the step 201 to configure the new service data according to a configuration rule corresponding to the new service data, then judging whether the configured new service data all meet the preset pushing requirement, and if so, converting the data formats of the new service data and other various service data which meet the preset pushing requirement into standard formats.
As can be seen from the above description, the method for pushing a service mail according to the embodiment of the present invention can further improve the accuracy and reliability of the content of the service mail, and further improve the accuracy of pushing the service mail, so that a receiving object can clearly know the information to be transmitted by a target service mail.
In a specific implementation manner, the present invention further provides a specific implementation manner of step 100 in the service email pushing method, which specifically includes the following contents:
step 101: receiving push content requirement information, wherein the push content requirement information comprises: and the type identification of various service data used for forming the target push mail.
Step 102: and collecting various corresponding service data in a first database according to the type identifications of the various service data, wherein the first database stores the one-to-one correspondence between the various service data from the service modules and the corresponding type identifications.
In a specific example, the first database refers to table 1, where sources of various types of service data and type identifiers of various types of service data are stored in the first database, where if it is known that the type identifier of the current service data is a1, it can be known that the service data is "an account is logged in remotely" according to the type identifier 1, and the service data comes from the service module B1, where it is determined that the service data comes from the service module B1 and functions as: the subsequent service mail pushing system can obtain the configuration rule corresponding to the service module B1 according to the service module B1 determined at this time, and configure the service data with the type identifier a1 according to the configuration rule.
TABLE 1
Figure BDA0001535051150000071
As can be seen from the above description, the business email pushing method provided in the embodiment of the present invention effectively improves the efficiency and accuracy of business data acquisition through the setting of the first database.
In a specific embodiment, the push content requirement information further includes: the combination number and the push object of various service data for forming the target push mail;
correspondingly, the step 300 includes:
step 301: and combining all the service data converted into the standard data format according to the combination numbers of the various service data to obtain the target service mail.
In an example, if there are currently 10 types of service data, and the combination numbers of the 10 types of service data are 1 to 10 respectively, the 10 types of service data are displayed in order from low to high; if there are currently 10 types of service data and three of the combination numbers of the 10 types of service data are 2, it is described that the combination order of the 3 types of service data whose numbers are 2 is not sequential, and the 3 types of service data whose numbers are 2 can be displayed in any order, but the 3 types of service data whose numbers are 2 still need to be displayed together with other numbered service data in order as a whole.
Step 302: and sending the target service mail to one or more corresponding push objects through a preset mail sending interface.
It is understood that, since the same alert or notification event needs to be communicated to multiple push objects, the target service mail in step 302 can be sent to multiple push objects via the same or different preset mail sending interfaces.
As can be seen from the foregoing description, the service email pushing method provided by the embodiment of the present invention has wide applicability, and can be pushed to one or more pushing objects.
In a specific embodiment, the push content requirement information further includes: the urgency level of the target service mail;
correspondingly, before step 300, the automatic pushing method further includes the following steps:
as can be seen from the above description, the business mail pushing method provided in the embodiment of the present invention displays the corresponding urgency level in the header of the target business mail, so that the receiving object can intuitively and quickly know the urgency level of the mail from the mail topic, thereby effectively improving user experience.
In a specific implementation manner, the service email pushing method in the embodiment of the present invention further includes the following steps:
in the process of configuring various types of service data, the configuration completion conditions of various types of service data are monitored in real time; and if the completion of the configuration of the service data is monitored, generating a completion identifier corresponding to the service data, and storing the completion identifier into a second database.
As can be seen from the foregoing description, the method for pushing a service email according to the embodiment of the present invention can further improve the accuracy and reliability of pushing the service email.
To further explain the scheme, the present invention further provides a specific application example of the service mail pushing method, which specifically includes the following contents:
aiming at the defects of large workload, high time cost and development cost, 2, different mail display programs for each service point, large maintenance task amount, high complexity, non-uniform version and difficult upgrading iteration in the prior art caused by the fact that a single service point is compiled by adopting a C program, the application example can send data with different service apertures through one aperture after adopting a uniform mail sending module, thereby greatly reducing the maintenance cost, shortening the fault processing and recovery time and improving the system robustness and maintainability. The system supports the scheme of configuring different interfaces, can adapt to most application scenes, is quick and easy to use, greatly reduces the development time and development cost of the system, improves the working efficiency, adapts to the working requirement of quick increase of the existing service volume, and can quickly support the functions of monitoring alarm and data statistics display of newly added service interfaces.
Referring to fig. 3, the service email push method in the application example specifically includes the following contents:
the method comprises the steps that firstly, a summary result is inserted into a database, a to-be-operated mail pushing system acquires data, the to-be-operated mail pushing system obtains different data of a data source through standard configuration file parameters, the summary data can be displayed by adopting diversified tables in a self-adaptive mode for data results of various operation apertures, reasonable display can be rapidly made for the data results of different operation apertures, and rapidly-increased operation requirements are met; then, different service interface data are quickly supported through different configuration files, and the result display and the alarm information sending are quickly and accurately realized; the business mail pushing method in the application example has low requirement on the front-end data format, can adapt to the display of various types of data in a database, and can realize the clear and understandable display of the formats of the data in different data formats through configuration; the configuration is simple, the business aperture data can be rapidly displayed by configuring the key parameters, and timely and reliable guarantee is provided for the requirement of rapidly supporting the business.
The service mail pushing method in the application example specifies a specific configuration file according to different peripheral data, namely each service module corresponds to one configuration file, only specific parameters need to be modified to realize support for different data sources, and each different service interface is specified with a specific processing mode, so that individualized processing for each service aperture is realized.
The service mail pushing method in the application example can be realized by using a service mail automatic pushing system as shown in fig. 4, namely, whether the preset data meets the requirements or not is checked through the configuration rule of each service caliber configuration item, the operation such as ignoring, waiting and warning quitting is carried out on the data which does not meet the requirements, different service data can be quickly supported, the database transfer technology is adopted, the mutual dependency relationship between the service data and post-processing and mail display is eliminated, and the coupling degree between the front stage and the rear stage of the service mail automatic pushing system is reduced; necessary information exchange among systems is realized by transferring and updating the data identification codes through the database, balance points of independence and relevance among modules are found, modularization of the system is realized, the defect that each module needs to be adjusted due to upgrading of the system is overcome, the coupling degree is effectively reduced, and high maintainability of the system is realized.
The automatic service mail pushing system distinguishes different services by matching the configuration information submodule: the configuration information contains service name information, and the module is sensitive to the configuration item, so that the service type is determined and different processing logics are adopted for processing. The preposed data processing module inserts a completion identifier into an appointed large database when the preposed data processing module is completed, the completion identifier comprises information such as a service name, completion time, a completion state and the like, the database interaction submodule can read real-time data of the state information and judge whether the completion is normal or not, if the completion is not normal, the data state is monitored circularly, and when the preposed data is not completed, the preposed data checking module checks whether the data is completed or not at regular time until the data is completed or quit overtime. The submodule utilizes the database representation to complete the monitoring of the data, not only realizes the monitoring of the data state, but also reduces the coupling of the preposed system, which is a characteristic of the system. In the data type conversion module, the automatic business mail pushing system carries out formatting conversion on different data types of source data to standardize the data types so as to meet the requirements of a subsequent processing module on the data types, thereby achieving the universal processing on the different data types and simplifying analysis and processing of problems; the data type conversion uniformly converts different data types into character types, so that the system cost caused by the diversified support of a rear-stage module on data is effectively reduced, the module is used as a communication bridge between the front end of the system and a post-processing module, the front-stage and rear-stage dependence degree of the system is effectively reduced, and as the system only modifies the front configuration under most conditions, the module effectively supports different data source data acquired by different configuration items, and can quickly and effectively convert the data into a uniform data format to be processed by the subsequent processing module of the system; and when the system is subjected to iterative upgrade, single change of the previous-stage or later-stage upgrade can be quickly supported, dependency adjustment of the whole system is not required, and only corresponding modules are required to be upgraded as required. The mail combination module is used for splicing the data after being sorted and analyzed, and carrying out related sorting, formatting processing, longitudinal comparison, transverse comparison and the like on the data of each service caliber according to different configuration items. This module cooperation data conversion module, the standardization of all data inputs has been realized, and because mail sending module has unified transmission bore, receive the unified output of formatting, according to the characteristic of this module, independent inside "black box" structure has been designed, can accomplish effective quick compatible system arrangement flow when upgrading alone, thereby the realization is unified to the data of each business bore, the formatting is handled, great reduction the work load and the maintenance degree of difficulty, work efficiency is improved, make the business demand of rapid growth can obtain timely effectual support. The black box is completely independent from other modules in the module, only specific input is needed for the module to have specific output, the internal implementation of the system can be not considered in the use process, only input data in a specific format needs to be provided, and the module can generate mail content with specific output according to rules. The pre-stage data is processed by the data conversion module, so that the unification of the data format is realized, in the module, the splicing of the mail theme is divided into a fast splicing module, a mail title splicing module, a mail content splicing module, a mail tail splicing module (mail description) and the like, and the formatted unified data is placed in the processed data model in each sub-link, so that the formatted unified mail content can be quickly spliced. The method can meet the requirement of different service scenes on the function of the old version for quick iterative upgrade without influencing the stability of the original system, can well realize quick support of the system, reduces the coupling of data and improves the maintenance efficiency. The implementation method of each sub-module of the automatic business mail pushing system is approximate, firstly, html formatted statements in a fixed format are placed in a container, then data are inserted into a specific position, html formatted statements of different sub-modules are different, so that different containers are packaged to store different formatted information, such as mail subjects, mail headers and mail tails, mail contents and the like. The packaging method of the html format container of the system adopts an independent method, the modification of a single subunit can be completed quickly without coupling, and the support of different quantity parameters of the same module is realized by adopting a dynamic parameter identification mode in the container construction method.
As can be seen from the above description, the application example of the present invention realizes fast support for different service apertures by using the configuration file, thereby greatly reducing development cost, maintenance cost and time cost; the data source data extraction of different data formats is supported through configuration items, so that the processing mode is adapted; whether the data source is completely prepared or not is checked through the configuration items, correct insertion of data of the data source is ensured, the purpose of indirectly checking whether the front-end system is normal or not can be achieved, the defect that an existing mail alarm module needs to develop different C programs according to different service calibers is overcome, data of different service calibers can be sent through one universal module, and the requirements for simplicity in maintenance and quick support of new service requirements are met; the scheme supports data source data with different data formats, supports different data formats, has low requirement on the data formats of the data sources, can realize mail display of the data on the premise of not modifying data acquisition logic of the data sources, reduces the coupling of the system and reduces the difficulty of system maintenance; according to the scheme, whether the processing of the preposed data source is concerned or not is configured through the configuration item, whether the preposed data is finished or not can be monitored, and whether the preposed data module is normal or not is monitored in the moving degree; the simple system characteristic of the scheme ensures that the system can maintain the robust operation of the system more quickly, the processing flow is clear, the system deployment is simple, and the traditional processing mode does not have.
A second embodiment of the present invention provides a specific implementation manner of a service email pushing system capable of implementing all contents in the service email pushing method, and referring to fig. 5, the service email pushing system specifically includes the following contents:
the early-stage service logic processing and configuring module 10 is configured to collect various types of service data for composing the target service mail, where data sources of different types of service data are different.
The pre-data checking and data type converting module 20 is configured to respectively configure various service data according to configuration rules corresponding to the various service data, and determine whether the configured various service data meet a preset pushing requirement, and if so, convert data formats of the various service data into standard formats.
And the mail combination module 30 is configured to combine all the service data converted into the standard data format according to a preset rule to obtain a target service mail, and send the target service mail to a corresponding receiving object.
In a specific embodiment, the service email pushing system further includes: the service data replacement module is used for reselecting new service data to replace the service data which does not meet the preset pushing requirement when the configured service data does not meet the preset pushing requirement, wherein the new service data is the same as the service data which does not meet the preset pushing requirement in type; and configuring the new service data according to a configuration rule corresponding to the new service data, then judging whether the configured new service data meets a preset pushing requirement, and if so, converting the data formats of the new service data and other various service data meeting the preset pushing requirement into standard formats.
The embodiment of the service email pushing system in this embodiment may be specifically configured to execute the processing flow of the embodiment of the service email pushing method, and the functions of the embodiment are not described herein again, and refer to the detailed description of the embodiment of the method.
As can be seen from the above description, the service email push system provided in the embodiment of the present invention can quickly push service emails according to service data of different data sources, and can effectively improve the accuracy and reliability of pushing service emails, thereby effectively reducing the development and maintenance costs of the service email push process, and effectively reducing the service email push time.
A third embodiment of the present invention provides a specific implementation manner of an electronic device capable of implementing all steps in the method for pushing a service email, and referring to fig. 6, the electronic device specifically includes the following contents:
a processor (processor)601, a memory (memory)602, a communication Interface (Communications Interface)603, and a bus 604;
the processor 601, the memory 602 and the communication interface 603 complete mutual communication through the bus 604; the communication interface 603 is used for realizing information transmission among related devices such as a database, a service mail pushing system, a receiving object and the like;
the processor 601 is configured to call the computer program in the memory 602, and the processor implements all the steps in the first embodiment when executing the computer program, for example, the processor implements the following steps when executing the computer program:
step 100: various types of service data for composing the target service mail are collected, wherein the data sources of different types of service data are different.
Step 200: and respectively configuring various types of service data according to the configuration rules corresponding to the various types of service data, judging whether the configured various types of service data meet the preset pushing requirement, and if so, converting the data formats of the various types of service data into standard formats.
Step 300: and combining all the service data converted into the standard data format according to a preset rule to obtain a target service mail, and sending the target service mail to a corresponding receiving object.
As can be seen from the above description, the electronic device provided in the embodiment of the present invention can quickly perform service email pushing according to service data of different data sources, and can effectively improve the accuracy and reliability of service email pushing, thereby effectively reducing the development and maintenance costs of the service email pushing process, and effectively reducing the service email pushing time.
A fourth embodiment of the present invention provides a computer-readable storage medium capable of implementing all the steps in the service email pushing method, where the computer-readable storage medium stores a computer program, and the computer program implements all the steps of the first embodiment when executed by a processor, for example, the processor implements the following steps when executing the computer program:
step 100: various types of service data for composing the target service mail are collected, wherein the data sources of different types of service data are different.
Step 200: and respectively configuring various types of service data according to the configuration rules corresponding to the various types of service data, judging whether the configured various types of service data meet the preset pushing requirement, and if so, converting the data formats of the various types of service data into standard formats.
Step 300: and combining all the service data converted into the standard data format according to a preset rule to obtain a target service mail, and sending the target service mail to a corresponding receiving object.
As can be seen from the above description, the computer-readable storage medium provided in the embodiment of the present invention can quickly perform service mail pushing according to service data of different data sources, and can effectively improve the accuracy and reliability of service mail pushing, thereby effectively reducing the development and maintenance costs of the service mail pushing process, and effectively reducing the service mail pushing time.
Those of ordinary skill in the art will understand that: all or part of the steps for implementing the method embodiments may be implemented by hardware related to program instructions, where the program may be stored in a computer-readable storage medium, and when executed, the program performs the steps including the method embodiments for pushing the service mail; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
The above-described embodiments of the service mail pushing system and the like are merely illustrative, where the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may also be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for enabling a large data transmission device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above embodiments are only used for illustrating the technical solutions of the embodiments of the present invention, and are not limited thereto; although embodiments of the present invention have been described in detail with reference to the foregoing embodiments, those skilled in the art will understand that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (10)

1. A service mail pushing method is characterized in that the service mail pushing method comprises the following steps:
collecting various service data for forming a target service mail, wherein the data sources of different types of service data are different;
respectively configuring various service data according to configuration rules corresponding to the various service data, judging whether the configured various service data meet preset pushing requirements, and if so, converting the data formats of the various service data into standard formats; the step of configuring each type of service data refers to preprocessing each type of service data so that each type of service data has a data form capable of format conversion;
and combining all the service data converted into the standard data format according to a preset rule to obtain a target service mail, and sending the target service mail to a corresponding receiving object.
2. The method according to claim 1, wherein before the all service data converted into the standard data format are combined according to a preset rule to obtain the target service mail, the method further comprises:
if the configured various service data have service data which do not meet the preset pushing requirement, reselecting new service data to replace the service data which do not meet the preset pushing requirement, wherein the new service data are the same as the service data which do not meet the preset pushing requirement in type;
and configuring the new service data according to a configuration rule corresponding to the new service data, then judging whether the configured new service data meets a preset pushing requirement, and if so, converting the data formats of the new service data and other various service data meeting the preset pushing requirement into standard formats.
3. The method according to claim 1, wherein the collecting various types of service data for composing the target service mail, wherein the data sources of different types of service data are different, comprises:
receiving push content requirement information, wherein the push content requirement information comprises: the type identification of various service data used for forming the target push mail;
and collecting various corresponding service data in a first database according to the type identifications of the various service data, wherein the first database stores the one-to-one correspondence between the various service data from the service modules and the corresponding type identifications.
4. The method according to claim 3, wherein the push content request message further comprises: the combination number and the push object of various service data for forming the target push mail;
correspondingly, the step of combining all the service data converted into the standard data format according to a preset rule to obtain a target service mail and sending the target service mail to a corresponding receiving object comprises the following steps:
combining all the service data converted into the standard data format according to the combination numbers of the various service data to obtain a target service mail;
and sending the target service mail to one or more corresponding push objects through a preset mail sending interface.
5. The method as claimed in claim 4, wherein the push content request message further includes: the urgency level of the target service mail;
correspondingly, before the target service mail is sent to the corresponding one or more pushing objects through the preset mail sending interface, the service mail pushing method further includes:
and displaying the corresponding emergency level in the title of the target service mail.
6. The service mail pushing method according to claim 1, wherein the service mail pushing method further comprises:
in the process of configuring various types of service data, the configuration completion conditions of various types of service data are monitored in real time;
and if the completion of the configuration of the service data is monitored, generating a completion identifier corresponding to the service data, and storing the completion identifier into a second database.
7. A service mail push system, characterized in that the service mail push system comprises:
the system comprises a front-stage business logic processing and configuration module, a front-stage business logic processing and configuration module and a front-stage business logic processing and configuration module, wherein the front-stage business logic processing and configuration module is used for acquiring various business data for forming a target business mail, and the data sources of different types of business data are different;
the preposed data checking and data type converting module is used for respectively configuring various service data according to the configuration rules corresponding to the various service data, judging whether the configured various service data meet the preset pushing requirement or not, and converting the data formats of the various service data into standard formats if the configured various service data meet the preset pushing requirement; the step of configuring each type of service data refers to preprocessing each type of service data so that each type of service data has a data form capable of format conversion;
and the mail combination module is used for combining all the service data converted into the standard data format according to a preset rule to obtain a target service mail and sending the target service mail to a corresponding receiving object.
8. The business mail pushing system of claim 7, wherein the business mail pushing system comprises:
the service data replacement module is used for reselecting new service data to replace the service data which does not meet the preset pushing requirement when the configured service data does not meet the preset pushing requirement, wherein the new service data is the same as the service data which does not meet the preset pushing requirement in type; and configuring the new service data according to a configuration rule corresponding to the new service data, then judging whether the configured new service data meets a preset pushing requirement, and if so, converting the data formats of the new service data and other various service data meeting the preset pushing requirement into standard formats.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the steps of the service mail pushing method according to any of claims 1 to 6 when executing the program.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the service mail pushing method according to any one of claims 1 to 6.
CN201711487661.1A 2017-12-29 2017-12-29 Business mail pushing method and device Active CN109995643B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711487661.1A CN109995643B (en) 2017-12-29 2017-12-29 Business mail pushing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711487661.1A CN109995643B (en) 2017-12-29 2017-12-29 Business mail pushing method and device

Publications (2)

Publication Number Publication Date
CN109995643A CN109995643A (en) 2019-07-09
CN109995643B true CN109995643B (en) 2022-04-08

Family

ID=67111359

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711487661.1A Active CN109995643B (en) 2017-12-29 2017-12-29 Business mail pushing method and device

Country Status (1)

Country Link
CN (1) CN109995643B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110647552B (en) * 2019-08-29 2022-11-11 深圳市新系区块链技术有限公司 Data distribution method and related product
CN110855555B (en) * 2019-11-12 2023-04-07 深圳前海微众银行股份有限公司 Mail sending method, device, equipment and computer readable storage medium
CN111651513A (en) * 2020-06-02 2020-09-11 上海泛微网络科技股份有限公司 Data conversion method and related equipment
CN112417356A (en) * 2020-11-30 2021-02-26 政采云有限公司 Data pushing method, system, equipment and readable storage medium
CN112954065B (en) * 2021-02-26 2023-12-29 厦门熵基科技有限公司 Data pushing method and device, electronic equipment and storage medium
CN113536115A (en) * 2021-06-21 2021-10-22 浙江吉利控股集团有限公司 Network appointment information pushing method, device and platform

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101488198A (en) * 2008-01-17 2009-07-22 联想(北京)有限公司 Mail classifying method and apparatus
CN102170405A (en) * 2010-02-25 2011-08-31 腾讯科技(深圳)有限公司 Mail processing method, mail server and mail system
WO2015129020A1 (en) * 2014-02-28 2015-09-03 株式会社 日立製作所 Data transmission method and data transmission device
CN104980327A (en) * 2014-04-03 2015-10-14 腾讯科技(深圳)有限公司 Information push method and device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103188125B (en) * 2011-12-27 2017-06-23 腾讯科技(北京)有限公司 Mailing system and mail generation and the method for sending
CN102629263B (en) * 2012-02-29 2014-08-20 上海安捷力信息系统有限公司 Method and system for format conversion of interactive business data among enterprises
CN106330661A (en) * 2015-06-30 2017-01-11 郭潇文 Data centralized processing method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101488198A (en) * 2008-01-17 2009-07-22 联想(北京)有限公司 Mail classifying method and apparatus
CN102170405A (en) * 2010-02-25 2011-08-31 腾讯科技(深圳)有限公司 Mail processing method, mail server and mail system
WO2015129020A1 (en) * 2014-02-28 2015-09-03 株式会社 日立製作所 Data transmission method and data transmission device
CN104980327A (en) * 2014-04-03 2015-10-14 腾讯科技(深圳)有限公司 Information push method and device

Also Published As

Publication number Publication date
CN109995643A (en) 2019-07-09

Similar Documents

Publication Publication Date Title
CN109995643B (en) Business mail pushing method and device
CN102710593B (en) Method, device and system for publishing message in graph mashup
CN112988485A (en) Simulation test method and device for power Internet of things equipment
CN110177154B (en) File interaction processing method, device and system
CN108228664B (en) Unstructured data processing method and device
CN110858192A (en) Log query method and system, log checking system and query terminal
CN106034113A (en) Data processing method and data processing device
CN116346961B (en) Financial message processing method and device, electronic equipment and storage medium
CN114691398A (en) Rule-based fault analysis method, device, equipment and storage medium
CN112311627A (en) Universal power protocol testing method and system based on protocol description file in XML format
CN106934045B (en) System and method for migration evaluation of database
CN104361437A (en) Quality inspection and management method of diversified data interfaces and quality inspection and management system of diversified data interfaces
CN115344609A (en) Scatter diagram rendering method and system based on non-sampling big data
CN113347195B (en) Dynamic mounting system and method for communication protocol packet of Internet of things equipment
CN111724489B (en) General software system of ticket vending and checking machine
CN112948195A (en) Interface testing method and device, electronic equipment and storage medium
CN104125100A (en) Method for monitoring dashboard in real time in communication network management
CN109408104B (en) Method and device for acquiring game integration information
CN112650815A (en) Method and device for synchronizing environmental data, storage medium and electronic device
CN112422682A (en) Data transmission method and device, storage medium, and electronic device
CN110543470A (en) Message early warning method and device, storage medium and electronic device
CN112053150A (en) Data processing method, device and storage medium
CN112291312B (en) ETL data synchronization method and device, electronic equipment and storage medium
CN114205209B (en) Early warning method and system for equipment issuing configuration
CN115051866B (en) Message processing method and device, storage medium and electronic equipment

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