Information touch method and device based on template configuration, server and storage medium

By copying a copy of the reaching data between the master and slave servers, the problem of untimely access to messages on the multi-service provider platform is solved, and the stability and reliability of information reach is achieved, adapting to the growth of data volume and user scale.

CN119883398AActive Publication Date: 2025-04-25BEIJING BAIJU YIXING TECH CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202411755981.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-02
Publication Date
2025-04-25
Estimated Expiration
2044-12-02

AI Technical Summary

Technical Problem

When the existing technology integrates platforms of multiple service providers and users, the message is not reached in time, which affects stability and reliability.

Method used

By copying a copy of the reaching data between the master server and the slave server, if the master server fails or the reaching content information fails, the slave server can continue to send the reaching content information as a backup to ensure the continuity, stability and reliability of the information reach.

Benefits of technology

It realizes the continuity, stability and reliability of information reach, adapts to the growing data volume and user scale, and improves fault tolerance through multi-department server settings.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119883398A_ABST
    Figure CN119883398A_ABST
Patent Text Reader

Abstract

The invention discloses an information touch method and device based on template configuration, a server and a storage medium, and relates to the technical field of information touch. According to the scheme, the method comprises the steps that a main server obtains template configuration information transmitted by a touch initiating terminal; the master server determines touch data based on the template configuration information; wherein the touch data comprises touch content information, a touch level and a touch object; the master server generates a copy of the touch data based on the touch level, and stores the copy in a slave server; wherein the slave server and the master server are located in different machine rooms; the main server sends the touch content information to a user terminal of the touch object; and if the touch content information fails to be sent, the master server notifies the slave server to send the touch content information in the copy to the user terminal of the touch object. According to the invention, the stability and reliability of information touch can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of information access technology, and more specifically, to an information access method, device, server and storage medium based on template configuration. Background Art

[0002] As the number of integrated service providers and online operation drivers increases, the communication between service providers and users is also increasing, and information access is also developing in a diversified and personalized direction. In order to improve the operational efficiency and service quality of the entire system, it is necessary to ensure smooth and efficient access of various messages between service providers and online operation drivers.

[0003] The Chinese patent application document (application number: 202211429156.2, application date: 2022.11.15) discloses a command and dispatch system and method based on indicator item assessment and intelligent reminder mechanism. After connecting the relevant data of the enterprise's OA system with the BI system, it generates basic task information according to the dimensions of department / personnel, etc., and the information is transmitted to the task control module in a synchronous manner of the API interface (once a day); wherein the task control module creates different types of task template IDs, defines different types of task standard contents, creates task issuance rules including rule name / task description / personnel and object / time plan / issuance time and other information, 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 the scheme reminds business personnel of task instructions by setting task templates, for platforms integrating multiple service providers and users, the amount of messages reached is very large, and the scheme may cause the message to be untimely, affecting stability and reliability. Summary of the invention

[0004] In view of this, the present invention provides an information access method, device, server and storage medium based on template configuration, which can improve the stability and reliability of information access.

[0005] In order to achieve the above object, the present invention adopts the following technical scheme:

[0006] In a first aspect, the present invention provides an information access method based on template configuration, the method comprising:

[0007] The main server obtains the template configuration information transmitted by the contact initiating terminal;

[0008] The main server determines the reaching data based on the template configuration information; wherein the reaching data includes reaching content information, reaching level and reaching object;

[0009] The master server generates a copy of the reach data based on the reach level and stores the copy on the slave server; the slave server and the master server are located in different computer rooms;

[0010] The main server sends the reaching content information to the user terminal of the reaching object;

[0011] If the reaching content information fails to be sent, the master server notifies the slave server to send the reaching content information in the copy to the user terminal of the reaching object.

[0012] The method provided by the present invention replicates the copies of the reach data between the master server and the slave server (located in different computer rooms). If the master server fails or the reach content information fails to be sent, the slave server can continue to send the reach content information as a backup, thereby ensuring the continuity, stability and reliability of information reach. In addition, it is allowed to add more slave servers as needed to expand storage and fault tolerance capabilities, thereby adapting to the growing amount of data and user scale.

[0013] In a possible implementation, the primary server generates a copy of the reach data based on the reach level, including:

[0014] The master server determines the number of replicas corresponding to the reach data based on the reach level;

[0015] The master server generates corresponding replicas based on the number of replicas.

[0016] In a possible implementation, if the number of copies is at least two, the slave servers storing the at least two copies are located in different computer rooms, and the master server notifies the slave server to send the reaching content information in the copy to the user terminal of the reaching object, including:

[0017] The master server obtains the replica update time of the slave servers storing at least two replicas respectively;

[0018] The master server selects a first target slave server from slave servers storing at least two replicas based on the replica update time;

[0019] The master server sends a reach request including a replica 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 replica corresponding to the replica identifier to the user terminal of the reach object.

[0020] In one possible implementation, storing the copy on the slave server includes:

[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 sorting result, where the target number is the same as the number of replicas;

[0023] The master server stores the copy on the second target slave server.

[0024] In a possible implementation manner, before the main server sends the reaching content information to the user terminal of the reaching object, the method further includes:

[0025] The main server writes the reaching content information into the message queue corresponding to the reaching level.

[0026] In a possible implementation, before the main server obtains the template configuration information sent by the contact initiating terminal, the following is also included:

[0027] The main server obtains the template identification information transmitted by the contact initiating terminal;

[0028] The main server displays the configuration option information of the reach template corresponding to the template identification information so that the reach initiating terminal transmits the template configuration information.

[0029] In a possible implementation, the reaching data also includes reaching means; the reaching means includes at least one of voice, text message, external push and internal long link.

[0030] In a second aspect, the present invention provides an information access device based on template configuration, the device comprising: a configuration information acquisition module, a access data determination module, a copy generation storage module, a access sending module and a notification module; wherein,

[0031] The configuration information acquisition module is connected to the reach data determination module and is used by the main server to obtain the template configuration information transmitted by the reach initiating terminal;

[0032] A reaching data determination module, connected to the configuration information acquisition module and the replica generation storage module respectively, is used for the main 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;

[0033] A replica generation storage module is connected to the reach data determination 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 the slave server; wherein the slave server and the master server are located in different computer rooms;

[0034] A reach sending module, connected to the reach data determination module and the notification module respectively, is used for the main server to send the reach content information to the user terminal of the reach object;

[0035] The notification module is connected to the reaching sending module and the copy generation storage module respectively, and is used for the main 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.

[0036] In a third aspect, the present invention provides a server comprising a processor and a memory; the memory stores a computer program or computer instructions that can be loaded by the processor and executed such as the template-configured information access method of the first aspect and any possible implementation thereof.

[0037] In a fourth aspect, the present invention provides a computer-readable storage medium storing a computer program or computer instructions that can be loaded by a processor and executed as a template-configured information access method such as the first aspect and any possible implementation thereof.

[0038] For the specific description of the second to fourth aspects and their various implementations in the present invention, reference can be made to the detailed description in the first aspect and its various implementations; and for the beneficial effects of the second to fourth aspects and their various implementations, reference can be made to the analysis of the beneficial effects in the first aspect and its various implementations, which will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the invention and, together with the description, serve to explain the principles of the invention.

[0040] Figure 1 It is a flow chart of a method for information access based on template configuration according to an embodiment of the present invention;

[0041] Figure 2 It is a schematic diagram of a process of storing a copy in a template-configured information access method according to an embodiment of the present invention;

[0042] Figure 3 It is a schematic diagram of the flow chart before step S101 in a method for information access based on template configuration according to an embodiment of the present invention;

[0043] Figure 4 It is a structural block diagram of an information access device based on template configuration according to an embodiment of the present invention;

[0044] Figure 5 The figure is a block diagram of the internal structure of a server according to an embodiment of the present invention. DETAILED DESCRIPTION

[0045] Various exemplary embodiments of the present invention will now be described in detail with reference to the accompanying drawings. It should be noted that the relative arrangement of components and steps, numerical expressions and numerical values ​​set forth in these embodiments do not limit the scope of the present invention 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 invention, its application, or uses.

[0047] Technologies, methods, and equipment known to ordinary technicians in the relevant art may not be discussed in detail, but where appropriate, the technologies, methods, and equipment should be considered as part of the specification.

[0048] In all examples shown and discussed herein, any specific values ​​should be interpreted as merely exemplary and not limiting. Therefore, other examples of the exemplary embodiments may have different values.

[0049] It should be noted that like reference numerals and letters refer to similar items in the following figures, and therefore, once an item is defined in one figure, it need not be further discussed in subsequent figures.

[0050] Embodiment 1:

[0051] The embodiment of the present invention provides a method for information access based on template configuration. Figure 1 , which is a flow chart of a template-based configuration-based information access method provided by an embodiment of the present invention. Figure 1 As shown, the information access method based on template configuration provided by the present invention mainly includes the following steps (steps S101 to S105):

[0052] Step S101, the main server obtains the template configuration information transmitted by the contact initiating terminal;

[0053] Step S102: The main server determines the 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 master server generates a copy of the reach data based on the reach level, and stores the copy in the slave server; wherein the slave server and the master server are located in different computer rooms;

[0055] Step S104, the main server sends the reaching content information to the user terminal of the reaching object;

[0056] Step S105: If the sending of the reaching content information fails, the master 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 of the contact initiating terminal and the contact target can be a smart phone, a tablet computer, a PC, a laptop computer, a smart wearable device, etc., and this embodiment does not make any specific limitations on this.

[0058] After the external access party sends a contact request to the main server through the contact initiation terminal, the main server sends the template option page information to the contact initiation terminal so that the external access party can enter or select the corresponding template configuration information on the template option page.

[0059] The data such as the reach object, reach level and reach content information can be directly obtained from the template configuration information. The reach object can include target users (such as all drivers, drivers who have not been out, drivers who have been out, etc.), target platforms (such as Android, Ios, all, etc.), sending cities and other information. The reach level is based on the message level 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 messages, medium messages, and marketing messages. The reach levels corresponding to these three types of messages decrease in sequence.

[0060] The reaching data also includes the reaching means; the reaching means include at least one of voice, text message, external push and internal long link.

[0061] Among them, voice usually refers to telephone, voicemail or other voice communication tools. In-terminal long links refer to sending information through hyperlinks within an application (APP). After clicking, users can jump to the specified content or page within the application without leaving the application. External push refers to sending information through push services. Users can receive this information in the notification bar of their mobile phones or outside the application (that is, when the user is not using the application). After clicking, they may open the application or jump to a specified web page.

[0062] Of course, in addition to specific means of reaching out, reaching out data can also include type data related to the means of reaching out. For example, for voice reaching out, you can set options for voice packages. For SMS, external push notifications, and internal long links, you can set options for message display styles.

[0063] The main server is equipped with a reach system, which is a service located in the middle office and is used to manage and coordinate various reach methods to ensure that information can be delivered to users through appropriate reach methods.

[0064] In some optional embodiments, the master server determines the number of replicas corresponding to the reach data based on the reach level, and generates corresponding replicas based on the number of replicas. For example, the higher the reach level, the more replicas there are, 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 access data need to be stored in different slave servers, and these slave servers are not in the same computer room.

[0066] In some optional embodiments, a sending retry mechanism to the primary server may be set, that is, a maximum number of retries is allowed after the first failure of sending the reach data, and when the maximum number of retries is reached, the slave server is notified to send a copy.

[0067] Optionally, the main server writes the reach content information into the message queue corresponding to the reach level, that is, the reach content information of different reach levels corresponds to different message queues, and the main server sends the reach content information through multiple queues. In this way, processing resources can be allocated more effectively to avoid overloading of a single queue; different message queues can be configured independently, for example, different queues can have different processing rules, priorities, and number of consumers to meet different business needs; the reach content information of different reach levels is isolated in different queues, which can prevent messages of different levels from interfering with each other and improve the stability and reliability of the system.

[0068] When consuming messages, the content information is generated into a globally unique key using MD5 (Message-Digest Algorithm 5) and other methods. The existence of the unique key is used to ensure that multiple messages are not sent. By deploying message services in multiple data centers in different locations, stable reach is guaranteed during peak traffic periods.

[0069] Since this embodiment sets the slave servers that store the copies and the master servers that store the originals, i.e., the access data, in different computer rooms, when the master server fails or the access content information fails to be sent, the slave server can continue to send the access content information as a backup, thereby ensuring the continuity of information access. In addition, it is allowed to add more slave servers as needed to expand storage and fault tolerance capabilities, thereby adapting to the growing amount of data and user scale. In addition, by adjusting the access level and access object, the system can flexibly adapt to different business needs.

[0070] Embodiment 2:

[0071] For the storage of the replica in step S103 in the first embodiment, it is necessary to select the best slave server from multiple candidate slave servers to store the replica. Figure 2 As shown, the following steps are included:

[0072] Step S201, the master server prioritizes the candidate slave servers;

[0073] Step S202: The master server selects a target number of candidate slave servers as second target slave servers based on the priority sorting result; wherein the target number is the same as the number of replicas;

[0074] 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, the storage space of the slave server, etc., and the weight of each influencing factor, and then the weighted sum is calculated to obtain the priority of each candidate slave server. The higher the priority, the easier it is for the candidate slave server to be selected.

[0076] After the priority is sorted, the corresponding number of slave servers will be selected as the second target slave servers according to the number of generated replicas in descending order of priority. Then, the replicas will be distributed to the second target slave servers in sequence.

[0077] When the number of copies is at least two, these copies are not on the same slave server. At this time, it is necessary to select a first target slave server from these slave servers so that the first target slave server sends the copy stored thereon to the user terminal of the reachable object.

[0078] In some optional embodiments, the master server respectively obtains the replica update time of the slave servers storing at least two replicas, and then selects a first target slave server from the slave servers storing at least two replicas based on the replica update time, and then sends a reach request including a replica 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 replica corresponding to the replica identifier to the user terminal of the reach object.

[0079] In this embodiment, the master server generates a unique identifier for each replica while generating the replica, so that when a replica needs to be sent from the server, the corresponding replica can be queried according to the replica identifier and sent.

[0080] Optionally, you can select the slave server where the replica with the most recent update time is located as the first target slave server. This can reduce the delay in data synchronization and ensure data consistency because the replica is closer to the latest status of the master server, thereby improving the overall performance of the system.

[0081] Embodiment three:

[0082] For step S101 of the first embodiment, Figure 3 As shown, before the main service obtains the template configuration information transmitted by the contact initiating terminal, the following steps are also included:

[0083] Step S301, the main server obtains the template identification information transmitted by the contact initiating terminal;

[0084] Step S302, the main server displays the configuration option information of the reach template corresponding to the template identification information, so that the reach initiating terminal transmits the template configuration information.

[0085] In this embodiment, the template identification information is a data identifier that uniquely identifies the reach template, and the external system calls the corresponding reach template by passing the template identification information. The reach template refers to a configurable data structure on the page, which includes information such as reach content, parameters and format.

[0086] The main server obtains the 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 may include information such as marketing type, whether to delay sending, whether to use a crowd package, what reach means are there, and what reach objects are there.

[0087] Furthermore, the reach template allows external access parties to customize content, that is, the reach template is defined with placeholders, and the external access party provides template configuration information containing key-value pairs through the template option display page, where the key is the name of the placeholder in the reach template and the value is the actual content that is expected to be replaced in the reach template. The main server searches for the key that matches the placeholder in the template configuration information and replaces the placeholder with the value corresponding to the key that matches the placeholder.

[0088] In this embodiment, the external access party does not need to care about the specific access parameters, but only needs to pass the template identification information, which simplifies the development and maintenance work. The unified management of the access means is realized through the template configuration, so that the coupling between the various access means is reduced and the cohesion of the system is improved. Through the template configuration, new access means can be easily added or existing access means can be modified without modifying the code of the external access party. Since the external access party does not need to pass complex parameter information, the possibility of error is reduced and the reliability of the system is improved.

[0089] Embodiment 4:

[0090] Based on the same inventive concept, an embodiment of the present invention also provides a template-configured information access device for implementing the template-configured information access method involved above. The implementation solution provided by the device to solve the problem is similar to the implementation solution recorded in the above method, so the specific limitations in one or more template-configured information access device embodiments provided below can refer to the limitations of the template-configured information access method above, and will not be repeated here.

[0091] Figure 4 FIG. 4 shows a structural block diagram of an information access device 400 based on template configuration. Figure 4 As shown, the information access device 400 based on template configuration includes: a configuration information acquisition module 401, a access data determination module 402, a copy generation storage module 403, a access sending module 404 and a notification module 405; wherein,

[0092] The configuration information acquisition module 401 is connected to the reach data determination module 402 and is used by the main server to obtain the template configuration information transmitted by the reach initiating terminal;

[0093] The reaching data determining module 402 is connected to the configuration information obtaining module 401 and the replica generation 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] A copy generation storage module 403 is connected to the reach data determination module 402 and the notification module 405 respectively, and is used for the master server to generate a copy of the reach data based on the reach level, and store the copy in the slave server; wherein the slave server and the master server are located in different computer rooms;

[0095] The reaching sending module 404 is connected to the reaching data determining module 402 and the notifying module 405 respectively, and is used for the main server to send the reaching content information to the user terminal of the reaching object;

[0096] The notification module 405 is connected to the reach sending module 404 and the copy generation storage module 403 respectively, and is used for the main server to notify the slave server to send the reach content information in the copy to the user terminal of the reach object if the reach content information fails to be sent.

[0097] In an optional embodiment, the replica generation storage module 403 is specifically used for the master server to determine the number of replicas corresponding to the reach data based on the reach level; the master server generates corresponding replicas based on the number of replicas.

[0098] In an optional embodiment, if the number of replicas is at least two, the slave servers storing at least two replicas are located in different computer rooms, and the notification module 405 is specifically used for the master server to obtain the replica update time of the slave servers storing at least two replicas respectively; the master server selects a first target slave server from the slave servers storing at least two replicas based on the replica update time; the master server sends a reach request including a replica 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 replica corresponding to the replica identifier to the user terminal of the reach object.

[0099] In an optional embodiment, the replica generation storage module 403 is specifically used for the master server to prioritize candidate slave servers; the master server selects a target number of candidate slave servers as second target slave servers based on the priority sorting results, where the target number is the same as the number of replicas; the master server stores the replica in the second target slave server.

[0100] In an optional embodiment, the information access device 400 based on template configuration further includes:

[0101] The writing module is connected to the reaching data determination module 402 and the reaching sending module 404 respectively, and is used for the main server to write the reaching content information into the message queue corresponding to the reaching level before sending the reaching content information to the user terminal of the reaching object.

[0102] In an optional embodiment, the information access device 400 based on template configuration further includes:

[0103] The configuration option module is connected to the configuration information acquisition module 401, and is used for the main server to obtain the template identification information transmitted by the reach initiating terminal before the main server obtains the template configuration information sent by the reach initiating terminal; the main server displays the configuration option information of the reach template corresponding to the template identification information, so that the reach initiating terminal transmits the template configuration information.

[0104] Furthermore, the reaching data also includes reaching means; the reaching means include at least one of voice, text message, external push and internal long link.

[0105] It should be noted that the above-mentioned functional modules can be integrated together to form an independent unit, for example, integrated into a processing unit, or each module can exist physically separately, or two or more modules can be integrated to form an independent unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of a software functional unit. If the function is implemented in the form of a 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 embodiment of the present invention further provides a server 500, the internal structure of the server 500 is as follows: Figure 5 The server 500 includes a memory 501 , a processor 502 and a communication bus 503 ; the memory 501 and the processor 502 are connected via the communication bus 503 .

[0108] The memory 501 may be used to store instructions, programs, codes, code sets or instruction sets. The memory 501 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function, and instructions for implementing the information access method based on template configuration provided in the above embodiment, etc.; the data storage area may store data involved in the information access method based on template configuration provided in the above embodiment, etc.

[0109] The processor 502 may include one or more processing cores. The processor 502 executes various functions and processes data of the present invention by running or executing instructions, programs, code sets or instruction sets stored in the memory 501, calling the data stored in the memory 501. The processor 502 may 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 is understandable that for different devices, the electronic device used to implement the above-mentioned processor function may also be other, and the embodiment of the present invention is not specifically limited.

[0110] The communication bus 503 may include a path to transmit information between the above components. The communication bus 503 may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus. The communication bus 503 may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 5 Only one double arrow is used in the diagram, but it does not mean that there is only one bus or one type of bus. Figure 5 The server shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.

[0111] Those skilled in the art will understand that Figure 5The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present invention, and does not constitute a limitation on the server to which the solution of the present invention is applied. The specific server may 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 an embodiment of the present invention, the process described in the above flowchart may be implemented as a computer software program.

[0114] The technical solution of the present invention, in essence, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, that is, the embodiment of the present invention also provides a computer-readable storage medium, which includes a number of computer programs or computer instructions, which are used to enable a computer device (which can be a personal computer, server or network device, etc.) or a processor to perform all or part of the steps of the methods of various embodiments of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory, random access memory, disk or optical disk, etc., various media that can store program codes.

[0115] Embodiment seven:

[0116] An embodiment of the present invention includes a computer program product, which includes a computer program carried on a computer readable medium, the computer program including a computer program for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a 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 invention are performed.

[0117] Although some specific embodiments of the present invention have been described in detail by way of example, it will be appreciated by those skilled in the art that the above examples are for illustration only and are not intended to limit the scope of the present invention. It will be appreciated by those skilled in the art that the above embodiments may be modified without departing from the scope and spirit of the present invention. The scope of the present invention is defined by the appended claims.

Claims

1. A template-based configuration-based information access method, characterized in that: include: The main server obtains the template configuration information transmitted by the contact initiating terminal; The main server determines the reaching data based on the template configuration information; wherein the reaching data includes reaching content information, reaching level and reaching 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 and the master server are located in different computer rooms; The main server sends the reached content information to the user terminal of the reached object; If the reaching content information fails to be sent, the master server notifies the slave server to send the reaching content information in the copy to the user terminal of the reaching object.

2. The information access method based on template configuration according to claim 1 is characterized in that: The master server generates a copy of the reach data based on the reach level, including: The master server determines the number of replicas corresponding to the reach data based on the reach level; The master server generates the corresponding replicas based on the number of the replicas.

3. The information access method based on template configuration according to claim 1 or 2, characterized in that: If the number of the copies is at least two, the slave servers storing at least two copies are located in different computer rooms, and the master server notifies the slave server to send the reaching content information in the copy to the user terminal of the reaching object, including: The master server respectively obtains the copy update time of the slave server storing at least two copies; The master server selects a first target slave server from the slave servers storing at least two of the replicas based on the replica update time; The master server sends a reach request including a replica 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 replica corresponding to the replica identifier to the user terminal of the reach object.

4. The information access method based on template configuration according to claim 1 or 2, characterized in that: The storing the copy on the slave server comprises: The master server prioritizes the candidate slave servers; The master server selects a target number of candidate slave servers as second target slave servers based on the priority sorting result; wherein the target number is the same as the number of replicas; The master server stores the copy on the second target slave server.

5. The information access method based on template configuration according to claim 1 or 2, characterized in that: Before the main server sends the reached content information to the user terminal of the reached object, the method further includes: The main server writes the reach content information into a message queue corresponding to the reach level.

6. The information access method based on template configuration according to claim 1 or 2, characterized in that: Before the main server obtains the template configuration information sent by the contact initiating terminal, it also includes: The main server obtains the template identification information transmitted by the reach initiating terminal; The main server displays the configuration option information of the reach template corresponding to the template identification information, so that the reach initiating terminal transmits the template configuration information.

7. The information access method based on template configuration according to claim 1 or 2, characterized in that: The reaching data also includes reaching means; the reaching means includes at least one of voice, text message, external push and internal long link.

8. An information access device based on template configuration, characterized in that: include: Configuration information acquisition module, reach data determination module, copy generation storage module, reach sending module and notification module; wherein, The configuration information acquisition module is connected to the reach data determination module and is used for the main server to acquire the template configuration information transmitted by the reach initiating terminal; The reaching data determination module is connected to the configuration information acquisition module and the replica generation storage module 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; The copy generation storage module is connected to the reach data determination module and the notification module respectively, and is used for the master server to generate a copy of the reach data based on the reach level, and store the copy in the slave server; wherein the slave server and the master server are located in different computer rooms; The reaching sending module is connected to the reaching data determining module and the notifying module respectively, and is used for the main server to send the reaching content information to the user terminal of the reaching object; The notification module is connected to the reach sending module and the copy generation storage module respectively, and is used for the master server to notify the slave server to send the reach content information in the copy to the user terminal of the reach object if the reach content information fails to be sent.

9. A server, characterized in that: including a processor and a memory; The memory stores a computer program or computer instructions that can be loaded by the processor and execute the template-configured information access method as described in 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 that can be loaded by a processor and execute the information access method based on template configuration as described in 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

  • Message arriving method and device and storage medium

    CN117812145A

  • System and method for pushing information from a source device to an available destination device

    EP1883203A1