CN115589404A - Data distribution system based on relay chain - Google Patents

Data distribution system based on relay chain Download PDF

Info

Publication number
CN115589404A
CN115589404A CN202211096943.XA CN202211096943A CN115589404A CN 115589404 A CN115589404 A CN 115589404A CN 202211096943 A CN202211096943 A CN 202211096943A CN 115589404 A CN115589404 A CN 115589404A
Authority
CN
China
Prior art keywords
data
request
user terminal
database
data distribution
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.)
Withdrawn
Application number
CN202211096943.XA
Other languages
Chinese (zh)
Inventor
王欣雨
周杰
孙婷婷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN202211096943.XA priority Critical patent/CN115589404A/en
Publication of CN115589404A publication Critical patent/CN115589404A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a relay chain-based data distribution system, relates to the technical field of data distribution, and solves the technical problems of channel congestion and data distribution errors caused by more distributed data in the data distribution process; the invention inputs a data acquisition request through a user terminal; the request analysis module acquires different data retrieval instructions according to the data file acquisition request and sends the data retrieval instructions to the database; the database processes the data according to the received different data retrieval instructions, acquires a data packet and sends the data packet to the data distribution module; the data distribution module analyzes the data packet and distributes the data to the user terminal; when the total amount of the data file acquisition requests exceeds the request total amount threshold, the data file acquisition requests are sequenced, data with the priority being the front is distributed preferentially, the phenomena of data distribution road congestion and data distribution errors are avoided, and the data distribution efficiency is improved.

Description

Data distribution system based on relay chain
Technical Field
The invention belongs to the field of relay chains, relates to a data distribution technology, and particularly relates to a data distribution system based on a relay chain.
Background
A relay chain, also known as a repeater, is intended to construct a third party public chain that links other chains in a block chain network through a cross-chain messaging protocol. By adding a channel in two chains, a specific data structure is created in the channel, so that the two chains can perform cross-chain data interaction through the data structure in the channel, and the added channel is called a relay chain.
The system data distribution is a process of calling related data in the system at different nodes of the workflow in sequence according to the data distribution workflow, and integrating and transferring the data in a full process to reach a target state. In the process of data distribution, the phenomena of data distribution road congestion and data distribution errors caused by more data are often encountered.
To this end, a relay chain-based data distribution system is proposed.
Disclosure of Invention
The present invention is directed to solving at least one of the problems of the prior art. Therefore, the invention provides a data distribution system based on a relay chain, which solves the problems of channel congestion and data distribution errors caused by more distributed data in the data distribution process.
To achieve the above object, an embodiment according to a first aspect of the present invention provides a relay chain-based data distribution system, including: the system comprises a database, a request analysis module, a data distribution module and a user terminal; information interaction is realized among all modules based on a digital signal mode;
the user terminal is used for inputting a data acquisition request by a user, and the user terminal sends the acquired data acquisition request to the request analysis module;
the request analysis module is used for acquiring different data retrieval instructions according to the data file acquisition request and sending the data retrieval instructions to the database;
the database is used for processing the data by the received different data retrieval instructions, acquiring a data packet and sending the data packet to the data distribution module;
the data distribution module is used for analyzing the data packet and distributing the data to the user terminal.
Preferably, the user terminal comprises a smart phone and a computer.
Preferably, the request analysis module synchronously obtains the sending time of the data file obtaining request sent by the user terminal, and marks the user terminal according to the time sequence;
the transmission time stamp is S i (ii) a Wherein i represents the number of the user terminal, and the value range of i is 1,2,3, 82308230, 8230n.
Preferably, the request analysis module obtains different data retrieval instructions according to the data file obtaining request, and the specific process includes:
the request analysis module sets an acquisition period, wherein the acquisition period is marked as T, and the unit is second; wherein T is an integer greater than 0;
acquiring the total quantity of data file acquisition requests in an acquisition period, wherein the total quantity of the requests is marked as Q j (ii) a Wherein j is the number of the acquisition period, and the value range of j is 1,2,3, 8230, 8230n;
setting a total quantity threshold value of data file acquisition requests, wherein the total quantity threshold value of the requests is marked as Q max (ii) a Wherein Q is max Is an integer greater than 0;
when Q is j <Q max Then, acquiring a first data retrieval instruction;
when Q is j ≥Q max And then, acquiring a second data retrieval instruction.
Preferably, the database processes the data according to the received different data retrieval instructions, and the specific process includes:
the database receives a first data retrieval instruction, matches a corresponding data packet in the database according to the data file acquisition request, marks the corresponding data packet as a target data packet, analyzes the target data packet and sends the target data packet to the corresponding user terminal;
and the database receives a second data retrieval instruction, matches the corresponding data packet in the database according to the data file acquisition request, marks the corresponding data packet as a target data packet to be distributed, and sends the target data packet to be distributed to the data module to be distributed.
Preferably, the module to be distributed for data distributes the target data packet to be distributed to the user terminal according to the data file obtaining request, and the specific process includes:
obtaining the file size of the target data packet to be distributed, wherein the file size is marked as W i Wherein i represents the number of the user terminal;
obtaining a data request coefficient according to the file size and the sending time, wherein the data request coefficient is marked as Y i
The calculation formula of the data request coefficient is as follows:
Figure BDA0003838560950000031
wherein D is the size of the data distribution channel; both alpha and beta are correction factors, and both alpha and beta are real numbers greater than 0;
and performing descending order arrangement on the data request coefficients, and analyzing and sending the target data packets to be distributed corresponding to the data request coefficients to the corresponding user terminals in sequence.
Preferably, the user terminal is in communication and/or electrical connection with the request analysis module;
the request analysis module is in communication and/or electrical connection with the database;
the database is in communication and/or electrical connection with the data distribution module;
the data distribution module is in communication and/or electrical connection with the user terminal.
Compared with the prior art, the invention has the beneficial effects that:
the method comprises the steps that a data acquisition request is input through a user terminal, and the user terminal sends the acquired data acquisition request to a request analysis module; the request analysis module acquires different data retrieval instructions according to the data file acquisition request and sends the data retrieval instructions to the database; the database processes the received different data retrieval instructions to obtain data packets and sends the data packets to the data distribution module; the data distribution module analyzes the data packet and distributes the data to the user terminal; when the total quantity of the data file acquisition requests exceeds the request total quantity threshold value, the data file acquisition requests are sequenced, data with the front priority are distributed preferentially, the phenomena of data distribution road congestion and data distribution errors are avoided, and the data distribution efficiency is improved.
Drawings
FIG. 1 is a flow chart of the present invention.
Detailed Description
The technical solutions of the present invention will be described clearly and completely with reference to the following embodiments, and it should be understood that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without making any creative effort based on the embodiments in the present invention, belong to the protection scope of the present invention.
As shown in fig. 1, a relay chain-based data distribution system includes: the system comprises a database, a request analysis module, a data distribution module and a user terminal; information interaction is realized among all modules based on a digital signal mode;
the user terminal is used for inputting a data acquisition request by a user, and the user terminal sends the acquired data acquisition request to the request analysis module;
the request analysis module is used for acquiring different data retrieval instructions according to the data file acquisition request and sending the data retrieval instructions to the database;
the database is used for processing the received different data retrieval instructions to obtain data packets and sending the data packets to the data distribution module;
the data distribution module is used for analyzing the data packet and distributing the data to the user terminal.
In this embodiment, the user terminal includes an intelligent device such as a smart phone and a computer.
In this embodiment, the request analysis module synchronously obtains the sending time of the data file obtaining request sent by the user terminal, and marks the user terminal according to the time sequence;
the transmission time stamp is S i (ii) a Wherein i represents the number of the user terminal, and the value range of i is 1,2,3, 8230, n according to the time sequence.
The request analysis module acquires different data retrieval instructions according to the data file acquisition request, and the specific process comprises the following steps:
the request analysis module sets an acquisition period, wherein the acquisition period is marked as T, and the unit is second; wherein T is an integer greater than 0;
acquiring the total quantity of data file acquisition requests in an acquisition period, wherein the total quantity of the requests is marked as Q j (ii) a Wherein j is the number of the acquisition period, and the value range of j is 1,2,3, 8230, 8230n;
setting a total quantity threshold value of data file acquisition requests, wherein the total quantity threshold value of the requests is marked as Q max (ii) a Wherein Q is max Is an integer greater than 0;
when Q is j <Q max Then, acquiring a first data retrieval instruction;
when Q is j ≥Q max Then, acquiring a second data retrieval instruction;
for example, the following steps are carried out:
setting a threshold value of the total amount of the data file acquisition requests as 10;
in a period T, calculating the total quantity of data file acquisition requests to be 6;
if 6 is less than 10, acquiring a first data retrieval instruction;
in a period T, calculating the total quantity of data file acquisition requests to be 11;
and 11, the second data retrieval instruction is acquired, wherein the second data retrieval instruction is more than or equal to 10.
The database processes the data according to the received different data retrieval instructions, and the specific process comprises the following steps:
the database receives a first data retrieval instruction, matches a corresponding data packet in the database according to the data file acquisition request, marks the corresponding data packet as a target data packet, analyzes the target data packet and sends the target data packet to the corresponding user terminal;
and the database receives a second data retrieval instruction, matches a corresponding data packet in the database according to the data file acquisition request, marks the corresponding data packet as a target data packet to be distributed, and sends the target data packet to be distributed to the data module to be distributed.
It should be further noted that when the total amount of the data file acquisition requests is within the request total amount threshold, that is, the total amount of the data file acquisition requests does not cause the phenomena of data distribution road congestion and data distribution errors, the data distribution can be directly performed;
when the total amount of the data file acquisition requests exceeds the request total amount threshold, namely the total amount of the data file acquisition requests can cause data distribution road congestion and data distribution errors, the data file acquisition requests need to be sequenced, data with the prior priority is distributed preferentially, and the phenomena of data distribution road congestion and data distribution errors are avoided.
The data to-be-distributed module distributes a target data packet to be distributed to the user terminal according to the data file acquisition request, and the specific process comprises the following steps:
obtaining the file size of the target data packet to be distributed, wherein the file size is marked as W i Wherein i represents the number of the user terminal;
obtaining a data request coefficient according to the file size and the sending time, wherein the data request coefficient is marked as Y i
The calculation formula of the data request coefficient is as follows:
Figure BDA0003838560950000061
wherein D is the size of the data distribution channel; both alpha and beta are correction factors, and both alpha and beta are real numbers greater than 0;
and performing descending order on the data request coefficients, and analyzing and sending the target data packets to be distributed corresponding to the data request coefficients to the corresponding user terminals in sequence.
In this embodiment, the user terminal is in communication and/or electrical connection with the request analysis module;
the request analysis module is in communication and/or electrical connection with the database;
the database is in communication and/or electrical connection with the data distribution module;
the data distribution module is in communication and/or electrical connection with the user terminal.
The above formulas are all calculated by removing dimensions and taking numerical values thereof, the formula is a formula which is obtained by acquiring a large amount of data and performing software simulation to obtain the closest real situation, and the preset parameters and the preset threshold value in the formula are set by the technical personnel in the field according to the actual situation or obtained by simulating a large amount of data.
The working principle of the invention is as follows:
the request analysis module synchronously acquires the sending time of a data file acquisition request sent by the user terminal and marks the user terminal according to the time sequence;
the request analysis module sets an acquisition period; acquiring the total amount of data file acquisition requests in an acquisition period; setting a data file acquisition request total amount threshold; acquiring different data retrieval instructions;
the database receives a first data retrieval instruction, matches a corresponding data packet in the database according to the data file acquisition request, marks the corresponding data packet as a target data packet, and directly distributes the target data packet to a corresponding user terminal;
the database receives a second data retrieval instruction, matches a corresponding data packet in the database according to the data file acquisition request, marks the corresponding data packet as a target data packet to be distributed, and sends the target data packet to be distributed to the data module to be distributed;
acquiring the file size of a target data packet to be distributed; and acquiring data request coefficients according to the size and time sequence of the file, performing descending order on the data request coefficients, and sequentially sending the target data packets to be distributed corresponding to the data request coefficients to corresponding user terminals.
Although the present invention has been described in detail with reference to the preferred embodiments, it will be understood by those skilled in the art that various changes may be made and equivalents may be substituted for elements thereof without departing from the scope of the present invention.

Claims (7)

1. A relay chain-based data distribution system, comprising: the system comprises a database, a request analysis module, a data distribution module and a user terminal; information interaction is realized among all modules in a digital signal-based mode;
the user terminal is used for inputting a data acquisition request by a user, and the user terminal sends the acquired data acquisition request to the request analysis module;
the request analysis module is used for acquiring different data retrieval instructions according to the data file acquisition request and sending the data retrieval instructions to the database;
the database is used for processing the received different data retrieval instructions to obtain data packets and sending the data packets to the data distribution module;
the data distribution module is used for analyzing the data packet and distributing the data to the user terminal.
2. The system according to claim 1, wherein the user terminal comprises a smart phone and a computer.
3. The relay chain-based data distribution system according to claim 2, wherein the request analysis module synchronously obtains the sending time of the data file obtaining request sent by the user terminal, and marks the user terminal according to the time sequence;
the transmission time stamp is S i (ii) a Wherein i represents the number of the user terminal, and the value of iThe range is 1,2,3, 8230 \8230:n.
4. The relay link-based data distribution system according to claim 3, wherein the request analysis module obtains different data retrieval instructions according to the data file obtaining request, and the specific process includes:
the request analysis module sets an acquisition period, wherein the acquisition period is marked as T and the unit is second; wherein T is an integer greater than 0;
acquiring the total quantity of data file acquisition requests in an acquisition period, wherein the total quantity of the requests is marked as Q j (ii) a Wherein j is the number of the acquisition period, and the value range of j is 1,2,3, 8230, 8230n;
setting a data file acquisition request total amount threshold, wherein the request total amount threshold is marked as Q max (ii) a Wherein Q is max Is an integer greater than 0;
when Q is j <Q max Then, acquiring a first data retrieval instruction;
when Q is j ≥Q max And then, acquiring a second data retrieval instruction.
5. The relay chain-based data distribution system according to claim 4, wherein the database processes the data according to the received different data retrieval instructions, and the specific process includes:
the database receives a first data retrieval instruction, matches a corresponding data packet in the database according to the data file acquisition request, marks the corresponding data packet as a target data packet, analyzes the target data packet and sends the target data packet to the corresponding user terminal;
and the database receives a second data retrieval instruction, matches a corresponding data packet in the database according to the data file acquisition request, marks the corresponding data packet as a target data packet to be distributed, and sends the target data packet to be distributed to the data module to be distributed.
6. The relay link-based data distribution system according to claim 5, wherein the data to-be-distributed module distributes the target data packet to be distributed to the user terminal according to the data file acquisition request, and the specific process includes:
obtaining the file size of the target data packet to be distributed, wherein the file size is marked as W i Wherein i represents the number of the user terminal;
obtaining a data request coefficient according to the file size and the sending time, wherein the data request coefficient is marked as Y i
The calculation formula of the data request coefficient is as follows:
Figure FDA0003838560940000021
wherein D is the size of the data distribution channel; both alpha and beta are correction factors, and both alpha and beta are real numbers greater than 0;
and performing descending order arrangement on the data request coefficients, and analyzing and sending the target data packets to be distributed corresponding to the data request coefficients to the corresponding user terminals in sequence.
7. The relay chain-based data distribution system according to claim 6, wherein the user terminal is in communication and/or electrical connection with the request analysis module;
the request analysis module is in communication and/or electrical connection with the database;
the database is in communication and/or electrical connection with the data distribution module;
the data distribution module is in communication and/or electrical connection with the user terminal.
CN202211096943.XA 2022-09-08 2022-09-08 Data distribution system based on relay chain Withdrawn CN115589404A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211096943.XA CN115589404A (en) 2022-09-08 2022-09-08 Data distribution system based on relay chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211096943.XA CN115589404A (en) 2022-09-08 2022-09-08 Data distribution system based on relay chain

Publications (1)

Publication Number Publication Date
CN115589404A true CN115589404A (en) 2023-01-10

Family

ID=84771170

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211096943.XA Withdrawn CN115589404A (en) 2022-09-08 2022-09-08 Data distribution system based on relay chain

Country Status (1)

Country Link
CN (1) CN115589404A (en)

Similar Documents

Publication Publication Date Title
CN112653636B (en) Network data intelligent distribution service system
CN108810901A (en) A kind of malice number mark recognition methods based on block chain
ATE372009T1 (en) BILLING PROCESS IN A TELECOMMUNICATIONS NETWORK
EP0961516A3 (en) Plural communication connection setting method
CN111405633A (en) Power communication monitoring system based on cloud computing
CN101174993B (en) Network data monitoring and processing method and equipment
CN107622064A (en) A kind of method for reading data and system
CN110061931B (en) Industrial control protocol clustering method, device and system and computer storage medium
CN105045114A (en) Information processing method, cloud service platform and information processing system
CN115589404A (en) Data distribution system based on relay chain
DE60327098D1 (en) SYSTEM AND METHOD FOR SELECTING A COMMUNICATION NETWORK THROUGH A FINAL DEVICE
CN112835775B (en) Simulation network communication method and device and relay protection device simulation test system
CN103888372B (en) Traffic shaping method and data processing equipment
CN113676533A (en) Transmission channel determination method and system based on data compression of Internet of things
CN115086140A (en) Quality evaluation method and device of broadband service, electronic equipment and storage medium
DE60038576D1 (en) TELECOMMUNICATION SYSTEM AND METHOD FOR INFORMATION TRANSMISSION BETWEEN A CONTROL UNIT OF AN INTELLIGENT NETWORK AND A TERMINAL
CN115660791A (en) Order processing method and system for business trip service
CN115865707A (en) Internet data management system
CN102547711B (en) A kind of system and method detecting and tackle harassing call in IP signaling network
CN101527653B (en) Multi-segment correlation method based on text configuration files
CN111786831B (en) Communication system and method for optimizing communication session in real time
CN218387549U (en) Intelligent epidemic prevention scene linkage system based on Internet of things
CN201398238Y (en) System for obtaining note data
JP3123018B2 (en) Communication related information collection management method and system
CN108093423A (en) A kind of discovery method of base station location exception in user bill big data based on Ransac algorithms

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
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20230110