CN114172952A - Multi-site service data distribution method, system, equipment and medium - Google Patents

Multi-site service data distribution method, system, equipment and medium Download PDF

Info

Publication number
CN114172952A
CN114172952A CN202111369101.2A CN202111369101A CN114172952A CN 114172952 A CN114172952 A CN 114172952A CN 202111369101 A CN202111369101 A CN 202111369101A CN 114172952 A CN114172952 A CN 114172952A
Authority
CN
China
Prior art keywords
site
service data
configuration
information
current
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111369101.2A
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.)
Hangzhou Fangxiang Network Technology Co ltd
Original Assignee
Hangzhou Fangxiang Network Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Fangxiang Network Technology Co ltd filed Critical Hangzhou Fangxiang Network Technology Co ltd
Priority to CN202111369101.2A priority Critical patent/CN114172952A/en
Publication of CN114172952A publication Critical patent/CN114172952A/en
Pending legal-status Critical Current

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
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a method, a system, equipment and a medium for distributing multi-site service data; wherein the method comprises the following steps: acquiring the termination configuration information of the last distribution process; determining initial configuration information of the current allocation process based on the information of the sites to be allocated and the termination configuration information; acquiring unallocated service data; based on the initial configuration information and the site configuration sequence, repeatedly executing the data configuration process of the sites to be allocated to obtain the configuration relationship between each site to be allocated and the service data; and distributing each service data to the corresponding station to be distributed based on the configuration relation, thereby realizing that each service data is configured among the multiple stations according to the station configuration sequence and improving the sequence, the accuracy and the fairness of the data configuration among the multiple stations.

Description

Multi-site service data distribution method, system, equipment and medium
Technical Field
The present invention belongs to the field of communication technology, and more particularly, to a method, system, device, and medium for multi-site service data allocation.
Background
Currently, with the rapid development of internet business modules, more and more business service platforms need to distribute business data to each data processing site through the internet so as to store, analyze and process the data. For example, platforms such as a tremble platform and a microblog platform can respectively push business data of a user to goods and services to pre-associated sales company sites, so that each sales company can conveniently carry out targeted sales, popularization and other business activities according to the received business data of the user; however, based on the existing service data allocation method, in the process of allocating each service data to a plurality of sites, after the data allocation process is executed once, when the data allocation process is restarted again, the situations that the allocation mechanism is wrong, the site allocation sequence is disturbed, and the like often occur. For example, when the last allocation process is terminated and allocated to site a, the initial site jumps to site f when the next new allocation process is executed without executing the allocation process after the next sequential site b after site a according to the site configuration sequence; or in the data distribution process of multiple sites, a site with a low priority is divided into 5 service data, and a site with a high priority is distributed into 1 service data, so that the distribution efficiency and the distribution effect when the service data are distributed among the multiple sites are reduced, and the fairness and the orderliness of the distribution among the sites of the service data are influenced.
Disclosure of Invention
In view of the above disadvantages in the prior art, an object of the present invention is to provide a method, a system, a device, and a medium for allocating multi-site service data, which are used to solve the problems that when the existing service data is allocated among multiple sites for multiple times, the allocation sequence of the service data is discontinuous between the prior allocation process and the subsequent allocation process, and the sequence is easily disordered, over-allocated, and under-allocated.
To achieve the above and other related objects, a first aspect of the present invention provides a method for allocating multi-site service data, which is used to implement cyclic allocation of service data among multiple sites, and in executing a current allocation process, the method for allocating multi-site service data includes: acquiring the termination configuration information of the last distribution process; the termination configuration information comprises a site number and a configured number of a termination site; determining initial configuration information of the current allocation process based on the information of the sites to be allocated and the termination configuration information; the information of the sites to be distributed comprises site numbers of the sites to be distributed, the number of processing ports and a site configuration sequence among the sites; the initial configuration information comprises a site number of an initial site; acquiring unallocated service data; based on the initial configuration information and the site configuration sequence, repeatedly executing the data configuration process of the sites to be allocated, so that in a single data configuration execution process, the number of the service data configured by the sites to be allocated does not exceed the number of the corresponding processing ports, thereby obtaining the configuration relationship between each site to be allocated and the service data; and distributing each service data to the corresponding site to be distributed based on the configuration relation.
In an embodiment of the present invention, before determining the initial configuration information of the current allocation process, the method for allocating multi-site service data further includes: and acquiring the current information of the station to be distributed, and determining the initial configuration information of the current distribution process based on the termination configuration information and the current information of the station to be distributed.
In an embodiment of the present invention, the determining the initial configuration information of the current allocation process includes: detecting whether the configured number of the termination site is smaller than the number of the processing ports corresponding to the termination site, if so, setting the site number of the initial site to be the same as the site number of the termination site; if not, the site number of the initial site is set as the site number of the next sequential site after the termination site according to the site configuration sequence.
In an embodiment of the present invention, the repeatedly executing the data configuration process of the to-be-allocated station includes: determining a current station to be configured; detecting whether the unallocated service data volume is less than X; if so, exiting the data configuration process; if not, extracting X pieces of service data from the unallocated service data, configuring the corresponding site as the current site to be configured, and accumulating the configured number of the current site to be configured by X to obtain a new configured number of the current site to be configured; detecting whether the new configured number reaches the number of processing ports corresponding to the current station to be configured, if not, executing the next data configuration process; if so, configuring the site corresponding to the X pieces of service data as a next site of the site to be configured, setting the configured number corresponding to the next site as X, and executing the next data configuration process.
In an embodiment of the present invention, the method for allocating multi-site service data further includes: storing the configured service data to obtain configured service data information; then the obtaining of the unconfigured service data includes: and screening the obtained original service data based on the configured service data information to obtain service data which is not configured in the original service data.
In a second aspect, the present invention provides a multi-site service data distribution system, configured to implement cyclic distribution of service data among multiple sites, where the multi-site service data distribution system includes: a termination configuration acquisition module, configured to acquire termination configuration information of a last allocation process; the termination configuration information comprises a site number and a configured number of a termination site; an initial configuration acquisition module, configured to determine initial configuration information of a current allocation process according to information of a to-be-allocated site and the termination configuration information; the information of the sites to be distributed comprises site numbers of the sites to be distributed, the number of processing ports and a site configuration sequence among the sites; the initial configuration information comprises a site number of an initial site; the data input module is used for acquiring the unallocated service data; a configuration relationship obtaining module, configured to repeatedly execute a data configuration process of the to-be-allocated sites based on the initial configuration information and the site configuration sequence, so that in a single execution of the data configuration process, the number of service data configured by the to-be-allocated sites does not exceed the number of corresponding processing ports, so as to obtain a configuration relationship between each to-be-allocated site and the service data; and the distribution module is used for distributing each service data to the corresponding site to be distributed based on the configuration relation.
In an embodiment of the present invention, the multi-site service data distribution system further includes: and the station information updating module is used for acquiring the current information of the station to be distributed so as to update the current information of the station to be distributed, so that the initial configuration acquiring module determines the initial configuration information of the current distribution process based on the termination configuration information and the updated information of the station to be distributed.
In an embodiment of the present invention, the initial configuration acquiring module includes: a detection judgment sub-module: the system comprises a detection module, a processing module and a processing module, wherein the detection module is used for detecting whether the configured number of the termination site is smaller than the number of the processing ports corresponding to the termination site, if so, the site number of the initial site is set to be the same as the site number of the termination site; if not, the site number of the initial site is set as the site number of the next sequential site after the termination site according to the site configuration sequence.
In an embodiment of the present invention, the configuration relationship obtaining module includes: the previous station to be configured submodule is used for determining a current station to be configured; the first detection and configuration submodule is used for detecting whether the unallocated business data volume is less than X; if yes, quitting the configuration relation acquisition module; if not, extracting X pieces of service data from the unallocated service data, configuring the corresponding site as the current site to be configured, and accumulating the configured number of the current site to be configured by X to obtain a new configured number of the current site to be configured; a second detection and configuration submodule, configured to detect whether the new configured number reaches the number of processing ports corresponding to the current station to be configured, and if not, start the next operation of the configuration relationship acquisition module; if so, configuring the site corresponding to the X pieces of service data as a next-cis site of the site to be currently configured, setting the configured number corresponding to the next-cis site as X, and starting the next operation of the configuration relationship acquisition module.
The present invention provides, in a third aspect, an electronic device, comprising: a processor, a communication interface, a memory, and a communication bus; the processor, the communication interface and the memory complete mutual communication through the communication bus; the memory is used for storing at least one instruction; the instructions cause the processor to perform the multi-site traffic data distribution method as described in any one of the above.
The present invention provides, in a fourth aspect, a computer storage medium storing a computer program, wherein the computer program is executed by a processor to implement the multi-site service data distribution method according to any one of the above.
As described above, the method, system, device and medium for allocating multi-site service data provided by the present invention can implement configuration of each service data among multiple sites according to a site configuration sequence, and implement that a configuration sequence of sites when a previous allocation process is terminated is consecutive to a configuration sequence of sites when a subsequent allocation process is initiated, thereby avoiding confusion, misconfiguration, missing configuration, overload configuration, and the like of the configuration sequence when the next execution is performed after the allocation process is completed or interrupted.
Drawings
Fig. 1 is a schematic flow chart of a multi-site service data distribution method according to an embodiment of the present invention;
FIG. 2 is a flow diagram illustrating an embodiment of a process for repeatedly performing data allocation for the sites to be allocated;
fig. 3 is a schematic structural diagram of the multi-site service data distribution system according to the present embodiment;
Detailed Description
The embodiments of the present invention are described below with reference to specific embodiments, and other advantages and effects of the present invention will be easily understood by those skilled in the art from the disclosure of the present specification. The invention is capable of other and different embodiments and of being practiced or of being carried out in various ways, and its several details are capable of modification in various respects, all without departing from the spirit and scope of the present invention.
It should be noted that, without conflict, the features in the following examples and examples may be combined with each other, and the modules or units or processing means in the embodiments described herein and shown in the drawings may be combined and designed in various different configurations; and step symbolic representations shown in the following description of the embodiments and in the accompanying flowcharts, although logical sequences are shown, in some cases the contents of the steps shown or described may be performed in a different order than here.
Example 1
In order to solve the technical problems in the prior art, embodiment 1 of the present invention provides a multi-site service data allocation method, which is based on the method for executing service data allocation among multiple sites, and can implement sequential configuration of each data among the sites, and can implement consecutive configuration sequence when the allocation process is terminated and the allocation process is initiated, thereby avoiding the problems of configuration sequence confusion, misconfiguration, and configuration omission, etc. when the allocation process is completed or interrupted, and is executed next time.
The service data includes, but is not limited to, the user's mobile phone information, access service content, access service type, and other existing service information.
The site includes but is not limited to a network site, a service terminal interface or other existing network application interface; each site comprises each processing port and is used for storing, processing and the like the received access information; for example, the website is a network sales website, and the website comprises a plurality of network sub-ports for processing and distributing sales information.
It should be noted that the number of processing ports in each station may be a fixed value or a variable value, and is not limited herein.
The distribution process of the service data can be repeatedly executed by utilizing the multi-site service data distribution method provided by the invention. In performing a single dispense process, as shown in fig. 1, the method includes the steps of:
s100, acquiring the number of processing ports and station sequence information of each current station, and acquiring termination configuration information in the last distribution process;
specifically, the termination configuration information includes a station number and a configured number of the termination station.
And the termination site is a site configured to the last service data in the last distribution process.
The configured number is the number of processing ports configured to the service data in the site.
In one embodiment, the site number and the configured number of the site are an array, which is: { is _ team ═ m, is _ num ═ n }; wherein is _ team represents the site number of the site, and is _ num represents the configured number of the site; the is _ team ═ m represents the station number of the station as m, and the is _ num ═ n represents the configured number of the stations as n; the method for obtaining the site number and the configured number of the end site includes: when the site configuration of the last service data in the last distribution process is executed, the configured site number and the distributed number of the site corresponding to the site number are stored in the array as the site number and the configured number of the terminating site.
In another embodiment, the configured service data and the corresponding site related information are stored respectively to obtain a configuration record of the service data; wherein the site related information at least comprises the site number and the configured number of the site; the manner of acquiring the station number and the configured number of the terminating station includes: after the last allocation process is executed, the last record is extracted from the allocation records, and the station number and the configured number in the last record are obtained.
More specifically, the configuration record is stored in a cache space, so that the reading pressure on the database can be reduced and the reading speed can be improved compared with the configuration record stored in the database.
S200, determining initial configuration information of the current distribution process based on the information of the sites to be distributed and the termination configuration information;
the information of the sites to be distributed comprises the site numbers of the sites to be distributed, the processing port numbers of the sites and the site configuration sequence among the sites; the initial configuration information includes a site number of the initial site.
The number of the processing ports corresponds to the site number, is the total number of the processing ports in the corresponding site, and is used for representing the bearing capacity of each site for processing the service data.
The station configuration sequence is the sequence of the service data allocated to each station, and is used for representing the priority of the service data allocated to each station.
The initial site is a site configured to the service data first in the current allocation process, that is, a site configured when the 1 st service data in the current allocation process is configured.
Specifically, based on the station number and the configured number of the terminating station, the station number of the initial station in the current configuration process is determined according to the processing port number and the station sequence information corresponding to the terminating station.
In a specific embodiment, it is detected whether the configured number of the terminating station is smaller than the number of the processing ports corresponding to the terminating station, if so, the station number of the initial station is set to be the same as the station number of the terminating station, and if not, the station number of the initial station is set to be the station number of the station located immediately after the terminating station in the station configuration order.
The station configuration sequence is that the station sequence is located at the station behind the termination station.
For example, when the terminating station is station 8, the current processing port number of the terminating station is 100; in the station sequence information, the station of the next order is a station 9; when the configured number of the final sites is detected to be 98 and is smaller than 100, the site number of the initial site in the current distribution process is set to be 8; then when detecting that the configured number of the final sites is 101 and is greater than 100, setting the site number of the initial site of the current allocation process to be 9.
In another embodiment, during or after the last time the allocation process is executed, the information of the to-be-allocated sites is changed, for example, the number of the processing ports in the to-be-allocated sites is increased or decreased; in order to ensure that the station configuration sequence of the service data is consistent in the sequential allocation process and avoid the problems of service data allocation sequence confusion, allocated data exceeding the station bearing capacity, or no data allocated to the station due to station number variation or processing port number variation, and the like, the multi-station service data allocation method further includes, before determining the initial configuration information:
acquiring the current latest information of the station to be distributed, and determining the initial configuration information of the current distribution process based on the current latest information of the station to be distributed and the termination configuration information; determining an implementation manner of the initial configuration information, further comprising: and detecting whether the site number of the termination site exists in the site numbers of the sites to be distributed, and if not, initializing the site number of the initial site.
Optionally, the initializing the site number of the initial site includes: and setting the station number of the initial station as the station number of the first sequence station in the station sequence.
S300, acquiring unallocated service data; based on the initial configuration information and the site configuration sequence, repeatedly executing the data configuration process of the sites to be allocated to obtain the configuration relationship between each site to be allocated and the service data;
and sequentially configuring each service data for each site to be allocated according to the site configuration sequence based on the site number of the initial site, so that each site to be allocated sequentially configures the service data based on the site configuration sequence, and the configured service data volume of each site to be allocated does not exceed the corresponding processing port number in a single data configuration process.
Specifically, the repeatedly executing the data configuration process of the station to be allocated includes the following substeps:
s301, determining a current station to be configured;
namely, the station to which the service data is newly configured in the currently executed data configuration process is determined.
When the data configuration process for the first time in the current allocation process is executed, determining that the current station to be configured is the initial station, that is, when the service data in the current allocation process is extracted for the first time to configure the station, taking the station number of the initial station as the station number of the current station to be configured; when the data configuration process except the first time is executed, determining the current site to be configured as the site to which the service data is configured in the last data configuration process.
S302, detecting whether the unallocated service data volume is less than X; if yes, the step S300 is exited; if not, extracting X pieces of service data from the unallocated service data as current data;
s303, configuring the site corresponding to the current data as the current site to be configured, and accumulating X for the configured number of the current site to be configured to obtain a new configured number of the current site to be configured;
specifically, the site number of the site corresponding to each piece of current data is set to be the site number of the site to be currently configured, and the configured number corresponding to the site to be currently configured is accumulated by X to obtain a new configured number corresponding to the configured number.
S304, detecting whether the new configured number reaches the processing port number corresponding to the current station to be configured, if so, configuring the station corresponding to the X pieces of service data as a next site of the current station to be configured, and setting the configured number corresponding to the next site as X; if not, keeping the site corresponding to the X pieces of service data as the current site to be configured;
wherein X is the number of preset service data to be configured in the process of executing single data configuration, that is, a person skilled in the art can set the number according to an actual usage scenario, which is not limited herein.
S305, executing the data configuration process for the next time until the step S300 exits;
it should be noted that in other embodiments, the sub-step S302 may be performed later than the sub-step S304, i.e., the sub-step S302 is performed after the sub-step S304 is performed.
To more clearly illustrate the above process of step S3, the following description is given by way of an exemplary embodiment;
in ten pieces of service data which are not configured, after the 1 st piece of data is configured, when the 2 nd piece of data is configured, extracting a site number of a site configured by the 1 st piece of data as a current site to be configured, and setting the current site to be configured and a configured number corresponding to the current site to be configured as {1_ team ═ b, and 1_ num ═ 6}, then setting the site number and the configured number corresponding to the 2 nd piece of data as {2_ team ═ b, and 2_ num ═ 7 }; wherein 2_ team is the site number of the second data, and 2_ num is the configured number corresponding to the site; then 2_ team ═ 1_ team ═ b,2_ num ═ 1_ num +1 ═ 7; acquiring the number k of processing ports corresponding to the station number; detecting whether the configured number 2_ team is larger than a processing port k corresponding to the site number; when the number is larger than k, configuring the station number of the second data as the station number c of the next station, and setting the configured number of the second data to be 1, namely, making {2_ team ═ c,2_ num ═ 1 }; when k is not greater than k, let {2_ team ═ b,2_ num ═ 7 }; and detecting whether the unallocated service data exists, if so, continuing to execute the steps until the unallocated service data does not exist, namely, all the service data are configured, and then exiting the step.
And S400, distributing each service data to the corresponding site to be distributed based on the configuration relation.
Specifically, a site database is arranged in each site and used for storing received service data; and transmitting the service data configured to the same site to a database of the corresponding site for storage according to the corresponding relationship between the service data and the site number in the configuration relationship.
Optionally, the method for allocating multi-site service data further includes:
storing the configured service data to obtain configured service data information;
and, in the step S300, the acquiring the service data not configured includes:
and screening the acquired original service data based on the configured service data message, and acquiring the service data which is not configured in the original service data as the service data which is not configured.
Specifically, when a user accesses an application server, the application server reads and stores service data of the user to form original access information data; and screening the original access information data based on the configured service data information to obtain service data which is not configured.
Example 2
To solve the technical problems in the prior art, the present invention provides, in embodiment 2, a multi-site service data distribution system 3 for implementing the multi-site service data distribution method described in embodiment 1.
Referring to fig. 3, a schematic flow chart of the multi-site service data distribution system in the present embodiment is shown; as shown in fig. 3, the multi-site service data distribution system 3 includes: a terminating configuration acquiring module 31, an initial configuration acquiring module 32, a data input module 33, a configuration relation acquiring module 34 and an allocation module 35.
The termination configuration acquisition module is used for acquiring termination configuration information of the last distribution process;
specifically, the termination configuration information includes a site number and a configured number of a termination site;
the initial configuration acquisition module is used for determining the initial configuration information of the current distribution process according to the information of the sites to be distributed and the termination configuration information;
the information of the sites to be distributed comprises site numbers of the sites to be distributed, the number of processing ports and a site configuration sequence among the sites; the initial configuration information includes a site number of the initial site.
Specifically, in the initial configuration obtaining module, the implementation manner of determining the initial configuration information of the current allocation process according to the termination configuration information and the to-be-allocated site information is the same as that in embodiment 1, and details are not repeated here.
The data input module is used for acquiring unallocated service data;
the configuration relationship obtaining module is configured to repeatedly execute the data configuration process of the to-be-allocated sites based on the initial configuration information and the site configuration sequence, so that the number of the service data configured by the to-be-allocated sites does not exceed the number of the corresponding processing ports in a single execution of the data configuration process, so as to obtain the configuration relationship between each to-be-allocated site and the service data;
optionally, the configuration relationship obtaining module includes: the system comprises a site to be configured front submodule, a first detection and configuration submodule and a second detection and configuration submodule;
the previous station submodule to be configured is used for determining a current station to be configured;
the first detection and configuration submodule is used for detecting whether the unallocated service data volume is less than X; if yes, quitting the configuration relation acquisition module; if not, extracting X pieces of service data from the unallocated service data, configuring the corresponding site as the current site to be configured, and accumulating the configured number of the current site to be configured by X to obtain a new configured number of the current site to be configured;
the second detection and configuration submodule is used for detecting whether the new configured number reaches the processing port number corresponding to the current station to be configured, and if not, starting the next operation of the configuration relationship acquisition module; if so, configuring the site corresponding to the X pieces of service data as a next-cis site of the site to be currently configured, setting the configured number corresponding to the next-cis site as X, and starting the next operation of the configuration relationship acquisition module.
Wherein, X is the quantity of the configured service data in the single data configuration process; optionally, X is 1.
In this embodiment, the allocation module is configured to allocate each service data to the corresponding station to be allocated based on the configuration relationship.
Optionally, the multi-site service data distribution system further includes: the station information updating module and the storage module;
the station information updating module is configured to acquire current station information to be allocated to update the current station information to be allocated, so that the initial configuration acquiring module determines initial configuration information of a current allocation process based on the termination configuration information and the updated station information to be allocated;
the storage module is used for storing the configured service data to obtain configured service data information; the data input module further comprises: a data screening submodule; the data screening submodule is connected with the storage module and is used for screening the acquired original service data based on the configured service data information and acquiring service data which is not configured in the original service data.
Example 3
To solve the technical problems in the prior art, embodiment 3 of the present invention provides an electronic device for implementing distribution of service data among multiple sites.
The electronic device includes: a processor, a memory, a communication interface, and a system bus; the memory and the communication interface are connected with the processor through a system bus and complete mutual communication, and the memory is used for storing at least one instruction which enables the processor to execute the steps of the multi-site service data distribution method in the embodiment 1.
The Processor may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the Integrated Circuit may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, or discrete hardware components.
Example 4
The present invention also provides a computer-readable storage medium having stored thereon a computer program which, when invoked by a processor, implements the steps of the multi-site service data distribution method as described in embodiment 1 above. The computer-readable storage medium may include a Random Access Memory (RAM), and may further include a non-volatile Memory (non-volatile Memory), such as at least one disk Memory.
In summary, the multi-site service data allocation method, system, device and computer storage medium provided by the present invention determine the initial configuration information of the allocation process based on the termination configuration information of the last allocation process and the information of the sites to be allocated, so as to construct the configuration relationship between each site to be allocated and the service data by executing the data configuration process of the sites to be allocated based on the initial configuration information and the site configuration sequence, thereby not only realizing sequential configuration of each data among the sites according to the site configuration sequence, but also realizing the consecutive configuration sequence between the termination of the first allocation process and the initiation of the subsequent allocation process, avoiding the problems of configuration sequence confusion, misconfiguration, missing configuration, overload configuration and the like when the next allocation process is performed after the allocation process is completed or interrupted, and further improving the accuracy, the data configuration between the sites, Ordering and high efficiency.
The foregoing embodiments are merely illustrative of the principles and utilities of the present invention and are not intended to limit the invention. Any person skilled in the art can modify or change the above-mentioned embodiments without departing from the spirit and scope of the present invention. Accordingly, it is intended that all equivalent modifications or changes which can be made by those skilled in the art without departing from the spirit and technical spirit of the present invention be covered by the claims of the present invention.

Claims (11)

1. A multi-site service data distribution method, configured to implement cyclic distribution of service data among multiple sites, where in a current distribution process, the multi-site service data distribution method includes:
acquiring the termination configuration information of the last distribution process; the termination configuration information comprises a site number and a configured number of a termination site;
determining initial configuration information of the current allocation process based on the information of the sites to be allocated and the termination configuration information; the information of the sites to be distributed comprises site numbers of the sites to be distributed, the number of processing ports and a site configuration sequence among the sites; the initial configuration information comprises a site number of an initial site;
acquiring unallocated service data; based on the initial configuration information and the site configuration sequence, repeatedly executing the data configuration process of the sites to be allocated, so that in a single data configuration execution process, the number of the service data configured by the sites to be allocated does not exceed the number of the corresponding processing ports, thereby obtaining the configuration relationship between each site to be allocated and the service data; and the number of the first and second groups,
and distributing each service data to the corresponding site to be distributed based on the configuration relation.
2. The method of claim 1, wherein before determining the initial configuration information of the current allocation procedure, the method further comprises:
and acquiring the current information of the station to be distributed, and determining the initial configuration information of the current distribution process based on the termination configuration information and the current information of the station to be distributed.
3. The method according to claim 1 or 2, wherein the determining the initial configuration information of the current allocation procedure comprises:
detecting whether the configured number of the termination site is smaller than the number of the processing ports corresponding to the termination site, if so, setting the site number of the initial site to be the same as the site number of the termination site; if not, the site number of the initial site is set as the site number of the next sequential site after the termination site according to the site configuration sequence.
4. The method according to claim 1, wherein the repeatedly executing the data configuration process of the station to be allocated includes:
determining a current station to be configured;
detecting whether the unallocated service data volume is less than X; if so, exiting the data configuration process; if not, extracting X pieces of service data from the unallocated service data, configuring the corresponding site as the current site to be configured, and accumulating the configured number of the current site to be configured by X to obtain a new configured number of the current site to be configured;
detecting whether the new configured number reaches the number of processing ports corresponding to the current station to be configured, if not, executing the next data configuration process; if so, configuring the site corresponding to the X pieces of service data as a next site of the site to be configured, setting the configured number corresponding to the next site as X, and executing the next data configuration process.
5. The multi-site service data distribution method according to claim 1, further comprising:
storing the configured service data to obtain configured service data information;
then the obtaining of the unconfigured service data includes: and screening the obtained original service data based on the configured service data information to obtain service data which is not configured in the original service data.
6. A multi-site service data distribution system, configured to implement cyclic distribution of service data among multiple sites, the multi-site service data distribution system comprising:
a termination configuration acquisition module, configured to acquire termination configuration information of a last allocation process; the termination configuration information comprises a site number and a configured number of a termination site;
an initial configuration acquisition module, configured to determine initial configuration information of a current allocation process according to information of a to-be-allocated site and the termination configuration information; the information of the sites to be distributed comprises site numbers of the sites to be distributed, the number of processing ports and a site configuration sequence among the sites; the initial configuration information comprises a site number of an initial site;
the data input module is used for acquiring the unallocated service data;
a configuration relationship obtaining module, configured to repeatedly execute a data configuration process of the to-be-allocated sites based on the initial configuration information and the site configuration sequence, so that in a single execution of the data configuration process, the number of service data configured by the to-be-allocated sites does not exceed the number of corresponding processing ports, so as to obtain a configuration relationship between each to-be-allocated site and the service data;
and the distribution module is used for distributing each service data to the corresponding site to be distributed based on the configuration relation.
7. The multi-site business data distribution system of claim 6, further comprising:
and the station information updating module is used for acquiring the current information of the station to be distributed so as to update the current information of the station to be distributed, so that the initial configuration acquiring module determines the initial configuration information of the current distribution process based on the termination configuration information and the updated information of the station to be distributed.
8. The multi-site service data distribution system according to claim 6, wherein the initial configuration acquiring module comprises:
a detection judgment sub-module: the system comprises a detection module, a processing module and a processing module, wherein the detection module is used for detecting whether the configured number of the termination site is smaller than the number of the processing ports corresponding to the termination site, if so, the site number of the initial site is set to be the same as the site number of the termination site; if not, the site number of the initial site is set as the site number of the next sequential site after the termination site according to the site configuration sequence.
9. The multi-site service data distribution system according to claim 6, wherein the configuration relationship obtaining module comprises:
the previous station to be configured submodule is used for determining a current station to be configured;
the first detection and configuration submodule is used for detecting whether the unallocated business data volume is less than X; if yes, quitting the configuration relation acquisition module; if not, extracting X pieces of service data from the unallocated service data, configuring the corresponding site as the current site to be configured, and accumulating the configured number of the current site to be configured by X to obtain a new configured number of the current site to be configured;
a second detection and configuration submodule, configured to detect whether the new configured number reaches the number of processing ports corresponding to the current station to be configured, and if not, start the next operation of the configuration relationship acquisition module; if so, configuring the site corresponding to the X pieces of service data as a next-cis site of the site to be currently configured, setting the configured number corresponding to the next-cis site as X, and starting the next operation of the configuration relationship acquisition module.
10. An electronic device, comprising: a processor, a memory; the memory is used for storing at least one instruction; the instructions cause the processor to perform the multi-site traffic data distribution method according to any one of claims 1 to 5.
11. A computer storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the multi-site service data distribution method according to any one of claims 1 to 5.
CN202111369101.2A 2021-11-12 2021-11-12 Multi-site service data distribution method, system, equipment and medium Pending CN114172952A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111369101.2A CN114172952A (en) 2021-11-12 2021-11-12 Multi-site service data distribution method, system, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111369101.2A CN114172952A (en) 2021-11-12 2021-11-12 Multi-site service data distribution method, system, equipment and medium

Publications (1)

Publication Number Publication Date
CN114172952A true CN114172952A (en) 2022-03-11

Family

ID=80479582

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111369101.2A Pending CN114172952A (en) 2021-11-12 2021-11-12 Multi-site service data distribution method, system, equipment and medium

Country Status (1)

Country Link
CN (1) CN114172952A (en)

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1581747A (en) * 2003-08-15 2005-02-16 华为技术有限公司 Ground wireless access network flow control method for general mobile communication system
JP2006123750A (en) * 2004-10-29 2006-05-18 West Japan Railway Co Allocation support device and program of operation schedule
US20130061203A1 (en) * 2011-09-06 2013-03-07 International Business Machines Corporation Modeling Task-Site Allocation Networks
WO2015139310A1 (en) * 2014-03-21 2015-09-24 华为技术有限公司 Service allocation method and related device
CN107872892A (en) * 2016-09-28 2018-04-03 中兴通讯股份有限公司 A kind of wireless resource allocation methods and device
CN108256706A (en) * 2016-12-28 2018-07-06 平安科技(深圳)有限公司 Method for allocating tasks and device
CN110909034A (en) * 2019-10-14 2020-03-24 中国平安人寿保险股份有限公司 Service data distribution method, device, terminal equipment and storage medium
CN111427682A (en) * 2020-03-11 2020-07-17 支付宝(杭州)信息技术有限公司 Task allocation method, system, device and equipment
CN111598432A (en) * 2020-05-13 2020-08-28 山东浪潮通软信息科技有限公司 Task allocation method and device
CN111738551A (en) * 2020-05-21 2020-10-02 北京京东乾石科技有限公司 Task allocation method, device, equipment and storage medium
CN112131006A (en) * 2020-09-27 2020-12-25 腾讯科技(深圳)有限公司 Service request distribution method, device, computer equipment and storage medium
CN113095911A (en) * 2021-04-26 2021-07-09 北京京东振世信息技术有限公司 Order processing method and device, electronic equipment and computer readable medium
CN113407322A (en) * 2021-06-21 2021-09-17 平安国际智慧城市科技股份有限公司 Multi-terminal task allocation method and device, electronic equipment and readable storage medium

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1581747A (en) * 2003-08-15 2005-02-16 华为技术有限公司 Ground wireless access network flow control method for general mobile communication system
JP2006123750A (en) * 2004-10-29 2006-05-18 West Japan Railway Co Allocation support device and program of operation schedule
US20130061203A1 (en) * 2011-09-06 2013-03-07 International Business Machines Corporation Modeling Task-Site Allocation Networks
WO2015139310A1 (en) * 2014-03-21 2015-09-24 华为技术有限公司 Service allocation method and related device
CN107872892A (en) * 2016-09-28 2018-04-03 中兴通讯股份有限公司 A kind of wireless resource allocation methods and device
CN108256706A (en) * 2016-12-28 2018-07-06 平安科技(深圳)有限公司 Method for allocating tasks and device
CN110909034A (en) * 2019-10-14 2020-03-24 中国平安人寿保险股份有限公司 Service data distribution method, device, terminal equipment and storage medium
CN111427682A (en) * 2020-03-11 2020-07-17 支付宝(杭州)信息技术有限公司 Task allocation method, system, device and equipment
CN111598432A (en) * 2020-05-13 2020-08-28 山东浪潮通软信息科技有限公司 Task allocation method and device
CN111738551A (en) * 2020-05-21 2020-10-02 北京京东乾石科技有限公司 Task allocation method, device, equipment and storage medium
CN112131006A (en) * 2020-09-27 2020-12-25 腾讯科技(深圳)有限公司 Service request distribution method, device, computer equipment and storage medium
CN113095911A (en) * 2021-04-26 2021-07-09 北京京东振世信息技术有限公司 Order processing method and device, electronic equipment and computer readable medium
CN113407322A (en) * 2021-06-21 2021-09-17 平安国际智慧城市科技股份有限公司 Multi-terminal task allocation method and device, electronic equipment and readable storage medium

Similar Documents

Publication Publication Date Title
CN107104824B (en) Network topology determination method and device
CN110738389A (en) Workflow processing method and device, computer equipment and storage medium
CN109831334B (en) Network topology construction method and device and terminal equipment
CN107396199A (en) Barrage method for exhibiting data and device, computer-readable recording medium
CN109885786A (en) Data buffer storage processing method, device, electronic equipment and readable storage medium storing program for executing
CN108304272B (en) Data IO request processing method and device
CN109756533B (en) Mirror image acceleration method and device and server
CN110928681A (en) Data processing method and device, storage medium and electronic device
CN111813517A (en) Task queue allocation method and device, computer equipment and medium
CN110290228B (en) Internet protocol IP address allocation method and device
CN108038171B (en) Data writing method and device and data server
CN110286981A (en) The display methods and display system of the use state of virtual cloud desktop server
CN110365783B (en) File deployment method and device, network node and storage medium
CN109309858B (en) Display method, device, equipment and medium of mutually exclusive icon
CN114172952A (en) Multi-site service data distribution method, system, equipment and medium
CN108810130B (en) Method and device for planning distribution request
CN111884932B (en) Link determining method, device, equipment and computer readable storage medium
CN114153594A (en) Content distribution network preheating method, system, electronic equipment and storage medium
CN112883239A (en) Resource allocation method and device, computer equipment and storage medium
CN113194039B (en) Method and device for segmenting system data flow, electronic equipment and storage medium
CN113688159B (en) Data extraction method and device
CN112383480B (en) Flow table processing method and device, monitoring device and storage medium
CN110209645A (en) Task processing method, device, electronic equipment and storage medium
CN110290482B (en) Multimedia message processing method, system and terminal equipment
CN113472565B (en) Method, apparatus, device and computer readable medium for expanding server function

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