CN111880949A - Method, system, device, server and terminal for processing service information - Google Patents

Method, system, device, server and terminal for processing service information Download PDF

Info

Publication number
CN111880949A
CN111880949A CN202010738923.2A CN202010738923A CN111880949A CN 111880949 A CN111880949 A CN 111880949A CN 202010738923 A CN202010738923 A CN 202010738923A CN 111880949 A CN111880949 A CN 111880949A
Authority
CN
China
Prior art keywords
service
service information
processing
message
processed
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.)
Granted
Application number
CN202010738923.2A
Other languages
Chinese (zh)
Other versions
CN111880949B (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.)
Beijing QIYI Century Science and Technology Co Ltd
Original Assignee
Beijing QIYI Century Science and Technology 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 Beijing QIYI Century Science and Technology Co Ltd filed Critical Beijing QIYI Century Science and Technology Co Ltd
Priority to CN202010738923.2A priority Critical patent/CN111880949B/en
Publication of CN111880949A publication Critical patent/CN111880949A/en
Application granted granted Critical
Publication of CN111880949B publication Critical patent/CN111880949B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/546Message passing systems or structures, e.g. queues
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/0614Improving the reliability of storage systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0646Horizontal data movement in storage systems, i.e. moving data in between storage devices or systems
    • G06F3/065Replication mechanisms
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/067Distributed or networked storage systems, e.g. storage area networks [SAN], network attached storage [NAS]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/54Indexing scheme relating to G06F9/54
    • G06F2209/547Messaging middleware

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Software Systems (AREA)
  • Computer And Data Communications (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the invention provides a method, a system, a device, a server and a terminal for processing service information, wherein the method is applied to message middleware deployed in a main server in a service processing system and comprises the following steps: acquiring a service message to be processed sent by a terminal; analyzing the service message to be processed to obtain service information and processing requirements; and controlling the master server and the slave server to process the service information according to the processing requirements. Applied to a terminal, comprising: generating a to-be-processed service message aiming at a target service when a processing instruction aiming at the target service is acquired; and sending the service message to be processed to the message middleware so that the message middleware analyzes the service message to be processed to obtain service information and a processing requirement, and controlling the master server and the slave server to process the service information according to the processing requirement. The embodiment of the invention can meet the timeliness requirement and the reliability requirement of different types of services on service information processing.

Description

Method, system, device, server and terminal for processing service information
Technical Field
The present invention relates to the field of information processing technologies, and in particular, to a method, a system, an apparatus, a server, and a terminal for processing service information.
Background
Message middleware, as an instant messaging software suitable for data transmission between devices in a distributed service processing system, has been widely used in processing tasks of service information such as registration information and order information. As shown in fig. 1, the distributed service processing system includes a master server 110, a plurality of slave servers 120, and a plurality of terminals 130, wherein the master server 110 can perform data interaction with the plurality of terminals.
The message middleware is deployed on the master server and the plurality of slave servers. The terminal can send the service information to a message middleware deployed on the master server, after receiving the service information, the message middleware can store the service information in a disk of the master server and send a feedback notice to the terminal, and can also send the service information to the slave server, and the slave server can store the service information in a disk of the slave server when receiving the service information.
At present, when the message middleware is deployed, the processing rule of the message middleware on the service information is preset. For example, the preset processing rule may be synchronous replication, synchronous disk storage, and the like, so that when the master server receives the service information sent by the terminal, the message middleware stores the service information in a disk of the master server and synchronously sends the service information to the slave server, the slave server stores the service information in a disk of the slave server when receiving the service information, and the master server stores the service information in the disk and then sends a feedback notification to the terminal.
Different types of services have different requirements on timeliness and reliability of service information processing, and thus have different requirements on copying and storing of service information. However, the processing rule of the current message middleware for the service information is set when the message middleware is deployed, so that the processing modes for all the service information are the same, and the timeliness requirement and the reliability requirement of different types of services for the service information processing cannot be met.
Disclosure of Invention
The embodiment of the invention aims to provide a method, a system, a device, a terminal and a server for processing service information, so as to meet the timeliness requirement and the reliability requirement of different types of services on service information processing. The specific technical scheme is as follows:
in a first aspect, an embodiment of the present invention provides a method for processing service information, where the method is applied to a message middleware deployed in a master server in a service processing system, where the service processing system further includes a slave server and a terminal, and the method includes:
acquiring a to-be-processed service message sent by a terminal, wherein the to-be-processed service message at least comprises service information and a processing requirement, and the processing requirement is set in advance based on the attribute of the service information;
analyzing the service message to be processed to obtain the service information and the processing requirement;
and controlling the master server and the slave server to process the service information according to the processing requirement, wherein the processing at least comprises disk storage and replication.
Optionally, the step of analyzing the service message to be processed to obtain the service information and the processing requirement includes:
analyzing the service message to be processed, acquiring service information carried by the service message to be processed and field contents of preset fields as target field contents, wherein the service message to be processed comprises a plurality of fields;
and determining a target processing requirement corresponding to the target field content as the processing requirement of the service information according to the corresponding relation between the preset field content and the processing requirement.
Optionally, the processing requirement is synchronous replication and synchronous disk storage;
the step of controlling the master server and the slave server to process the service information according to the processing requirement includes:
when the service message to be processed is received, storing the service information in a disk of the master server, and sending the service information to the slave server, so that the slave server stores the service information in the disk of the slave server when receiving the service information;
and after the service information is stored in the disk of the master server and the disk of the slave server, sending a feedback notice to the terminal.
Optionally, the processing requirement is synchronous replication and asynchronous saving, and the service message to be processed further includes a first time requirement corresponding to the asynchronous saving;
the step of controlling the master server and the slave server to process the service information according to the processing requirement includes:
when the service message to be processed is received, determining a first target time point according to the first time requirement, and sending the service information and time information to the slave server so that the slave server stores the service information in a disk of the slave server at the first target time point, wherein the time information comprises the first time requirement and/or the first target time point;
after the service information and the time information are sent to the slave server, sending a feedback notice to the terminal;
and storing the service information in a disk of the main server at the first target time point.
Optionally, the processing requirement is asynchronous replication and synchronous disk storage, and the service message to be processed further includes a second time requirement corresponding to the asynchronous replication;
the step of controlling the master server and the slave server to process the service information according to the processing requirement includes:
when the service information to be processed is received, storing the service information in a magnetic disk of the main server;
after the service information is stored in a disk of the main server, sending a feedback notice to the terminal;
and determining a second target time point according to the second time requirement, and sending the service information to the slave server at the second target time point, so that the slave server stores the service information in a disk of the slave server when receiving the service information.
Optionally, the processing requirement is asynchronous replication and asynchronous disk storage, and the service message to be processed further includes a first time requirement corresponding to the asynchronous disk storage and a second time requirement corresponding to the asynchronous replication;
the step of controlling the master server and the slave server to process the service information according to the processing requirement includes:
when the service information to be processed is received, sending a feedback notice to the terminal;
determining a first target time point according to the first time requirement, determining a second time point according to the second time requirement, and sending the service information and time information to the slave server at the second target time point, so that the slave server stores the service information in a disk of the slave server at the first target time point, wherein the time information comprises the first time requirement and/or the first target time point;
and storing the service information in a disk of the main server at the first target time point.
In a second aspect, an embodiment of the present invention provides a method for processing service information, which is applied to a terminal in a service processing system, where the service processing system further includes a master server and a slave server, and a message middleware is deployed in the master server, and the method includes:
generating a to-be-processed service message for a target service when a processing instruction for the target service is acquired, wherein the to-be-processed service message at least comprises service information of the target service and a processing requirement, and the processing requirement is set in advance based on an attribute of the service information;
and sending the service message to be processed to the message middleware, so that the message middleware analyzes the service message to be processed to obtain the service information and the processing requirement, and controlling the master server and the slave server to process the service information according to the processing requirement.
Optionally, the step of generating a service message to be processed for the target service includes:
acquiring service information of the target service;
determining the processing requirement of the service information according to the attribute of the service information, and taking the processing requirement as a target processing requirement;
determining target field content corresponding to the target processing requirement according to a preset corresponding relation between the processing requirement and the field content;
and inserting the target field content into a preset field of a to-be-processed service message corresponding to the service information to obtain the to-be-processed service message aiming at the target service, wherein the to-be-processed service message comprises a plurality of fields.
In a third aspect, an embodiment of the present invention provides a service processing system, where the service processing system includes a terminal, a master server and a slave server, and a message middleware is deployed in the master server, where:
the terminal is used for generating a service message to be processed aiming at a target service when a processing instruction aiming at the target service is acquired; sending the service message to be processed to the message middleware, wherein the service message to be processed at least comprises service information of the target service and processing requirements, and the processing requirements are set in advance based on the attributes of the service information;
the message middleware is used for acquiring a service message to be processed sent by the terminal; analyzing the service message to be processed to obtain the service information and the processing requirement; and controlling the master server and the slave server to process the service information according to the processing requirement, wherein the processing at least comprises disk storage and replication.
In a fourth aspect, an embodiment of the present invention provides a device for processing service information, where the device is applied to a message middleware deployed in a master server in a service processing system, where the service processing system further includes a slave server and a terminal, and the device includes:
the system comprises a service message acquisition module, a service message processing module and a service message processing module, wherein the service message to be processed is sent by a terminal and at least comprises service information and processing requirements, and the processing requirements are set in advance based on the attributes of the service information;
the analysis module is used for analyzing the service message to be processed to obtain the service information and the processing requirement;
and the message processing module is used for controlling the master server and the slave server to process the service information according to the processing requirement, wherein the processing at least comprises disk storage and replication.
In a fifth aspect, an embodiment of the present invention provides a device for processing service information, where the device is applied to a terminal in a service processing system, the service processing system further includes a master server and a slave server, and a message middleware is deployed in the master server, and the device includes:
the system comprises a service message generation module, a service message processing module and a service processing module, wherein the service message generation module is used for generating a to-be-processed service message aiming at a target service when a processing instruction aiming at the target service is acquired, the to-be-processed service message at least comprises service information and a processing requirement of the target service, and the processing requirement is set in advance based on the attribute of the service information;
and the service message sending module is used for sending the service message to be processed to the message middleware so that the message middleware analyzes the service message to be processed to obtain the service information and the processing requirement, and controlling the master server and the slave server to process the service information according to the processing requirement.
In a sixth aspect, an embodiment of the present invention provides a server, including a processor, a communication interface, a memory, and a communication bus, where the processor and the communication interface complete communication between the memory and the processor through the communication bus;
a memory for storing a computer program;
a processor, configured to implement the steps of the method for processing service information according to any one of the first aspect when executing a program stored in a memory.
A seventh aspect, an embodiment of the present invention provides a terminal, including a processor, a communication interface, a memory, and a communication bus, where the processor and the communication interface complete communication between the memory and the processor through the communication bus;
a memory for storing a computer program;
and a processor, configured to implement the steps of the service information processing method according to any one of the second aspects when executing the program stored in the memory.
In an eighth aspect, an embodiment of the present invention provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when being executed by a processor, the computer program implements the steps of the method for processing service information according to any one of the first aspect.
In a ninth aspect, an embodiment of the present invention provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when being executed by a processor, the computer program implements the steps of the service information processing method according to any one of the second aspects.
In the scheme provided by the embodiment of the invention, the message middleware deployed in the main server in the service processing system can acquire the service message to be processed sent by the terminal, wherein the service message to be processed at least comprises service information and processing requirements, and the processing requirements are set in advance based on the attributes of the service information; analyzing the service message to be processed to obtain service information and processing requirements; and controlling the master server and the slave server to process the service information according to the processing requirements, wherein the processing at least comprises disk storage and copying. The processing requirements included in the to-be-processed service messages sent by the terminal are set according to the attributes of the service information, and after the message middleware analyzes the to-be-processed service messages to obtain the service information and the processing requirements, the master server and the slave servers can be controlled to process the service information according to the processing requirements, instead of the same processing mode for all the service information, so that the timeliness requirements and the reliability requirements of different types of services on service information processing can be met.
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 described below.
FIG. 1 is a schematic diagram of a prior art architecture of a business processing system;
fig. 2 is a flowchart of a first method for processing service information according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a first service information processing method according to an embodiment of the present invention;
fig. 4 is a flowchart of a second method for processing service information according to an embodiment of the present invention;
FIG. 5 is a flowchart illustrating a specific step S401 in the embodiment shown in FIG. 4;
fig. 6 is a schematic structural diagram of a service processing system according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a device for processing first service information according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a device for processing second service information according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of a service message generation module 801 in the apparatus shown in fig. 8;
fig. 10 is a schematic structural diagram of a server according to an embodiment of the present invention;
fig. 11 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be described below with reference to the drawings in the embodiments of the present invention.
In order to meet the timeliness requirement and reliability requirement of different types of services for service information processing, embodiments of the present invention provide a method, a system, an apparatus, a terminal, a server, a computer-readable storage medium, and a computer program product for processing service information. First, a method for processing first service information provided in an embodiment of the present invention is described below.
The first method for processing service information provided by the embodiment of the invention can be applied to message middleware deployed in a master server in a service processing system, and the service processing system comprises the master server, a slave server and a terminal. The master server and the slave server together complete the processing of the service information sent by the terminal.
As shown in fig. 2, a method for processing service information is applied to message middleware deployed in a master server in a service processing system, where the service processing system further includes a slave server and a terminal, and the method includes:
s201, acquiring a to-be-processed service message sent by a terminal;
the service message to be processed at least comprises service information and processing requirements, and the processing requirements are set in advance based on the attributes of the service information.
S202, analyzing the service message to be processed to obtain the service information and the processing requirement;
and S203, controlling the master server and the slave server to process the service information according to the processing requirement.
Wherein the processing at least comprises storing and copying.
It can be seen that, in the solution provided in the embodiment of the present invention, the message middleware deployed in the main server in the service processing system can obtain the service message to be processed sent by the terminal, where the service message to be processed at least includes service information and a processing requirement, and the processing requirement is set in advance based on an attribute of the service information; analyzing the service message to be processed to obtain service information and processing requirements; and controlling the master server and the slave server to process the service information according to the processing requirements, wherein the processing at least comprises disk storage and copying. The service information to be processed sent by the terminal comprises the processing requirements set according to the attributes of the service information, and after the service information to be processed is analyzed by the message middleware to obtain the service information and the processing requirements, the master server and the slave server can be controlled to process the service information according to the processing requirements, but the processing modes of all the service information are not the same, so that the timeliness requirements and the reliability requirements of different types of services on the service information processing can be met.
When the target service needs to be processed, the user can send a processing instruction for the target service. In this way, when the terminal acquires the processing instruction for the target service, the terminal can generate the service message to be processed for the target service and send the service message to be processed to the main server. The target service may be a service of issuing an order, registering an account, querying logistics information, and the like, and is not specifically limited herein.
In this way, in step S201, the message middleware deployed in the main server may obtain the pending service message sent by the terminal. The service information to be processed at least includes service information and processing requirements, the processing requirements are set in advance based on attributes of the service information, and the service information is information that needs to be sent to the server for processing and is related to the target service, for example, the information may be specific order information of an order service, and may also be specific account data information of an account registration service.
The attribute of the service information is used for representing the reliability requirement and the timeliness requirement which need to be met by processing the service information. For example, the service information is order information, and since the processing of the order information generally requires higher reliability and lower timeliness, the attribute of the service information may be "high reliability and low timeliness", which indicates that the reliability requirement that needs to be met by processing the order information is higher and the timeliness requirement is lower, and therefore, the order information needs to be backed up and stored in time, and then the processing requirement may be set to "synchronous replication and synchronous stock keeping" based on the attribute of the order information, so that the to-be-processed information generated by the terminal may include "synchronous replication and synchronous stock keeping" of the order information and the processing requirement thereof.
After the service message to be processed is obtained, the message middleware can analyze the service message to be processed, and obtain service information and processing requirements included in the service message to be processed. Specifically, the message middleware may parse the service message to be processed according to the network communication protocol to obtain the service information and the processing requirement included therein.
Further, the message middleware may execute step S203, namely, control the master server and the slave server to process the service information according to the processing request. The processing of the service information at least comprises two processing modes of disk storage and copying. The saving process may specifically include synchronous saving and asynchronous saving, and the replication process may specifically include synchronous replication and asynchronous replication.
For example, when the service information included in the to-be-processed service message is order information and the processing requirement is synchronous replication and synchronous disk storage, the message middleware may store the order information in a disk of the master server when receiving the to-be-processed service message, and simultaneously send the order information to the slave server, so that the slave server may store the order information in a disk of the slave server when receiving the order information, thereby achieving the purpose of synchronously replicating and synchronously storing the disk service information.
After the copying and storing process of the service information is completed, the main server may send the service information to other terminals subscribing to the service information. Since the slave server stores the service information, when the master server fails to operate due to a failure, maintenance, or the like, the slave server can distribute the service information to the terminal or the like as a new master server.
As an implementation manner of the embodiment of the present invention, the step of analyzing the to-be-processed service message to obtain the service information and the processing requirement may include:
analyzing the service message to be processed, and acquiring the service information carried by the service message to be processed and the field content of a preset field as the target field content; and determining a target processing requirement corresponding to the target field content as a processing requirement of the service information according to the corresponding relation between the preset field content and the processing requirement.
In order to store the processing requirement of the service information in the service message to be processed, the corresponding relationship between the processing requirement and the field content can be preset, so that after a service user sets the processing requirement of the target service according to the attribute of the service information, the terminal can acquire the processing requirement as the target processing requirement, and further after the terminal acquires the service information of the target service, the target field content corresponding to the target processing requirement can be determined according to the preset corresponding relationship between the processing requirement and the field content, and further the target field content can be inserted into the preset field of the service message to be processed corresponding to the service information, so as to obtain the service message to be processed for the target service. The to-be-processed service message includes a plurality of fields, and the preset field is a field at a preset position in the to-be-processed service message, and for example, the preset field may be an MsgConfig field in a message header of the to-be-processed service message, and the like, which is not limited specifically herein.
After the message middleware acquires the service message to be processed, the message middleware can analyze the service message to be processed, acquire the service information carried by the service message to be processed, acquire the field content of the preset field in the service message to be processed as the target field content, and then determine the target processing requirement corresponding to the target field content as the processing requirement of the service information according to the corresponding relationship between the locally stored preset processing requirement and the field content. Therefore, the message middleware can control the master server and the slave server to correspondingly process the service information according to the target processing requirement.
For example, the correspondence between the preset processing request and the field content is shown in the following table:
processing the request Content of field
Synchronous copy and synchronous storage disk ZD1
Asynchronous copy, asynchronous storage disk ZD2
Synchronous copy, asynchronous storage ZD3
Asynchronous copying and synchronous storage disk ZD4
Then, when the content of the target field is ZD2, the message middleware may determine that the target processing requirement included in the service message to be processed is "asynchronous replication and asynchronous storage" according to the correspondence shown in the above table, and further, may control the master server and the slave server to perform asynchronous replication and asynchronous storage processing on the service information.
Therefore, in the scheme provided by the embodiment of the invention, the message middleware can analyze the service message to be processed, and acquire the service information carried by the service message to be processed and the field content of the preset field as the target field content; and determining a target processing requirement corresponding to the target field content as a processing requirement of the service information according to the corresponding relation between the preset field content and the processing requirement. Therefore, after the message middleware acquires the service message to be processed, the service information and the processing requirement carried by the service message to be processed can be accurately determined, and the master server and the slave server can be controlled to process the service information according to the processing requirement.
As an implementation manner of the embodiment of the present invention, the processing requirement may be synchronous replication and synchronous disk storage.
When the attribute of the service information included in the service message to be processed is 'high reliability and low timeliness', the representation has higher reliability requirement and lower timeliness requirement which are required to be met by processing the service information. For example, when the service information included in the service message to be processed is order information, an account password, and the like, because the service information has a high requirement on the reliability of processing, the service information needs to be saved and backed up as soon as possible, and after the saving and the backup are completed, a feedback notification is sent to the terminal as soon as possible to inform the terminal that the saving and the backup of the service information have been completed, and the processing requirement of the service information may be synchronous replication and synchronous storage.
In this case, the step of controlling the master server and the slave server to process the service information according to the processing request may include:
when receiving a service message to be processed, storing the service information in a disk of a master server, and sending the service information to a slave server, so that the slave server stores the service information in the disk of the slave server when receiving the service information; and after the service information is stored in the disk of the master server and the disk of the slave server, sending a feedback notice to the terminal.
In order to store and backup the service information included in the service message to be processed in time, the message middleware can store the service information in a disk of the master server when receiving the service message to be processed, and simultaneously send the service information to the slave server, and the slave server can immediately store the service information in a disk of the slave server when receiving the service information.
After the service information is stored in the disk of the master server and the disk of the slave server, the message middleware may send a feedback notification to the terminal in order to notify the terminal that the master server and the slave server have finished processing the service message to be processed. Therefore, when the processing requirement of the service information is synchronous replication and synchronous disk storage, the message middleware can control the master server and the slave server to store and backup the service information in time, so that the reliability requirement on service information processing can be met.
In one embodiment, after the slave server stores the service information in the disk, the slave server may send notification information to the master server to inform the master server that the slave server has completely stored the service information, and after the master server stores the service information in the disk and receives the notification information sent by the slave server, the master server may send a feedback notification to the terminal.
Therefore, in the scheme provided by the embodiment of the invention, the message middleware can store the service information in the disk of the master server when receiving the service message to be processed, and send the service information to the slave server, so that the slave server stores the service information in the disk of the slave server when receiving the service information; and after the service information is stored in the disk of the master server and the disk of the slave server, sending a feedback notice to the terminal. Therefore, when the processing requirement of the service information is synchronous replication and synchronous disk storage, the message middleware can control the master server and the slave server to store and backup the service information in time, so that the reliability requirement on service information processing can be met.
As an implementation manner of the embodiment of the present invention, the processing requirement may be synchronous replication and asynchronous saving, and the to-be-processed service message may further include a first target time point corresponding to the asynchronous saving.
When the attribute of the service information included in the service message to be processed is "high reliability and high timeliness", it indicates that there is a requirement for high reliability and high timeliness for processing the service information, the service information needs to be backed up as soon as possible, and a feedback notification is sent to the terminal as soon as possible after the backup is completed to inform the terminal that the backup of the service information is completed, the processing requirement of the service information may be synchronous replication and asynchronous storage, and at this time, the service message to be processed may include a first time requirement corresponding to the asynchronous storage.
In this case, the step of controlling the master server and the slave server to process the service information according to the processing request may include:
when receiving a service message to be processed, determining a first target time point according to a first time requirement, and sending service information and time information to a slave server so that the slave server stores the service information in a disk of the slave server at the first target time point; after the service information and the time information are sent to the slave server, a feedback notice is sent to the terminal; and storing the service information in a disk of the main server at the first target time point.
In an embodiment, the user may preset a time requirement corresponding to the asynchronous storage according to the attribute of the service information, as the first time requirement, for example, the user may set the first time requirement to be within 5 minutes after receiving the service information.
Therefore, the to-be-processed service message sent by the terminal also comprises the first time requirement, when the message middleware receives the to-be-processed service message, the message middleware can analyze and acquire the service information and the first time requirement which are contained in the to-be-processed service message, then determines the time point of storing the service information in the disk of the server according to the first time requirement to serve as the first time point, and then sends the service information and the time information point to the slave server at the first target time point. Wherein the time information may comprise the first time requirement and/or the first target point in time.
It is reasonable that the slave server stores the service information in the disk of the slave server at the first target time point after receiving the service information and the time information, or determines the first target time point again according to the first time requirement and stores the service information in the disk of the slave server at the first target time point determined again.
The message middleware may transmit a feedback notification to the terminal in order to inform the terminal that the service information has been copied from the master server to the slave server after transmitting the service information and the time information to the slave server. The host server may store the service information in a disk of the host server at the first target point in time.
For example, if the user sets the first time requirement to be within 10 minutes after receiving the service information, when the time point at which the main server receives the service information is 0 minutes and 0 seconds at 2 months, 20 days and 15 hours and 0 minutes and 0 seconds at 2020, the main server may determine any time point between 0 minutes and 0 seconds at 2 months, 20 days and 15 hours at 2 months and 20 days at 2020 and 10 minutes and 0 seconds at 2 months, 20 days and 15 hours at 2020 as the first target time point, and then store the service information from the memory to the disk at the first time point; when the time point of receiving the service information from the server is 2020, 2, 20, 15, 0 min/05 sec, the slave server may re-determine any time point between 2020, 2, 20, 15, 0 min/05 sec and 2020, 2, 20, 15, 10 min/05 sec as the first target time point, and then store the service information to the disk from the memory at the first time point, or the slave server may store the service information to the disk from the memory at the first time point corresponding to the master server.
In one embodiment, the slave server may transmit notification information to the master server when receiving the service information, informing the master server that the slave server will receive the service information, and the master server may transmit a feedback notification to the terminal when receiving the notification information transmitted from the slave server.
Therefore, a user can set a first time requirement corresponding to asynchronous storage according to the attribute of the service information, and after the message middleware acquires the service message to be processed, the message middleware can analyze the service information, the processing requirement and the first time requirement, and then store the service information according to the first time requirement.
In the solution provided in the embodiment of the present invention, when receiving a service message to be processed, the message middleware may determine a first target time point according to a first time requirement, and send the service information and the time information to the slave server, so that the slave server stores the service information in a disk of the slave server at the first target time point; after the service information and the time information are sent to the slave server, a feedback notice is sent to the terminal; and storing the service information in a disk of the main server at the first target time point. Therefore, after the message middleware acquires the service message to be processed, the service message, the processing requirement and the first time requirement can be obtained through analysis, and then the service message is stored according to the first time requirement.
As an implementation manner of the embodiment of the present invention, the processing requirement may be asynchronous replication and synchronous disk storage, and the to-be-processed service message may further include a second time requirement corresponding to the asynchronous replication.
When the attribute of the service information included in the service message to be processed is "high reliability and high timeliness", the representation that the reliability requirement and the timeliness requirement which need to be met for processing the service information are high, it may be required to store the service information in the magnetic disk of the main server as soon as possible, and after the storage is completed, a feedback notification is sent to the terminal as soon as possible to inform the terminal that the service information is already stored, the processing requirement of the service information may be asynchronous replication and synchronous storage, and at this time, the service message to be processed may further include a second time requirement corresponding to the asynchronous replication.
In this case, the step of controlling the master server and the slave server to process the service information according to the processing request may include:
when the service information to be processed is received, storing the service information in a magnetic disk of a main server; after the service information is stored in a disk of the main server, a feedback notice is sent to the terminal; and determining a second target time point according to the second time requirement, and sending the service information to the slave server at the second target time point so that the slave server stores the service information in a disk of the slave server when receiving the service information.
In an embodiment, the user may preset a time requirement corresponding to the asynchronous replication according to the attribute of the service information, as the second time requirement, for example, the user may set the second time requirement to be within 10 minutes after the service information is received by the main server. Therefore, the to-be-processed service message sent by the terminal also includes the second time requirement, and when the message middleware receives the to-be-processed service message, the message middleware can analyze and acquire the service information and the second time requirement included in the to-be-processed service message, and simultaneously can store the service information in a disk of the main server.
After saving the service information in the disk of the main server, the message middleware may send a feedback notification to the terminal in order to notify the terminal that the service information has been saved in the disk of the main server. Then, a second target time point may be determined according to the second time requirement, and at the second target time point, the message middleware may send the service information to the slave server, and the slave server may store the service information in a disk of the slave server when receiving the service information.
For example, if the user sets the second time request to be within 20 minutes after the master server receives the service information, and the time point when the master server receives the service information is 3 minutes and 11 seconds at 15 hours at 2 months and 20 days in 2020, the master server may determine any time point between 3 minutes and 11 seconds at 15 hours at 2 months and 20 days in 2020 and between 23 minutes and 11 seconds at 15 hours at 2 months and 20 days in 2020 as the second target time point, and may transmit the service information to the slave server at the second target time point.
Therefore, the user can set a second target time point corresponding to asynchronous copying according to the attribute of the service information, the message middleware can analyze and obtain the service information, the processing requirement and the second target time point after acquiring the service information to be processed, and then copy the service information according to the second target time point.
Therefore, in the scheme provided by the embodiment of the invention, the message middleware can store the service information in the disk of the main server when receiving the service information to be processed; after the service information is stored in a disk of the main server, a feedback notice is sent to the terminal; and determining a second target time point according to the second time requirement, and sending the service information to the slave server at the second target time point so that the slave server stores the service information in a disk of the slave server when receiving the service information. Therefore, after the message middleware acquires the service message to be processed, the service information, the processing requirement and the second target time point can be obtained through analysis, and then the service information is copied according to the second target time point.
As an implementation manner of the embodiment of the present invention, the processing requirement may be asynchronous replication and asynchronous saving, and the to-be-processed service message may further include a first target time point corresponding to the asynchronous saving and a second target time point corresponding to the asynchronous replication.
When the service information included in the service message to be processed has a high requirement on timeliness and a low requirement on reliability of service information processing, a feedback notification needs to be sent to the terminal as soon as possible when the service message to be processed is received to inform the terminal that the service information to be processed has been received.
In this case, the step of controlling the master server and the slave server to process the service information according to the processing request may include:
when receiving the service information to be processed, sending a feedback notice to the terminal; determining a first target time point according to the first time requirement, determining a second time point according to the second time requirement, and sending the service information and the time information to the slave server at the second target time point, so that the slave server stores the service information in a disk of the slave server at the first target time point; and storing the service information in a disk of the main server at the first target time point.
The user can preset the time point corresponding to the asynchronous storage and the time requirement corresponding to the asynchronous replication according to the attribute of the service information, and the time point and the time requirement are respectively used as the first time requirement and the second time requirement, so that the service message to be processed sent by the terminal also comprises the first time requirement and the second time requirement.
When receiving the service information to be processed, the message middleware may send a feedback notification to the terminal in order to notify the terminal that the main server has received the service information. Meanwhile, the message middleware can analyze the service information to be processed to obtain the service information, the first time requirement and the second time requirement contained in the service to be processed.
Furthermore, the message middleware may determine to send a first target time point according to the first time requirement, determine a second target time point according to the second time requirement, and then send the service information and the time information to the slave server at the second target time point, and the master server may store the service information in a disk of the master server at the first target time point. The time information may comprise a time requirement and/or a first target point in time, among others.
After receiving the service information and the time information, the slave server may store the service information in the disk of the slave server at the first target time point, or may determine the first target time point again according to the first time requirement, and store the service information in the disk of the slave server at the first target time point determined again, which is reasonable.
Thus, the message middleware can send a feedback notice to the terminal when the main server receives the service message to be processed, then store the service information according to the first time requirement, and copy the service information according to the second time requirement.
Therefore, in the scheme provided by the embodiment of the invention, the message middleware can send a feedback notice to the terminal when receiving the service information to be processed; determining a first target time point according to the first time requirement, determining a second time point according to the second time requirement, and sending the service information and the time information to the slave server at the second target time point, so that the slave server stores the service information in a disk of the slave server at the first target time point; and storing the service information in a disk of the main server at the first target time point. Thus, the message middleware can send a feedback notice to the terminal when the main server receives the service message to be processed, then store the service information according to the first time requirement, and copy the service information according to the second time requirement.
A first method for processing service information according to an embodiment of the present invention is described below with reference to fig. 3, where m denotes a master server and s denotes a slave server in fig. 3.
The terminal can set a processing requirement based on the attribute of the service information and generate a service message to be processed, wherein the service message to be processed comprises the service information and the processing requirement. Then, the terminal can send the service message to be processed to the message middleware deployed on the main server, and the message middleware analyzes the service message to be processed to obtain the service information and the processing requirement.
If the processing requirement is synchronous replication and synchronous disk storage, the master server stores the service information in the disk of the master server when receiving the service message to be processed, and sends the service information to the slave server, and the slave server stores the service information in the disk of the slave server when receiving the service information, which is the process of "m/s message disk storage" in fig. 3. After the master server and the slave server both store the service information in the disk, the message middleware may send a feedback notification to the terminal.
If the processing requirement is synchronous replication and asynchronous disk storage, the master server sends the service information to the slave server when receiving the service information to be processed, and the master server and the slave server both store the service information in the disk at the first target time point, which is the process of storing the m/s information in the memory and asynchronous disk storage in fig. 3. After the master server sends the service information to the slave server, the message middleware may send a feedback notification to the terminal.
If the processing requirement is asynchronous replication and synchronous disk storage, the master server stores the service information in the disk of the master server when receiving the service message to be processed, and sends the service information to the slave server at the second target time point, and the slave server stores the service information in the disk of the slave server when receiving the service information, and the process is the'm-drop and s-asynchronous replication synchronous disk storage' in fig. 3. After the primary server service information is stored in the disk, the message middleware may send a feedback notification to the terminal.
If the processing requirement is asynchronous replication and asynchronous storage, the master server sends the service information to the slave server at the second target time point after receiving the service information to be processed, and both the master server and the slave server store the service information in the disk at the first target time point, which is the process of'm information entering memory asynchronous storage and s asynchronous replication asynchronous storage' in fig. 3. After receiving the service message to be processed, the main server may send a feedback notification to the terminal.
Corresponding to the processing method of the first service information, the embodiment of the invention also provides a processing method of a second service information. A second method for processing service information provided in the embodiment of the present invention is described below.
As shown in fig. 4, a method for processing service information is applied to a terminal in a service processing system, where the service processing system further includes a master server and a slave server, and a message middleware is deployed in the master server, and the method includes:
s401, generating a to-be-processed service message aiming at a target service when a processing instruction aiming at the target service is acquired;
the service message to be processed at least comprises service information of the target service and a processing requirement, wherein the processing requirement is set in advance based on the attribute of the service information.
S402, sending the service message to be processed to the message middleware to make the message middleware analyze the service message to be processed, obtaining the service information and the processing requirement, and controlling the master server and the slave server to process the service information according to the processing requirement.
It can be seen that, in the solution provided in the embodiment of the present invention, when acquiring a processing instruction for a target service, a terminal may generate a to-be-processed service message for the target service, where the to-be-processed service message at least includes service information and a processing requirement of the target service, and the processing requirement is set in advance based on an attribute of the service information; and sending the service message to be processed to the message middleware to analyze the service message to be processed by the message middleware, acquiring the service information and the processing requirement, and controlling the master server and the slave server to process the service information according to the processing requirement. Therefore, the terminal can store the processing requirement of the service information in the service information to be processed, the message middleware can process the service information according to the processing requirement of the service information, the processing modes of all the service information are not the same, and the timeliness requirement and the reliability requirement of different types of services on service information processing can be met.
When a user needs to process a target service, the user can send a processing instruction for the target service. In this way, in step S401, when the terminal acquires the processing instruction for the target service, the terminal may generate a pending service message for the target service. The target service may be a service of issuing an order, registering an account, querying logistics information, and the like, and is not limited specifically herein.
The service message to be processed at least includes service information of the target service and a processing requirement, the processing requirement is set in advance based on the attribute of the service information, and the service information is related information of the target service.
The attribute of the service information is used for representing the reliability requirement and the timeliness requirement which need to be met by processing the service information. For example, the service information is order information, and since the processing of the order information generally requires higher reliability and lower timeliness, the attribute of the service information may be "high reliability and low timeliness", which indicates that the reliability requirement that needs to be met by processing the order information is higher and the timeliness requirement is lower, and therefore, the order information needs to be backed up and stored in time, and then the processing requirement may be set to "synchronous replication and synchronous stock keeping" based on the attribute of the order information, so that the to-be-processed information generated by the terminal may include "synchronous replication and synchronous stock keeping" of the order information and the processing requirement thereof.
After generating the pending service message for the target service, the terminal may send the pending service message to the message middleware. Therefore, after receiving the service message to be processed, the message middleware can analyze the service message to be processed, and obtain the service information and the processing requirement included in the service message to be processed. Then, the message middleware can control the master server and the slave server to process the service information according to the processing requirements.
The processing of the service information at least comprises two processing modes of disk storage and copying. The saving process may specifically include synchronous saving and asynchronous saving, and the replication process may specifically include synchronous replication and asynchronous replication.
As an implementation manner of the embodiment of the present invention, as shown in fig. 5, the step of generating the pending service message for the target service may include:
s501, acquiring service information of the target service;
in order to send the service information of the target service to the message middleware so that the message middleware processes the service information, the terminal may obtain the service information of the target service. For example, when the target service is an account registration service, the terminal may obtain service information such as user data, an account, a password, and the like corresponding to the account registration service.
S502, determining the processing requirement of the service information according to the attribute of the service information, and taking the processing requirement as a target processing requirement;
after the service information corresponding to the target service is acquired, the user can set the processing requirement of the service information according to the attribute of the service information, so that the terminal can determine the processing requirement of the service information as the target processing requirement.
For example, when the service information is information such as user data, an account, and a password corresponding to an account registration service, the attribute of the service information is "high reliability and low timeliness", which indicates that the service information needs to be backed up and stored as soon as possible, and then it may be determined that the processing requirement is "synchronous replication and synchronous disk storage", which is used as a target processing requirement.
S503, determining target field content corresponding to the target processing requirement according to the preset corresponding relation between the processing requirement and the field content;
in order to store the processing requirement of the service information in the service message to be processed, the corresponding relationship between the processing requirement and the field content may be preset. After the target processing requirement of the service information is determined, the terminal can determine the target field content corresponding to the target processing requirement according to the preset corresponding relationship between the processing requirement and the field content, and insert the target field content into the preset field of the to-be-processed service message corresponding to the service information to obtain the to-be-processed service message corresponding to the target service. The preset field is a field at a preset position in the to-be-processed service message, and for example, the preset field may be an MsgConfig field in a message header of the to-be-processed service message, which is not limited herein.
S504, inserting the target field content into a preset field of the to-be-processed service message corresponding to the service information to obtain the to-be-processed service message aiming at the target service.
After determining the target field content corresponding to the target processing requirement, the terminal can insert the target field content into the preset field of the to-be-processed service message corresponding to the service information to obtain the to-be-processed service message for the target service, so that the message middleware can extract the target field content of the preset field in the to-be-processed service message after receiving the to-be-processed service message, the message middleware can determine the target processing requirement of the service information according to the corresponding relation between the preset processing requirement and the field content, and further the message middleware can control the master server and the slave server to process the service information according to the target processing requirement. The service message to be processed comprises a plurality of fields.
Therefore, in the scheme provided by the embodiment of the invention, the terminal can acquire the service information of the target service; determining a processing requirement of the service information according to the attribute of the service information, and taking the processing requirement as a target processing requirement; determining target field content corresponding to the target processing requirement according to the preset corresponding relation between the processing requirement and the field content; and inserting the target field content into a preset field of the to-be-processed service message corresponding to the service information to obtain the to-be-processed service message aiming at the target service. Therefore, the message middleware can extract the target field content of the preset field in the service message to be processed, and can quickly and accurately determine the target processing requirement of the service information according to the corresponding relation between the preset processing requirement and the field content.
An embodiment of the present invention further provides a service processing system, as shown in fig. 6, where the service processing system includes a terminal 601, a master server 602, and a slave server 603, and a message middleware is deployed in the master server 602, where:
the terminal 601 is configured to generate a to-be-processed service message for a target service when a processing instruction for the target service is obtained; sending the service message to be processed to the message middleware;
the service message to be processed at least comprises service information of the target service and a processing requirement, wherein the processing requirement is set in advance based on the attribute of the service information.
The message middleware is configured to obtain a to-be-processed service message sent by the terminal 601; analyzing the service message to be processed to obtain the service information and the processing requirement; according to the processing requirement, controlling the master server 602 and the slave server 603 to process the service information;
wherein the processing at least comprises storing and copying.
It can be seen that, in the solution provided in the embodiment of the present invention, the service processing system includes a terminal, a master server and a slave server, and the master server is deployed with a message middleware, wherein: the terminal is used for generating a to-be-processed service message aiming at the target service when the processing instruction aiming at the target service is acquired; sending a service message to be processed to the message middleware; the message middleware is used for acquiring a service message to be processed sent by the terminal; analyzing the service message to be processed to obtain service information and processing requirements; and controlling the master server and the slave server to process the service information according to the processing requirements. The service information to be processed sent by the terminal comprises the processing requirements set according to the attributes of the service information, and after the service information to be processed is analyzed by the message middleware to obtain the service information and the processing requirements, the master server and the slave server can be controlled to process the service information according to the processing requirements, but the processing modes of all the service information are not the same, so that the timeliness requirements and the reliability requirements of different types of services on the service information processing can be met.
As an implementation manner of the embodiment of the present invention, the message middleware deployed in the main server 602 in the service processing system may be specifically configured to analyze the service message to be processed, and obtain the service information carried by the service message to be processed and the field content of the preset field, as the target field content; and determining a target processing requirement corresponding to the target field content as a processing requirement of the service information according to the corresponding relation between the preset field content and the processing requirement.
As an implementation manner of the embodiment of the present invention, the processing requirement may be synchronous replication and synchronous disk saving;
the message middleware deployed in the master server 602 in the service processing system may be specifically configured to store the service information in a disk of the master server when receiving the service message to be processed, and send the service information to the slave server, so that the slave server 603 stores the service information in a disk of the slave server when receiving the service information; after the service information is stored in the disk of the master server 602 and the disk of the slave server 603, a feedback notification is sent to the terminal 601.
As an implementation manner of the embodiment of the present invention, the processing requirement may be synchronous replication and asynchronous saving, and the to-be-processed service message may further include a first time requirement corresponding to the asynchronous saving;
the message middleware deployed in the master server 602 in the service processing system may be specifically configured to determine a first target time point according to a first time requirement when receiving a service message to be processed, and send service information and time information to the slave server 603, so that the slave server 603 stores the service information in a disk of the slave server 603 at the first target time point; after the service information and the time information are sent to the slave server 603, a feedback notice is sent to the terminal 601; the service information is stored in a disk of the main server 602 at the first target point in time.
Wherein the time information comprises a time requirement and/or a first target point in time.
As an implementation manner of the embodiment of the present invention, the processing requirement may be asynchronous replication and synchronous disk storage, and the to-be-processed service message may further include a second time requirement corresponding to the asynchronous replication;
the message middleware deployed in the main server 602 in the service processing system may be specifically configured to store the service information in a disk of the main server 602 when receiving the service information to be processed; after the service information is stored in the disk of the main server 602, a feedback notification is sent to the terminal 601; a second target time point is determined according to the second time requirement, and the service information is sent to the slave server 603 at the second target time point, so that the slave server 603 stores the service information in a disk of the slave server 603 when receiving the service information.
As an implementation manner of the embodiment of the present invention, the processing requirement may be asynchronous replication and asynchronous saving, and the to-be-processed service message may further include a first time requirement corresponding to the asynchronous saving and a second time requirement corresponding to the asynchronous replication;
the message middleware deployed in the main server 602 in the service processing system may be specifically configured to send a feedback notification to the terminal 601 when receiving the service information to be processed; determining a first target time point according to the first time requirement, determining a second time point according to the second time requirement, and sending the service information and the time information to the slave server 603 at the second target time point, so that the slave server 603 stores the service information in a disk of the slave server 603 at the first target time point; the service information is stored in a disk of the main server 602 at the first target point in time.
Wherein the time information comprises a time requirement and/or a first target point in time.
As an implementation manner of the embodiment of the present invention, the terminal 601 may be specifically configured to obtain service information of a target service; determining a processing requirement of the service information according to the attribute of the service information, and taking the processing requirement as a target processing requirement; determining target field content corresponding to the target processing requirement according to the preset corresponding relation between the processing requirement and the field content; and inserting the target field content into a preset field of the to-be-processed service message corresponding to the service information to obtain the to-be-processed service message aiming at the target service.
The service message to be processed comprises a plurality of fields.
Corresponding to the first service information processing method, the embodiment of the invention also provides a service information processing device. The following describes a first service information processing apparatus provided in an embodiment of the present invention.
As shown in fig. 7, an apparatus for processing service information, which is applied to message middleware deployed in a master server in a service processing system, where the service processing system further includes a slave server and a terminal, includes:
a service message acquiring module 701, configured to acquire a service message to be processed sent by a terminal;
the service message to be processed at least comprises service information and processing requirements, and the processing requirements are set in advance based on the attributes of the service information.
An analysis module 702, configured to analyze the to-be-processed service message to obtain the service information and the processing requirement;
a message processing module 703, configured to control the master server and the slave server to process the service information according to the processing requirement;
wherein the processing at least comprises storing and copying.
It can be seen that, in the solution provided in the embodiment of the present invention, the message middleware deployed in the main server in the service processing system can obtain the service message to be processed sent by the terminal, where the service message to be processed at least includes service information and a processing requirement, and the processing requirement is set in advance based on an attribute of the service information; analyzing the service message to be processed to obtain service information and processing requirements; and controlling the master server and the slave server to process the service information according to the processing requirements, wherein the processing at least comprises disk storage and copying. The service information to be processed sent by the terminal comprises the processing requirements set according to the attributes of the service information, and after the service information to be processed is analyzed by the message middleware to obtain the service information and the processing requirements, the master server and the slave server can be controlled to process the service information according to the processing requirements, but the processing modes of all the service information are not the same, so that the timeliness requirements and the reliability requirements of different types of services on the service information processing can be met.
As an implementation manner of the embodiment of the present invention, the parsing module 702 may include:
an analysis submodule (not shown in fig. 7) configured to analyze the to-be-processed service message, and acquire the service information carried by the to-be-processed service message and field content of a preset field as target field content;
and a processing requirement determining sub-module (not shown in fig. 7) configured to determine a target processing requirement corresponding to the target field content according to a preset correspondence between the field content and the processing requirement.
As an implementation manner of the embodiment of the present invention, the processing requirement may be synchronous replication and synchronous disk storage.
The message processing module 703 may include:
a first forwarding sub-module (not shown in fig. 7) configured to, when receiving the to-be-processed service message, store the service information in a disk of the master server, and send the service information to the slave server, so that the slave server stores the service information in a disk of the slave server when receiving the service information;
a first feedback sending submodule (not shown in fig. 7) configured to send a feedback notification to the terminal after the service information is stored in the disk of the master server and the disk of the slave server.
As an implementation manner of the embodiment of the present invention, the processing requirement may be synchronous replication and asynchronous saving, and the to-be-processed service message may further include a first time requirement corresponding to the asynchronous saving.
The message processing module 703 may include:
a second forwarding sub-module (not shown in fig. 7), configured to, when receiving the to-be-processed service message, determine a first target time point according to the first time requirement, and send the service information and the time information to the slave server, so that the slave server stores the service information in a disk of the slave server at the first target time point;
wherein the time information comprises the time requirement and/or the first target point in time.
A second feedback sending submodule (not shown in fig. 7) configured to send a feedback notification to the terminal after sending the service information and the time information to the slave server;
a first storage submodule (not shown in fig. 7) configured to store the service information in a disk of the main server at the first target time point.
As an implementation manner of the embodiment of the present invention, the processing requirement may be asynchronous replication and synchronous disk storage, and the to-be-processed service message may further include a second time requirement corresponding to the asynchronous replication;
the message processing module 703 may include:
a second storage submodule (not shown in fig. 7) for storing the service information in a disk of the main server when receiving the service information to be processed;
a third feedback sending submodule (not shown in fig. 7), configured to send a feedback notification to the terminal after the service information is stored in the disk of the main server;
a third forwarding sub-module (not shown in fig. 7) configured to determine a second target time point according to the second time requirement, and send the service information to the slave server at the second target time point, so that the slave server stores the service information in a disk of the slave server when receiving the service information.
As an implementation manner of the embodiment of the present invention, the processing requirement may be asynchronous replication and asynchronous saving, and the to-be-processed service message may further include a first time requirement corresponding to the asynchronous saving and a second time requirement corresponding to the asynchronous replication.
The message processing module 703 may include:
a fourth feedback sending submodule (not shown in fig. 7) configured to send a feedback notification to the terminal when receiving the to-be-processed service information;
a fourth forwarding sub-module (not shown in fig. 7) configured to determine a first target time point according to the first time requirement, determine a second time point according to the second time requirement, and send the service information and the time information to the slave server at the second target time point, so that the slave server stores the service information in a disk of the slave server at the first target time point;
wherein the time information comprises the time requirement and/or the first target point in time.
A third storage submodule (not shown in fig. 7) configured to store the service information in the disk of the main server at the first target time point.
Corresponding to the second service information processing method, an embodiment of the present invention further provides a service information processing apparatus. The following describes a processing apparatus for processing second service information according to an embodiment of the present invention.
As shown in fig. 8, a device for processing service information is applied to a terminal in a service processing system, where the service processing system further includes a master server and a slave server, and a message middleware is deployed in the master server, and the device includes:
a service message generating module 801, configured to generate a to-be-processed service message for a target service when a processing instruction for the target service is obtained;
the service message to be processed at least comprises service information of the target service and a processing requirement, wherein the processing requirement is set in advance based on the attribute of the service information.
A service message sending module 802, configured to send the service message to be processed to the message middleware, so that the message middleware parses the service message to be processed, obtains the service information and the processing requirement, and controls the master server and the slave server to process the service information according to the processing requirement.
It can be seen that, in the solution provided in the embodiment of the present invention, when acquiring a processing instruction for a target service, a terminal may generate a to-be-processed service message for the target service, where the to-be-processed service message at least includes service information and a processing requirement of the target service, and the processing requirement is set in advance based on an attribute of the service information; and sending the service message to be processed to the message middleware to analyze the service message to be processed by the message middleware, acquiring the service information and the processing requirement, and controlling the master server and the slave server to process the service information according to the processing requirement. Therefore, the terminal can store the processing requirement of the service information in the service information to be processed, the message middleware can process the service information according to the processing requirement of the service information, and the timeliness requirement and the reliability requirement of different types of services on service information processing can be met.
As an implementation manner of the embodiment of the present invention, as shown in fig. 9, the service message generating module 801 may include:
a service information obtaining submodule 901, configured to obtain service information of the target service;
a target processing requirement determining submodule 902, configured to determine, according to the attribute of the service information, a processing requirement of the service information as a target processing requirement;
a target field content determining submodule 903, configured to determine, according to a preset correspondence between a processing requirement and a field content, a target field content corresponding to the target processing requirement;
the service message generation sub-module 904 is configured to insert the target field content into a preset field of a to-be-processed service message corresponding to the service information, so as to obtain the to-be-processed service message for the target service.
Wherein the pending service message comprises a plurality of fields.
The embodiment of the present invention further provides a server, as shown in fig. 10, including a processor 1001, a communication interface 1002, a memory 1003 and a communication bus 1004, where the processor 1001, the communication interface 1002 and the memory 1003 complete mutual communication through the communication bus 1004,
a memory 1003 for storing a computer program;
the processor 1001 is configured to implement the steps of the method for processing the first service information according to any one of the embodiments when executing the program stored in the memory 1003.
It can be seen that, in the solution provided in the embodiment of the present invention, the message middleware deployed in the main server in the service processing system can obtain the service message to be processed sent by the terminal, where the service message to be processed at least includes service information and a processing requirement, and the processing requirement is set in advance based on an attribute of the service information; analyzing the service message to be processed to obtain service information and processing requirements; and controlling the master server and the slave server to process the service information according to the processing requirements, wherein the processing at least comprises disk storage and copying. The service information to be processed sent by the terminal comprises the processing requirements set according to the attributes of the service information, and after the service information to be processed is analyzed by the message middleware to obtain the service information and the processing requirements, the master server and the slave server can be controlled to process the service information according to the processing requirements, but the processing modes of all the service information are not the same, so that the timeliness requirements and the reliability requirements of different types of services on the service information processing can be met.
The communication bus mentioned in the above server may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface is used for communication between the server and other devices.
The Memory may include a Random Access Memory (RAM) or a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the device can also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, or a discrete hardware component.
The embodiment of the present invention further provides a terminal, as shown in fig. 11, including a processor 1101, a communication interface 1102, a memory 1103 and a communication bus 1104, where the processor 1101, the communication interface 1102 and the memory 1103 complete mutual communication through the communication bus 1104,
a memory 1103 for storing a computer program;
the processor 1101 is configured to implement the steps of the method for processing the second service information according to any one of the embodiments when executing the program stored in the memory 1103.
It can be seen that, in the solution provided in the embodiment of the present invention, when acquiring a processing instruction for a target service, a terminal may generate a to-be-processed service message for the target service, where the to-be-processed service message at least includes service information and a processing requirement of the target service, and the processing requirement is set in advance based on an attribute of the service information; and sending the service message to be processed to the message middleware to analyze the service message to be processed by the message middleware, acquiring the service information and the processing requirement, and controlling the master server and the slave server to process the service information according to the processing requirement. Therefore, the terminal can store the processing requirement of the service information in the service information to be processed, the message middleware can process the service information according to the processing requirement of the service information, the processing modes of all the service information are not the same, and the timeliness requirement and the reliability requirement of different types of services on service information processing can be met.
The communication bus mentioned in the above terminal may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface is used for communication between the terminal and other equipment.
The Memory may include a Random Access Memory (RAM) or a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the device can also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, or a discrete hardware component.
In another embodiment of the present invention, a computer-readable storage medium is further provided, where instructions are stored in the computer-readable storage medium, and when the instructions are executed on a computer, the computer is caused to execute the first method for processing service information according to any one of the foregoing embodiments.
It can be seen that, in the solution provided in the embodiment of the present invention, when a computer program stored in a computer-readable storage medium is executed by a processor, a to-be-processed service message sent by a terminal may be obtained, where the to-be-processed service message at least includes service information and a processing requirement, and the processing requirement is set in advance based on an attribute of the service information; analyzing the service message to be processed to obtain service information and processing requirements; and controlling the master server and the slave server to process the service information according to the processing requirements, wherein the processing at least comprises disk storage and copying. The service information to be processed sent by the terminal comprises the processing requirements set according to the attributes of the service information, and after the service information to be processed is analyzed by the message middleware to obtain the service information and the processing requirements, the master server and the slave server can be controlled to process the service information according to the processing requirements, but the processing modes of all the service information are not the same, so that the timeliness requirements and the reliability requirements of different types of services on the service information processing can be met.
In another embodiment of the present invention, a computer-readable storage medium is further provided, where instructions are stored in the computer-readable storage medium, and when the instructions are executed on a computer, the computer is caused to execute the second service information processing method described in any of the foregoing embodiments.
It can be seen that, in the solution provided in the embodiment of the present invention, when a computer program stored in a computer-readable storage medium is executed by a processor, a to-be-processed service message for a target service may be generated when a processing instruction for the target service is obtained, where the to-be-processed service message at least includes service information and a processing requirement of the target service, and the processing requirement is set in advance based on an attribute of the service information; and sending the service message to be processed to the message middleware to analyze the service message to be processed by the message middleware, acquiring the service information and the processing requirement, and controlling the master server and the slave server to process the service information according to the processing requirement. Therefore, the terminal can store the processing requirement of the service information in the service information to be processed, the message middleware can process the service information according to the processing requirement of the service information, the processing modes of all the service information are not the same, and the timeliness requirement and the reliability requirement of different types of services on service information processing can be met.
In another embodiment of the present invention, a computer program product containing instructions is further provided, which when run on a computer, causes the computer to execute the first method for processing service information described in any of the above embodiments.
It can be seen that, in the solution provided in the embodiment of the present invention, when a computer program product including an instruction runs on a computer, a to-be-processed service message sent by a terminal may be acquired, where the to-be-processed service message at least includes service information and a processing requirement, and the processing requirement is set in advance based on an attribute of the service information; analyzing the service message to be processed to obtain service information and processing requirements; and controlling the master server and the slave server to process the service information according to the processing requirements, wherein the processing at least comprises disk storage and copying. The service information to be processed sent by the terminal comprises the processing requirements set according to the attributes of the service information, and after the service information to be processed is analyzed by the message middleware to obtain the service information and the processing requirements, the master server and the slave server can be controlled to process the service information according to the processing requirements, but the processing modes of all the service information are not the same, so that the timeliness requirements and the reliability requirements of different types of services on the service information processing can be met.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the invention to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
In another embodiment of the present invention, a computer program product containing instructions is further provided, which when run on a computer, causes the computer to execute the second method for processing service information described in any of the above embodiments.
It can be seen that, in the solution provided in the embodiment of the present invention, when a computer program product including an instruction runs on a computer, a to-be-processed service message for a target service may be generated when a processing instruction for the target service is obtained, where the to-be-processed service message at least includes service information and a processing requirement of the target service, and the processing requirement is set in advance based on an attribute of the service information; and sending the service message to be processed to the message middleware to analyze the service message to be processed by the message middleware, acquiring the service information and the processing requirement, and controlling the master server and the slave server to process the service information according to the processing requirement. Therefore, the terminal can store the processing requirement of the service information in the service information to be processed, the message middleware can process the service information according to the processing requirement of the service information, the processing modes of all the service information are not the same, and the timeliness requirement and the reliability requirement of different types of services on service information processing can be met.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the invention to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

Claims (15)

1. A method for processing service information is applied to message middleware deployed in a master server in a service processing system, the service processing system further comprises a slave server and a terminal, and the method comprises the following steps:
acquiring a to-be-processed service message sent by a terminal, wherein the to-be-processed service message at least comprises service information and a processing requirement, and the processing requirement is set in advance based on the attribute of the service information;
analyzing the service message to be processed to obtain the service information and the processing requirement;
and controlling the master server and the slave server to process the service information according to the processing requirement, wherein the processing at least comprises disk storage and replication.
2. The method according to claim 1, wherein the step of parsing the service message to be processed to obtain the service information and the processing requirement comprises:
analyzing the service message to be processed, acquiring service information carried by the service message to be processed and field contents of preset fields as target field contents, wherein the service message to be processed comprises a plurality of fields;
and determining a target processing requirement corresponding to the target field content as the processing requirement of the service information according to the corresponding relation between the preset field content and the processing requirement.
3. The method of claim 1 or 2, wherein the processing requirement is synchronous replication and synchronous disk storage;
the step of controlling the master server and the slave server to process the service information according to the processing requirement includes:
when the service message to be processed is received, storing the service information in a disk of the master server, and sending the service information to the slave server, so that the slave server stores the service information in the disk of the slave server when receiving the service information;
and after the service information is stored in the disk of the master server and the disk of the slave server, sending a feedback notice to the terminal.
4. The method according to claim 1 or 2, wherein the processing requirement is synchronous replication and asynchronous saving, and the service message to be processed further comprises a first time requirement corresponding to the asynchronous saving;
the step of controlling the master server and the slave server to process the service information according to the processing requirement includes:
when the service message to be processed is received, determining a first target time point according to the first time requirement, and sending the service information and time information to the slave server so that the slave server stores the service information in a disk of the slave server at the first target time point, wherein the time information comprises the first time requirement and/or the first target time point;
after the service information and the time information are sent to the slave server, sending a feedback notice to the terminal;
and storing the service information in a disk of the main server at the first target time point.
5. The method according to claim 1 or 2, wherein the processing requirement is asynchronous replication and synchronous saving, and the pending service message further comprises a second time requirement corresponding to asynchronous replication;
the step of controlling the master server and the slave server to process the service information according to the processing requirement includes:
when the service information to be processed is received, storing the service information in a magnetic disk of the main server;
after the service information is stored in a disk of the main server, sending a feedback notice to the terminal;
and determining a second target time point according to the second time requirement, and sending the service information to the slave server at the second target time point, so that the slave server stores the service information in a disk of the slave server when receiving the service information.
6. The method according to claim 1 or 2, wherein the processing requirement is asynchronous replication and asynchronous saving, and the service message to be processed further comprises a first time requirement corresponding to asynchronous saving and a second time requirement corresponding to asynchronous replication;
the step of controlling the master server and the slave server to process the service information according to the processing requirement includes:
when the service information to be processed is received, sending a feedback notice to the terminal;
determining a first target time point according to the first time requirement, determining a second time point according to the second time requirement, and sending the service information and time information to the slave server at the second target time point, so that the slave server stores the service information in a disk of the slave server at the first target time point, wherein the time information comprises the first time requirement and/or the first target time point;
and storing the service information in a disk of the main server at the first target time point.
7. A method for processing service information is applied to a terminal in a service processing system, the service processing system further comprises a master server and a slave server, a message middleware is deployed in the master server, and the method comprises the following steps:
generating a to-be-processed service message for a target service when a processing instruction for the target service is acquired, wherein the to-be-processed service message at least comprises service information of the target service and a processing requirement, and the processing requirement is set in advance based on an attribute of the service information;
and sending the service message to be processed to the message middleware, so that the message middleware analyzes the service message to be processed to obtain the service information and the processing requirement, and controlling the master server and the slave server to process the service information according to the processing requirement.
8. The method of claim 7, wherein the step of generating the pending service message for the target service comprises:
acquiring service information of the target service;
determining the processing requirement of the service information according to the attribute of the service information, and taking the processing requirement as a target processing requirement;
determining target field content corresponding to the target processing requirement according to a preset corresponding relation between the processing requirement and the field content;
and inserting the target field content into a preset field of a to-be-processed service message corresponding to the service information to obtain the to-be-processed service message aiming at the target service, wherein the to-be-processed service message comprises a plurality of fields.
9. A service processing system is characterized in that the service processing system comprises a terminal, a main server and a slave server, wherein a message middleware is deployed in the main server, wherein:
the terminal is used for generating a service message to be processed aiming at a target service when a processing instruction aiming at the target service is acquired; sending the service message to be processed to the message middleware, wherein the service message to be processed at least comprises service information of the target service and processing requirements, and the processing requirements are set in advance based on the attributes of the service information;
the message middleware is used for acquiring a service message to be processed sent by the terminal; analyzing the service message to be processed to obtain the service information and the processing requirement; and controlling the master server and the slave server to process the service information according to the processing requirement, wherein the processing at least comprises disk storage and replication.
10. A service information processing apparatus, applied to message middleware deployed in a master server in a service processing system, the service processing system further including a slave server and a terminal, the apparatus comprising:
the system comprises a service message acquisition module, a service message processing module and a service message processing module, wherein the service message to be processed is sent by a terminal and at least comprises service information and processing requirements, and the processing requirements are set in advance based on the attributes of the service information;
the analysis module is used for analyzing the service message to be processed to obtain the service information and the processing requirement;
and the message processing module is used for controlling the master server and the slave server to process the service information according to the processing requirement, wherein the processing at least comprises disk storage and replication.
11. A device for processing service information is applied to a terminal in a service processing system, the service processing system further comprises a master server and a slave server, a message middleware is deployed in the master server, and the device comprises:
the system comprises a service message generation module, a service message processing module and a service processing module, wherein the service message generation module is used for generating a to-be-processed service message aiming at a target service when a processing instruction aiming at the target service is acquired, the to-be-processed service message at least comprises service information and a processing requirement of the target service, and the processing requirement is set in advance based on the attribute of the service information;
and the service message sending module is used for sending the service message to be processed to the message middleware so that the message middleware analyzes the service message to be processed to obtain the service information and the processing requirement, and controlling the master server and the slave server to process the service information according to the processing requirement.
12. A server is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor and the communication interface are used for realizing the communication between the processor and the memory through the communication bus;
a memory for storing a computer program;
a processor for implementing the method steps of any of claims 1-6 when executing a program stored in the memory.
13. A terminal is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor and the communication interface are used for realizing the communication between the processor and the memory through the communication bus;
a memory for storing a computer program;
a processor for implementing the method steps of any one of claims 7 or 8 when executing a program stored in the memory.
14. A computer-readable storage medium, characterized in that a computer program is stored in the computer-readable storage medium, which computer program, when being executed by a processor, carries out the method steps of any one of claims 1 to 6.
15. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the method steps of any one of claims 7 or 8.
CN202010738923.2A 2020-07-28 2020-07-28 Service information processing method, system, device, server and terminal Active CN111880949B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010738923.2A CN111880949B (en) 2020-07-28 2020-07-28 Service information processing method, system, device, server and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010738923.2A CN111880949B (en) 2020-07-28 2020-07-28 Service information processing method, system, device, server and terminal

Publications (2)

Publication Number Publication Date
CN111880949A true CN111880949A (en) 2020-11-03
CN111880949B CN111880949B (en) 2024-03-08

Family

ID=73201876

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010738923.2A Active CN111880949B (en) 2020-07-28 2020-07-28 Service information processing method, system, device, server and terminal

Country Status (1)

Country Link
CN (1) CN111880949B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114979308A (en) * 2022-05-11 2022-08-30 北京沃东天骏信息技术有限公司 Message processing method and device

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101925882A (en) * 2008-01-23 2010-12-22 欧睦技术公司 Method of improving replica server performance and replica server system
WO2011090599A2 (en) * 2009-12-30 2011-07-28 Sybase, Inc Message based synchronization for mobile business objects
US20120136940A1 (en) * 2010-11-30 2012-05-31 Martin Vecera On-demand automatic message queue and topic deployment
EP2701065A1 (en) * 2012-08-24 2014-02-26 Siemens Aktiengesellschaft Method for operating a redundant automation system
US9319267B1 (en) * 2012-10-04 2016-04-19 Solace Systems, Inc. Replication in assured messaging system
US20160182633A1 (en) * 2014-12-19 2016-06-23 Microsoft Technology Licensing, Llc Guaranteed delivery of replication message
US20160337290A1 (en) * 2014-01-10 2016-11-17 Huawei Technologies Co., Ltd. Message Push Method and Apparatus
CN109710394A (en) * 2018-12-27 2019-05-03 出门问问信息科技有限公司 Timing task processing system and method
CN110213317A (en) * 2018-07-18 2019-09-06 腾讯科技(深圳)有限公司 The method, apparatus and storage medium of message storage

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101925882A (en) * 2008-01-23 2010-12-22 欧睦技术公司 Method of improving replica server performance and replica server system
WO2011090599A2 (en) * 2009-12-30 2011-07-28 Sybase, Inc Message based synchronization for mobile business objects
US20120136940A1 (en) * 2010-11-30 2012-05-31 Martin Vecera On-demand automatic message queue and topic deployment
EP2701065A1 (en) * 2012-08-24 2014-02-26 Siemens Aktiengesellschaft Method for operating a redundant automation system
US9319267B1 (en) * 2012-10-04 2016-04-19 Solace Systems, Inc. Replication in assured messaging system
US20160337290A1 (en) * 2014-01-10 2016-11-17 Huawei Technologies Co., Ltd. Message Push Method and Apparatus
US20160182633A1 (en) * 2014-12-19 2016-06-23 Microsoft Technology Licensing, Llc Guaranteed delivery of replication message
CN110213317A (en) * 2018-07-18 2019-09-06 腾讯科技(深圳)有限公司 The method, apparatus and storage medium of message storage
CN109710394A (en) * 2018-12-27 2019-05-03 出门问问信息科技有限公司 Timing task processing system and method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114979308A (en) * 2022-05-11 2022-08-30 北京沃东天骏信息技术有限公司 Message processing method and device
CN114979308B (en) * 2022-05-11 2024-04-16 北京沃东天骏信息技术有限公司 Message processing method and device

Also Published As

Publication number Publication date
CN111880949B (en) 2024-03-08

Similar Documents

Publication Publication Date Title
CN107295080B (en) Data storage method applied to distributed server cluster and server
CN110119292B (en) System operation parameter query method, matching method, device and node equipment
US10958735B2 (en) Client connection method and system
CN112650606B (en) Message processing method, device, system, electronic equipment and storage medium
CN108880972B (en) Information processing method, server and terminal
CN111399756A (en) Data storage method, data downloading method and device
US10051552B2 (en) Method for realizing resource attribute notification, and common service entity
CN112422709A (en) Identification management method, terminal device, identification resolution secondary node and medium
CN113364853A (en) Business service system, business request method and gateway equipment
CN111526185B (en) Data downloading method, device, system and storage medium
CN110838971B (en) Message sending method and device, electronic equipment and storage medium
CN112583630B (en) Device management method, device, system, device and storage medium
CN111355765B (en) Network request processing and sending method and device
CN111159269A (en) Data processing method, device and system
CN111880949A (en) Method, system, device, server and terminal for processing service information
CN114385374A (en) Message processing method and device based on message middleware and storage medium
CN110674153B (en) Data consistency detection method and device and electronic equipment
CN112087475A (en) Message pushing method and device for cloud platform component application and message server
CN112328560A (en) File scheduling method and system
CN110929133A (en) Operation and maintenance information query system and method
CN110955460A (en) Service process starting method and device, electronic equipment and storage medium
EP4092961A1 (en) Group updating method, message sending method, and apparatuses
CN109254855B (en) Registration method and device of parameter transmission protocol and electronic equipment
US11297019B2 (en) Message notification device, content management system, and non-transitory computer readable medium
US20160173580A1 (en) Device management apparatus

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