Template-based configuration information reaching method and device, server and storage medium
By replicating data between master and slave servers in different data centers, the stability and reliability of information delivery when integrating multiple service providers and user platforms are resolved, achieving continuity and reliability of information delivery and adapting to the growth of data volume and user scale.
Patent Information
- Application Number
- CN202411755981.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-02
- Publication Date
- 2025-11-21
- Estimated Expiration
- 2044-12-02
AI Technical Summary
Existing technologies lack stability and reliability in information delivery when integrating multiple service providers and user platforms, resulting in untimely messages and impacting system operational efficiency and service quality.
By adopting a template-based information delivery method, copies of the delivery data are replicated between a master server and slave servers (located in different data centers). This ensures that in the event of a failure of the master server or a delivery failure, the slave server can continue to send the delivery content information as a backup, improving the continuity and reliability of information delivery, and allowing for expanded storage and fault tolerance capabilities to adapt to the growth of data volume and user scale.
It achieves continuity, stability, and reliability in information delivery, reduces the risk of single points of failure, improves the system's fault tolerance, adapts to different business needs, and ensures timely information transmission.
Smart Images

Figure CN119883398B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of information reach, and more particularly to an information reach method and device based on template configuration, a server and a storage medium. BACKGROUND
[0002] With the increasing number of integrated service providers and online operating drivers, the communication between service providers and users is increasing, and information reach is developing towards diversification and personalization. In order to improve the operation efficiency and service quality of the entire system, it is necessary to ensure smooth and efficient reach of various messages between service providers and online operating drivers.
[0003] Chinese patent application file (application number: 202211429156.2, application date: 2022.11.15) discloses a command and dispatch system and method based on index item assessment and intelligent reminding mechanism. After the relevant data of the OA system and the BI system of the enterprise are connected, the task basic information is generated according to the department / personnel dimension. This information is transmitted to the task control module in the form of API interface synchronization (once a day). The task control module creates different types of task template IDs, defines different types of task standard content, creates task issuing rules including rule name / task description / personnel and object / time plan / issuing time, and then generates a task package. The task receiving module generates a message reminder based on the task instruction according to the task package and sends it to the business personnel. Although this scheme sets up a task template to remind the business personnel of the task instruction message, for a platform integrating multiple service providers and users, the amount of reached messages is very large, and this scheme may cause the message reach to be not timely, affecting stability and reliability. SUMMARY
[0004] Therefore, the present application provides an information reach method and device based on template configuration, a server and a storage medium, which can improve the stability and reliability of information reach.
[0005] To achieve the above purpose, the present application adopts the following technical solutions:
[0006] In a first aspect, the present application provides an information reach method based on template configuration, which comprises:
[0007] The main server acquires the template configuration information transmitted by the reach initiation terminal;
[0008] The main server determines the reach data based on the template configuration information; wherein the reach data includes reach content information, reach level and reach object;
[0009] The master server generates a copy of the reach data based on the reach level and stores the copy in the slave server; wherein the master server and the slave server are located in different machine rooms;
[0010] The master server sends the reach content information to the user terminal of the reach object;
[0011] If the sending of the reach content information fails, the master server notifies the slave server to send the reach content information in the copy to the user terminal of the reach object.
[0012] The method provided by the application, by copying the copy of the reach data between the master server and the slave server (located in different machine rooms), if the master server fails or the sending of the reach content information fails, the slave server can continue to send the reach content information as a backup, thereby ensuring the continuity, stability and reliability of the information reach. And, allow more slave servers to be added as needed to expand storage and fault tolerance capability, thereby adapting to the growing data volume and user scale.
[0013] In a possible implementation, the master server generates a copy of the reach data based on the reach level, comprising:
[0014] The master server determines the number of copies corresponding to the reach data based on the reach level;
[0015] The master server generates the corresponding copy based on the number of copies.
[0016] In a possible implementation, if the number of copies is at least two, the slave servers storing at least two copies are located in different machine rooms, and the master server notifies the slave server to send the reach content information in the copy to the user terminal of the reach object, comprising:
[0017] The master server respectively acquires the copy update time of the slave server storing at least two copies;
[0018] The master server selects a first target slave server from the slave servers storing at least two copies based on the copy update time;
[0019] The master server sends a reach request containing a copy identifier to the first target slave server, so that the first target slave server responds to the reach request and sends the reach content information in the copy corresponding to the copy identifier to the user terminal of the reach object.
[0020] In a possible implementation, the copy is stored in the slave server, comprising:
[0021] The master server prioritizes the candidate slave servers;
[0022] The master server selects a target number of candidate slave servers as second target slave servers based on the priority ranking result, wherein the target number is the same as the number of replicas;
[0023] The master server stores the replica in the second target slave server.
[0024] In a possible implementation, before the master server sends the reach content information to the user terminal of the reach object, the method further includes:
[0025] The master server writes the reach content information into a message queue corresponding to the reach level.
[0026] In a possible implementation, before the master server obtains the template configuration information sent by the reach initiation terminal, the method further includes:
[0027] The master server obtains the template identification information delivered by the reach initiation terminal;
[0028] The master server displays the configuration option information of the reach template corresponding to the template identification information, so that the reach initiation terminal delivers the template configuration information.
[0029] In a possible implementation, the reach data further includes a reach means; the reach means includes at least one of voice, short message, end-out push and end-in long chain.
[0030] In a second aspect, the present application provides an information reach device based on template configuration, which comprises a configuration information obtaining module, a reach data determining module, a replica generating and storing module, a reach sending module and a notification module; wherein,
[0031] The configuration information obtaining module is connected with the reach data determining module, and is used for the master server to obtain the template configuration information delivered by the reach initiation terminal;
[0032] The reach data determining module is connected with the configuration information obtaining module and the replica generating and storing module respectively, and is used for the master server to determine the reach data based on the template configuration information; wherein, the reach data includes reach content information, a reach level and a reach object;
[0033] The replica generating and storing module is connected with the reach data determining module and the notification module respectively, and is used for the master server to generate a replica of the reach data based on the reach level, and store the replica in a slave server; wherein, the slave server and the master server are located in different machine rooms;
[0034] The reach sending module is connected with the reach data determining module and the notification module respectively, and is used for the master server to send the reach content information to the user terminal of the reach object;
[0035] The notification module is connected with the touch sending module and the copy generation and storage module respectively, and is used for notifying the slave server to send the touch content information in the copy to the user terminal of the touch object if the touch content information sending fails.
[0036] In a third aspect, the present application provides a server, comprising a processor and a memory; the memory stores a computer program or computer instructions capable of being loaded and executed by the processor to perform the information touch method based on template configuration according to the first aspect and any possible implementation manner thereof.
[0037] In a fourth aspect, the present application provides a computer readable storage medium, which stores a computer program or computer instructions capable of being loaded and executed by the processor to perform the information touch method based on template configuration according to the first aspect and any possible implementation manner thereof.
[0038] The detailed description of the second aspect to the fourth aspect and various implementation manners thereof in the present application can refer to the detailed description in the first aspect and various implementation manners thereof; and the beneficial effects of the second aspect to the fourth aspect and various implementation manners thereof can refer to the beneficial effect analysis in the first aspect and various implementation manners thereof, which will not be repeated here. BRIEF DESCRIPTION OF DRAWINGS
[0039] The accompanying drawings incorporated in and forming a part of the specification illustrate embodiments of the present application and, together with the description, serve to explain the principles of the application.
[0040] Figure 1 is a flowchart of an information touch method based on template configuration according to an embodiment of the present application;
[0041] Figure 2 is a flowchart of storing a copy in an information touch method based on template configuration according to an embodiment of the present application;
[0042] Figure 3 is a flowchart of a process before step S101 in an information touch method based on template configuration according to an embodiment of the present application;
[0043] Figure 4 is a structure block diagram of an information touch device based on template configuration according to an embodiment of the present application;
[0044] Figure 5 is an internal structure block diagram of a server according to an embodiment of the present application. DETAILED DESCRIPTION
[0045] Various exemplary embodiments of the present application will now be described in detail with reference to the accompanying drawings. Note that the relative arrangement, numerical expressions, and numerical values of components and steps set forth in these embodiments are not limiting to the scope of the present application unless otherwise specifically stated.
[0046] The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the scope of the application or its application or uses.
[0047] Techniques, methods, and apparatus known to those of ordinary skill in the relevant art can not be discussed in detail herein, but should be considered as part of the specification, where appropriate.
[0048] In all of the examples shown and discussed herein, any specific values should be interpreted as merely illustrative and not as a limitation. Thus, other examples of the exemplary embodiments can have different values.
[0049] Note that like reference numerals and letters indicate like items in the accompanying drawings and, as such, once an item is defined in one drawing, that definition is applicable to all drawings.
[0050] Embodiment One:
[0051] An information reaching method based on template configuration is provided in embodiments of the present application. Please refer to Figure 1 which is a flowchart of the information reaching method based on template configuration provided in embodiments of the present application. As shown in Figure 1 the information reaching method based on template configuration provided in the present application mainly includes the following steps (steps S101-S105):
[0052] Step S101, the main server acquires template configuration information delivered by a reaching initiating terminal;
[0053] Step S102, the main server determines reaching data based on the template configuration information; wherein the reaching data includes reaching content information, reaching level, and reaching object;
[0054] Step S103, the main server generates a copy of the reaching data based on the reaching level, and stores the copy in a slave server; wherein the slave server and the main server are located in different machine rooms;
[0055] Step S104, the main server sends the reaching content information to a user terminal of the reaching object;
[0056] Step S105, if the reaching content information fails to be sent, the main server notifies the slave server to send the reaching content information in the copy to the user terminal of the reaching object.
[0057] In this embodiment, the user terminal reaching the initiating terminal and the user terminal reaching the target object can be a smart phone, a tablet computer, a PC, a notebook computer, a smart wearable device, etc., which are not specifically limited in this embodiment.
[0058] After the external access party sends the reach request to the main server through the initiating terminal, the main server sends the template option page information to the initiating terminal, so that the external access party inputs or selects the corresponding template configuration information on the template option page.
[0059] The reach object, the reach level and the reach content information can be directly obtained from the template configuration information. The reach object can include target users (such as all drivers, non-driving drivers, driving drivers, etc.), target platforms (such as Android, Ios, all, etc.), sending cities, etc. The reach level is selected by the external access party through the template option page. Different message levels correspond to different reach levels. For example, the message level can be divided into three categories: important message, medium message and marketing message. The reach levels corresponding to the three categories of messages decrease in turn.
[0060] The reach data also includes a reach means. The reach means includes at least one of voice, short message, end-out push and end-in long chain.
[0061] Among them, the voice usually refers to the telephone, voice mailbox or other voice communication tools. The end-in long chain refers to sending information through a hyperlink inside an application (APP), and the user can jump to the specified content or page inside the application without leaving the application. The end-out push refers to sending information through a push service. The user can receive these information in the mobile phone notification bar or outside the application (i.e. when the user does not use the application), and click to open the application or jump to the specified web page.
[0062] Of course, in addition to the specific reach means, the reach data can also include type data related to the reach means, for example, for voice reach, the voice package option can be set, and for short message, end-out push and end-in long chain, the message display style option can be set.
[0063] The main server is provided with a reach system, which is a service positioned in the middle station, used to manage and coordinate various reach means, and ensure that the information can be delivered to the user through appropriate reach means.
[0064] In some optional embodiments, the main server determines the number of copies corresponding to the reach data based on the reach level, and generates the corresponding copies based on the number of copies. For example, the higher the reach level, the more the number of copies, and vice versa.
[0065] It should be noted that, in order to reduce the risk of single point failure and improve the fault tolerance of the system, different copies of the same reach data need to be stored in different slave servers, and these slave servers are not in the same machine room.
[0066] In some optional embodiments, a sending retry mechanism for the master server can be set, i.e. a maximum number of retries is allowed after the first sending of the reach data fails, and when the maximum number of retries is reached, the slave server is notified to send the copy.
[0067] Optionally, the master server writes the reach content information into a message queue corresponding to the reach level, i.e. the reach content information of different reach levels corresponds to different message queues, and the master server sends the reach content information through multiple queues. In this way, processing resources can be allocated more effectively, and single queue overload can be avoided; different message queues can be independently configured, e.g. different queues can have different processing rules, priorities and consumer numbers to adapt to different business needs; the reach content information of different reach levels is isolated in different queues, which can prevent different levels of messages from interfering with each other and improve the stability and reliability of the system.
[0068] When consuming messages, the reach content information is generated into a globally unique key in the form of MD5 (Message-Digest Algorithm 5, Message Digest Algorithm 5) or the like, and whether the unique key already exists is used to ensure that messages are not sent multiple times, and the stability of the reach during peak traffic is ensured by deploying a message service in multiple machine rooms.
[0069] Since the slave server storing the copy and the master server storing the original reach data in the embodiment are set in different machine rooms, when the master server fails or the sending of the reach content information fails, the slave server can continue to send the reach content information as a backup, thereby ensuring the continuity of information reach. Moreover, more slave servers can be added as needed to expand the storage and fault tolerance capabilities, thereby adapting to the growing data volume and user scale. In addition, by adjusting the reach level and the reach object, the system can flexibly adapt to different business needs.
[0070] Embodiment Two:
[0071] For the storage of the copy in step S103 in the above embodiment one, the optimal slave server needs to be selected from multiple candidate slave servers to store the copy. Specifically, as shown in Figure 2 the following steps are included:
[0072] Step S201, the master server prioritizes the candidate slave servers;
[0073] Step S202: Based on the priority ranking result, the master server selects a target number of candidate slave servers as the second target slave servers; wherein, the target number is the same as the number of replicas;
[0074] In step S203, the master server stores the copy on the second target slave server.
[0075] In step S201, multiple influencing factors can be set, such as the geographical location between the master and slave servers, the network bandwidth between the master and slave servers, and the storage space of the slave server, as well as the weight of each influencing factor. Then, the priority of each candidate slave server is calculated by weighted summation. The higher the priority, the easier it is for the candidate slave server to be selected.
[0076] After prioritizing, a corresponding number of slave servers are selected as the second target slave servers according to the number of generated replicas, in descending order of priority. Then, the replicas are distributed to the second target slave servers in sequence.
[0077] When there are at least two copies, and these copies are not on the same slave server, it is necessary to select a first target slave server from these slave servers, so that the first target slave server sends the copies stored on it to the user terminal of the target object.
[0078] In some optional embodiments, the master server obtains the copy update time of each of the slave servers storing at least two copies, selects a first target slave server from the slave servers storing at least two copies based on the copy update time, and then sends a reach request containing a copy identifier to the first target slave server, so that the first target slave server responds to the reach request and sends the reach content information in the copy corresponding to the copy identifier to the user terminal of the reach target.
[0079] In this embodiment, the master server generates a unique identifier for each replica while generating the replicas. This way, when a replica needs to be sent from the server, the corresponding replica can be found based on the replica identifier and then sent.
[0080] Optionally, the slave server containing the most recently updated replica can be selected as the primary target slave server. This can reduce data synchronization latency and ensure data consistency because the replica is closer to the latest state of the master server, thereby improving the overall performance of the system.
[0081] Example 3:
[0082] For step S101 of the above embodiment one, as follows Figure 3 As shown, before the main service obtains the template configuration information transmitted by the initiating terminal, the following steps are also included:
[0083] In step S301, the main server acquires template identification information delivered by the reach initiation terminal.
[0084] In step S302, the main server displays configuration option information of the reach template corresponding to the template identification information, so as to make the reach initiation terminal deliver template configuration information.
[0085] In the embodiment, the template identification information is a data identifier uniquely identifying the reach template, and the external system calls the corresponding reach template by delivering the template identification information. The reach template refers to a configurable data structure on a page, which contains reach content, parameters, and format information.
[0086] The main server acquires template configuration option information of the corresponding reach template from the configuration center according to the received template identification information. The template configuration option information can include marketing type, whether to delay sending, whether to use a people package, what reach means are available, what reach objects are available, and the like.
[0087] Further, the reach template allows the external access party to customize content, that is, the reach template is defined with a placeholder, and the external access party provides template configuration information containing key-value pairs through a template option display page, wherein the key is the name of the placeholder in the reach template, and the value is the actual content expected to be replaced into the reach template. The main server finds the key matching the placeholder in the template configuration information, and replaces the placeholder with the value corresponding to the key matching the placeholder.
[0088] In the embodiment, the external access party does not need to care about specific reach parameters, but only needs to deliver the template identification information, which simplifies development and maintenance work, realizes unified management of reach means through template configuration, reduces the coupling degree between reach means, and improves the cohesion of the system; through template configuration, new reach means can be easily added or existing reach means can be modified without modifying the code of the external access party. Since the external access party does not need to deliver complex parameter information, the possibility of error is reduced, and the reliability of the system is improved.
[0089] Embodiment Four
[0090] Based on the same inventive concept, the embodiments of the present application also provide a template configuration-based information reach device for implementing the template configuration-based information reach method described above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme described in the above method, so the specific limitations in one or more template configuration-based information reach device embodiments provided below can be referred to the limitations of the template configuration-based information reach method in the above text, which will not be described here.
[0091] Figure 4 A structural block diagram of a template configuration-based information reach device 400 is shown. As shown in FIG. 4, the template configuration-based information reach device 400 includes a template configuration information receiving unit 401, a template configuration option information obtaining unit 402, a template configuration option information display unit 403, a template configuration information receiving unit 404, a template configuration information matching unit 405, and a template configuration information replacing unit 406.Figure 4 As shown, the information reaching device 400 based on template configuration includes: a configuration information acquisition module 401, a reaching data determination module 402, a copy generation and storage module 403, a reaching sending module 404 and a notification module 405; wherein,
[0092] The configuration information acquisition module 401 is connected with the reaching data determination module 402, and is used for the master server to acquire the template configuration information delivered by the reaching initiation terminal;
[0093] The reaching data determination module 402 is connected with the configuration information acquisition module 401 and the copy generation and storage module 403 respectively, and is used for the master server to determine the reaching data based on the template configuration information; wherein, the reaching data includes reaching content information, reaching level and reaching object;
[0094] The copy generation and storage module 403 is connected with the reaching data determination module 402 and the notification module 405 respectively, and is used for the master server to generate a copy of the reaching data based on the reaching level, and store the copy in the slave server; wherein, the slave server and the master server are located in different machine rooms;
[0095] The reaching sending module 404 is connected with the reaching data determination module 402 and the notification module 405 respectively, and is used for the master server to send the reaching content information to the user terminal of the reaching object;
[0096] The notification module 405 is connected with the reaching sending module 404 and the copy generation and storage module 403 respectively, and is used for the master server to notify the slave server to send the reaching content information in the copy to the user terminal of the reaching object if the reaching content information fails to be sent.
[0097] In an optional embodiment, the copy generation and storage module 403 is specifically used for the master server to determine the number of copies corresponding to the reaching data based on the reaching level; and the master server generates the corresponding copies based on the number of copies.
[0098] In an optional embodiment, if the number of copies is at least two, the slave servers storing the at least two copies are located in different machine rooms, and the notification module 405 is specifically used for the master server to acquire the copy update time of the slave servers storing the at least two copies respectively; the master server selects a first target slave server from the slave servers storing the at least two copies based on the copy update time; and the master server sends a reaching request containing a copy identifier to the first target slave server, so that the first target slave server responds to the reaching request and sends the reaching content information in the copy corresponding to the copy identifier to the user terminal of the reaching object.
[0099] In an alternative embodiment, the copy generation storage module 403 is specifically configured to perform priority ranking of the candidate slave servers by the master server; the master server selects a target number of candidate slave servers as the second target slave servers based on the priority ranking result, wherein the target number is the same as the number of copies; and the master server stores the copies in the second target slave servers.
[0100] In an alternative embodiment, the information reach device based on template configuration 400 further comprises:
[0101] The writing module is connected with the reach data determination module 402 and the reach sending module 404 respectively, and is configured to write the reach content information into the message queue corresponding to the reach level by the master server before the master server sends the reach content information to the user terminal of the reach object.
[0102] In an alternative embodiment, the information reach device based on template configuration 400 further comprises:
[0103] The configuration option module is connected with the configuration information acquisition module 401, and is configured to acquire the template identification information transmitted by the reach initiation terminal by the master server before the master server acquires the template configuration information transmitted by the reach initiation terminal; and the master server displays the configuration option information of the reach template corresponding to the template identification information to enable the reach initiation terminal to transmit the template configuration information.
[0104] Further, the reach data further comprises a reach means; and the reach means comprises at least one of voice, short message, end-out push and end-in long chain.
[0105] It should be noted that the above-mentioned functional modules can be integrated together to form an independent unit, for example, integrated in a processing unit, or each module can exist physically, or two or more modules can be integrated to form an independent unit. The above-mentioned integrated unit can be realized in the form of hardware or in the form of software functional unit. If the function is realized in the form of software functional module and sold or used as an independent product, it can be stored in a computer readable storage medium.
[0106] Embodiment five:
[0107] Based on the same inventive concept, the embodiments of the present application also provide a server 500, the internal structure of which is shown in Figure 5 The server 500 comprises a memory 501, a processor 502 and a communication bus 503; the memory 501 and the processor 502 are connected through the communication bus 503.
[0108] The memory 501 can be used to store instructions, programs, codes, code sets or instruction sets. The memory 501 can include a program storage area and a data storage area, wherein the program storage area can store instructions for implementing an operating system, instructions for at least one function, and instructions for implementing the template-based information reaching method provided by the above embodiments, etc.; and the data storage area can store data involved in the template-based information reaching method provided by the above embodiments, etc.
[0109] The processor 502 can include one or more processing cores. The processor 502 invokes data stored in the memory 501 by running or executing instructions, program code sets or instruction sets stored in the memory 501, and performs various functions and processes data of the present application. The processor 502 can be at least one of an Application Specific Integrated Circuit (ASIC), a Digital Signal Processor (DSP), a Digital Signal Processing Device (DSPD), a Programmable Logic Device (PLD), a Field Programmable Gate Array (FPGA), a Central Processing Unit (CPU), a controller, a microcontroller, and a microprocessor. It can be understood that, for different devices, the electronic device for implementing the above processor functions can also be other, and the embodiments of the present application do not make specific limitations.
[0110] The communication bus 503 can include a path for transmitting information between the above components. The communication bus 503 can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The communication bus 503 can be divided into an address bus, a data bus, a control bus, etc. For convenience of representation, Figure 5 Only one double-headed arrow is used in the figure, but it does not mean that there is only one bus or one type of bus. And Figure 5 The server shown is only an example and should not bring any limitation to the functions and use range of the embodiments of the present application.
[0111] Those skilled in the art can understand that, Figure 5The structure shown in the figure is only a block diagram of part of the structure related to the scheme of the present application, and does not constitute a limitation on the server to which the scheme of the present application is applied; specifically, the server can include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0112] Embodiment six:
[0113] In particular, according to the embodiments of the present application, the processes described in the above flowcharts can be implemented as a computer software program.
[0114] The technical scheme of the present application, in essence, or the part that contributes to the prior art, or part of the technical scheme can be embodied in the form of a software product, which is stored in a storage medium, i.e., the embodiments of the present application also provide a computer-readable storage medium, which includes a plurality of computer programs or computer instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor to execute all or part of the steps of the method of each embodiment of the present application. The aforementioned storage medium includes: a U disk, a mobile hard disk, a read-only memory, a random access memory, a magnetic disk or an optical disk, and various media that can store program codes.
[0115] Embodiment seven:
[0116] The embodiments of the present application include a computer program product, which includes a computer program carried on a computer readable medium, and the computer program contains computer programs for executing the method shown in the flowchart. In such embodiments, the computer program can be downloaded and installed from the network, and / or installed from a removable medium. When the computer program is executed by a central processing unit (CPU), various functions defined in the present application are executed.
[0117] Although some specific embodiments of the present application have been described in detail through examples, those skilled in the art should understand that the above examples are only for illustration, and are not intended to limit the scope of the present application. Those skilled in the art should understand that the above embodiments can be modified without departing from the scope and spirit of the present application. The scope of the present application is defined by the appended claims.
Claims
1. A method for information engagement based on template configuration, characterized in that, The method comprises the following steps: The master server acquires template configuration information delivered by a reach initiation terminal; The master server determines reach data based on the template configuration information; wherein the reach data comprises reach content information, a reach level and a reach object; The master server generates a copy of the reach data based on the reach level, and stores the copy in a slave server; wherein the slave server is located in a different machine room from the master server; The master server sends the reach content information to a user terminal of the reach object; If the sending of the reach content information fails, the master server notifies the slave server to send the reach content information in the copy to the user terminal of the reach object.
2. The template-based configuration of information outreach method as claimed in claim 1, wherein, The master server generates a copy of the reach data based on the reach level comprises: The master server determines the number of copies corresponding to the reach data based on the reach level; The master server generates the corresponding copies based on the number of copies.
3. The template-based configuration method of claim 1 or 2, wherein, If the number of copies is at least two, the slave servers storing the at least two copies are located in different machine rooms, and the master server notifying the slave servers to send the reach content information in the copies to the user terminal of the reach object comprises: The master server acquires the copy update time of the slave servers storing the at least two copies respectively; The master server selects a first target slave server from the slave servers storing the at least two copies based on the copy update time; The master server sends a reach request containing a copy identifier to the first target slave server, so that the first target slave server responds to the reach request and sends the reach content information in the copy corresponding to the copy identifier to the user terminal of the reach object.
4. The template-based configuration method of claim 1 or 2, wherein, The master server stores the copy in a slave server comprises: The master server prioritizes candidate slave servers; The master server selects a target number of the candidate slave servers as second target slave servers based on the prioritization result; wherein the target number is the same as the number of copies; The master server stores the copy in the second target slave servers.
5. The template-based configuration method of claim 1 or 2, wherein, Before the master server sends the reach content information to the user terminal of the reach object, the method further comprises: The master server writes the reach content information into a message queue corresponding to the reach level.
6. The template-based configuration method of claim 1 or 2, wherein, Before the master server acquires the template configuration information sent by the reach initiation terminal, the method further comprises: The master server acquires template identifier information delivered by the reach initiation terminal; The master server displays configuration option information of a reach template corresponding to the template identifier information, so that the reach initiation terminal delivers the template configuration information.
7. The templated configuration-based information outreach method of claim 1 or 2, wherein, The reach data further comprises a reach means; the reach means comprises at least one of voice, short message, out-of-terminal push and in-terminal long chain.
8. A template based configuration of information reach device, characterized in that, The method comprises the following steps: A configuration information acquisition module, a reach data determination module, a copy generation and storage module, a reach sending module and a notification module; wherein, The configuration information obtaining module, connected with the reach data determining module, is configured to obtain template configuration information delivered by a reach initiating terminal by a master server; The reach data determining module, connected with the configuration information obtaining module and the copy generating and storing module, is configured to determine reach data based on the template configuration information by the master server; wherein the reach data comprises reach content information, reach level and reach object; The copy generating and storing module, connected with the reach data determining module and the notification module, is configured to generate a copy of the reach data based on the reach level by the master server, and store the copy in a slave server; wherein the slave server is located in a different machine room from the master server; The reach sending module, connected with the reach data determining module and the notification module, is configured to send the reach content information to a user terminal of the reach object by the master server; The notification module, connected with the reach sending module and the copy generating and storing module, is configured to notify the slave server to send the reach content information in the copy to the user terminal of the reach object by the master server if the reach content information fails to be sent.
9. A server, characterized by comprises a processor and a memory; The memory stores a computer program or computer instructions capable of being loaded and executed by the processor to perform the information reach method based on template configuration according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that, The computer readable storage medium stores a computer program or computer instructions capable of being loaded and executed by the processor to perform the information reach method based on template configuration according to any one of claims 1 to 7.
Citation Information
Patent Citations
Command and dispatch system and method based on index item assessment and intelligent reminding mechanism
CN115936345A
Communication switching method and device, coordinating server and readable storage medium
CN108040108A
Storage client, message data storage device, system, method and equipment
CN117499379A