CN111401819A - Intersystem data pushing method and system - Google Patents

Intersystem data pushing method and system Download PDF

Info

Publication number
CN111401819A
CN111401819A CN202010268804.5A CN202010268804A CN111401819A CN 111401819 A CN111401819 A CN 111401819A CN 202010268804 A CN202010268804 A CN 202010268804A CN 111401819 A CN111401819 A CN 111401819A
Authority
CN
China
Prior art keywords
information
express
sub
real
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.)
Granted
Application number
CN202010268804.5A
Other languages
Chinese (zh)
Other versions
CN111401819B (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

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Economics (AREA)
  • Quality & Reliability (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Human Resources & Organizations (AREA)
  • Marketing (AREA)
  • Operations Research (AREA)
  • Development Economics (AREA)
  • Strategic Management (AREA)
  • Tourism & Hospitality (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application discloses a method and a system for pushing data among systems, electronic equipment and a computer storage medium, wherein the method is applied to the data pushing between a real-name system and a monitoring 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; adding the express delivery sub-information and the identification information corresponding to the express delivery sub-information to one of a plurality of message queues through a message middleware; enabling at least one consumer to consume the message queues and push the express delivery sub-information and the identification information carried by the message queues to the supervision system in real time. The speed and efficiency of information being consumed and pushed are improved, data backlog is prevented, and the problems of poor timeliness and low accuracy of big data pushing in a logistics system are solved.

Description

Intersystem data pushing method and system
Technical Field
The present application relates to the field of data transmission, and in particular, to a method and a 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 these information have a large amount of data and are relatively messy. At present, the work of picking up the parts of an express delivery network is mainly concentrated in the daytime, but the scanning time for distributing an electronic bill to a merchant is mainly concentrated in the evening, and the express delivery part needs to be picked up and scanned, and related data is pushed to a system to be regarded as a normal picking up part by the system.
In actual production, the system needs to calculate and count data obtained on the same day, while the generation of the data obtained by scanning the electronic bill of a merchant is mainly concentrated in the evening, and the data volume of the part is large, and the whole data push of the previous day can be finished within two to three hours after zero point. Therefore, the calculation of the pushed data by the data receiving end is delayed to the next day. On one hand, the data are overstocked, the pressure of the system at night is very high, and the real-time performance of data transmission cannot be guaranteed; on the other hand, the calculation of the received data by the receiving end is started after the zero point, so that the data calculation of the previous day is inaccurate.
Disclosure of Invention
The application aims to provide an intersystem data pushing method and system, electronic equipment and a computer storage medium, overcomes the defects of the prior art, improves the efficiency of data transmission and improves the real-time performance and accuracy of data transmission for automatically and efficiently transmitting logistics related data between enterprises and supervisory systems.
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, which is applied to data pushing between a real-name system and a supervisory system, and 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;
adding the express delivery sub-information and the identification information corresponding to the express delivery sub-information to one of a plurality of message queues through a message middleware;
enabling at least one consumer to consume the message queues and push the express delivery 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 plurality of consumers, the information needing to be pushed can be temporarily stored in the plurality of message queues in a large quantity, and can be consumed by the plurality of consumers at the same time, so that the speed and the efficiency of information consumption and pushing are greatly improved, data overstocking in a real-name system is prevented, and a supervisory system can acquire the information more quickly so as to count and calculate the data information of the 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 carried out without collecting all the express sub-information under the express bill, time-sharing segmented information pushing among systems is realized, occurrence of information instantaneous processing peak values is avoided, and the effect of peak clipping and valley filling is achieved. The application has simple processing logic, high stability and high transmission efficiency, and solves the pain point problems of poor timeliness, low accuracy and the like of big data push 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 an express bill number, an order number, or a random number.
Optionally, the consumer is configured to consume one of the message queues by a plurality of consuming threads.
The consumer can consume a plurality of message queues at the same time by registering a plurality of consumption threads, thereby greatly improving the consumption speed of massive message queues.
Optionally, the method further comprises:
and when the interface of the supervision system is abnormal or the network link is abnormal, the express delivery sub-information and the identification information which are not consumed in the plurality of message queues are enabled to continuously exist in the plurality of message queues or persist.
The express sub-information sent by the real-name system is introduced into the message queue instead of being directly pushed after the information is acquired, so that when the interface of the monitoring system is abnormal or a network link is in a problem, the information which is not consumed in the message queue can continuously exist in the message queue or be persisted, after the interactive interfaces among the systems are communicated, the data can be immediately restored to be pushed, and the maintainability of the system is improved.
In a second aspect, the present application provides an intersystem data pushing system, which is applied to data pushing between a real-name system and a monitoring system, and the intersystem data pushing 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 related identification information;
the middleware module is used for adding the express sub-information and the identification information corresponding to the express sub-information to one of a plurality of message queues through message middleware;
the storage module is provided with a plurality of message queues;
and the consumer module is used for enabling at least one consumer to consume the message queues and pushing the express delivery 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 an express bill number, an order number, or a random number.
Optionally, the consumer module causes the consumer to consume one of the message queues through a plurality of consumption threads.
Optionally, the storage module is configured to, when an interface of the monitoring system is abnormal or a network link is abnormal, enable the courier sub-information and the identification information that have not been consumed in the plurality of message queues to continuously exist in the plurality of message queues or persist.
Optionally, the express delivery sub-information includes real-name system information;
the inter-system data pushing system receives real-name system information sent by a third-party platform, a courier terminal or a sender terminal through the real-name system; or the inter-system data pushing system calls the real-name system information of the sender from the database through the real-name system.
Optionally, the inter-system data pushing system merges all the sub-information of the express items belonging to the same express bill according to the identification information through the monitoring system, so as to obtain complete express information.
In a third aspect, the present application provides an electronic device for intersystem data pushing, including a processor and a memory, where the memory is used for storing executable instructions of the processor, and the processor is configured to execute the steps of the above-mentioned intersystem data pushing method via executing the executable instructions.
In a fourth aspect, the present application provides a computer-readable storage medium, on which a computer program is stored, which, when executed, implements the steps of the above-mentioned inter-system data pushing method.
Compared with the prior art, the technical effects of the application include:
the application discloses intersystem data pushing method and system, electronic equipment and computer storage medium, and due to the arrangement of the message queues and the plurality of consumers, information needing to be pushed can be temporarily stored in the plurality of message queues in a large quantity and can be consumed by the plurality of consumers simultaneously, so that the speed and efficiency of information consumption and pushing are greatly improved, data are prevented from being accumulated in a real-name system, and a supervision system can acquire the information more quickly so as to count and calculate the data information in 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 carried out without collecting all the express sub-information under the express bill, time-sharing segmented information pushing among systems is realized, occurrence of information instantaneous processing peak values is avoided, and the effect of peak clipping and valley filling is achieved. The application has simple processing logic, high stability and high transmission efficiency, and solves the pain point problems of poor timeliness, low accuracy and the like of big data push 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 an intersystem data pushing method according to a first embodiment;
fig. 2 is a second flowchart of the inter-system data pushing method according to the first embodiment;
fig. 3 is a schematic structural diagram of an intersystem data pushing system according to a second embodiment;
fig. 4 is a schematic structural diagram of an electronic device for inter-system data pushing provided in a third embodiment;
fig. 5 is a schematic structural diagram of a program product for implementing the method for pushing data between systems according to the fourth embodiment.
Detailed Description
The present application is further described with reference to the accompanying drawings and the detailed description, and it should be noted that, in the present application, the embodiments or technical features described below may be arbitrarily combined to form a new embodiment without conflict.
Referring to fig. 1 and fig. 3, a first embodiment provides an intersystem data pushing method, which is applied to data pushing between a real-name system 1 and a monitoring system 3, and embodies the idea of parallelizing data pushing. The regulatory system 3 in the present embodiment is, for example, an own regulatory system of an enterprise or a national regulatory agency.
The method for pushing the data among the systems comprises the steps S10 to S40.
Step S10: and receiving the express sub-information sent by the real-name system 1.
The express sub-information is usually data included in complete express information, such as real-name information, order information, logistics track information, and the like. It is easy to think that a complete express delivery information includes a plurality of express delivery sub information, and the express delivery sub information is information such as real-name system information, order information or logistics track information.
The real-name information usually includes identity information (name, identification card number, passport number, etc.) of the sender, contact information, address, etc., and these information are filled in by the sender; and may also include the address, contact, name, etc. of the recipient, also filled in by the sender. In express logistics, customers can be generally divided into platform customers and bulk customers, and platforms such as the platforms of the kyoto, the tianmao, the zhuoduo 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 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 order client, the real-name information is manually filled in by the sender or the courier at the express delivery network and is scanned and uploaded by the courier terminal 12, or is filled in by the sender through the sender terminal 11. The sender terminal 11 is, for example, a mobile phone, a tablet computer, a smart wearable device, or other smart terminal device. The courier terminal 12 is, for example, a rifle, a mobile phone, a tablet computer, a computer, an intelligent wearable device, or other intelligent terminal device. After the sender completes the filling, the identity authentication server 14 authenticates the information, and the identity authentication process may be to connect with the data system 15 of the government department for inquiry, and usually only inquire whether the identity information of the sender exists and is correct, but if necessary, the sender may also be required to perform face recognition to ensure that the sender is consistent with the identity information of the sender filled by the sender, and upload the identity information to the real-name system 1 after the identity authentication is passed. Specifically, the face recognition process may be to acquire a face image through the sender terminal 11 and perform authentication by the authentication server 14. When the customer is a waybill customer and a history customer, the real-name system 1 can directly call the real-name information of the sender in the database 16.
The order information usually includes an express delivery order number (i.e., a delivery order number) assigned by an express company, and is uploaded to the real-name system 1 after a courier scans a paper delivery order, or after a sender completes an order placement on an APP (application) of the sender terminal 11, or after a platform customer completes an order placement.
The logistics track information comprises courier item acquisition information, time nodes of couriers on a distribution path, distributor information on each node and the like. The courier pickup information is uploaded to the real-name system 1 when pickup is completed. Due to business needs, couriers usually concentrate on the express pickup operation at night, and pickup information and real-name information are required to be pushed together, so that the amount of information to be pushed is large, the pushing efficiency of express information is affected, and the monitoring system 3 cannot count and calculate the express information on the same day in time.
Among them, the real-name system 1 as a mature technology generally includes a plurality of sender terminals 11, a plurality of courier terminals 12, and an authentication server 14, a government data system 15, a real-name supervision server 13, and a database 16 connected through a network.
The following illustrates the case where the sender is a singleton customer and a platform customer, respectively.
When the sender is a client of the leaflet, 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 form and scans and inputs the information through a courier terminal; subsequently, the identity authentication server 14 authenticates the sender identity information, and after the query result is correct or the face authentication passes, the sender terminal 11 receives the 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 a courier terminal 12; the courier terminal 12 prints out an electronic receipt carrying real-name system information (which may also include other information filled by a sender) and posts the electronic receipt on the courier, and then the courier terminal 12 scans a bar code or a two-dimensional code on the electronic receipt to complete receipt and sends receipt information to the real-name system supervision server 13; in general, after receiving the pickup information, the real-name supervision server 13 performs operations such as dirty data filtering, format editing, association binding and the like on the real-name information, order information (the real-name system 1 can obtain order information including an invoice number while inputting the real-name information) and the pickup information, and then pushes the acquired information 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 the real-name information of the sender as a history record so as to be convenient for directly calling in the next use.
When the sender is a platform client, the real-name system information directly receives the real-name system information sent by the relevant platform, after the courier completes the package acquisition operation and generates package acquisition information, the real-name system supervision server 13 carries out dirty data filtering, format editing, association binding and other operations on the data, the dirty data are pushed to the supervision system 3, and the supervision system 3 carries out statistics and calculation on the data information; the database 16 may also be used to store the real-name information of the sender received from the platform as a history to facilitate direct retrieval for the next use.
Because the supervision system 3 requires that real-name system information and express item receiving information under the same express item are sent at the same time to ensure that the express item receiving information is real, when a large amount of express item receiving operations are concentrated at night, the data information needing to be pushed by the real-name system 1 in a short time can be greatly improved, 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 by three points in the morning in the next day, the statistics and calculation of the express information by the supervision system 3 are greatly delayed, and the authenticity of the express item 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 an express ticket number, an order number, a random number, or other identification. The step is to distribute the same identification information or different but related identification information to the 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 identification information, and the express bill number is used as the identification information and is given to all express sub-information under the corresponding express bill; or generating a random code and endowing the random code to all the express sub-information under the same express bill.
Step S30: and adding the express delivery 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 sub-information of the express delivery and the identification information corresponding to the sub-information are added to the same message queue.
The message middleware is a functional component which utilizes an efficient and reliable message transmission mechanism to carry out data communication irrelevant to a platform and carries out distributed system integration based on data communication, and can provide multiple functions including decoupling, elastic expansion and contraction, 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 transmission and message queuing. The message middleware technology of the present application may employ currently used message middleware technologies such as ActiveMQ, RabbitMQ, ZeroMQ, Kafka, MetaMQ, rockmq. After receiving the sub-information of the express delivery sent by the real-name system 1 and the identification information configured for the sub-information of the express delivery, the message middleware adds the sub-information of the express delivery and the identification information corresponding to the sub-information of the express delivery to one of the message queues, so that a large amount of information data can be distributed and stored in the plurality of message queues.
In this embodiment, after the message middleware obtains the sub-information of the express delivery and the identification information configured for the sub-information of the express delivery from the real-name system 1, the sub-information of the express delivery and the identification information corresponding to the sub-information of the express delivery can be added to the message queue. In general, a message queue may be encoded, e.g., 0, 1, 2, 3,. eta., n, etc., with n being a positive integer.
Step S40: at least one consumer is enabled to consume the plurality of message queues and push the express delivery sub-information and the identification information carried by the plurality of 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 massive message queues is greatly improved. The starting of a plurality of consumers can accelerate the pushing speed of the message queue, and data backlog in the real-name system 1 is prevented, so that the supervisory system 3 can acquire information more quickly to facilitate statistics and calculation of data information of the current day.
The monitoring system 3 classifies the information, namely 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, after the monitoring system 3 obtains the express sub-information, pre-counting and pre-calculating can be carried out; the information gathering of the monitoring system 3 refers to merging classified sub-information of the express delivery, so that all the information carried by the sub-information is synthesized into complete express delivery information, and the pre-statistics and calculation are supplemented and perfected.
For example, in this embodiment, each message queue only includes one piece of express delivery sub-information and an identifier configured by the information, each time the real-name system 1 acquires one piece of express delivery sub-information, the message middleware adds the message to one message queue and is pushed to the supervisory system 3 by a consumer, and when all pieces of express delivery sub-information in the same express delivery slip are consumed and pushed, the identifiers carried by the pieces of express delivery sub-information can be collected and combined by the supervisory system 3, so that complete express delivery information is formed, and statistics and calculation are facilitated.
Therefore, it can be understood that at night, when the courier scans the electronic bill in a large batch, only the package collecting information and the courier information (the starting point of the logistics track) are generated, that is, only at most three message queues (real name information and package collecting information need to be pushed simultaneously) need to be pushed to complete one express delivery information, so that the instantaneous data processing amount is greatly reduced, the peak clipping coupling effect is achieved, the pushing efficiency is improved, the data overstock is prevented, and the real-time performance of data pushing is realized. Meanwhile, the data processing speed can be further improved and the pushing efficiency can be improved by increasing the number of consumers.
In summary, each time an express delivery sub-information is collected by the real-name system 1, an identification information is allocated to the express delivery sub-information, and the identification information is used for associating the express delivery sub-information with other express delivery sub-information under the same express delivery order, and usually, unique and same identification information is configured for all the express delivery sub-information under the same express delivery order, for example, the identification information may be an express delivery order number (waybill number) or a character string generated by other encoding methods.
The express sub-information and the identification information thereof are added to the message queue for storage through the message middleware, and meanwhile, the message queue is consumed through the consumption thread by the consumer, the information carried by the message queue is pushed to the monitoring system 3 in real time, and the monitoring system 3 can count and calculate the partial information in real time. With the continuous increase and improvement of the information acquired by the real-name system 1, the information is instantly pushed to the monitoring system 3 on one hand, on the other hand, statistics and calculation which need to be carried out by the monitoring system 3 on the same day are continuously carried out until the last link is reached, after a courier scans an electronic bill, the last three sub-information of the express delivery included in one express delivery are also pushed, and the information quantity which needs 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 plurality of consumers, the information needing to be pushed can be temporarily stored in the plurality of message queues in a large quantity, and can be consumed by the plurality of consumers at the same time, so that the speed and the efficiency of information consumption and pushing are greatly improved, data overstocking in the real-name system 1 is prevented, and the supervisory system 3 can acquire the information more quickly so as to count and calculate the data information of the 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 carried out without collecting all the express sub-information under the express bill, time-sharing segmented information pushing among systems is realized, occurrence of information instantaneous processing peak values is avoided, and the effect of peak clipping and valley filling is achieved. The application has simple processing logic, high stability and high transmission efficiency, and solves the pain point problems of poor timeliness, low accuracy and the like of big data push in a logistics system.
Further preferably, as shown in fig. 2, the method may further include step S50: when the interface of the supervision system 3 is abnormal or the network link is abnormal, the express delivery sub-information and the identification information which are not consumed in the plurality of message queues are enabled to continuously exist in the plurality of message queues or persist.
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 acquired, 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 continuously exist in the message queue or be persisted, after the interactive interfaces among the systems are communicated, the data can be immediately restored to be pushed, and the maintainability of the system is improved.
Referring to fig. 3, the second embodiment provides an intersystem data pushing system, which is applied to data pushing between the real-name system 1 and the monitoring system 3. The intersystem 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 the express bill, wherein the express sub-information is data contained in complete express information, such as 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, a courier terminal 12 or a sender terminal 11; alternatively, the real-name system 1 may retrieve the real-name information of the sender from the database 16. Third party platforms are, for example, the kyoto, naobao, pinduo, suting easy, virtuous party, etc.
The information receiving module 21 is connected with the real-name system 1, and the information receiving module 21 is configured to receive the sub-express 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 piece of sub-information of the express items obtained by the information obtaining module 21, and enable all pieces of sub-information of the express items belonging to the same express item to have the same identifier information or different but associated identifier information. Preferably, the identification information may be an express ticket number, an order number, or a random number. For example, the identifier generating module 22 may directly call the number of the express waybill as the identifier information, and assign the number of the express waybill as the identifier information to all the pieces of sub-information of the corresponding express waybill; or the identifier generating module 22 may generate a random code and assign the random code to all the courier sub-information in the same courier order.
The middleware module 23 is connected to the information obtaining module 21 and the identifier generating module 22, respectively, and the middleware module 23 is configured to add the courier sub-information obtained from the information obtaining module 21 and the identifier information configured for each courier sub-information obtained from the identifier generating module 22 to one of the plurality of message queues 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 configured identification information. When the interface of the monitoring system 3 is abnormal or the network link is abnormal, the storage module 24 may enable the express sub-information and the identification information that have not been consumed in the plurality of message queues to continuously exist in the plurality of message queues or persist, and after the interaction interfaces between the systems are communicated, the data may be immediately restored to be produced and pushed, so that the 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 plurality of message queues and push the express delivery sub-information and the identification information carried by the plurality of message queues to the monitoring system 3 in real time. Preferably, the consumer module may enable the consumer to consume one of the message queues through a plurality of consumption threads. The consumer module 25 consumes a plurality of message queues through a plurality of consumption threads simultaneously, and pushes the express sub-information carried in the message queues and the configured identification information to the supervisory system 3 together, so that the supervisory system 3 can count and calculate the express sub-information.
The monitoring 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 to obtain complete express information, and completes the statistics and calculation of the express information. Only if an order has real-name information, the order can be considered to be operated in a real-name system. The monitoring system 3 can evaluate the actual effect of the enterprise real-name system in the express operation flow by analyzing the data, and meanwhile, the real-time performance of data pushing is high, so that the data information of the current day can be better counted for the monitoring system 3.
Referring to fig. 3 to 5, a third embodiment provides an electronic device 4 for data push between systems, where the electronic device 4 includes at least one storage 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 can be executed by the processing unit 42, so that the processing unit 42 executes 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, such program modules including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment. In the present embodiment, both 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 after the message middleware is executed by the processing unit 42, the message is added to the message queues 416. After the consumer is executed by the processing unit 42, the message in the message queue 416 is consumed and pushed to the administrative system 3.
Accordingly, the processing unit 42 may execute the program product 5 described above and may execute a utility 414 that includes messaging middleware and consumers.
Bus 43 may be one or more of any 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 this 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 monitoring system 3.
Electronic device 4 may also communicate with one or more external devices 44, such as a keyboard, pointing device, Bluetooth device, etc., and may also communicate with one or more devices capable of interacting with electronic device 4, and/or any devices (e.g., routers, modems, etc.) that enable electronic device 4 to communicate with one or more other computing devices, such communication may occur via input/output (I/O) interfaces 45, and electronic device 4 may also communicate with one or more networks (e.g., a local area network (L AN), a Wide Area Network (WAN), and/or a public network, such as the Internet) via network adapter 46. network adapter 46 may communicate with the other modules of electronic device 4 via bus 43.
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 pushing method in 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 employ a portable compact disc read only memory (CD-ROM) and include program codes, and 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. 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. A 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 (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, 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.
The program code embodied on the readable storage medium may be transmitted using any suitable medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing, the program code may be written in any combination of one or more programming languages, including AN object oriented programming language such as Java, C + +, etc., including conventional procedural programming languages such as the "C" programming language or similar programming languages, the program code may execute entirely on a user computing device, execute partly on a user device, execute as a stand-alone software package, execute partly on a user computing device, or execute partly on a user computing device, or connect to a remote computing device (e.g., AN Internet) via a remote network connection, including a remote computing device or a remote computing device, such as AN Internet connection or a remote network connection via a WAN, or any suitable type of remote network connection, including AN Internet connection to a remote computing device L.
The foregoing description and drawings are only for purposes of illustrating the preferred embodiments of the present application and are not intended to limit the present application, which is, therefore, to the contrary, the intention is to cover all modifications, equivalents, and alternatives falling within the spirit and scope of the present application.

Claims (10)

1. An intersystem data pushing method is applied to data pushing between a real-name system and a supervision 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;
adding the express delivery sub-information and the identification information corresponding to the express delivery sub-information to one of a plurality of message queues through a message middleware;
enabling at least one consumer to consume the message queues and push the express delivery sub-information and the identification information carried by the message queues to the supervision system in real time.
2. The inter-system data pushing method according to claim 1, wherein the express delivery sub-information is real-name system information, order information, or logistics track information.
3. The inter-system data pushing method according to claim 1, wherein the identification information is an express ticket number, an order number, or a random number.
4. The inter-system data pushing method of claim 1, wherein the consumer is configured to consume one of the message queues through a plurality of consuming threads.
5. The method for pushing data between systems according to claim 1, further comprising:
and when the interface of the supervision system is abnormal or the network link is abnormal, the express delivery sub-information and the identification information which are not consumed in the plurality of message queues are enabled to continuously exist in the plurality of message queues or persist.
6. An intersystem data pushing system, which is applied to data pushing between a real-name system and a supervision system, and comprises:
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 related identification information;
the middleware module is used for adding the express sub-information and the identification information corresponding to the express sub-information to one of a plurality of message queues through message middleware;
the storage module is provided with a plurality of message queues;
and the consumer module is used for enabling at least one consumer to consume the message queues and pushing the express delivery sub-information and the identification information carried by the message queues to the supervision system in real time.
7. The inter-system data pushing system of claim 6, wherein said consumer module causes said consumer to consume one of said message queues via a plurality of consuming threads.
8. The system according to claim 6, wherein the storage module is configured to, when an interface of the monitoring system is abnormal or a network link is abnormal, cause the express delivery sub-information and the identification information that have not been consumed in the message queues to continuously exist in the message queues or persist.
9. The inter-system data pushing system according to claim 6, wherein the courier sub-information includes real-name system information;
the inter-system data pushing system receives real-name system information sent by a third-party platform, a courier terminal or a sender terminal through the real-name system; or the inter-system data pushing system calls the real-name system information of the sender from the database through the real-name system.
10. The inter-system data pushing system according to claim 6, wherein the inter-system data pushing system combines all the sub-courier information belonging to the same courier ticket according to the identification information by the monitoring system to obtain complete courier information.
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 true CN111401819A (en) 2020-07-10
CN111401819B 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)

Cited By (1)

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

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060190360A1 (en) * 2005-02-24 2006-08-24 Bregman Jay P System and method for controlling the transport of articles
US20060218560A1 (en) * 2005-03-28 2006-09-28 Microsoft Corporation Using subqueues to enhance local message processing
US20170134330A1 (en) * 2015-11-11 2017-05-11 International Business Machines Corporation Intelligent message queue management
CN108874562A (en) * 2018-06-21 2018-11-23 北京顺丰同城科技有限公司 Distributed high concurrent message queue supplying system
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
CN109684108A (en) * 2018-12-26 2019-04-26 江苏满运软件科技有限公司 Implementation method, system, storage medium and the electronic equipment of message queue
CN109995801A (en) * 2017-12-29 2019-07-09 北京京东尚科信息技术有限公司 A kind of method for message transmission and device
CN110032459A (en) * 2019-04-22 2019-07-19 深圳乐信软件技术有限公司 Message queue configuration method, device, computer equipment and storage medium
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

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060190360A1 (en) * 2005-02-24 2006-08-24 Bregman Jay P System and method for controlling the transport of articles
US20060218560A1 (en) * 2005-03-28 2006-09-28 Microsoft Corporation Using subqueues to enhance local message processing
US20170134330A1 (en) * 2015-11-11 2017-05-11 International Business Machines Corporation Intelligent message queue management
CN109995801A (en) * 2017-12-29 2019-07-09 北京京东尚科信息技术有限公司 A kind of method for message transmission and device
CN108874562A (en) * 2018-06-21 2018-11-23 北京顺丰同城科技有限公司 Distributed high concurrent message queue supplying system
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
CN109684108A (en) * 2018-12-26 2019-04-26 江苏满运软件科技有限公司 Implementation method, system, storage medium and the electronic equipment of message queue
CN110032459A (en) * 2019-04-22 2019-07-19 深圳乐信软件技术有限公司 Message queue configuration method, device, computer equipment and storage medium
CN110769056A (en) * 2019-10-25 2020-02-07 上海燕汐软件信息科技有限公司 Real-name system information processing method and device, electronic equipment and storage medium

Cited By (2)

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

Also Published As

Publication number Publication date
CN111401819B (en) 2023-07-11

Similar Documents

Publication Publication Date Title
CN110086666B (en) Alarm method, device and system
CN107577805B (en) Business service system for log big data analysis
CN108776934B (en) Distributed data calculation method and device, computer equipment and readable storage medium
CN103401934A (en) Method and system for acquiring log data
CN107194794B (en) Enterprise tax declaration management system and method
CN109039817B (en) Information processing method, device, equipment and medium for flow monitoring
CN114707914B (en) Supply and marketing management center platform system based on SaaS framework
CN107346270B (en) Method and system for real-time computation based radix estimation
CN106992940B (en) Message processing method, device, system and terminal
CN114223189A (en) Duration statistical method and device, electronic equipment and computer readable medium
CN110008173A (en) A kind of method and device of data storage
CN112150203A (en) Real estate client visit identification method and device, electronic equipment and storage medium
CN111400393A (en) Data processing method and device based on multi-application platform and storage medium
CN111369334B (en) Salary calculation method and system
CN103701720A (en) Communication method with Socket server and online transaction management system
CN105450733B (en) A kind of business datum distribution processing method and system
CN103179211A (en) Cloud-computing-based data processing method and system of comprehensive operation support system
CN109409948B (en) Transaction abnormity detection method, device, equipment and computer readable storage medium
CN111401819A (en) Intersystem data pushing method and system
CN108717438B (en) Chained data state acquisition system and method
CN106649678B (en) Data processing method and system
CN112506886B (en) Multi-source service operation log acquisition method and system
CN115344633A (en) Data processing method, device, equipment and storage medium
CN112131180B (en) Data reporting method, device and storage medium
CN114189476A (en) Multi-interface shunting calling method and terminal

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