CN114567630A - Intelligent form generation method based on process engine - Google Patents
Intelligent form generation method based on process engine Download PDFInfo
- Publication number
- CN114567630A CN114567630A CN202210463054.6A CN202210463054A CN114567630A CN 114567630 A CN114567630 A CN 114567630A CN 202210463054 A CN202210463054 A CN 202210463054A CN 114567630 A CN114567630 A CN 114567630A
- Authority
- CN
- China
- Prior art keywords
- data
- point
- distribution
- dynamic
- static
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/06—Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/22—Indexing; Data structures therefor; Storage structures
- G06F16/2282—Tablespace storage structures; Management thereof
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/104—Peer-to-peer [P2P] networks
- H04L67/1074—Peer-to-peer [P2P] networks for supporting data block transmission mechanisms
- H04L67/1078—Resource delivery mechanisms
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention provides an intelligent form generating method based on a process engine, which comprises the steps of sending form data to a first static point through a first dynamic point, determining a second static point by the first static point according to decision attributes of the form data, wherein the second static point is a form distribution point; the second static point receives the form data sent by the first static point, distributes the form data to a second dynamic point connected with the second static point, counts a dynamic ID data set of the second dynamic point, and compares the dynamic ID data set with a historical ID data set to obtain a disconnected ID data set; if the disconnection ID data set is judged not to be empty, generating a distribution waiting interval according to the disconnection ID data set and the historical ID data set, and controlling the second static point to distribute form data to the second dynamic point based on the distribution waiting interval; and the receipt data is ensured by intelligently distributing the form data for multiple times.
Description
Technical Field
The invention relates to a data processing technology, in particular to an intelligent form generation method based on a process engine.
Background
Currently, most enterprises are too rigid to distribute data after generating smart forms based on processes, such as: and after the administrative department sends the established regulation form through the server, at the moment, the server only sends the form data to a receiving end connected to the server, and only sends the form data once, and people who do not receive the form data can only wait for the forwarding of other people.
Therefore, how to realize multiple times of intelligent distribution of the intelligent form becomes an urgent problem to be solved.
Disclosure of Invention
The embodiment of the invention provides an intelligent form generation method based on a process engine, which can ensure that each receiving end can receive a corresponding intelligent form by sending the intelligent forms at intelligent intervals, and can distribute the intelligent forms in real time according to different working efficiency of each department, so that each department has corresponding workload.
In a first aspect of the embodiments of the present invention, a method for generating an intelligent form based on a process engine is provided, where a dynamic point is distributed based on a process engine generated form through the following steps, and the method specifically includes:
the method comprises the steps that a first dynamic point sends form data to a first static point, the first static point determines a second static point according to decision attributes of the form data, and the second static point is a form distribution point;
the second static point receives the form data sent by the first static point, distributes the form data to a second dynamic point connected with the second static point, and counts the dynamic state of the second dynamic pointData set, dynamic state ofData sets and historiesData set comparison resulting in disconnectionA data set;
if the disconnection is judgedIf the data set is not empty, then the disconnection is performedData set and historyAnd generating a distribution waiting interval by the data set, and controlling the second static point to distribute the form data to the second dynamic point based on the distribution waiting interval.
Optionally, in a possible implementation manner of the first aspect, the form data sent by the first static point is received at the second static point, and the form data is distributed to a second dynamic point connected to the second static point, and statistics of the dynamic state of the second dynamic point is performedData set, dynamic state ofData set and historyData set comparison resulting in disconnectionThe step of the data set specifically includes:
the second static point receives the form data sent by the first static point and distributes the form data to a second dynamic point connected with the second static point;
counting second dynamic points currently connected to said second static pointComposition dataset generation dynamicsA data set;
the historyThe data set being all second dynamic points connected to said second static pointComposition data set generation historyA data set;
according to historyData sets and trendsThe difference set of the data set is disconnectedA data set.
Optionally, in a possible implementation manner of the first aspect, the disconnection is determined if the disconnection is determinedIf the data set is not empty, then the disconnection is performedData set and historyThe step of generating a distribution waiting interval by the data set, and controlling the second static point to distribute the form data to the second dynamic point based on the distribution waiting interval specifically includes:
if said disconnection occursIf the data set is empty, the second static point sends the form data to a second dynamic point connected with the second static point;
if said disconnection occursIf the data set is not empty, the data set is disconnected according to the file attribute of the form dataOf data setsQuantity and said historyOf data setsThe distribution waiting interval is generated according to the ratio of the number, and the file attributes comprise any one or more of file capacity and file priority;
controlling the second static point to distribute the form data to the second dynamic point within a preset range based on a distribution waiting interval;
the distribution wait interval is obtained by the following formula,
wherein the content of the first and second substances,in order to distribute the waiting interval of the time,in order to distribute the weight of the waiting interval,the wait interval is distributed for the basis,to break offOf data setsThe number of the first and second components is,is as followsThe file capacity of an individual file is,is historyOf data setsThe number of the components is equal to or less than the total number of the components,in order to be the reference file size,is as followsThe file priority of an individual file is,is the first distribution times weight.
Optionally, in a possible implementation manner of the first aspect, the method further includes:
according to the distribution waiting interval and disconnectionGenerating the current distribution times of the data set;
adjusting the first distribution frequency weight according to the distribution frequency and a reference distribution waiting interval to obtain a second distribution frequency weight;
the second distribution order weight is obtained by the following formula,
Wherein the content of the first and second substances,is the weight of the second distribution times,is the weight of the first distribution times,in order to be the second operation time point,in order to be the first operating time instant,the wait interval is distributed for the basis,is the current number of deliveries;
and if the weight of the second distribution times is 1, setting the distribution waiting interval as a preset waiting interval.
Optionally, in a possible implementation manner of the first aspect, the generating the reference distribution waiting interval includes:
statistical historyEach of the data setsConnection restoration waiting interval and connection restoration times;
summing according to the connection recovery waiting interval to obtain a connection recovery total waiting interval;
recovering a total wait interval, history from the connectionOf data setsGenerating a reference distribution waiting interval by the quantity and the connection recovery times;
the reference distribution wait interval is obtained by the following formula,
wherein, the first and the second end of the pipe are connected with each other,is connected with a second static pointAnThe corresponding average connection is restored to the waiting interval,is connected with a second static pointAnThe number of times of connection recovery is counted,is a value of a constant of a normalized value,is the second quiescent pointIs connected to the firstAnCorresponds to the firstThe secondary connection is restored to the waiting interval,is as followsAnThe upper limit value of the corresponding connection recovery number,is a first constant value that is a function of,is connected with a second static pointAnThe corresponding average connection restores the weight value of the waiting interval,the wait interval is distributed for the basis,is historyOf data setsThe number of the components is equal to or less than the total number of the components,is a second constant value.
Optionally, in a possible implementation manner of the first aspect, in the step of controlling the second static point to distribute the form data to the second dynamic point within a preset range based on the distribution waiting interval, the method specifically includes:
acquiring a corresponding signal strength distance according to the signal strength of the second static point, wherein the signal strength distance comprises any one or more of a strong signal distance, a medium signal distance and a weak signal distance;
and controlling the second static point to distribute the form data to the second dynamic point within a strong signal distance based on a distribution waiting interval.
Optionally, in a possible implementation manner of the first aspect, the method further includes:
the first dynamic point sends the form data to a first static point, and the first static point sends the form data to other first dynamic points connected with the first static point;
the other first dynamic points audit the form data and pass the form dataA submission button in the form buttons submits the form data after the examination to obtain first examination data;
and the first static point sends form data according to the first audit data.
Optionally, in a possible implementation manner of the first aspect, the method further includes:
dividing the form data by the first static point to obtain a first batch of distribution data and a second batch of distribution data;
sending the first batch of distribution data to a plurality of second static points with the same processing dimension, wherein the second static points with the same processing dimension distribute the first batch of distribution data to a second dynamic point connected with the first static points;
counting the time for processing each data by each second dynamic point to generate the processing efficiency of each second dynamic point;
according to the processing efficiency of each second dynamic point,At a second operating time andgenerating a second dynamic point throughput for the first operating moment;
counting the processing capacity of each second dynamic point to generate the processing capacity corresponding to the second static point;
distributing second batch of distribution data according to the processing capacity of each second static point;
the throughput of each second quiescent point is obtained by the following formula,
wherein the content of the first and second substances,is as followsThe throughput of the second static point is,in order to be the first operating time instant,in order to be the second operation time point,is as followsA second static point connected with a second dynamicThe upper limit value of the number of dots,is as followsA second quiescent point connected theretoThe processing time of the second dynamic point,is as followsA second quiescent point connected theretoThe weight value of the second dynamic point.
Optionally, in a possible implementation manner of the first aspect, in the step of allocating the second batch of distribution data according to the processing amount of each second static point, the step specifically includes:
counting the sum of the processing capacity of each second static point to generate total processing capacity;
generating distribution data of each second static point according to the ratio of the processing capacity of each second static point to the total processing capacity and the total data of the form data;
the allocation data for each second static point is obtained by the following formula,
wherein the content of the first and second substances,is as followsA second static pointThe distribution data of (a) is stored,for the second batch of the distribution data,is as followsThe throughput of the second static point is,is the upper limit value of the second number of static points.
Optionally, in a possible implementation manner of the first aspect, after the step of generating the allocation data of each second static point according to a ratio of a throughput of each second static point to a total throughput and total data of the form data, the method further includes:
generating the distribution data of each second dynamic point according to the distribution data of each second static point, the processing capacity of each second static point and the processing capacity of each second dynamic point connected with the second static point;
if the distributed data of part of the second dynamic points are not integers, performing cooperative processing on the second dynamic points which are not integers;
if the distributed data of part of the second dynamic points are integers, independent processing is carried out;
the allocation data of each second dynamic point is obtained by the following formula,
wherein the content of the first and second substances,is as followsA second static point is connected with the first static pointThe allocation data of the second dynamic point,is as followsThe allocation data of the second static point,in order to be the first operating time instant,in order to be the second operation time point,is as followsA second static point is connected with the first static pointThe processing time of the second dynamic point,is as followsA second static point is connected with the first static pointAn adjustment value of the allocation data of the second dynamic point.
In a second aspect of the embodiments of the present invention, a storage medium is provided, in which a computer program is stored, which, when being executed by a processor, is adapted to carry out the method according to the first aspect of the present invention and various possible designs of the first aspect of the present invention.
In a third aspect of the embodiments of the present invention, there is provided an electronic device, including: memory, a processor and a computer program, the computer program being stored in the memory, the processor running the computer program to perform the method of the first aspect of the invention as well as various possible aspects of the first aspect.
A fourth aspect of the embodiments of the present invention provides a readable storage medium, in which a computer program is stored, the computer program being, when executed by a processor, configured to implement the method according to the first aspect of the present invention and various possible aspects of the first aspect.
According to the intelligent form generation method based on the process engine, the first dynamic point realizes intelligent distribution through the first static point, and the first static point can be sent to the corresponding second static point according to the data type of the form, such as: the sales form is sent to the sales department, the bill form is sent to the accounting department and the like, then whether the dynamic point connected with the second static point at the current moment is complete or not can be counted, and the dynamic point is connected with the second static pointData sets and historiesThe data sets are compared, if the data sets are complete, the data sets are directly sent completely, and if the data sets are not complete, the data sets are sent again until the data sets are complete, so that the form data can be sent at intervals to ensure that all personnel can receive the form data.
The technical scheme provided by the invention can be used for switching offWithin a data setThe number of the corresponding unconnected people is larger, the corresponding file capacity is larger, the generated waiting time is longer, and the fixed time is longerThe different segment distribution is that the distribution is carried out according to the actual situation, so that the processing calculation power of the server is reduced, and the working efficiency of the server is guaranteed.
According to the technical scheme provided by the invention, a limit value is set according to different working hours of each company, when the sending times exceed the limit value, the dynamic point is defaulted to ask for leave today, a preset distribution time is generated, and the occupation process of the server is reduced. The technical scheme provided by the invention can correspondingly prevent the file receiving and transmission under the non-strong signal according to the signal strength value of the router and the corresponding distance, and prevent the stealing of the remote form data.
According to the technical scheme provided by the invention, the total working efficiency corresponding to each second static point can be counted according to the working efficiency of each dynamic point, the existing work is distributed according to the working efficiency of each second static point, and the work is distributed to each dynamic point again, so that the overall processing efficiency of all data forms is improved.
Drawings
Fig. 1 is a schematic view of an application scenario of the technical solution provided by the present invention;
FIG. 2 is a flow diagram of a first embodiment of a process engine based method for generating a smart form;
FIG. 3 is a flow diagram of a second embodiment of a process engine based smart form generation method;
fig. 4 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious 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 derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims, as well as in the drawings, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein.
It should be understood that, in various embodiments of the present invention, the sequence numbers of the processes do not mean the execution sequence, and the execution sequence of the processes should be determined by the functions and the internal logic of the processes, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
It should be understood that in the present application, "comprising" and "having" and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It should be understood that, in the present invention, "a plurality" means two or more. "and/or" is merely an association describing an associated object, meaning that three relationships may exist, e.g., a and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. "comprises A, B and C" and "comprises A, B, C" means that A, B, C all comprise, "comprises A, B or C" means comprise one of A, B, C, "comprises A, B and/or C" means comprise any 1 or any 2 or 3 of A, B, C.
It should be understood that in the present invention, "B corresponding to a", "a corresponds to B", or "B corresponds to a" means that B is associated with a, and B can be determined from a. Determining B from a does not mean determining B from a alone, but may be determined from a and/or other information. And the matching of A and B means that the similarity of A and B is greater than or equal to a preset threshold value.
As used herein, "if" may be interpreted as "at … …" or "when … …" or "in response to a determination" or "in response to a detection", depending on the context.
The technical solution of the present invention will be described in detail below with specific examples. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments.
As shown in fig. 1, a scene schematic diagram of the technical solution provided by the present invention includes a first static point, a first dynamic point, a second static point, and a second dynamic point, where the first dynamic point is connected to the first static point, the second dynamic point is connected to the second static point, the first dynamic point sends form data to the first static point, and the first static point sends form data to the second static point according to attributes of the form data; it is understood that the first dynamic point may be a mobile terminal corresponding to a sales department supervisor, the first dynamic point may be 1 or more, the first static point may be a combination of a router and a server, the second static point may be a combination of a router and a server, and the second dynamic point may be a mobile terminal corresponding to a sales department staff; it is understood that the mobile terminal corresponding to the sales department supervisor generates sales form data, the sales department supervisor marks the sales form data in advance, the mark is sent to the sales department, the sales form data is processed by the server and sent to the router corresponding to the sales department corresponding to the mark, the sales form data is received by the router and then distributed by the server, and the sales form data is distributed to the mobile terminal corresponding to the sales department staff.
The technical scheme provided by the invention can automatically distribute according to the form data type, and generate the corresponding distribution waiting interval according to the unconnected dynamic points, thereby ensuring that all the second dynamic points can receive the form data type.
The invention provides an intelligent form generating method based on a process engine, as shown in fig. 2, a dynamic point generates a form based on the process engine and is distributed through the following steps, which specifically comprise:
step S110, the first dynamic point sends the form data to a first static point, the first static point determines a second static point according to the decision attribute of the form data, and the second static point is a form distribution point. According to the technical scheme provided by the invention, the first dynamic point sends the form data to the first static point, and it can be understood that the first dynamic point can be a mobile terminal such as a mobile phone and a tablet, and is not limited herein, the first static point can be a router and a server which are connected to form a routing server, and the like, and is not limited herein, the first static point determines the second static point according to the decision attribute of the form data, and the decision attribute of the form data is manually set for a sales department supervisor, for example: the sales 1 achievement form, the sales 2 contract form, etc. are marked by the sales executive, for example: and setting the decision attribute of the form data as a performance form of part 1 of sales, judging that the transmitted department is part 1 of sales through semantic recognition of the processor, transmitting the transmitted content as the performance form, correspondingly transmitting the performance form of part 1 of sales to a router of part 1 of sales through a first static point, and processing and distributing through a server.
Step S120, the second static point receives the form data sent by the first static point, distributes the form data to a second dynamic point connected with the second static point, and counts the dynamic state of the second dynamic pointData set, dynamic state ofData sets and historiesData set comparisonGet disconnectedA data set. The technical scheme provided by the invention is that a router of a sales department receives sales form data from a governing department, distributes the sales form data to a mobile terminal of sales department staff connected with the router, and counts the mobile terminal of the sales department staff connected to a server of the sales department at the momentForming dynamicsData set and distribution of sales form data, corresponding to dynamicsData sets and historiesData set (all staff mobile terminals on the sales department's serverComposed data sets) are compared to obtain a breakData set (sales department staff mobile terminal not connected to sales department server at presentSet of (c) as can be appreciated by historyData sets and trendsThe difference set of the data set is disconnectedData sets, corresponding dynamicsData set and disconnectThe data sets are all historiesA subset of the dataset; first, the first data distribution is carried out on the second dynamic point connected to the second static point, and the second dynamic point which is not connected is counted to facilitate the subsequent second distribution and generate a corresponding distribution waiting interval (time for waiting for the second distribution).
In a possible implementation manner of the technical solution provided by the present invention, step S120 specifically includes:
and the second static point receives the form data sent by the first static point and distributes the form data to a second dynamic point connected with the second static point. According to the technical scheme, the router and the server are connected to form the routing server, the routing server of the sales department receives sales form data sent by the routing server of the administrative department and sends the sales form data to the mobile end of the sales department staff connected with the routing server, and it can be understood that the second dynamic point can be used for distributing data for one time to the mobile end of the connected sales department staff, such as a mobile phone, a tablet and the like.
Counting second dynamic points currently connected to said second static pointComposition dataset generation dynamicsA data set. The technical scheme provided by the invention can count the movement of sales department staff currently connected with the sales department routing serverTerminal endEach one ofMake statistics to form oneThe sets correspond to being dynamicData set, generating dynamicsData set facilitating subsequent acquisition disconnectionAnd (5) aggregating.
The historyThe data set is all the second dynamic points connected with the second static pointComposition data set generation historyA data set. The technical scheme provided by the invention is used for counting all sales department staff mobile terminals connected with the routing server of the sales departmentMoving all sales department staff to terminalsComposition historyData set, facilitating subsequent and current connected dynamicsThe data sets are compared to obtain a disconnectionA data set.
According to historyData sets and trendsThe difference set of the data set is disconnectedA data set. The technical scheme provided by the invention is that history is obtainedData set (all ofData sets) and dynamicsData set (now connected)Dataset) differencing set to breakData sets (currently unconnected)Data set) resulting in a disconnectionWith disconnection in the data setQuantity, facilitating subsequent disconnectionQuantity generation distribution waiting interval, as can be appreciated, historyThe data set being the mobile end of all sales department staff on the sales department routing serverComposed data sets, dynamicThe data set is a mobile terminal of sales department staff member connected to the sales department routing serverComposed data set, disconnectedThe data set is a mobile terminal of sales department staff member which is not connected with the sales department routing server at presentThe constituent data sets, as can be appreciated, are disconnectedData set and dynamicsThe data sets are all historiesSubset of data set, disconnectData set and dynamicsThe union of data sets is historyData set, historyData sets and trendsDifference set of data sets is disconnectedData set, historyData set and disconnectDifference set of data sets being dynamicData set, disconnectData sets and trendsThe data sets are mutually exclusive.
Step S130, if the disconnection is judgedIf the data set is not empty, then the disconnection is performedData set and historyAnd generating a distribution waiting interval by the data set, and controlling the second static point to distribute the form data to the second dynamic point based on the distribution waiting interval. According to the technical scheme provided by the invention, if the disconnection is judgedIf the data set is not an empty set, the data set correspondingly indicates that the sales department staff member mobile terminal still has unconnected at the moment, and correspondingly disconnects the data setIn the data setQuantity and historyIn the data setThe distribution waiting interval is generated by the number, corresponding to the number of unconnected staff members and the total number of staff members, it is understood that the distribution waiting interval is a time interval for re-distribution waiting, for example: the distribution waiting interval may be 10 minutes and may be 80 minutes, and the corresponding value is calculated by the server of the second static point according to the current situation.
In a possible implementation manner of the technical solution provided by the present invention, as shown in fig. 3, step S130 specifically includes:
step S1301, if the disconnection is performedAnd if the data set is empty, the second static point sends the form data to a second dynamic point connected with the second static point. The technical scheme provided by the invention is that if the switch is disconnectedData setFor the empty set, it can be understood that the mobile terminals of the staff in the corresponding sales department are all connected to the routing server of the sales department, and then the form data is directly sent to the mobile terminals of all the staff in the sales department in a full connection state.
Step S1302, if the disconnection is performedIf the data set is not empty, the data set is disconnected according to the file attribute of the form dataOf data setsQuantity and said historyOf data setsThe ratio of the numbers generates a distribution waiting interval, and the file attribute includes any one or more of a file capacity and a file priority. The technical scheme provided by the invention is that if the switch is disconnectedThe data set is not an empty set, and it can be understood that there is a mobile terminal for sales department staff that is not connected yetIf there is a second dynamic point that is not yet connected, a redistribution waiting interval (redistribution waiting time) needs to be generated, and disconnection is performed according to the file attribute of the form dataOf data setsQuantity and said historyOf data setsGenerating a distribution waiting interval according to the ratio of the number, wherein the file attribute comprises any one or more of file capacity and file priority; the file capacity corresponds to the memory size occupied by each form data, for example: the sales form data occupies the memory size ofThe file priority may be set manually, and is divided according to the urgency of the file, for example: sales department data set for sales formPriority of (1) corresponding to the priority of 3 being the urgent form, priority of 1 being the regular form, priority of 2 being the urgent form, it being understood that each isThe corresponding second dynamic point is a mobile terminal corresponding to a sales department staff, and the corresponding second dynamic point can be a mobile phone, a tablet and the like of the mobile terminal, which is not limited herein; disconnectThe data set represents the data set corresponding to the sales department staff member not connected to the sales department routing serverSet of constituents, historyThe data set is a mobile terminal for all sales department staff members on the sales department routing serverThe invention relies on the disconnection of the constituent data setsThe amount of the data, the size of the memory occupied by the file and the urgency of the file intelligently generate a corresponding distribution waiting interval, that is, the waiting time for re-distribution is generated.
And step S1303, controlling the second static point to distribute the form data to the second dynamic point within a preset range based on the distribution waiting interval. The technical scheme provided by the invention controls the routing server of the sales department to distribute form data to the mobile end of the staff of the sales department within a preset signal range based on the distribution waiting interval, namely the re-distributed waiting time, and can be understood as controlling the routing server of the sales department to transmit the form data to the mobile end of the staff of the sales department within a certain signal range according to the generated waiting time, controlling the routing server of the sales department to transmit the form data according to the intelligently generated distribution waiting interval, and defining the range of the transmitted form data by the signal strength, for example, only transmitting the form data to the mobile end with a full mobile phone signal, and preventing the form data from being transmitted if the mobile phone signal strength is not full, thereby improving the safety of the form data.
The distribution wait interval is obtained by the following formula,
wherein the content of the first and second substances,in order to distribute the waiting interval,in order to distribute the weight of the waiting interval,the wait interval is distributed for the basis,to break offOf data setsThe number of the components is equal to or less than the total number of the components,is as followsThe file capacity of an individual file is,is historyOf data setsThe number of the components is equal to or less than the total number of the components,is a fixed value and is used as a reference,in order to be the reference file size,is as followsThe file priority of an individual file or files,is the weight of the first distribution times,andin direct proportion to each otherThe larger theThe larger the size of the tube is,andin a direct proportion to the total weight of the composition,the greater the correspondingThe larger, it will be understood that the more mobile terminals that are disconnected, meaning that the more people that are not connected at the time, the larger the corresponding distribution waiting interval,and is proportional to the voltage. The technical scheme provided by the invention is to distribute the weight of the waiting intervalThe setting can be performed according to the transmission rate of the data and the file size of the sending form data, for example, the total amount of the file for sending the form data is large, and the corresponding weight of the waiting interval to be distributed isThe size is increased, and the occupied resources of the server for sending all the time are reduced; reference file capacityCorresponding to no influenceThe file capacity, i.e. the file size, corresponding to the normal operation of the server is a fixed reference value, and the first distribution weightWill vary depending on the number of dispenses.
In a possible implementation manner of the technical solution provided by the present invention, step S1303 specifically includes:
and acquiring a corresponding signal strength distance according to the signal strength of the second static point, wherein the signal strength distance comprises any one or more of a strong signal distance, a medium signal distance and a weak signal distance. The technical solution provided by the present invention obtains the corresponding distance according to the signal strength of the transmission data of the second static point, for example: the data is distributed by the router server, and the signals of the mobile terminal within 20 meters are full, the signals of the mobile terminal within 20 meters are medium, the signals of the mobile terminal within 20 meters are not full and are larger than 1, the signals of the mobile terminal outside 30 meters are weak, and the signals of the mobile terminal outside 30 meters are 1 corresponding to the strong signal distance within 20 meters.
And controlling the second static point to distribute the form data to the second dynamic point within a strong signal distance based on a distribution waiting interval. The technical scheme provided by the invention can control the second static point to distribute data to the second dynamic point in a strong signal distance according to the distribution waiting interval, such as: the distribution waiting interval is 100 seconds, the server corresponding to the second static point distributes the form data to the mobile end of the sales department staff member with the strong signal distance within 20 meters after 100 seconds, and the mobile end of the sales department staff member except for 20 meters can not receive the form data even if the mobile end of the sales department staff member can not receive the form dataThe system is positioned under the routing server of the sales department, improves the safety of form data, and does not support remote transmission if the system supports a certain range to steal corresponding form data.
In a possible embodiment, the technical solution provided by the present invention further includes:
according to the distribution waiting interval and disconnectionThe data set generates the current number of distributions. The technical scheme provided by the invention can carry out secondary transmission according to the distribution waiting interval, and can detect whether the server of the second static point has the unconnected sales department staff mobile terminal or not again when the secondary transmission is carried outMobile terminal for the employees of the unconnected sales departmentDisconnection of the componentsThe data set is still not empty, which indicates that there is still a mobile end of the sales department staff member not connected at this timeIf the transmission is interrupted, the corresponding distribution waiting interval is generated for three times of transmissionThe data set is still not empty, and is sent again until empty.
And adjusting the weight of the first distribution times according to the distribution times and the reference distribution waiting interval to obtain the weight of the second distribution times. According to the technical scheme provided by the invention, a maximum distribution time can be generated according to the actual working time corresponding to each sales department staff mobile terminal and the reference distribution waiting interval, and a second distribution time weight is obtained by adjusting the first distribution time weight along with the increase of the time in the daily adjustment process, wherein the second distribution time weight is larger when the times are larger, and the time of the corresponding generated distribution waiting interval is longer.
The second distribution times weight is obtained by the following formula,
Wherein the content of the first and second substances,is the weight of the second distribution times,is the weight of the first distribution times,in order to be the second operation time point,in order to be the first operating time instant,the wait interval is distributed for the basis,for the maximum number of deliveries, the number will be rounded down,for the number of times of distribution at hand,as the number of times remaining, the number of times,andin inverse proportion, correspondingThe larger theThe smaller the size of the tube is,the smallerThe larger. According to the technical scheme provided by the invention, the maximum distribution time can be set according to the actual working time, the corresponding distribution is only carried out in the working time, and the second operation time can be understood asIs the next working time, the first operation timeFor off-duty time, the reference distribution waiting intervalFor a standard time interval for each transmission, for example: the shift time of a company is nine (9: 00) and five (17: 00) later, and the corresponding second operation timeIs composed ofSecond, first operating timeIs composed ofSecond, corresponding toSecond isDuration of daily work, baseline distribution wait interval3600 seconds/time, corresponding toSub, i.e. a maximum of 8 deliveries per day, it will be understood that the correspondence followsE.g. from 5 to 6 dispenses, corresponding toWill decrease continuously, corresponding toThe value will continuously increase the corresponding second distribution times weightWill increase continuously, the second distribution times weightWill be brought back into the distribution waiting intervalIn other words, as the number of times of distribution increases, the distribution interval corresponding to each time is correspondingly adjusted until the distribution interval is adjustedNumerical value of andare the same as each other, corresponding toCorrespond to and then reachWhen the maximum preset value is reached, corresponding to the weightAutomatically distribute the waiting intervalDefault to a preset time, for example, 1 day, 2 days, without limitation, the distribution time will be automatically prolonged as the interval time corresponding to the distribution times increases, for example, temporary arrangement, meeting, etc., and if a person who may correspond to the second dynamic point is not received all the time, a preset time corresponding to distribution is not set according to the actual situation and then distribution is performed.
If the second distribution times weight isThe distribution waiting interval is set to a preset waiting interval. According to the technical scheme provided by the invention, the corresponding second distribution frequency weight isThat is to sayIs 0, corresponding to the distribution of the waiting intervalThe mobile terminal of the corresponding dynamic point may have a temporary situation at the moment when the mobile terminal defaults to a preset time, and a maximum distribution value, namely a limit value, is obtained through the actual working time, so that the occupation of the server for data distribution all the time is reduced.
In a possible implementation manner, the technical solution provided by the present invention generates the reference distribution waiting interval by the following steps, specifically including:
statistical historyEach of the data setsConnection restoration waiting interval and connection restoration times. The technical scheme provided by the invention counts the time intervals of disconnection and reconnection of all the dynamic points connected with the route server of the sales department and counts corresponding times, thereby facilitating the subsequent generation of the corresponding average connection recovery waiting interval of each second dynamic pointThe data set being all the second dynamic points connected to the sales department routing serverThe data set and the second dynamic point correspond to mobile terminals, and each sales department staff mobile terminal corresponds to one mobile terminalAll will beWhat constitutes a set corresponds to is historyA data set.
And summing the connection recovery waiting intervals to obtain a connection recovery total waiting interval. According to the technical scheme provided by the invention, according to the connection recovery waiting interval counted before, each connection recovery waiting interval is added and summed correspondingly to obtain the total connection recovery waiting interval, and the time required by disconnecting the mobile terminal of each sales department staff member is recorded, for example, the time required by disconnecting the mobile terminal of a certain sales department staff member3 times of reconnection, waiting interval of 20 seconds for each connection restoration, total connection restoration, etcThe waiting interval is 60 seconds, which is not limited herein, and the waiting time of each time can be different, so that the total waiting time of 3 reconnection can be obtained correspondingly, and the subsequent calculation is convenientThe average connection for each reconnection resumes the waiting interval.
Recovering a total wait interval, history from the connectionOf data setsThe number and the number of connection restoration times generate a reference distribution waiting interval. The technical scheme provided by the invention can recover the total waiting interval and history according to the connectionOf data setsThe number (the number of mobile terminals of all sales department staff members) and the number of connection restoration times generate a reference distribution waiting interval.
The reference distribution wait interval is obtained by the following formula,
wherein the content of the first and second substances,is connected with a second static pointAnThe corresponding average connection is restored to the waiting interval,is connected with a second static pointAnThe number of times of connection recovery is counted,is a constant value of a normalized value and,is connected with a second static pointAnCorresponds to the firstThe secondary connection is restored to the waiting interval,is as followsAnThe upper limit value of the corresponding connection recovery number,is a first constant value that is a function of,is connected with a second static pointAnThe corresponding average connection restores the weight value of the waiting interval,the wait interval is distributed for the basis,is historyOf data setsThe number of the components is equal to or less than the total number of the components,is a second constant value which is a function of,to be connected with a second quiescent pointAnThe connection recovery times are normalized to an offset constant value to perform offset adjustment on the average connection recovery waiting interval,andin direct proportion, it can be understood thatThe larger the value corresponds toThe larger, i.e. more frequent reconnections corresponds to a more unstable connection and the longer the waiting time,is connected with a second static pointAnThe total waiting interval is restored for the corresponding connection,andin a direct proportion to the total weight of the composition,the waiting interval is restored for the average number of connections not considered,andproportional, constant valueThe number of the second dynamic points can be set according to the number of the second dynamic points, the more the number of the mobile terminals of the sales department staff corresponds to the more the operation of the occupied server, the corresponding adjustment of each distribution time is needed so as to prolong the actual reference distribution waiting interval, the value can be manually set according to the actual situation,andis in direct proportion toThe larger theThe larger, the second constant valueThe setting may be manual, for example, the setting may be made according to the number and size of the distribution files.
In a possible embodiment, the technical solution provided by the present invention further includes:
the first dynamic point sends the form data to a first static point, and the first static point sends the form data to other first dynamic points connected with the first static point. According to the technical scheme provided by the invention, the mobile end of the sales executive can send the form data to the routing server of the administrative department, and the routing server of the administrative department distributes the form data to the mobile ends of other sales executive to check the form data, for example: the first dynamic point can be a mobile end of a sales manager, and the corresponding other first dynamic points can be mobile ends of other sales managers, wherein one sales manager formulates a form data through the mobile end and sends the form data to other managers for auditing.
The other first dynamic points audit the form data and pass the form dataAnd a submission button in the form buttons submits the form data after the examination to obtain first examination data. According to the technical scheme provided by the invention, the main pipes of the rest first dynamic points pass throughThe form checks the sent data, and the form can send the generated form to the mobile terminal of another supervisor for checking, and the form passes the check after the check is finishedA submit button of the form buttons submits.
And the first static point sends form data according to the first audit data. According to the technical scheme provided by the invention, the sales department routing server collects and generates first audit data according to the mobile terminals of the other sales leaders, if the audit is passed, the sales department routing server sends the first audit data to the sales department server with corresponding attribute according to the data attribute of the form, if the audit is not passed, the corresponding sales department routing server sends the data of the form to the sales leaders (the sales leaders which send the form data firstly) for modification, and the modified data is sent again until the audit is passed, and then the modified data is sent through the sales department routing server.
According to the technical scheme provided by the invention, before the first static point determines the second static point according to the decision attribute of the form data class, the transmitted form data is checked, the form data can be generated corresponding to each first dynamic point, the data can be checked corresponding to the rest first dynamic points, the checked data is judged by the server of the first static point, if the judged data passes the check, the data is distributed to the server of the second static point corresponding to the form data attribute, if the check does not pass the check, the data is modified until the check passes the check, the data is verified before being transmitted, if the verification passes the check, the data is distributed, and if the verification does not pass the check, the data is modified to ensure the accuracy of the form data.
In a possible embodiment, the technical solution provided by the present invention further includes:
the first static point divides the form data to obtain a first batch of distribution data and a second batch of distribution data. The technical scheme provided by the invention is that a administrative department routing server divides form data to obtain a first batch of distribution data and a second batch of distribution data, wherein the form data can be data formed by a plurality of forms, the corresponding administrative department routing server sends the forms to the corresponding sales department routing server according to the form types, the administrative department routing server counts the number of mobile ends of sales department employees connected with all sales department servers, correspondingly, the form data is divided into the first batch of distribution data firstly, the first batch of distribution data can lead the mobile end of each sales department employee to be distributed to only one form, the rest is the second batch of distribution data, the administrative department routing server can count the number of mobile ends of all sales department employees connected with 2 sales department servers to be 10 firstly, each sales department server is connected with 5 sales department employee mobile terminals respectively, 100 forms are divided into 10 and 90 correspondingly, the corresponding 10 are first distributed data, the corresponding 90 are second distributed data, and the subsequent statistics on the work efficiency of the second dynamic point is facilitated.
And sending the first batch of distribution data to a plurality of second static points with the same processing dimensionality, and distributing the first batch of distribution data to a second dynamic point connected with the second static points with the same processing dimensionality. According to the technical scheme provided by the invention, 10 forms of the first batch of distribution data are sent to 2 routing servers of the sales department, 5 forms are received by the routing server corresponding to each sales department, and 1 form is received by the staff mobile terminal corresponding to each sales department, so that the working efficiency of the staff mobile terminal of each sales department can be conveniently counted in the follow-up process.
And counting the time for processing each data by each second dynamic point to generate the processing efficiency of each second dynamic point. The technical scheme provided by the invention correspondingly counts the time required by each sales department staff mobile terminal for processing 1 form to obtain the corresponding working efficiency, for example: sales department staff moving terminalAn operating efficiency of 21 was 60 seconds/piece.
According to the processing efficiency of each second dynamic point,At a second operating time andeach second dynamic point throughput is generated for the first operating time. According to the technical scheme provided by the invention, the processing capacity of the mobile terminal of each sales department staff member can be correspondingly obtained according to the previously counted working efficiency, namely the processing efficiency of the mobile terminal of each sales department staff member, and the actual working time and working time of the sales department staff member.
And counting the processing capacity of each second dynamic point to generate the processing capacity corresponding to the second static point. According to the technical scheme provided by the invention, the processing amount of each sales department employee mobile terminal connected with each sales department routing server is correspondingly counted, summed and correspondingly generated to the processing amount of the second static point (the processing amount of each sales department).
And distributing the second batch of distribution data according to the processing capacity of each second static point. According to the technical scheme provided by the invention, the second batch of distribution data is distributed according to the calculated processing amount corresponding to each sales department routing server, the processing amount of each sales department routing server can be distributed, the workload can be intelligently distributed, the distribution is more reasonable, and the routing server is formed by connecting the router and the servers.
The throughput of each second quiescent point is derived by the following equation,
wherein the content of the first and second substances,is as followsThe throughput of the second static point is,in order to be the first operating time instant,in order to be the second operation time point,is as followsAn upper limit value of the number of second static points and second dynamic points connected with the second static points,is as followsA second static point is connected with the first static pointThe processing time of the second dynamic point,is as followsA second static point is connected with the first static pointThe weight value of the second dynamic point,andin direct proportion to each otherThe larger theThe larger the size of the tube is,the form data can be set manually and can be set according to the size of the form data, and the larger the corresponding form data is, the larger the corresponding form data isThe larger the value of (c).
According to the technical scheme provided by the invention, the working efficiency of the server of each corresponding second static point is counted according to the actual situation, so that the subsequent reasonable distribution of the working tasks is facilitated.
The technical solution provided by the present invention, in one possible implementation,
in the step of allocating the second batch of distribution data according to the processing amount of each second static point, the method specifically includes:
the sum of the throughput of each second static point is counted to generate the total throughput. According to the technical scheme provided by the invention, the server processing amount of all the second static points is counted, and it can be understood that the routing servers of the second static points can be multiple and can correspond to the same department, for example: sales 1 part, sales 2 part and the like, which are not limited herein, and the total processing amount is counted to facilitate the subsequent distribution of the processing amount of the reason server for each sales department.
And generating distribution data of each second static point according to the ratio of the processing capacity of each second static point to the total processing capacity and the total data of the form data. According to the technical scheme provided by the invention, the task amount distributed by each sales department reason server is obtained through the ratio of the processing amount of each sales department reason server to the total processing amount of the sales department reason server, and is distributed according to the actual processing capacity, so that the form data or the tasks are processed in time conveniently, and the accumulation is prevented from influencing the development of later work.
The allocation data for each second static point is obtained by the following formula,
wherein the content of the first and second substances,is as followsThe allocation data of the second static point,for the second batch of distributed data it is,is as followsThe throughput of the second static point is,an upper limit value for the second number of quiescent points,andin a direct proportion to the total weight of the composition,greater correspondenceThe larger the size of the tube is,the smaller the correspondingThe smaller the size of the tube is,is as followsAllocation data of a second static point, correspondingTo be aligned withThe distribution data of the second static point is rounded down to correspondingly obtain the positive integerAllocation data of a second static point。
The technical solution provided by the present invention, in one possible implementation,
after the step of generating the distribution data of each second static point according to the ratio of the processing capacity of each second static point to the total processing capacity and the total data of the form data, the method further comprises the following steps:
and generating the distribution data of each second dynamic point according to the distribution data of each second static point, the processing capacity of each second static point and the processing capacity of each second dynamic point connected with the second static point. According to the technical scheme provided by the invention, the distribution data of the mobile terminal of each sales department staff member can be generated according to the task amount distributed by each sales department routing server, namely the distribution data, the processing amount of each sales department reason server and the processing amount of each sales department staff member mobile terminal connected with the sales department reason server, and the task distribution of the sales department staff member mobile terminal connected with the sales department staff member mobile terminal can be understood after the distribution of the sales department routing server task is finished.
And if the distribution data of part of the second dynamic points are not integers, performing cooperative processing on the second dynamic points which are not integers. According to the technical scheme provided by the invention, if the distribution data of the mobile terminal of part of sales department staff is not an integer, the second dynamic mobile terminal which is not an integer is correspondingly operated in a cooperative way, such as: and in the sales department, the distribution data of the mobile end of a certain sales department staff member is 1.2, and the distribution data of the mobile end of another sales department staff member is 1.8, so that the two persons perform cooperative processing after completing respective form data or directly process 3 forms of data together.
And if the distribution data of part of the second dynamic points are integers, performing independent processing. According to the technical scheme provided by the invention, if the data distributed by the second dynamic point is an integer, for example, 3 pieces, the mobile terminal of the sales department staff member carries out independent processing.
The allocation data of each second dynamic point is obtained by the following formula,
wherein the content of the first and second substances,is as followsA second quiescent point connected theretoThe allocation data of the second dynamic point,is as followsThe allocation data of the second static point,in order to be the first operating time instant,in order to be the second operation time point,is as followsA second quiescent point connected theretoThe processing time of the second dynamic point,is as followsA second static point is connected with the first static pointAdjustment value of allocation data of the second dynamic point, andin proportion, it can be understood that the higher the processing efficiency of an individual, the more form data is distributed correspondingly, anda second static point is connected with the first static pointAdjustment value of allocation data of second dynamic pointCan be set manually, can be adjusted according to the actual transmission rate of each node, and the faster the form transmission rate is, the correspondingThe larger the value of (c).
The invention also provides a storage medium having stored thereon a computer program for implementing the method of the first aspect of the invention and its various possible designs when executed by a processor.
As shown in fig. 4, which is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present invention, the electronic device 50 includes: a processor 51, a memory 52 and computer programs; wherein
A memory 52 for storing the computer program, which may also be a flash memory (flash). The computer program is, for example, an application program, a functional module, or the like that implements the above method.
A processor 51 for executing the computer program stored in the memory to implement the steps performed by the apparatus in the above method. Reference may be made in particular to the description relating to the preceding method embodiment.
Alternatively, the memory 52 may be separate or integrated with the processor 51.
When the memory 52 is a device independent of the processor 51, the apparatus may further include:
a bus 53 for connecting the memory 52 and the processor 51.
The present invention also provides a readable storage medium, in which a computer program is stored, which, when being executed by a processor, is adapted to implement the methods provided by the various embodiments described above.
The readable storage medium may be a computer storage medium or a communication medium. Communication media includes any medium that facilitates transfer of a computer program from one place to another. Computer storage media can be any available media that can be accessed by a general purpose or special purpose computer. For example, a readable storage medium is coupled to a processor such that the processor can read information from, and write information to, the readable storage medium. Of course, the readable storage medium may also be an integral part of the processor. The processor and the readable storage medium may reside in an Application Specific Integrated Circuits (ASIC). Additionally, the ASIC may reside in user equipment. Of course, the processor and the readable storage medium may also reside as discrete components in a communication device. The readable storage medium may be a read-only memory (ROM), a random-access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
The present invention also provides a program product comprising execution instructions stored in a readable storage medium. The at least one processor of the device may read the execution instructions from the readable storage medium, and the execution of the execution instructions by the at least one processor causes the device to implement the methods provided by the various embodiments described above.
In the above embodiments of the apparatus, it should be understood that the Processor may be a Central Processing Unit (CPU), other general purpose processors, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the present invention may be embodied directly in a hardware processor, or in a combination of the hardware and software modules within the processor.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.
Claims (10)
1. A method for generating an intelligent form based on a process engine is characterized in that a dynamic point is distributed based on the process engine to generate the form through the following steps, and specifically comprises the following steps:
the method comprises the steps that a first dynamic point sends form data to a first static point, the first static point determines a second static point according to decision attributes of the form data, and the second static point is a form distribution point;
the second static point receives the form data sent by the first static point, distributes the form data to a second dynamic point connected with the second static point, and counts the dynamic state of the second dynamic pointData set, dynamic state ofData sets and historiesData set comparison resulting in disconnectionA data set;
if the disconnection is judgedIf the data set is not empty, then the disconnection is performedData set and historyAnd generating a distribution waiting interval by the data set, and controlling the second static point to distribute the form data to the second dynamic point based on the distribution waiting interval.
2. The method of claim 1,
receiving the form data sent by the first static point at the second static point, distributing the form data to a second dynamic point connected with the second static point, and counting the second dynamic pointDynamics of dynamic pointsData set, dynamic state ofData sets and historiesData set comparison resulting in disconnectionThe step of the data set specifically includes:
the second static point receives the form data sent by the first static point and distributes the form data to a second dynamic point connected with the second static point;
counting second dynamic points currently connected to said second static pointComposition dataset generation dynamicsA data set;
the historyThe data set being all second dynamic points connected to said second static pointComposition data set generation historyA data set;
3. The method of claim 2,
if the disconnection is judgedIf the data set is not empty, then the disconnection is performedData set and historyThe step of generating a distribution waiting interval by the data set, and controlling the second static point to distribute the form data to the second dynamic point based on the distribution waiting interval specifically includes:
if said disconnection occursIf the data set is empty, the second static point sends the form data to a second dynamic point connected with the second static point;
if said disconnection occursIf the data set is not empty, the data set is disconnected according to the file attribute of the form dataOf data setsQuantity and said historyOf data setsGenerating a distribution waiting interval according to the ratio of the number, wherein the file attribute comprises any one or more of file capacity and file priority;
controlling the second static point to distribute the form data to the second dynamic point within a preset range based on a distribution waiting interval;
the distribution wait interval is obtained by the following formula,
wherein the content of the first and second substances,in order to distribute the waiting interval,in order to distribute the weight of the waiting interval,the wait interval is distributed for the basis,to break offOf data setsThe number of the components is equal to or less than the total number of the components,is as followsThe file capacity of an individual file is,is historyOf data setsThe number of the components is equal to or less than the total number of the components,in order to be the reference file size,is as followsThe file priority of an individual file is,is the first distribution times weight.
4. The method of claim 3, further comprising:
according to the distribution waiting interval and disconnectionGenerating current distribution times of the data set;
adjusting the weight of the first distribution times according to the distribution times and a reference distribution waiting interval to obtain a second distribution time weight;
the second distribution times weight is obtained by the following formula,
Wherein the content of the first and second substances,is the weight of the second distribution times,is the weight of the first distribution times,in order to be the second operation time point,in order to be the first operation time,the wait interval is distributed for the basis,is the current number of deliveries;
and if the weight of the second distribution times is 1, setting the distribution waiting interval as a preset waiting interval.
5. The method of claim 4,
the reference distribution waiting interval is generated by the following steps, and specifically comprises the following steps:
statistical historyData ofCentralize eachConnection restoration waiting interval and connection restoration times;
summing according to the connection recovery waiting interval to obtain a connection recovery total waiting interval;
recovering a total wait interval, history from the connectionOf data setsGenerating a reference distribution waiting interval by the quantity and the connection recovery times;
the reference distribution wait interval is obtained by the following formula,
wherein the content of the first and second substances,is connected with a second static pointAnThe corresponding average connection is restored to the waiting interval,is connected with a second static pointAnThe number of times of connection recovery is counted,is a constant value of a normalized value and,is connected with a second static pointAnCorresponds to the firstThe secondary connection is restored to the waiting interval,is as followsAnThe upper limit value of the corresponding connection recovery number,is a first constant value that is a function of,is connected with a second static pointAnCorresponding average connection recoveryThe weight value of the re-waiting interval,the wait interval is distributed for the basis,is historyOf data setsThe number of the components is equal to or less than the total number of the components,is a second constant value.
6. The method of claim 3,
in the step of controlling the second static point to distribute the form data to the second dynamic point within a preset range based on the distribution waiting interval, the method specifically includes:
acquiring a corresponding signal strength distance according to the signal strength of the second static point, wherein the signal strength distance comprises any one or more of a strong signal distance, a medium signal distance and a weak signal distance;
and controlling the second static point to distribute the form data to the second dynamic point within a strong signal distance based on a distribution waiting interval.
7. The method of claim 1, further comprising:
the method comprises the steps that a first dynamic point sends form data to a first static point, and the first static point sends the form data to other first dynamic points connected with the first static point;
the other first dynamic points audit the form data and pass the form dataA submission button in the form buttons submits the form data after the examination to obtain first examination data;
and the first static point sends form data according to the first audit data.
8. The method of claim 1, further comprising:
dividing the form data by the first static point to obtain a first batch of distribution data and a second batch of distribution data;
sending the first batch of distribution data to a plurality of second static points with the same processing dimension, wherein the second static points with the same processing dimension distribute the first batch of distribution data to a second dynamic point connected with the first static points;
counting the time for processing each data by each second dynamic point to generate the processing efficiency of each second dynamic point;
according to the processing efficiency of each second dynamic point,At a second operating time andgenerating a second dynamic point throughput for the first operating moment;
counting the processing capacity of each second dynamic point to generate the processing capacity corresponding to the second static point;
distributing second batch of distribution data according to the processing amount of each second static point;
the throughput of each second quiescent point is obtained by the following formula,
wherein the content of the first and second substances,is as followsThe throughput of the second static point is,in order to be the first operating time instant,in order to be the second operation time point,is as followsAn upper limit value of the number of second static points and second dynamic points connected with the second static points,is as followsA second static point is connected with the first static pointThe processing time of the second dynamic point,is as followsA second quiescent point connected theretoThe weight value of the second dynamic point.
9. The method of claim 8,
in the step of allocating the second batch of distribution data according to the processing amount of each second static point, the method specifically includes:
counting the sum of the processing capacity of each second static point to generate total processing capacity;
generating distribution data of each second static point according to the ratio of the processing capacity of each second static point to the total processing capacity and the total data of the form data;
the allocation data for each second static point is obtained by the following formula,
10. The method of claim 9,
after the step of generating the distribution data of each second static point according to the ratio of the processing capacity of each second static point to the total processing capacity and the total data of the form data, the method further comprises the following steps:
generating the distribution data of each second dynamic point according to the distribution data of each second static point, the processing capacity of each second static point and the processing capacity of each second dynamic point connected with the second static point;
if the distributed data of part of the second dynamic points are not integers, performing cooperative processing on the second dynamic points which are not integers;
if the distributed data of part of the second dynamic points are integers, independent processing is carried out;
the allocation data of each second dynamic point is obtained by the following formula,
wherein the content of the first and second substances,is as followsA second static point is connected with the first static pointThe allocation data of the second dynamic point,is as followsThe allocation data of the second static point,in order to be the first operating time instant,in order to be the second operation time point,is as followsA second static point is connected with the first static pointThe processing time of the second dynamic point,is a firstA second static point is connected with the first static pointAn adjustment value of the allocation data of the second dynamic point.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210463054.6A CN114567630B (en) | 2022-04-29 | 2022-04-29 | Intelligent form generation method based on process engine |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210463054.6A CN114567630B (en) | 2022-04-29 | 2022-04-29 | Intelligent form generation method based on process engine |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114567630A true CN114567630A (en) | 2022-05-31 |
CN114567630B CN114567630B (en) | 2022-07-19 |
Family
ID=81721202
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210463054.6A Active CN114567630B (en) | 2022-04-29 | 2022-04-29 | Intelligent form generation method based on process engine |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114567630B (en) |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101863348A (en) * | 2009-04-17 | 2010-10-20 | 高爽工业公司 | The method and apparatus that indication will need the future of using the replacement of products of distributing at random |
JP2012063904A (en) * | 2010-09-15 | 2012-03-29 | Toshiba Corp | File communication device and file communication method |
CN102638417A (en) * | 2012-03-27 | 2012-08-15 | 广州市动景计算机科技有限公司 | Information communication method, device and system |
US20140298151A1 (en) * | 2012-05-11 | 2014-10-02 | FitzForm LLC | Creation and distribution of forms |
CN105516816A (en) * | 2015-12-04 | 2016-04-20 | Tcl集团股份有限公司 | Method and system for pushing television programs |
CN105827706A (en) * | 2016-03-24 | 2016-08-03 | 努比亚技术有限公司 | Information push device and method |
CN108599904A (en) * | 2018-03-21 | 2018-09-28 | 中兴通讯股份有限公司 | a kind of data transmission method and device |
CN111245913A (en) * | 2020-01-06 | 2020-06-05 | 深圳壹账通智能科技有限公司 | Message sending method and device based on gateway, computer equipment and storage medium |
CN114095438A (en) * | 2021-11-25 | 2022-02-25 | 北京百度网讯科技有限公司 | Data transmission method, device, equipment, storage medium and computer program product |
-
2022
- 2022-04-29 CN CN202210463054.6A patent/CN114567630B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101863348A (en) * | 2009-04-17 | 2010-10-20 | 高爽工业公司 | The method and apparatus that indication will need the future of using the replacement of products of distributing at random |
JP2012063904A (en) * | 2010-09-15 | 2012-03-29 | Toshiba Corp | File communication device and file communication method |
CN102638417A (en) * | 2012-03-27 | 2012-08-15 | 广州市动景计算机科技有限公司 | Information communication method, device and system |
US20140298151A1 (en) * | 2012-05-11 | 2014-10-02 | FitzForm LLC | Creation and distribution of forms |
CN105516816A (en) * | 2015-12-04 | 2016-04-20 | Tcl集团股份有限公司 | Method and system for pushing television programs |
CN105827706A (en) * | 2016-03-24 | 2016-08-03 | 努比亚技术有限公司 | Information push device and method |
CN108599904A (en) * | 2018-03-21 | 2018-09-28 | 中兴通讯股份有限公司 | a kind of data transmission method and device |
CN111245913A (en) * | 2020-01-06 | 2020-06-05 | 深圳壹账通智能科技有限公司 | Message sending method and device based on gateway, computer equipment and storage medium |
CN114095438A (en) * | 2021-11-25 | 2022-02-25 | 北京百度网讯科技有限公司 | Data transmission method, device, equipment, storage medium and computer program product |
Also Published As
Publication number | Publication date |
---|---|
CN114567630B (en) | 2022-07-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109087431B (en) | Business scheduling processing method, equipment and storage medium for bank outlets | |
CN108776934A (en) | Distributed data computational methods, device, computer equipment and readable storage medium storing program for executing | |
CN108712464A (en) | A kind of implementation method towards cluster micro services High Availabitity | |
CN106548402B (en) | Resource transfer monitoring method and device | |
US20150081917A1 (en) | Managing multi-level service level agreements in cloud-based networks | |
CN108712586B (en) | Signal control reminding method and device | |
CN109656700A (en) | Distributed link tracking, system, equipment and storage medium under multi-tenant | |
CN112188421B (en) | Automatic short message sending method | |
US20080155009A1 (en) | System and method for adaptive information dissemination | |
CN101601273A (en) | The control of prepaid balance status notification | |
US8341044B1 (en) | System, method, and computer program product for rating and re-rating events | |
CN114531662B (en) | Terminal intelligent access authentication management method based on electric power 5G virtual private network | |
CN114567630B (en) | Intelligent form generation method based on process engine | |
WO2004040893A1 (en) | Billing method for telecommunication service based on fixed fee | |
JPWO2008126187A1 (en) | Web service control program, Web service control device, Web service control method, relay program | |
CN1322706C (en) | Method of realizing real time segmental charging | |
CN107426450B (en) | A kind of method and device calculating the busy degree in call center | |
CN110097381A (en) | A kind of complaint automatic identification early warning system and method applied to airport service | |
JPWO2008126190A1 (en) | Web service control program, Web service control device, Web service control method, relay program | |
CN114138750A (en) | AI consultation database cluster building method and system | |
CN113132247A (en) | Management method, system and storage medium suitable for distributed flow collection | |
CN113362127A (en) | Second-hand car bidding system with high availability | |
CN115131085A (en) | Method, device and equipment for processing super package bills | |
CN110942298A (en) | Payment data transmission control method and device, electronic equipment and storage medium | |
CN114693182B (en) | Service work order data processing method based on cloud fusion technology |
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 |