CN111401819B - Intersystem data pushing method and system - Google Patents

Intersystem data pushing method and system Download PDF

Info

Publication number
CN111401819B
CN111401819B CN202010268804.5A CN202010268804A CN111401819B CN 111401819 B CN111401819 B CN 111401819B CN 202010268804 A CN202010268804 A CN 202010268804A CN 111401819 B CN111401819 B CN 111401819B
Authority
CN
China
Prior art keywords
information
express
real
sub
identification information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010268804.5A
Other languages
Chinese (zh)
Other versions
CN111401819A (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.)
Dongpu Software Co Ltd
Original Assignee
Dongpu Software 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 Dongpu Software Co Ltd filed Critical Dongpu Software Co Ltd
Priority to CN202010268804.5A priority Critical patent/CN111401819B/en
Publication of CN111401819A publication Critical patent/CN111401819A/en
Application granted granted Critical
Publication of CN111401819B publication Critical patent/CN111401819B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/08Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The application discloses an intersystem data pushing method and system, electronic equipment and a computer storage medium, wherein the method is applied to data pushing between a real-name system and a supervisory system, and comprises the following steps: receiving express sub-information sent by the real-name system; configuring identification information for the express sub-information, and enabling all the express sub-information belonging to the same express bill to have the same identification information or different but associated identification information; the express sub-information and the corresponding identification information thereof are added to one of a plurality of message queues through a message middleware; and enabling at least one consumer to consume the message queues and pushing the express sub-information and the identification information carried by the message queues to the supervision system in real time. The speed and the efficiency of information consumption and pushing are improved, data backlog is prevented, and the problems of low timeliness, low accuracy and the like of big data pushing in a logistics system are solved.

Description

Intersystem data pushing method and system
Technical Field
The present invention relates to the field of data transmission, and in particular, to a method and system for pushing data between systems, an electronic device, and a computer storage medium.
Background
In the field of logistics, information related to express delivery generally includes real-name information, order information, logistics track information and the like, and the information has large data volume and is relatively messy. At present, the part collecting work of the express network is mainly concentrated in the daytime, but the scanning time of distributing the electronic bill to the merchant is mainly concentrated in the evening, and the express part needs to be subjected to part collecting scanning and related data is pushed to the system so as to be considered as normal part collecting by the system.
In actual production, the system needs to calculate and count the data obtained on the day, and the data obtained by scanning the electronic bill of the merchant is mainly concentrated at night, and the data amount is large, so that the whole data pushing of the previous day can be finished within two or three hours after the zero point. Therefore, the calculation of the pushed data by the data receiving end is delayed until the next day. On one hand, the overstocked data is excessive, the pressure of the system at night is very high, and the real-time performance of data transmission cannot be ensured; on the other hand, the receiving end starts to calculate the received data after the zero point, so that the data calculation of the previous day is inaccurate.
Disclosure of Invention
The purpose of the application is to provide a method and a system for pushing data among systems, electronic equipment and a computer storage medium, solve the defects of the prior art, automatically and efficiently transmit logistics related data between enterprises and supervisory systems, improve the efficiency of data transmission and improve the instantaneity and accuracy of data transmission.
The purpose of the application is realized by adopting the following technical scheme:
in a first aspect, the present application provides an intersystem data pushing method, applied to data pushing between a real-name system and a supervisory system, where the method includes:
receiving express sub-information sent by the real-name system;
configuring identification information for the express sub-information, and enabling all the express sub-information belonging to the same express bill to have the same identification information or different but associated identification information;
the express sub-information and the corresponding identification information thereof are added to one of a plurality of message queues through a message middleware;
and enabling at least one consumer to consume the message queues and pushing the express sub-information and the identification information carried by the message queues to the supervision system in real time.
Due to the arrangement of the message queues and the multiple consumers, the information to be pushed can be temporarily stored in the multiple message queues in a large quantity, and can be consumed by the multiple consumers at the same time, so that the speed and efficiency of information consumption and pushing are greatly improved, data backlog is prevented from being performed on a real-name system, and a supervision system can acquire the information more quickly so as to count and calculate the data information on the same day. On the other hand, due to the arrangement of the identification information, various information under the same express bill can be accurately identified and distinguished, so that real-time pushing of various express sub-information is realized, pushing of the express information can be performed without collecting all the express sub-information under the express bill, time-sharing and segmented information pushing among systems is realized, the occurrence of instantaneous processing peak values of the information is avoided, and the effect of peak clipping and valley filling is realized. The method has the advantages of simple processing logic, high stability and high transmission efficiency, and solves the problems of poor timeliness, low accuracy and the like of pushing big data in a logistics system.
Optionally, the express sub-information is real-name system information, order information or logistics track information.
Optionally, the identification information is a courier order number, an order number or a random code.
Optionally, the consumer is configured to consume one of the message queues through a plurality of consuming threads.
The consumer can consume a plurality of message queues simultaneously by registering a plurality of consumption threads, so that the consumption speed of mass message queues is greatly improved.
Optionally, the method further comprises:
and when the interface of the supervision system is abnormal or a network link is abnormal, enabling the express sub-information and the identification information which are not consumed in the message queues to exist in the message queues or be persistent.
The express sub-information sent by the real-name system is led into the message queue instead of being directly pushed after the information is obtained, so that when the interface of the monitoring system is abnormal or a network link is in problem, the information which is not consumed in the message queue can be continuously stored in the message queue or persisted, after the interactive interfaces among the systems are communicated, the data can be immediately restored to be produced and pushed, and the maintainability of the system is improved.
In a second aspect, the present application provides an intersystem data push system, applied to data push between a real-name system and a supervisory system, the intersystem data push system includes:
the information receiving module is used for receiving the express sub-information sent by the real-name system;
the identification generation module is used for configuring identification information for the express sub-information, and enabling all the express sub-information belonging to the same express bill to have the same identification information or different but associated identification information;
the middleware module is used for adding the express sub-information and the corresponding identification information thereof to one of a plurality of message queues through the message middleware;
the storage module is provided with the message queues;
and the consumer module is used for enabling at least one consumer to consume the message queues and pushing the express sub-information and the identification information carried by the message queues to the supervision system in real time.
Optionally, the express sub-information is real-name system information, order information or logistics track information.
Optionally, the identification information is a courier order number, an order number or a random code.
Optionally, the consumer module causes the consumer to consume one of the message queues through multiple consumption threads.
Optionally, the storage module is configured to enable the express sub-information, the identification information, which are not yet consumed in the message queues to exist in the message queues or persist when an interface of the supervision system is abnormal or a network link is abnormal.
Optionally, the express sub-information includes real-name system information;
the system-to-system data pushing system receives real-name system information sent by a third-party platform, an courier terminal or a sender terminal through the real-name system; or the intersystem data pushing system invokes real-name system information of the sender from the database through the real-name system.
Optionally, the intersystem data pushing system merges all express sub-information belonging to the same express bill according to the identification information through the supervision system to obtain complete express information.
In a third aspect, the present application provides an electronic device for inter-system data push, comprising a processor and a memory for storing executable instructions of the processor, the processor being configured to perform the steps of the inter-system data push method described above via execution of the executable instructions.
In a fourth aspect, the present application provides a computer readable storage medium having stored thereon a computer program which when executed implements the steps of the inter-system data push method described above.
Compared with the prior art, the technical effects of the application include:
the utility model discloses a data pushing method and system between systems, electronic equipment, computer storage medium, because of the setting of message queues and a plurality of consumers, the information that needs to push can be in a large amount temporarily stored in a plurality of message queues to can consume by a plurality of consumers simultaneously, improve the speed and the efficiency that information was consumed and pushed greatly, prevent data backlog in real-name system, make supervisory systems can acquire information so that statistics and calculation are carried out to the data information of the day more fast. On the other hand, due to the arrangement of the identification information, various information under the same express bill can be accurately identified and distinguished, so that real-time pushing of various express sub-information is realized, pushing of the express information can be performed without collecting all the express sub-information under the express bill, time-sharing and segmented information pushing among systems is realized, the occurrence of instantaneous processing peak values of the information is avoided, and the effect of peak clipping and valley filling is realized. The method has the advantages of simple processing logic, high stability and high transmission efficiency, and solves the problems of poor timeliness, low accuracy and the like of pushing big data in a logistics system.
Drawings
The present application is further described below with reference to the drawings and examples.
Fig. 1 is a first flowchart of a method for pushing intersystem data according to the first embodiment;
FIG. 2 is a second flowchart of the method for pushing data between systems according to the first embodiment;
FIG. 3 is a schematic diagram of an intersystem data push system according to a second embodiment;
FIG. 4 is a schematic structural diagram of an electronic device for intersystem data push according to a third embodiment;
fig. 5 is a schematic structural diagram of a program product for implementing an intersystem data push method according to a fourth embodiment.
Detailed Description
The present application will be further described with reference to the drawings and detailed description, which should be understood that, on the premise of no conflict, the following embodiments or technical features may be arbitrarily combined to form new embodiments.
Referring to fig. 1 and 3, a first embodiment provides an intersystem data pushing method, which is applied to data pushing between a real-name system 1 and a supervisory system 3, and embodies the idea of parallelizing data pushing. The supervisory system 3 in the present embodiment is, for example, an enterprise's own supervisory system or a national regulatory agency.
The intersystem data pushing method comprises steps S10 to S40.
Step S10: and receiving express sub-information sent by the real-name system 1.
The express sub-information is usually real-name information, order information, logistics track information or the like, and constitutes data contained in the complete express information. It is easy to think that a complete express message includes a plurality of express sub-messages, and the express sub-messages are real-name system information, order information or logistics track information.
The real-name system information generally comprises the identity information (name, identification card number, passport number and the like) and contact information, address and the like of the sender, and the information is filled in by the sender; and may also include the address, contact, name, etc. of the recipient, also filled in by the sender. In the express logistics, clients can be generally divided into platform clients and scattered clients, wherein the platforms are for example, beijing dong, tianmao, jiaduo and the like. When the client is a platform client, the real-name system information of the sender is usually already collected by the platform, so that the real-name system 1 only needs to directly receive the real-name system information of the sender sent by the relevant platform. And when the client is a loose sheet client, real-name system information is manually filled in by a sender or an express delivery person at an express delivery website and is scanned and uploaded by an express delivery person terminal 12, or is filled in by the sender through the sender terminal 11. The sender terminal 11 is, for example, a cell phone, tablet computer, smart wearable device or other smart terminal device. The courier terminal 12 is, for example, a gun, a cell phone, a tablet computer, a smart wearable device, or other smart terminal device. After the sender completes the filling, the identity verification server 14 verifies the information, and the identity verification process can be that the government department data system 15 is connected for inquiring, and usually only the identity information of the sender is inquired whether the sender exists and is correct, but the sender can be required to conduct face recognition if necessary to ensure that the sender accords with the filled identity information of the sender, and the sender is uploaded to the real-name system 1 after the identity verification is passed. Specifically, the face recognition process may be that face images are acquired by the sender terminal 11 and verified by the authentication server 14. Whereas, when the customer is a bulk customer and is a history customer, the real-name system 1 may directly retrieve the sender's real-name information in the database 16.
The order information generally includes an express bill number (i.e., a shipping bill number) allocated by an express company, and the express bill is uploaded to the real-name system 1 after the paper shipping bill is scanned by an express person, or after the Application (APP) on the sender terminal 11 is completed by the sender, or after the platform client is completed by the bill.
The logistics track information comprises express delivery member information, time nodes of the express delivery on a delivery path, delivery member information on each node and the like. The express delivery person collecting information is uploaded to the real-name system 1 when collecting is completed. Because of business needs, the express delivery person is generally concentrated at night in the operation of collecting the pieces, and the information of collecting the pieces and the information of the real name system are required to be pushed together, so that the information quantity required to be pushed is large, the pushing efficiency of the express delivery information is affected, and the supervision system 3 cannot count and calculate the express delivery information of the current day in time.
The real-name system 1 is a mature technology and generally includes a plurality of sender terminals 11, a plurality of courier terminals 12, an authentication server 14, a government data system 15, a real-name supervision server 13, and a database 16, which are connected via a network.
The following exemplifies the case where the sender is a bulk bill client and a platform client, respectively.
When the sender is a loose sheet client, the sender firstly inputs real-name system information of the sender through an APP on a sender terminal 11, or manually fills in a paper express sheet and is scanned and input by an express terminal; subsequently, the identity verification server 14 verifies the identity information of the sender, when the query result is correct or the face verification is passed, the sender terminal 11 receives feedback and uploads the real-name system information input by the sender terminal to the real-name system supervision server 13, and the real-name system supervision server 13 sends the real-name system information to an express delivery person terminal 12; the courier terminal 12 prints out an electronic bill carrying real-name system information (can also comprise other information filled by a sender) and is posted on an express mail, and the courier terminal 12 scans a bar code or a two-dimensional code on the electronic bill to finish the mail-collecting and sends the mail-collecting information to the real-name system supervision server 13; in general, after receiving the piece-collecting information, the real-name system supervision server 13 performs operations such as dirty data filtering, format editing, association binding and the like on the real-name system information and order information (the real-name system 1 inputs the real-name system information and obtains order information including a bill number) and the piece-collecting information, and then pushes the operation to the supervision system 3, and the supervision system 3 performs statistics and calculation on the data information; the database 16 is used for storing real-name system information of a sender as a history record so as to be convenient for direct calling in next use.
When the sender is a platform client, the real-name system information is directly received by the real-name system information sent by the relevant platform, after the courier finishes the collecting operation and generates the collecting information, the real-name system supervision server 13 performs operations such as dirty data filtering, format editing, association binding and the like on the data, and then the data is pushed to the supervision system 3, and the supervision system 3 performs statistics and calculation on the data information; the database 16 may also be used to store real-name information of the sender received from the platform as a history record for direct retrieval at a next use.
Because the supervision system 3 requires that real-name system information and piece-collecting information under the same express bill are transmitted simultaneously so as to ensure that the piece-collecting information is real, when a large amount of piece-collecting operation is concentrated at night, the data information required to be pushed by the real-name system 1 in a short time can be greatly improved, so that the load of the real-name system 1 is overlarge, the pushing efficiency is reduced, the pushing time is prolonged, the data of the previous day can be pushed only at three or four points in the morning, and the statistics and calculation of the express information by the supervision system 3 are greatly delayed, and the authenticity of the piece-collecting express data is seriously influenced.
Step S20: and configuring identification information for the express sub-information, and enabling all the express sub-information belonging to the same express bill to have the same identification information or different but associated identification information.
Specifically, the identification information may be a courier order number, an order number, a random code, or other identifications. The step allocates the same identification information or different but related identification information to express sub-information (real-name system information, order information, logistics track information and the like) contained in the same express bill. Further preferably, the express bill number can be directly called as the identification information, and the express bill number is used as the identification information to be endowed to all express sub-information under the corresponding express bill; or generating a random code and giving the random code to all express sub-information under the same express bill.
Step S30: and adding the express sub-information and the corresponding identification information thereof to one of a plurality of message queues through a message middleware. It should be noted that, in this step, the express sub-information and the corresponding identification information thereof are added to the same message queue.
The message middleware is a functional component which utilizes a high-efficiency and reliable message transfer mechanism to carry out platform-independent data communication and is integrated with a distributed system based on data communication, and can provide various functions including decoupling, elastic expansion, redundant storage, flow peak clipping, asynchronous communication, data synchronization and the like for program application in a distributed environment by providing two data transmission models of message transfer and message queuing. The message middleware technology of the present application may employ message middleware technology that is currently in use, such as ActiveMQ, rabbitMQ, zeroMQ, kafka, metaMQ, rocketMQ. After receiving the express sub-information sent by the real-name system 1 and the identification information configured for the express sub-information, the message middleware adds the express sub-information and the corresponding identification information into one of the message queues, so that a large amount of information data can be distributed and stored in a plurality of message queues.
In this embodiment, after the message middleware obtains the express sub-information and the identification information configured for the express sub-information from the real-name system 1, the express sub-information and the identification information corresponding to the express sub-information may be added to the message queue. Typically, the message queue may be encoded, e.g., 0, 1, 2, 3,., n, etc., where n is a positive integer.
Step S40: and enabling at least one consumer to consume the message queues and pushing the express sub-information and the identification information carried by the message queues to the supervision system 3 in real time.
Further preferably, the consumer may be configured to consume one of the message queues by a plurality of consuming threads. The consumer can be a client, and the client can consume a plurality of message queues simultaneously by registering a plurality of consumption threads, so that the consumption speed of mass message queues is greatly improved. The enabling of multiple consumers can accelerate the pushing speed of the message queue and prevent data from being backlogged on the real-name system 1, so that the supervision system 3 can acquire information more quickly to be convenient for statistics and calculation of the data information of the current days.
The classifying of the information by the supervision system 3 means classifying according to the identification information, so that all express sub-information contained in the same express bill is distinguished from the information flow, and meanwhile, the supervision system 3 can perform pre-statistics and pre-calculation after obtaining the express sub-information; the summary of the information by the supervisory system 3 means that the classified express sub-information is combined, so that all the information carried by the classified express sub-information is synthesized into complete express information, and the statistics and calculation in advance are supplemented and perfected.
For example, in this embodiment, each message queue only includes one express sub-information and the identifier configured by the information, and each time the real-name system 1 obtains one express sub-information, the message middleware adds the express sub-information to one message queue and pushes the message to the supervisory system 3 by the consumer, and when all the express sub-information in the same express list is consumed and pushed, the supervisory system 3 can collect and combine the identifications carried by the express sub-information, thereby forming complete express information, so as to facilitate statistics and calculation.
Therefore, it can be understood that when the courier scans the electronic bill in a large batch at night, only the information of the part and the information of the courier (the starting point of the logistics track) are generated at the moment, namely, only at most three message queues (the real-name information and the information of the part are required to be pushed simultaneously) are required to be pushed to complement one piece of the express information, so that the instantaneous data processing capacity is greatly reduced, the peak clipping coupling effect is achieved, the pushing efficiency is improved, the data backlog is prevented, and the real-time performance of the data pushing is realized. Meanwhile, the data processing speed and the pushing efficiency can be further improved by increasing the number of consumers.
To summarize, each time an express sub-information is collected by the real-name system 1, an identification information is allocated to the express sub-information, and the identification information is used for associating the express sub-information with other express sub-information under the same express bill, and generally, unique and same identification information is configured for all express sub-information under the same express bill, for example, the identification information may be an express bill number (freight bill number) or a character string generated by other coding modes.
The express sub-information and the identification information thereof are added into the message queue through the message middleware for storage, meanwhile, consumers consume the message queue through the consumption thread, the information carried by the message queue is pushed to the supervision system 3 in real time, and the supervision system 3 can count and calculate the partial information in real time. Along with the continuous increase and perfection of the information collected by the real-name system 1, the information is immediately pushed to the supervision system 3, on the one hand, statistics and calculation needed to be made by the supervision system 3 on the same day are continuously carried out until the final link, after the electronic bill is scanned by the courier, the information of the last three couriers contained in one courier is also pushed, and the information quantity needed to be pushed at the moment is greatly reduced relative to the total information quantity.
Due to the arrangement of the message queues and the multiple consumers, the information to be pushed can be temporarily stored in the multiple message queues in a large quantity, and can be consumed by the multiple consumers at the same time, so that the speed and efficiency of information consumption and pushing are greatly improved, data backlog is prevented from being carried out on the real-name system 1, and the supervision system 3 can acquire the information more quickly so as to count and calculate the data information on the same day. On the other hand, due to the arrangement of the identification information, various information under the same express bill can be accurately identified and distinguished, so that real-time pushing of various express sub-information is realized, pushing of the express information can be performed without collecting all the express sub-information under the express bill, time-sharing and segmented information pushing among systems is realized, the occurrence of instantaneous processing peak values of the information is avoided, and the effect of peak clipping and valley filling is realized. The method has the advantages of simple processing logic, high stability and high transmission efficiency, and solves the problems of poor timeliness, low accuracy and the like of pushing big data in a logistics system.
Further preferably, as shown in fig. 2, the method may further include step S50: and when the interface of the supervision system 3 is abnormal or a network link is abnormal, enabling the express sub-information and the identification information which are not consumed in the message queues to exist in the message queues or be persistent.
The express sub-information sent by the real-name system 1 is introduced into the message queue instead of being directly pushed after the information is obtained, so that when the interface of the monitoring system 3 is abnormal or a network link is in a problem, the information which is not consumed in the message queue can be continuously stored in the message queue or persisted, after the interactive interfaces between the systems are communicated, the data can be immediately restored to be produced and pushed, and the maintainability of the system is improved.
Referring to fig. 3, a second embodiment provides an intersystem data pushing system, which is applied to data pushing between a real-name system 1 and a supervisory system 3. The inter-system data push system may include an information receiving module 21, an identification generating module 22, a middleware module 23, a storage module 24, and a consumer module 25.
The real-name system 1 collects express sub-information contained in an express bill, wherein the express sub-information is data contained in complete express information, which is usually real-name system information, order information or logistics track information. The real-name system 1 can receive real-name system information sent by a third party platform, an courier terminal 12 or a sender terminal 11; alternatively, the real-name system 1 may retrieve real-name information of the sender from the database 16. The third party platform is for example, jindong, naughty, makeshift, su Ningyi, and the like.
The information receiving module 21 is connected with the real-name system 1, and the information receiving module 21 is used for receiving the express sub-information sent by the real-name system 1.
The identifier generating module 22 is connected to the information obtaining module 21, and the identifier generating module 22 is configured to configure identifier information for each express sub-information obtained by the information obtaining module 21, and make all express sub-information belonging to the same express bill have the same identifier information or different but related identifier information. Preferably, the identification information may be a courier order number, an order number or a random code. For example, the identifier generating module 22 may directly call the number of the express bill as the identifier information, and assign the number of the express bill as the identifier information to all express sub-information under the corresponding express bill; or the identifier generating module 22 may generate a random code and assign the random code to all express sub-information under the same express bill.
The middleware module 23 is respectively connected to the information obtaining module 21 and the identifier generating module 22, and the middleware module 23 is configured to add the express sub-information obtained from the information obtaining module 21 and the identifier information configured for each express sub-information obtained from the identifier generating module 22 to one of the plurality of message queues together through the message middleware.
The storage module 24 is connected to the middleware module 23, and the storage module 24 is provided with the plurality of message queues. The message queue is used for storing express sub-information and identification information configured for the express sub-information. When the interface of the supervision system 3 is abnormal or the network link is abnormal, the storage module 24 may enable the express sub-information and the identification information which are not consumed in the message queues to exist in the message queues or to be persistent, and after the inter-system interaction interface is communicated, the data may immediately resume production pushing, so that maintainability of the system is high.
The consumer module 25 is connected to the storage module 24, and the consumer module 25 is configured to enable at least one consumer to consume the message queues and push the express sub-information and the identification information carried by the message queues to the supervisory system 3 in real time. Preferably, the consumer module may cause the consumer to consume one of the message queues via a plurality of consuming threads. The consumer module 25 consumes a plurality of message queues simultaneously through a plurality of consumption threads, and pushes the express sub-information carried in the message queues and the identification information configured for the express sub-information to the supervisory system 3 together so as to facilitate the statistical and calculation of the supervisory system 3.
The supervision system 3 classifies the express sub-information obtained from the consumer module 25 according to the identification information, merges all the express sub-information belonging to the same express bill, obtains complete express information, and completes statistics and calculation of the express information. An order can only be considered to have real-name information if the order has real-name information. The supervision system 3 can check the actual effect of the enterprise real-name system in the express operation flow by analyzing the data, and meanwhile, the supervision system 3 can better count the data information of the current day because of high real-time property of data pushing.
Referring to fig. 3 to 5, a third embodiment provides an electronic device 4 for inter-system data push, the electronic device 4 comprising at least one memory unit 41, at least one processing unit 42 and a bus 43 connecting different platform systems.
The storage unit 41 may include a readable medium in the form of a volatile storage unit, such as a random access memory unit (RAM) 411 and/or a cache memory unit 412, and may further include a read only memory unit (ROM) 413.
The storage unit 41 further stores a program product 5, and the program product 5 may be executed by the processing unit 42, so that the processing unit 42 performs the steps of the inter-system data pushing method in the first embodiment (as shown in fig. 1). The storage unit 41 may also include a program/utility 414 having a set (at least one) of program modules 415, including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each or some combination of which may include an implementation of a network environment. In this embodiment, the message middleware and the consumer are software programs, in the form of program modules 415, and are included in the program product 5. The storage unit 41 is provided with a plurality of message queues 416, and the message middleware is executed by the processing unit 42, so that messages are added to the message queues 416. After the above-mentioned consumer is executed by the processing unit 42, the messages in the message queue 416 are consumed and pushed to the supervision system 3.
Accordingly, processing unit 42 may execute program product 5 as described above, and may execute utility 414, including message middleware and consumers.
The bus 43 may be one or more of several types of bus structures including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures. In the present embodiment, the bus 43 is used to connect the real-name system 1 and the electronic device 4, and the electronic device 4 and the supervisory system 3.
Electronic device 4 may also communicate with one or more external devices 44, such as a keyboard, pointing device, bluetooth device, etc., as well as one or more devices capable of interacting with electronic device 4, and/or with any device (e.g., router, modem, etc.) that enables electronic device 4 to communicate with one or more other computing devices. Such communication may be through an input/output (I/O) interface 45. Also, the electronic device 4 may communicate with one or more networks such as a Local Area Network (LAN), a Wide Area Network (WAN) and/or a public network, such as the Internet, through a network adapter 46. The network adapter 46 may communicate with other modules of the electronic device 4 via the bus 43. It should be appreciated that although not shown in fig. 4, other hardware and/or software modules may be used in connection with electronic device 4, including, but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, data backup storage platforms, and the like.
Referring to fig. 5, a fourth embodiment provides a computer-readable storage medium for storing a computer program which, when executed, implements the steps of the inter-system data push method of the first embodiment (as shown in fig. 1). Fig. 5 shows a program product 5 provided by the present embodiment for implementing the above method, which may be a portable compact disc read-only memory (CD-ROM) and comprise program code, and which may be run on a terminal device, such as a personal computer. However, the program product 5 of the present invention is not limited thereto, and in this document, a 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. The program product 5 may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium can be, for example, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium would include the following: an electrical connection having one or more wires, a portable disk, a hard disk, random Access Memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The computer readable storage medium may include a data signal propagated in baseband or as part of a carrier wave, with readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A readable storage medium may also be any readable medium 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 readable storage medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing. Program code for carrying out operations of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C++ or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device, partly on a remote computing device, or entirely on the remote computing device or server. In the case of remote computing devices, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., connected via the Internet using an Internet service provider).
The present application describes functional improvements and usage elements that are emphasized by the patent laws, and the above description and drawings are merely preferred embodiments of the present application and not limiting the present application, and therefore, all structures, devices, features, etc. that are similar and identical to those of the present application, i.e. all equivalents and modifications made by the patent application are intended to be within the scope of protection of the patent application of the present application.

Claims (8)

1. An intersystem data pushing method, which is applied to data pushing between a real-name system and a supervisory system, comprises the following steps:
receiving express sub-information sent by the real-name system; the express sub-information is data contained in the complete express information;
configuring identification information for the express sub-information, and enabling all the express sub-information belonging to the same express bill to have the same identification information or different but associated identification information; the identification information is an express bill number, an order bill number or a random code;
the express sub-information and the corresponding identification information thereof are added to one of a plurality of message queues through a message middleware;
and enabling at least one consumer to consume the message queues and pushing the express sub-information and the identification information carried by the message queues to the supervision system in real time, so that the supervision system gathers and merges the express sub-information based on the identification information after receiving all the express sub-information in the same express bill, and complete express information is obtained.
2. The method for pushing data between systems according to claim 1, wherein the express sub-information is real-name information, order information or logistics track information.
3. The method of intersystem data push according to claim 1, wherein the consumer is configured to consume one of the message queues via a plurality of consuming threads.
4. The intersystem data push method of claim 1, further comprising:
and when the interface of the supervision system is abnormal or a network link is abnormal, enabling the express sub-information and the identification information which are not consumed in the message queues to exist in the message queues or be persistent.
5. An intersystem data pushing system, characterized in that it is applied to data pushing between a real-name system and a supervisory system, the intersystem data pushing system comprising:
the information receiving module is used for receiving the express sub-information sent by the real-name system; the express sub-information is data contained in the complete express information;
the identification generation module is used for configuring identification information for the express sub-information, and enabling all the express sub-information belonging to the same express bill to have the same identification information or different but associated identification information; the identification information is an express bill number, an order bill number or a random code;
the middleware module is used for adding the express sub-information and the corresponding identification information thereof to one of a plurality of message queues through the message middleware;
the storage module is provided with the message queues;
and the consumer module is used for enabling at least one consumer to consume the message queues and pushing the express sub-information and the identification information carried by the message queues to the supervision system in real time, so that the supervision system can summarize and combine the express sub-information based on the identification information after receiving all the express sub-information in the same express bill, and complete express information is obtained.
6. The system of claim 5, wherein the consumer module causes the consumer to consume one of the message queues via a plurality of consuming threads.
7. The system according to claim 5, wherein the storage module is configured to enable the express sub-information, the identification information, which are not yet consumed in the plurality of message queues to be continuously present in the plurality of message queues or persist when an interface of the supervisory system is abnormal or a network link is abnormal.
8. The system-to-system data pushing system of claim 5, wherein the express sub-information comprises real-name information;
the system-to-system data pushing system receives real-name system information sent by a third-party platform, an courier terminal or a sender terminal through the real-name system; or the intersystem data pushing system invokes real-name system information of the sender from the database through the real-name system.
CN202010268804.5A 2020-04-08 2020-04-08 Intersystem data pushing method and system Active CN111401819B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010268804.5A CN111401819B (en) 2020-04-08 2020-04-08 Intersystem data pushing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010268804.5A CN111401819B (en) 2020-04-08 2020-04-08 Intersystem data pushing method and system

Publications (2)

Publication Number Publication Date
CN111401819A CN111401819A (en) 2020-07-10
CN111401819B true CN111401819B (en) 2023-07-11

Family

ID=71431483

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010268804.5A Active CN111401819B (en) 2020-04-08 2020-04-08 Intersystem data pushing method and system

Country Status (1)

Country Link
CN (1) CN111401819B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112769901B (en) * 2020-12-23 2023-02-28 交控科技股份有限公司 Rail transit signal equipment communication interaction method and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108898032A (en) * 2018-07-20 2018-11-27 杭州尚尚签网络科技有限公司 A kind of electronic data based on block chain technology deposits the high-efficient treatment method of card
WO2020015186A1 (en) * 2018-07-19 2020-01-23 平安科技(深圳)有限公司 Method and apparatus for real-time update of page data and electronic device
CN110769056A (en) * 2019-10-25 2020-02-07 上海燕汐软件信息科技有限公司 Real-name system information processing method and device, electronic equipment and storage medium

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7828202B2 (en) * 2005-02-24 2010-11-09 E-Courier (Belize), Inc. System and method for controlling the transport of articles
US7631315B2 (en) * 2005-03-28 2009-12-08 Microsoft Corporation Using subqueues to enhance local message processing
US9998418B2 (en) * 2015-11-11 2018-06-12 International Business Machines Corporation Intelligent message queue management
CN109995801B (en) * 2017-12-29 2022-11-08 北京京东尚科信息技术有限公司 Message transmission method and device
CN108874562B (en) * 2018-06-21 2022-08-02 北京顺丰同城科技有限公司 Distributed high-concurrency message queue pushing system
CN109684108A (en) * 2018-12-26 2019-04-26 江苏满运软件科技有限公司 Implementation method, system, storage medium and the electronic equipment of message queue
CN110032459B (en) * 2019-04-22 2022-05-03 深圳乐信软件技术有限公司 Message queue configuration method and device, computer equipment and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020015186A1 (en) * 2018-07-19 2020-01-23 平安科技(深圳)有限公司 Method and apparatus for real-time update of page data and electronic device
CN108898032A (en) * 2018-07-20 2018-11-27 杭州尚尚签网络科技有限公司 A kind of electronic data based on block chain technology deposits the high-efficient treatment method of card
CN110769056A (en) * 2019-10-25 2020-02-07 上海燕汐软件信息科技有限公司 Real-name system information processing method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN111401819A (en) 2020-07-10

Similar Documents

Publication Publication Date Title
CN107577805B (en) Business service system for log big data analysis
CN107493310B (en) Cloud resource processing method and cloud management platform
CN108776934B (en) Distributed data calculation method and device, computer equipment and readable storage medium
CN112667414A (en) Message queue-based message consumption method and device, computer equipment and medium
CN111030784A (en) Information synchronization method and device
CN110781180B (en) Data screening method and data screening device
CN109039817B (en) Information processing method, device, equipment and medium for flow monitoring
CN110147470B (en) Cross-machine-room data comparison system and method
CN110688828A (en) File processing method and device, file processing system and computer equipment
CN107346270B (en) Method and system for real-time computation based radix estimation
CN114090366A (en) Method, device and system for monitoring data
CN103701720A (en) Communication method with Socket server and online transaction management system
CN111401819B (en) Intersystem data pushing method and system
CN116069838A (en) Data processing method, device, computer equipment and storage medium
CN113014618B (en) Message processing method and system and electronic equipment
CN110008173A (en) A kind of method and device of data storage
CN112016285B (en) Logistics information processing method and processing system
CN105450733B (en) A kind of business datum distribution processing method and system
CN109670952B (en) Collecting and paying transaction platform
US8224771B2 (en) Resource sharing for document production
CN103092932A (en) Distributed document transcoding system
CN112131180B (en) Data reporting method, device and storage medium
CN115695587A (en) Service data processing system, method, device and storage medium
CN113687958A (en) Data processing method, system, computer device and storage medium
CN108805741B (en) Fusion method, device and system of power quality data

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