CN110968433A - Information processing method and system and electronic equipment - Google Patents

Information processing method and system and electronic equipment Download PDF

Info

Publication number
CN110968433A
CN110968433A CN201811155385.3A CN201811155385A CN110968433A CN 110968433 A CN110968433 A CN 110968433A CN 201811155385 A CN201811155385 A CN 201811155385A CN 110968433 A CN110968433 A CN 110968433A
Authority
CN
China
Prior art keywords
information
processed
processing
module
message queues
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.)
Pending
Application number
CN201811155385.3A
Other languages
Chinese (zh)
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 Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information 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 Jingdong Century Trading Co Ltd, Beijing Jingdong Shangke Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN201811155385.3A priority Critical patent/CN110968433A/en
Publication of CN110968433A publication Critical patent/CN110968433A/en
Pending legal-status Critical Current

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
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/54Indexing scheme relating to G06F9/54
    • G06F2209/548Queue

Abstract

The disclosure provides an information processing method, which includes receiving information to be processed, distributing the information to be processed to a plurality of message queues, and sending feedback information for indicating a receiving result, wherein the number of the message queues can be dynamically configured, and processing the information to be processed in the message queues. The present disclosure also provides an information processing system, an electronic device, and a computer-readable medium.

Description

Information processing method and system and electronic equipment
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to an information processing method, system and electronic device.
Background
Currently, when information to be processed is transmitted between two systems, there are two ways of directly transmitting through an interface call and indirectly transmitting through a middleware system. However, as transmission pressures increase, the requirements for transmission efficiency and reliability continue to increase.
The direct transmission through interface calling means that the receiving system provides an interface for calling the sending system, and after the sending system sends the information to be processed to the receiving system, the receiving system analyzes the information to be processed and then sends feedback information to the sending system. The method is executed by receiving the information and analyzing the information together, so that the whole transaction is huge, the module coupling is high, and once an analysis link is wrong, all the analysis links are easy to roll back. Calling delay is easily caused in the peak calling period of the interface, the returned result is slow, and redundant data can be generated once the rollback is in error.
The indirect transmission through the middleware system means that the sending system sends the information to be processed to the middleware system for buffering, for example, the middleware system comprises a message queue, then the receiving system consumes the information to be processed from the middleware system, and returns the feedback information to the sending system after analysis. In the method, the sending state of certain information to be processed is difficult to determine in real time, and in the order receiving peak period, the message queues can generate larger accumulation, which affects the processing of normal services.
Therefore, a method for enabling a receiving system to reliably receive information to be processed is needed.
Disclosure of Invention
In view of the above, the present disclosure provides an information processing method, system and electronic device.
One aspect of the present disclosure provides an information processing method, including receiving information to be processed, distributing the information to be processed to a plurality of message queues, and sending feedback information indicating a reception result, where the number of the message queues is dynamically configurable, and processing the information to be processed in the message queues.
According to an embodiment of the present disclosure, the distributing the to-be-processed information to a plurality of message queues includes determining a first number from the to-be-processed information, obtaining a number of message queues, modulo the first number and the number of message queues, obtaining a number of message queues, and sending the to-be-processed information to a message queue corresponding to the number of message queues.
According to an embodiment of the present disclosure, the first number includes a system code of a source system of the information to be processed and a second number of the information to be processed in the source system.
According to an embodiment of the present disclosure, the method further comprises synchronizing a parameter for configuring the number of message queues in a buffer.
According to an embodiment of the present disclosure, the processing the to-be-processed information in the message queue includes obtaining the to-be-processed information from the message queue, processing the to-be-processed information, obtaining and recording identification information of the to-be-processed information, where the identification information includes a system code of a source system of the to-be-processed information, determining an analysis method corresponding to the to-be-processed information based on the system code, and processing and storing the to-be-processed information based on the analysis method.
According to an embodiment of the present disclosure, the configuration parameters of the identification information and/or the parsing method may be dynamically configured and synchronized in the cache.
Another aspect of the disclosure provides an information processing system including a receiving module, a buffering module, and a processing module. And the receiving module is used for receiving the information to be processed. And the buffer module is used for distributing the information to be processed to a plurality of message queues and sending feedback information for indicating a receiving result, wherein the number of the message queues can be dynamically configured. And the processing module is used for processing the information to be processed in the message queue.
According to an embodiment of the present disclosure, the distributing the to-be-processed information to a plurality of message queues includes determining a first number from the to-be-processed information, obtaining a number of message queues, modulo the first number and the number of message queues, obtaining a number of message queues, and sending the to-be-processed information to a message queue corresponding to the number of message queues.
According to an embodiment of the present disclosure, the first number includes a system code of a source system of the information to be processed and a second number of the information to be processed in the source system.
According to an embodiment of the present disclosure, the system further includes a synchronization module for synchronizing a parameter for configuring the number of message queues in a cache.
According to an embodiment of the present disclosure, the processing module includes an obtaining sub-module, a first processing sub-module, a determining sub-module, and a second processing sub-module. And the obtaining submodule is used for obtaining the information to be processed from the message queue. And the first processing submodule is used for processing the information to be processed, and acquiring and recording identification information of the information to be processed, wherein the identification information comprises a system code of a source system of the information to be processed. And the determining submodule is used for determining an analytic system corresponding to the information to be processed based on the system code. And the second processing submodule is used for processing and storing the information to be processed based on the analysis system.
According to an embodiment of the present disclosure, the identification information and/or the configuration parameters of the parsing system may be dynamically configured and synchronized in the cache.
Another aspect of the disclosure provides an electronic device comprising at least one processor and at least one memory storing one or more computer-readable instructions, wherein the one or more computer-readable instructions, when executed by the at least one processor, cause the processor to perform the method as described above.
Another aspect of the disclosure provides a computer readable medium having stored thereon computer readable instructions that, when executed, cause a processor to perform the method as described above.
Another aspect of the disclosure provides a computer program comprising computer executable instructions for implementing the method as described above when executed.
The method can quickly receive the order and place the order into the message queue for buffering, the received result can be fed back immediately, the analysis can be carried out according to the processing capacity of the system at the later stage, a funnel model is formed, meanwhile, the number of the message queue can be dynamically configured, the business requirements of different periods can be met, and the redevelopment is not needed.
Drawings
The above and other objects, features and advantages of the present disclosure will become more apparent from the following description of embodiments of the present disclosure with reference to the accompanying drawings, in which:
fig. 1 schematically shows an application scenario of an information processing method according to an embodiment of the present disclosure;
FIG. 2 schematically shows a flow chart of an information processing method according to an embodiment of the present disclosure;
FIG. 3 schematically shows a schematic diagram of an information processing method according to an embodiment of the present disclosure;
FIG. 4 schematically illustrates a flow diagram for distributing the pending information to a plurality of message queues, according to an embodiment of the present disclosure;
FIG. 5 schematically illustrates a flow diagram for processing information to be processed in the message queue according to an embodiment of the disclosure;
FIG. 6 schematically shows a block diagram of an information handling system according to an embodiment of the present disclosure;
FIG. 7 schematically shows a block diagram of an information handling system according to another embodiment of the present disclosure;
FIG. 8 schematically shows a block diagram of a processing module according to an embodiment of the disclosure; and
FIG. 9 schematically illustrates a block diagram of a computer system suitable for implementing the information processing methods and systems according to an embodiment of the present disclosure.
Detailed Description
Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. It should be understood that the description is illustrative only and is not intended to limit the scope of the present disclosure. In the following detailed description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the embodiments of the disclosure. It may be evident, however, that one or more embodiments may be practiced without these specific details. Moreover, in the following description, descriptions of well-known structures and techniques are omitted so as to not unnecessarily obscure the concepts of the present disclosure.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. The terms "comprises," "comprising," and the like, as used herein, specify the presence of stated features, steps, operations, and/or components, but do not preclude the presence or addition of one or more other features, steps, operations, or components.
All terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art unless otherwise defined. It is noted that the terms used herein should be interpreted as having a meaning that is consistent with the context of this specification and should not be interpreted in an idealized or overly formal sense.
Where a convention analogous to "at least one of A, B and C, etc." is used, in general such a construction is intended in the sense one having skill in the art would understand the convention (e.g., "a system having at least one of A, B and C" would include but not be limited to systems that have a alone, B alone, C alone, a and B together, a and C together, B and C together, and/or A, B, C together, etc.). Where a convention analogous to "A, B or at least one of C, etc." is used, in general such a construction is intended in the sense one having skill in the art would understand the convention (e.g., "a system having at least one of A, B or C" would include but not be limited to systems that have a alone, B alone, C alone, a and B together, a and C together, B and C together, and/or A, B, C together, etc.). It will be further understood by those within the art that virtually any disjunctive word and/or phrase presenting two or more alternative terms, whether in the description, claims, or drawings, should be understood to contemplate the possibilities of including one of the terms, either of the terms, or both terms. For example, the phrase "a or B" should be understood to include the possibility of "a" or "B", or "a and B".
The embodiment of the disclosure provides an information processing method, which includes receiving information to be processed, distributing the information to be processed to a plurality of message queues, and sending feedback information for indicating a receiving result, wherein the number of the message queues can be dynamically configured, and processing the information to be processed in the message queues.
Fig. 1 schematically shows an application scenario of an information processing method according to an embodiment of the present disclosure.
As shown in fig. 1, the transmission system 110 transmits the information to be processed to the reception system 120, wherein the transmission system 110 and the reception system 120 are opposite, for example, when the reception system 120 transmits the information to be processed to another system, the reception system 120 becomes a new transmission system and the other system becomes a new reception system. The transmitting system is also referred to as an upstream system, and correspondingly, the receiving system is also referred to as a downstream system.
For the case of increased transmission pressure, the information processing method and system provided by the embodiment of the disclosure can improve the efficiency and reliability of transmission.
Fig. 2 schematically shows a flow chart of an information processing method according to an embodiment of the present disclosure.
As shown in fig. 2, the method includes operations S210 to S230.
In operation S210, information to be processed is received.
In operation S220, the information to be processed is distributed to a plurality of message queues, and feedback information indicating a receiving result is sent, where the number of the message queues is dynamically configurable. According to the embodiment of the disclosure, in the case that the speed of receiving the to-be-processed information is increased and a predetermined condition is satisfied, the number of the message queues is increased, so that the plurality of message queues can accommodate the received to-be-processed information.
In operation S230, information to be processed in the message queue is processed.
The method may be applied to the receiving system 120, which is described below with reference to fig. 3.
Fig. 3 schematically shows a schematic diagram of an information processing method according to an embodiment of the present disclosure.
As shown in fig. 3, the receiving system 120 includes a receiving and buffering unit 310, a buffering structure 320, and a processing unit 330, where the receiving and buffering unit 310 performs operations S210 and S220, and the processing unit performs operation 230, for implementing the method of the embodiment of the present disclosure.
Specifically, the receiving and buffering unit 310 is used for receiving the information to be processed, for example, a transmission interface may be provided for the sending system 110 to call, and the sending system 110 calls the transmission interface of the receiving system 120 to send the information to be processed to the receiving system 120. The receiving unit 310, upon receiving the information to be processed, for example in the form of a message, distributes the information to be processed to a plurality of message queues 321, 322, 323, 324, … …, 32n in the buffer structure 320. According to the embodiment of the disclosure, the receiving unit may send the feedback information indicating the reception result to the sending system when or after the information to be processed is successfully sent to a certain message queue, or may send the feedback information indicating the reception result to the sending system when or after the information to be processed is successfully received and before the information to be processed is sent to the message queue.
Referring now to fig. 4, an example of the distribution of the pending information to a plurality of message queues is described.
Fig. 4 schematically shows a flow chart for distributing the information to be processed to a plurality of message queues according to an embodiment of the present disclosure.
As shown in fig. 4, the method includes operations S410 to S440.
In operation S410, a first number is determined from the information to be processed. According to the embodiment of the present disclosure, the first number may be, for example, a unique identification number of the to-be-processed information, which may be generated after being received by the receiving system, or may be included in the to-be-processed information and read from the to-be-processed information.
In operation S420, a message queue number is obtained. According to the embodiment of the present disclosure, the number of current message queues may be obtained, for example, by reading the current value of the message queue number parameter.
In operation S430, modulo of the first number and the number of the message queues is obtained to obtain a message queue number.
In operation S440, the information to be processed is sent to a message queue corresponding to the message queue sequence number.
According to the embodiment of the present disclosure, the message queue number may be an integer starting from 0, for example, if the number of the message queues is 3, then the number of the three message queues is 0, 1, and 2, respectively, and if the first number is 100, then the modulo result is 1, and then the information to be processed is sent to the message queue with the number of 1.
When the information to be processed comes from different source systems, there may be a case where the identification numbers of different information to be processed are the same. The source system may be, for example, the sending system 110, or may be a system that generates the information to be processed, which sends the information to be processed to the receiving system 120 via one or more systems. To avoid the above situation, the first number of the embodiment of the present disclosure includes a system code of a source system of the information to be processed and a second number of the information to be processed in the source system. For example, the second number is 100, the system code of the source system is 10, and the first number may be spliced by the second number and the system code of the source system, for example 10100. The method ensures the uniqueness of the first number.
Reference is made back to fig. 2 and 3. The number of message queues in the buffer structure 320 may be dynamically configured, for example, stored as a configuration parameter in a database. According to an embodiment of the present disclosure, the method further comprises synchronizing a parameter for configuring the number of message queues in a buffer. The method may utilize a cache to reduce input output access to the database. While the new number of message queues can be validated without restarting the application.
The processing unit 330 extracts the information to be processed from the buffer structure 320 according to its own processing capability for processing, for example, parsing and storing the information to be processed. The following describes processing the to-be-processed information in the message queue according to the embodiment of the present disclosure with reference to fig. 5.
Fig. 5 schematically shows a flowchart for processing information to be processed in the message queue according to an embodiment of the present disclosure.
As shown in fig. 5, the method includes operations S510 to S540.
In operation S510, to-be-processed information is obtained from the message queue.
In operation S520, the information to be processed is processed, and identification information of the information to be processed is obtained and recorded, where the identification information includes a system code of a source system of the information to be processed. For example, the first number in the information to be processed is split into the system code and the second number of the source system, and the message, the system code and the information of the second number of the information to be processed are stored in the database.
In operation S530, a parsing method corresponding to the information to be processed is determined based on the system code. For example, the dynamically configured specified parsing method is accessed via JAVA reflection classes, according to the system code. The system codes respectively correspond to different analysis methods, and the corresponding relation can be stored in a cache. According to an embodiment of the present disclosure, the configuration parameters of the parsing method may be dynamically configured and synchronized in the cache. When the analysis method corresponding to the system code is modified, the system can be synchronized to the cache in real time. This can reduce input-output access to the database. Meanwhile, the analysis method corresponding to the system code can be validated without restarting the application.
In operation S540, the information to be processed is processed and stored based on the parsing method.
According to the embodiment of the present disclosure, the configuration parameters of the identification information may be dynamically configured and synchronized in the cache. The identification information of the information to be processed includes, for example, information for identifying the type of the information to be processed, information for identifying the source of the information to be processed, and the like. The method can dynamically expand the order access service types and simultaneously can take effect immediately in real time. For example, when newly accessing to-be-processed information of other types and sources in the future, only enumeration assignment of parameters of a system appointed interface is required to be sent, and the interface is not required to be developed again.
The method provided by the embodiment of the disclosure can quickly receive the order and place the order into the message queue for buffering, the received result can be fed back immediately, and the received result can be analyzed according to the processing capability of the system at the later stage to form a funnel model.
FIG. 6 schematically shows a block diagram of an information handling system 600 according to an embodiment of the disclosure.
As shown in fig. 6, the information processing system 600 includes a receiving module 610, a buffering module 620, and a processing module 630.
The receiving module 610, for example, performs operation S210 described above with reference to fig. 2, for receiving information to be processed.
The buffering module 620, for example, performs operation S220 described above with reference to fig. 2, for distributing the information to be processed to a plurality of message queues, and sending feedback information indicating a receiving result, where the number of the message queues is dynamically configurable. According to the embodiment of the disclosure, in the case that the speed of receiving the to-be-processed information is increased and a predetermined condition is satisfied, the number of the message queues is increased, so that the plurality of message queues can accommodate the received to-be-processed information.
The processing module 630, for example, performs operation S230 described above with reference to fig. 2, for processing the information to be processed in the message queue.
According to an embodiment of the present disclosure, the distributing the to-be-processed information to a plurality of message queues includes determining a first number from the to-be-processed information, obtaining a number of message queues, modulo the first number and the number of message queues, obtaining a number of message queues, and sending the to-be-processed information to a message queue corresponding to the number of message queues.
According to an embodiment of the present disclosure, the first number includes a system code of a source system of the information to be processed and a second number of the information to be processed in the source system.
FIG. 7 schematically shows a block diagram of an information handling system 700 according to another embodiment of the present disclosure.
As shown in fig. 7, the system further includes a synchronization module 710, configured to synchronize a parameter for configuring the number of message queues in the buffer, based on the foregoing embodiment.
Fig. 8 schematically illustrates a block diagram of a processing module 630 according to an embodiment of the disclosure.
As shown in fig. 8, the processing module 630 includes an obtaining sub-module 810, a first processing sub-module 820, a determining sub-module 830, and a second processing sub-module 840.
The obtaining sub-module 810, for example, performs the operation S510 described above with reference to fig. 5, for obtaining the information to be processed from the message queue.
The first processing sub-module 820, for example, performs the operation S520 described above with reference to fig. 5, and is configured to process the information to be processed, and obtain and record identification information of the information to be processed, where the identification information includes a system code of a source system of the information to be processed.
The determining sub-module 830, for example, performs the operation S530 described above with reference to fig. 5, for determining a parsing system corresponding to the information to be processed based on the system code.
The second processing sub-module 840, for example, performs the operation S540 described above with reference to fig. 5, for processing and storing the information to be processed based on the parsing system.
According to an embodiment of the present disclosure, the identification information and/or the configuration parameters of the parsing system may be dynamically configured and synchronized in the cache.
Any number of modules, sub-modules, units, sub-units, or at least part of the functionality of any number thereof according to embodiments of the present disclosure may be implemented in one module. Any one or more of the modules, sub-modules, units, and sub-units according to the embodiments of the present disclosure may be implemented by being split into a plurality of modules. Any one or more of the modules, sub-modules, units, sub-units according to embodiments of the present disclosure may be implemented at least in part as a hardware circuit, such as a Field Programmable Gate Array (FPGA), a Programmable Logic Array (PLA), a system on a chip, a system on a substrate, a system on a package, an Application Specific Integrated Circuit (ASIC), or may be implemented in any other reasonable manner of hardware or firmware by integrating or packaging a circuit, or in any one of or a suitable combination of software, hardware, and firmware implementations. Alternatively, one or more of the modules, sub-modules, units, sub-units according to embodiments of the disclosure may be at least partially implemented as a computer program module, which when executed may perform the corresponding functions.
For example, any plurality of the receiving module 610, the buffering module 620, the processing module 630, the synchronizing module 710, the obtaining sub-module 810, the first processing sub-module 820, the determining sub-module 830, and the second processing sub-module 840 may be combined in one module to be implemented, or any one of them may be split into a plurality of modules. Alternatively, at least part of the functionality of one or more of these modules may be combined with at least part of the functionality of the other modules and implemented in one module. According to an embodiment of the present disclosure, at least one of the receiving module 610, the buffering module 620, the processing module 630, the synchronizing module 710, the obtaining sub-module 810, the first processing sub-module 820, the determining sub-module 830, and the second processing sub-module 840 may be at least partially implemented as a hardware circuit, such as a Field Programmable Gate Array (FPGA), a Programmable Logic Array (PLA), a system on a chip, a system on a substrate, a system on a package, an Application Specific Integrated Circuit (ASIC), or may be implemented by hardware or firmware in any other reasonable manner of integrating or packaging a circuit, or implemented by any one of three implementations of software, hardware, and firmware, or by a suitable combination of any of them. Alternatively, at least one of the receiving module 610, the buffering module 620, the processing module 630, the synchronizing module 710, the obtaining sub-module 810, the first processing sub-module 820, the determining sub-module 830 and the second processing sub-module 840 may be at least partially implemented as a computer program module which, when executed, may perform a corresponding function.
FIG. 9 schematically illustrates a block diagram of a computer system suitable for implementing the information processing methods and systems according to an embodiment of the present disclosure. The computer system illustrated in FIG. 9 is only one example and should not impose any limitations on the scope of use or functionality of embodiments of the disclosure. The computer system shown in fig. 9 may be implemented as a server cluster including at least one processor (e.g., processor 901) and at least one memory (e.g., storage portion 908).
As shown in fig. 9, a computer system 900 according to an embodiment of the present disclosure includes a processor 901 which can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM)902 or a program loaded from a storage section 908 into a Random Access Memory (RAM) 903. Processor 901 may comprise, for example, a general purpose microprocessor (e.g., a CPU), an instruction set processor and/or associated chipset, and/or a special purpose microprocessor (e.g., an Application Specific Integrated Circuit (ASIC)), among others. The processor 901 may also include on-board memory for caching purposes. The processor 901 may comprise a single processing unit or a plurality of processing units for performing the different actions of the method flows according to embodiments of the present disclosure.
In the RAM 903, various programs and data necessary for the operation of the system 900 are stored. The processor 901, the ROM 902, and the RAM 903 are connected to each other through a bus 904. The processor 901 performs various operations of the method flows according to the embodiments of the present disclosure by executing programs in the ROM 902 and/or the RAM 903. Note that the programs may also be stored in one or more memories other than the ROM 902 and the RAM 903. The processor 901 may also perform various operations of the method flows according to embodiments of the present disclosure by executing programs stored in the one or more memories.
System 900 may also include an input/output (I/O) interface 905, input/output (I/O) interface 905 also connected to bus 904, according to an embodiment of the present disclosure. The system 900 may also include one or more of the following components connected to the I/O interface 905: an input portion 906 including a keyboard, a mouse, and the like; an output section 907 including components such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage portion 908 including a hard disk and the like; and a communication section 909 including a network interface card such as a LAN card, a modem, or the like. The communication section 909 performs communication processing via a network such as the internet. The drive 910 is also connected to the I/O interface 905 as necessary. A removable medium 911 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 910 as necessary, so that a computer program read out therefrom is mounted into the storage section 908 as necessary.
According to embodiments of the present disclosure, method flows according to embodiments of the present disclosure may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 909, and/or installed from the removable medium 911. The computer program, when executed by the processor 901, performs the above-described functions defined in the system of the embodiment of the present disclosure. The systems, devices, apparatuses, modules, units, etc. described above may be implemented by computer program modules according to embodiments of the present disclosure.
The present disclosure also provides a computer-readable medium, which may be embodied in the apparatus/device/system described in the above embodiments; or may exist separately and not be assembled into the device/apparatus/system. The computer readable medium carries one or more programs which, when executed, implement the method according to an embodiment of the disclosure.
According to embodiments of the present disclosure, a computer readable medium may be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer-readable signal medium may include a propagated data signal with computer-readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wired, optical fiber cable, radio frequency signals, etc., or any suitable combination of the foregoing.
For example, according to embodiments of the present disclosure, a computer-readable medium may include the ROM 902 and/or the RAM 903 described above and/or one or more memories other than the ROM 902 and the RAM 903.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
Those skilled in the art will appreciate that various combinations and/or combinations of features recited in the various embodiments and/or claims of the present disclosure can be made, even if such combinations or combinations are not expressly recited in the present disclosure. In particular, various combinations and/or combinations of the features recited in the various embodiments and/or claims of the present disclosure may be made without departing from the spirit or teaching of the present disclosure. All such combinations and/or associations are within the scope of the present disclosure.
The embodiments of the present disclosure have been described above. However, these examples are for illustrative purposes only and are not intended to limit the scope of the present disclosure. Although the embodiments are described separately above, this does not mean that the measures in the embodiments cannot be used in advantageous combination. The scope of the disclosure is defined by the appended claims and equivalents thereof. Various alternatives and modifications can be devised by those skilled in the art without departing from the scope of the present disclosure, and such alternatives and modifications are intended to be within the scope of the present disclosure.

Claims (14)

1. An information processing method comprising:
receiving information to be processed;
distributing the information to be processed to a plurality of message queues and sending feedback information for indicating a receiving result, wherein the number of the message queues can be dynamically configured; and
and processing the information to be processed in the message queue.
2. The method of claim 1, wherein said distributing the pending information to a plurality of message queues comprises:
determining a first number from the information to be processed;
obtaining the number of message queues;
obtaining a message queue number by taking a module of the first number and the number of the message queues; and
and sending the information to be processed to a message queue corresponding to the message queue sequence number.
3. The method of claim 2, wherein the first number comprises a system code of a source system of the information to be processed and a second number of the information to be processed in the source system.
4. The method of claim 1, further comprising:
synchronizing a parameter for configuring the number of message queues in a buffer.
5. The method of claim 1, wherein the processing the pending information in the message queue comprises:
obtaining information to be processed from the message queue;
processing the information to be processed, and acquiring and recording identification information of the information to be processed, wherein the identification information comprises a system code of a source system of the information to be processed;
determining an analysis method corresponding to the information to be processed based on the system code; and
and processing and storing the information to be processed based on the analysis method.
6. The method of claim 5, wherein the identification information and/or configuration parameters of the parsing method are dynamically configurable and synchronized in a cache.
7. An information processing system comprising:
the receiving module is used for receiving information to be processed;
the buffer module is used for distributing the information to be processed to a plurality of message queues and sending feedback information for indicating a receiving result, wherein the number of the message queues can be dynamically configured; and
and the processing module is used for processing the information to be processed in the message queue.
8. The system of claim 1, wherein said distributing the pending information to a plurality of message queues comprises:
determining a first number from the information to be processed;
obtaining the number of message queues;
obtaining a message queue number by taking a module of the first number and the number of the message queues; and
and sending the information to be processed to a message queue corresponding to the message queue sequence number.
9. The system of claim 2, wherein the first number comprises a system code of a source system of the information to be processed and a second number of the information to be processed in the source system.
10. The system of claim 1, further comprising:
and the synchronization module is used for synchronizing the parameters for configuring the number of the message queues in the cache.
11. The system of claim 1, wherein the processing module comprises:
the obtaining submodule is used for obtaining information to be processed from the message queue;
the first processing submodule is used for processing the information to be processed, and acquiring and recording identification information of the information to be processed, wherein the identification information comprises a system code of a source system of the information to be processed;
the determining submodule is used for determining an analytic system corresponding to the information to be processed based on the system code; and
and the second processing submodule is used for processing and storing the information to be processed based on the analysis system.
12. The system of claim 5, wherein the identification information and/or configuration parameters of the parsing system are dynamically configurable and synchronized in a cache.
13. An electronic device, comprising:
one or more processors;
a memory for storing one or more computer programs,
wherein the one or more computer programs, when executed by the one or more processors, cause the one or more processors to implement the method of any of claims 1 to 6.
14. A computer readable medium having stored thereon executable instructions which, when executed by a processor, cause the processor to carry out the method of any one of claims 1 to 6.
CN201811155385.3A 2018-09-29 2018-09-29 Information processing method and system and electronic equipment Pending CN110968433A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811155385.3A CN110968433A (en) 2018-09-29 2018-09-29 Information processing method and system and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811155385.3A CN110968433A (en) 2018-09-29 2018-09-29 Information processing method and system and electronic equipment

Publications (1)

Publication Number Publication Date
CN110968433A true CN110968433A (en) 2020-04-07

Family

ID=70028582

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811155385.3A Pending CN110968433A (en) 2018-09-29 2018-09-29 Information processing method and system and electronic equipment

Country Status (1)

Country Link
CN (1) CN110968433A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111507257A (en) * 2020-04-16 2020-08-07 奇安信科技集团股份有限公司 Picture processing method, apparatus, system, medium, and program
CN111880955A (en) * 2020-08-04 2020-11-03 北京立通智联科技有限公司 Message processing method, device, terminal and medium for Internet of things equipment
CN113220470A (en) * 2021-03-31 2021-08-06 浙江太美医疗科技股份有限公司 Method and system for transparent transmission of parameters between applications by using message queue

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105578241A (en) * 2016-02-03 2016-05-11 深圳市彩易生活科技有限公司 Information interaction method and system as well as associated apparatuses
CN106878197A (en) * 2017-02-22 2017-06-20 郑州云海信息技术有限公司 A kind of management system and method for the transmission of cloud platform message
CN107133539A (en) * 2016-02-26 2017-09-05 北京数码视讯科技股份有限公司 Smart card personalization and relevant apparatus and system
CN108347477A (en) * 2018-01-24 2018-07-31 广东欧珀移动通信有限公司 Data transmission method for uplink, device and server

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105578241A (en) * 2016-02-03 2016-05-11 深圳市彩易生活科技有限公司 Information interaction method and system as well as associated apparatuses
CN107133539A (en) * 2016-02-26 2017-09-05 北京数码视讯科技股份有限公司 Smart card personalization and relevant apparatus and system
CN106878197A (en) * 2017-02-22 2017-06-20 郑州云海信息技术有限公司 A kind of management system and method for the transmission of cloud platform message
CN108347477A (en) * 2018-01-24 2018-07-31 广东欧珀移动通信有限公司 Data transmission method for uplink, device and server

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111507257A (en) * 2020-04-16 2020-08-07 奇安信科技集团股份有限公司 Picture processing method, apparatus, system, medium, and program
CN111507257B (en) * 2020-04-16 2023-09-08 奇安信科技集团股份有限公司 Picture processing method, device, system, medium and program
CN111880955A (en) * 2020-08-04 2020-11-03 北京立通智联科技有限公司 Message processing method, device, terminal and medium for Internet of things equipment
CN113220470A (en) * 2021-03-31 2021-08-06 浙江太美医疗科技股份有限公司 Method and system for transparent transmission of parameters between applications by using message queue

Similar Documents

Publication Publication Date Title
CN113132489A (en) Method, device, computing equipment and medium for downloading file
CN110968433A (en) Information processing method and system and electronic equipment
CN109873863B (en) Asynchronous calling method and device of service
CN110019496B (en) Data reading and writing method and system
CN110868276A (en) Data transmission method and system for Internet of things equipment and electronic equipment
CN111125107A (en) Data processing method, device, electronic equipment and medium
CN111222862A (en) Data processing method and system, medium and computer system
CN115170321A (en) Method and device for processing batch transaction data
CN115357663A (en) Data synchronization method, system and device based on incremental data synchronization component
US20110035730A1 (en) Tracking Database Deadlock
CN113760498A (en) Message consumption method, device, electronic equipment and computer readable medium
CN112825525B (en) Method and apparatus for processing transactions
CN111382058B (en) Service testing method and device, server and storage medium
CN115374207A (en) Service processing method and device, electronic equipment and computer readable storage medium
CN115269063A (en) Process creation method, system, device and medium
CN114925066A (en) Data processing method and device, electronic equipment and storage medium
CN111460020B (en) Method, device, electronic equipment and medium for resolving message
CN109976902B (en) Task processing method, system, electronic device and computer readable medium
CN110309121B (en) Log processing method and device, computer readable medium and electronic equipment
CN113132400A (en) Business processing method, device, computer system and storage medium
CN108288135B (en) System compatibility method and device, computer readable storage medium and electronic equipment
CN111736976B (en) Task processing method, device, computing equipment and medium
CN111324386A (en) Method and device for starting personal application program, electronic equipment and storage medium
CN111831530A (en) Test method and device
CN115408344B (en) Log formatting method, device, electronic equipment and storage medium

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