CN116827350A - Flexible work platform intelligent supervision method and system based on cloud edge cooperation - Google Patents

Flexible work platform intelligent supervision method and system based on cloud edge cooperation Download PDF

Info

Publication number
CN116827350A
CN116827350A CN202311091343.9A CN202311091343A CN116827350A CN 116827350 A CN116827350 A CN 116827350A CN 202311091343 A CN202311091343 A CN 202311091343A CN 116827350 A CN116827350 A CN 116827350A
Authority
CN
China
Prior art keywords
coding
platform data
necessity
characters
platform
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202311091343.9A
Other languages
Chinese (zh)
Other versions
CN116827350B (en
Inventor
刘晶晶
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhongke Cloud Beijing Technology Co ltd
Original Assignee
Zhongke Cloud Beijing 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 Zhongke Cloud Beijing Technology Co ltd filed Critical Zhongke Cloud Beijing Technology Co ltd
Priority to CN202311091343.9A priority Critical patent/CN116827350B/en
Publication of CN116827350A publication Critical patent/CN116827350A/en
Application granted granted Critical
Publication of CN116827350B publication Critical patent/CN116827350B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M7/00Conversion of a code where information is represented by a given sequence or number of digits to a code where the same, similar or subset of information is represented by a different sequence or number of digits
    • H03M7/30Compression; Expansion; Suppression of unnecessary data, e.g. redundancy reduction

Abstract

The invention relates to the technical field of data compression, in particular to a cloud edge cooperation-based intelligent supervision method and system for a flexible working platform. The method for adjusting the coding state table by calculating the data coding character segments of each reference platform has higher efficiency on flexible supervision of the labor platform.

Description

Flexible work platform intelligent supervision method and system based on cloud edge cooperation
Technical Field
The invention relates to the technical field of data compression, in particular to a flexible labor platform intelligent supervision method and system based on cloud edge cooperation.
Background
Flexible labor is a necessary trend in the development of new-age labor markets, including labor dispatching, outsourcing labor, non-full-time labor, and the like. In the flexible working platform, cloud edge coordination can be used for monitoring and managing working states of workers, payroll payment and other conditions in real time, but the working scale and the working quantity are usually huge, massive flexible working platform data are usually generated, so that the massive flexible working platform data are required to be compressed for better monitoring and managing the working states of the workers, payroll payment and other conditions, and accordingly storage and transmission costs are reduced.
In the prior art, flexible working platform data are compressed and stored through finite state entropy coding, but when the finite state entropy coding processes real-time data, the frequency of each character needs to be counted again to reconstruct a state table every time new coding characters are added, so that a large amount of time is wasted, the corresponding compression efficiency is low, the supervision efficiency of the flexible working platform is affected, namely, the supervision efficiency of the flexible working platform is low through a method for compressing the flexible working platform data through the finite state entropy coding in the prior art.
Disclosure of Invention
In order to solve the technical problem that the supervision efficiency of a flexible working platform is low by a method for carrying out flexible working platform data compression through finite state entropy coding in the prior art, the invention aims to provide a cloud-edge collaboration-based intelligent supervision method and system for the flexible working platform, and the adopted technical scheme is as follows:
the invention provides a flexible industrial platform intelligent supervision method based on cloud edge cooperation, which comprises the following steps:
acquiring corresponding unencoded real-time flexible tooling platform data and corresponding encoded historical flexible tooling platform data at each time;
acquiring an initial coding state table corresponding to the historical flexible engineering platform data based on finite state entropy coding; obtaining a reference platform data coding character segment corresponding to each moment according to the frequency distribution condition of various coding characters in the real-time flexible tooling platform data and the historical flexible tooling platform data at each moment;
obtaining the adjustment necessity corresponding to the reference platform data coding character segment corresponding to each moment according to the frequency change condition of various coding characters corresponding to the reference platform data coding character segment added to the historical coding platform data; according to the distribution conditions of all adjustment necessity, adjusting the initial coding state table at each moment to obtain an adjustment coding state table of the reference platform data coding character segment corresponding to each moment; continuing to carry out coding compression according to the coding state adjustment table to obtain flexible working platform data after compression; and carrying out intelligent supervision on the flexible working platform according to the compressed flexible working platform data.
Further, the method for acquiring the reference platform data coding character segment comprises the following steps:
acquiring local uncoded platform data of a preset coding character length in real-time flexible working platform data after each moment; obtaining the bit-by-bit calculation necessity of the local uncoded platform data according to the historical coded platform data and the frequency distribution condition of various characters in the local uncoded platform data; and obtaining the reference platform data coding character segment corresponding to each moment according to the bitwise calculation necessity.
Further, the method for acquiring the necessity of the bitwise computation comprises the following steps:
taking the coding characters in the local uncoded platform data as reference platform coding characters; taking the ratio of the number of each reference platform coding character to the total number of all coding characters in all coding characters corresponding to the historical coding platform data and the local uncoded platform data as the reference frequency duty ratio corresponding to each reference platform coding character; and carrying out negative correlation mapping on the average value of the reference frequency duty ratios of all kinds of reference platform coding characters to obtain the bit-by-bit calculation necessity of the local uncoded platform data.
Further, the method for obtaining the reference platform data coding character segment corresponding to each moment according to the bitwise calculation necessity comprises the following steps:
When the bitwise calculation necessity is greater than or equal to a preset bitwise calculation threshold, taking a first bit coding character in the local uncoded platform data as a reference platform data coding character segment at a corresponding moment;
and when the necessity of the bitwise computation is smaller than a preset bitwise computation threshold, taking all the coded characters in the local uncoded platform data as the coded character segments of the reference platform data at the corresponding moment.
Further, the method for acquiring the adjustment necessity includes:
taking the coding characters in the coding character segments of the reference platform data as the coding characters of the judging platform; and constructing an adjustment necessity calculation model according to the number of various judgment platform coding characters and the total number of coding characters in the historical coding platform data and the number of various judgment platform coding characters in the reference platform data coding character segments, and calculating the adjustment necessity corresponding to the reference platform data coding character segments at each moment through the adjustment necessity calculation model.
Further, the adjustment necessity calculation model includes:
wherein ,is->The corresponding adjustment necessity of the reference platform data coding character segment at each moment +.>Is->Judging the type number of platform coding characters in the reference platform data coding character segments corresponding to each moment,/-for the type number of the platform coding characters >Is->The +.f in the historical coding platform data corresponding to each moment>The number of coding characters of the seed judging platform, +.>Is->Total number of coded characters in historical coding platform data corresponding to each moment, < > in>Is->Reference platform data coding character segment corresponding to each moment +.>The number of coding characters of the seed judging platform, +.>Is a logarithmic function based on a natural number of 2.
Further, the method for acquiring the adjustment coding state table comprises the following steps:
taking each reference platform data coding character segment as a target reference platform data coding character segment in turn;
when the adjustment necessity corresponding to the target reference platform data coding character segment is greater than or equal to a preset adjustment threshold value, adjusting according to an initial coding state table of the corresponding moment of the target reference platform data coding character segment to obtain an adjustment coding state table of the corresponding moment of the target reference platform data coding character segment;
when the adjustment necessity corresponding to the target reference platform data coding character segment is smaller than a preset adjustment threshold value, calculating the update necessity of the corresponding moment of the target reference platform data coding character segment according to the distribution situation of the adjustment necessity of the adjacent reference platform data coding character segment; when the updating necessity is larger than or equal to a preset updating threshold value, adjusting according to an initial coding state table of the corresponding moment of the target reference platform data coding character segment to obtain an adjusting coding state table of the corresponding moment of the target reference platform data coding character segment; and when the updating necessity is smaller than a preset updating threshold value, taking the initial coding state table of the corresponding moment of the target reference platform data coding character segment as an adjusting coding state table.
Further, the method for acquiring the update necessity includes:
taking all code characters in the target reference platform data code character segment and the corresponding judgment platform data code character segment as judgment code characters corresponding to the target reference platform data code character segment, wherein the judgment platform data code character segment is a reference platform data code character segment with the adjustment necessity smaller than a preset adjustment threshold value, and no reference platform data code character segment with the adjustment necessity larger than or equal to the preset adjustment threshold value exists between each judgment platform data code character segment and the target reference platform data code character segment;
the historical flexible tooling platform data corresponding to the reference platform data coding character segments corresponding to each judgment coding character are used as the reference historical flexible tooling platform data corresponding to each judgment coding character; constructing an updating necessity calculation model according to the distribution characteristics of each judgment coding character and the corresponding reference history flexible engineering platform data; and calculating the updating necessity of the corresponding moment of the target reference platform data coding character segment through an updating necessity calculating model.
Further, the updating the necessity calculating model includes:
wherein ,is->Corresponding update necessity for the individual moments, +.>Is->Judging the number of coding characters corresponding to the coding character segments of the reference platform data at each moment; />Is->The corresponding +.>The number of the coding characters in the flexible tooling platform data of the reference history of the coding characters is judged; />Is->The corresponding +.>Judging the number of character types corresponding to the coded characters in the corresponding reference history flexible tooling platform data, < >>Is a logarithmic function based on a natural number of 2.
The invention also provides a flexible working platform intelligent supervision system based on cloud edge coordination, which comprises a memory, a processor and a computer program stored in the memory and capable of running on the processor, wherein the processor realizes any step of the flexible working platform intelligent supervision method based on cloud edge coordination when executing the computer program.
The invention has the following beneficial effects:
considering that the frequency of occurrence of the corresponding coding characters of the real-time flexible working platform data is different and the degree of influence on the compression effect is different, the invention analyzes the frequency characteristics of the coding characters and further selectively adjusts the initial coding state table through the calculated adjustment necessity. The fact that the calculated amount corresponding to the adjustment necessity in the real-time coding data is calculated bit by bit is considered to be too large, so that the compression time of the flexible working platform data is seriously influenced; while the adjustment necessity of taking continuous coding characters as the whole calculation can improve the calculation efficiency and the compression efficiency, because the frequency of occurrence of each coding character has different influences on the compression effect, if all real-time data are calculated in the form of the whole continuous coding characters, the compression effect of the data can be greatly influenced; according to the embodiment of the invention, the reference platform data coding character segments corresponding to each moment are obtained according to the frequency distribution condition of various coding characters in the real-time flexible working platform data and the historical flexible working platform data at each moment, and analysis is carried out according to the reference platform data coding character segments with the non-identical lengths, so that the compression efficiency is improved by reducing the calculation time as much as possible, and the influence degree of the occurrence frequency of each coding character on the compression effect is reduced.
And further, according to the influence degree of the occurrence frequency of each coding character on the compression effect, the initial coding state table at each moment is adjusted according to the calculated adjustment necessity corresponding to the data coding character segments of each reference platform, so that the corresponding adjustment coding state table is obtained, and the dynamic update of the state table is realized. Because the lengths of the data coding character segments of the reference platform are not identical, compared with the updating of the bitwise state table in the traditional finite state entropy coding, the corresponding time for acquiring or constructing and adjusting the coding state table is shorter, namely the corresponding coding efficiency is higher, so that the efficiency of supervising the flexible labor platform is higher. In summary, the method for adjusting the coding state table corresponding to each reference platform data coding character segment has higher efficiency on flexible labor platform supervision.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions and advantages of the prior art, the following description will briefly explain the drawings used in the embodiments or the description of the prior art, and it is obvious that the drawings in the following description are only some embodiments of the invention, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flowchart of a flexible work platform intelligent supervision method based on cloud edge collaboration according to an embodiment of the present invention.
Detailed Description
In order to further explain the technical means and the effects adopted by the invention to achieve the preset aim, the following is a detailed description of specific implementation, structure, characteristics and effects thereof, which are provided by the invention, in combination with the accompanying drawings and the preferred embodiment. In the following description, different "one embodiment" or "another embodiment" means that the embodiments are not necessarily the same. Furthermore, the particular features, structures, or characteristics of one or more embodiments may be combined in any suitable manner.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.
The invention provides a flexible work platform intelligent supervision method and a system based on cloud edge cooperation, which are specifically described below with reference to the accompanying drawings.
Referring to fig. 1, a flowchart of a flexible work platform intelligent supervision method based on cloud edge collaboration according to an embodiment of the present invention is shown, where the method includes:
Step S1: and at each time, acquiring corresponding unencoded real-time flexible tooling platform data and corresponding encoded historical flexible tooling platform data.
Because the finite state entropy coding needs to update and adjust the state table once when processing real-time data every time one coding character is added, a great deal of time is wasted in the process of updating and adjusting the state table, and the corresponding compression efficiency is lower. Therefore, the embodiment of the invention aims to provide the intelligent supervision method and the intelligent supervision system for the flexible labor platform based on cloud edge coordination, and compression efficiency is further improved by optimizing the updating and adjusting process of the state table. Because the finite state entropy coding has lower compression efficiency when processing real-time data, the embodiment of the invention needs to analyze in the scene of acquiring real-time flexible engineering platform data. It should be noted that, the finite state entropy coding is well known in the art, and is not further defined and described herein.
The embodiment of the invention acquires the corresponding unencoded real-time flexible tooling platform data and the corresponding encoded historical flexible tooling platform data at each moment. The flexible working platform data comprise, but are not limited to, personnel data, work task data, transaction data and the like, the transaction data are selected as the flexible working platform data for analysis, and an implementer can also select other data according to specific implementation environments. And because the embodiment of the invention optimizes the process of processing real-time data by finite state entropy coding, flexible working platform data before each moment is compressed by a finite state entropy coding method, so that historical flexible working platform data is obtained, and the flexible working platform data is data which corresponds to each moment and is not compressed by finite state entropy coding.
It should be noted that, in the embodiment of the present invention, before implementing data encoding compression, firstly, a sufficient amount of historical tooling platform data needs to be obtained, in the embodiment of the present invention, before analyzing real-time flexible tooling platform data, firstly, 1000 historical tooling platform data of encoded characters need to be obtained, for example, if the moment corresponding to the flexible tooling platform data is the 1 st moment, firstly, 1000 historical tooling platform data corresponding to the encoded characters need to be collected from the first moment, and the moment after 1000 encoded characters are collected is the first moment for obtaining the real-time flexible tooling platform data; the practitioner can adjust the number of the coding characters in the historical tooling platform data according to the specific real-time environment, and it should be noted that the historical tooling platform data in the embodiment of the invention at least comprises two coding characters, which are not further described herein.
Step S2: acquiring an initial coding state table corresponding to the historical flexible engineering platform data based on finite state entropy coding; and obtaining the code character segments of the reference platform data corresponding to each moment according to the frequency distribution conditions of various code characters in the real-time flexible working platform data and the historical flexible working platform data at each moment.
Because the embodiment of the invention optimizes the process of processing the real-time data by the finite state entropy coding, the finite state entropy coding needs to update the state table when processing the real-time data, and the state table before updating is acquired based on the encoded data by the finite state entropy coding. Therefore, the embodiment of the invention acquires the initial coding state table corresponding to the historical flexible work platform data based on the finite state entropy coding, wherein the initial coding state table is the state table in the finite state entropy coding.
When the finite state entropy coding processes the real-time data, the new coding characters corresponding to the real-time data change the frequency distribution of various coding characters, so that the corresponding coding effect is reduced when the original state table is adopted for compression, therefore, the finite state entropy coding analyzes the new coding characters corresponding to the real-time data one by one, and when the new coding characters are added each time, the state table needs to be updated and adjusted. And updating the state table every time a new code character is added greatly reduces compression efficiency.
Therefore, in order to improve compression efficiency, when the real-time flexible platform data is added, the embodiment of the invention gives up a method for analyzing new coding characters corresponding to the real-time flexible platform data one by one, and adjusts the state table once every other coding character segment, thereby reducing the frequency of updating and adjusting the state table. However, considering that the occurrence frequency of different coding characters in the coding character segment can affect the compression rate, for example, if the occurrence frequency of a certain coding character in the historical flexible work platform data is less, when the frequency corresponding to the coding character is increased, that is, when the coding character appears in the coding character segment, the coding shortening length in the finite state entropy coding process is more, and when the coding compression is performed on the coding character segment corresponding to the coding character, the overall compression effect is greatly affected; conversely, if the number of times that a certain coding character appears in the historical flexible tooling platform data is smaller, when the frequency corresponding to the coding character increases, that is, when the coding character appears in the coding character segment, the length corresponding to the coding shortening in the finite state entropy coding process is relatively smaller, and when the coding character segment corresponding to the coding character is coded and compressed, the whole compression effect is less affected.
Therefore, the length of the coding character segment corresponding to each moment needs to be determined by the frequency of various coding characters in the real-time flexible working platform data. Therefore, in order to determine the coding character segment corresponding to each moment, according to the frequency distribution situation of various coding characters in the real-time flexible tooling platform data and the historical flexible tooling platform data at each moment, the embodiment of the invention obtains the coding character segment of the reference platform data corresponding to each moment, and the coding character segment of the reference platform data is the coding character segment.
Preferably, the method for acquiring the reference platform data coding character segment comprises the following steps:
acquiring local uncoded platform data of a preset coding character length in real-time flexible working platform data after each moment; and obtaining the bit-by-bit calculation necessity of the local uncoded platform data according to the frequency distribution condition of various characters in the historical coded platform data and the local uncoded platform data. In the embodiment of the present invention, the preset code character length corresponding to the local uncoded platform data is set to 100, that is, the local uncoded platform data includes 100 code characters, and in the coding sequence, the first code character of the local uncoded platform data is adjacent to the last code character of the historical flexible working platform data.
Preferably, the acquiring method of calculating necessity bit by bit includes:
taking the coding characters in the local uncoded platform data as reference platform coding characters; and taking the ratio of the number of each reference platform coding character to the total number of all coding characters as the reference frequency duty ratio corresponding to each reference platform coding character in all coding characters corresponding to the historical coding platform data and the local uncoded platform data. The frequency of each reference platform coding character in all coding characters is represented by the reference frequency duty ratio, and the frequency of the obtained coding characters is normalized by the ratio between the number of each reference platform coding character and the total number of all coding characters, so that the calculated reference frequency duty ratio is more accurate for the frequency representation of each reference platform coding character.
And carrying out negative correlation mapping on the average value of the reference frequency duty ratios of all kinds of reference platform coding characters to obtain the bit-by-bit calculation necessity of the local uncoded platform data. Further, the frequency distribution condition of the whole corresponding local uncoded platform data is further characterized by calculating the average value of the reference frequency duty ratios corresponding to all kinds of reference platform coding characters. And considering that the larger the corresponding reference frequency duty ratio is, namely the larger the corresponding average value is, the higher the frequency of occurrence of the coding characters in the local uncoded platform data is, namely the smaller the coding shortened length is in the finite state entropy coding process of the coding characters in the local uncoded platform data, the smaller the influence on the whole compression effect is, the poorer the necessity of carrying out bit-by-bit calculation on the local uncoded platform data is, namely the average value of the reference frequency duty ratio of the coding characters of all types of reference platforms is in negative correlation with the necessity of bit-by-bit calculation, and therefore negative correlation mapping is needed.
In the embodiment of the invention, each moment is taken as the first moment in sequenceMoment->The acquisition method of the bitwise calculation necessity of the local uncoded platform data at each moment is expressed as follows in a formula:
wherein ,is->Bitwise computation necessity of local uncoded platform data at individual moments, < >>Is->The number of kinds of reference platform coding characters in the local uncoded platform data at each moment,/for each time>Is->The first ∈of the local uncoded platform data at each instant>The number of seed reference platform code characters in the corresponding historical code platform data,/for each seed reference platform code character>Is->The first ∈of the local uncoded platform data at each instant>The number of seed reference platform code characters in the corresponding local uncoded platform data, +.>Is->Number of code characters in historical code platform data corresponding to each moment, < >>Is->Local uncoded corresponding to each time instantNumber of encoded characters in platform data, +.>As an exponential function based on natural constants, < +.>Is the firstThe first ∈of the local uncoded platform data at each instant>The number of seed reference platform code characters in corresponding historical code platform data and local uncoded platform data,/or>Is->And the total number of all the coded characters in the historical coded platform data and the local uncoded platform data corresponding to each moment.
Further, whether each coded character of the local uncoded platform data is subjected to bitwise analysis or not is judged according to the necessity of bitwise calculation, or all coded characters in the local uncoded platform data are analyzed as a whole. According to the embodiment of the invention, the coding character segments of the reference platform data corresponding to each moment are obtained according to the necessity of bit-by-bit calculation, namely, the number of coding characters in the coding character segments of the reference platform data can be 1 or the same as the number of coding characters in the corresponding local uncoded platform data, and only the two situations can occur.
Preferably, the method for obtaining the reference platform data coding character segment corresponding to each moment according to the necessity of bit-by-bit calculation comprises the following steps:
the greater the need to analyze each encoded character of the local uncoded platform data one by one is considered when the need to calculate one bit by one is greater; and the smaller the necessity of the bit-by-bit calculation, the greater the necessity of performing overall analysis on all the encoded characters of the local uncoded platform data. Therefore, when the necessity of the bitwise computation is greater than or equal to a preset bitwise computation threshold, the embodiment of the invention takes the first bit coding character in the local uncoded platform data as the reference platform data coding character segment at the corresponding moment. When the necessity of the bitwise computation is smaller than a preset bitwise computation threshold, taking all the coded characters in the local uncoded platform data as the coded character segments of the reference platform data at the corresponding moment. In the embodiment of the present invention, the preset bitwise calculation threshold is set to 0.5, and the practitioner can adjust the magnitude of the preset bitwise calculation threshold according to the specific implementation environment, which will not be further described herein.
Step S3: according to the frequency change condition of various coding characters corresponding to the reference platform data coding character segments after the historical coding platform data are added, obtaining the adjustment necessity corresponding to the reference platform data coding character segments corresponding to each moment; according to the distribution conditions of all adjustment necessity, adjusting the initial coding state table at each moment to obtain an adjustment coding state table of the reference platform data coding character segment corresponding to each moment; continuing to carry out coding compression according to the coding state table adjustment to obtain flexible working platform data after compression; and carrying out intelligent supervision on the flexible working platform according to the compressed flexible working platform data.
And obtaining a reference platform data coding character segment corresponding to each moment, namely determining whether to adjust an initial coding state table of the corresponding moment according to coding characters in the reference platform data coding character segment. On the basis of the historical flexible working platform data, each time one coding character is added, the frequency of the type of the coding character added in the overall flexible working platform data is necessarily increased, and therefore the coding length of the type of the coding character is reduced. The fewer the number of the types corresponding to the added coding characters in the historical flexible working platform data is, the larger the frequency change after the addition is, the shorter the average code length after the state table is updated is, the larger the corresponding compression effect is improved during the subsequent compression, and the greater the necessity of adding the coding characters into the historical flexible working platform data for updating and adjusting the initial coding state table is. That is, the greater the frequency of occurrence of each code character in the reference platform data code character segment at the corresponding time in the history flexible working platform data, the greater the necessity of updating the initial code state table by adding the reference platform data code character segment to the history flexible working platform data. However, considering that the reference platform data coding character segment may not only correspond to one coding character, the embodiment of the invention obtains the adjustment necessity corresponding to the reference platform data coding character segment corresponding to each moment according to the frequency change condition of various coding characters corresponding to the reference platform data coding character segment after the reference platform data coding character segment is added to the historical coding platform data.
Preferably, the acquiring method for adjusting the necessity includes:
because multiple coding characters may exist in the coding character segment of the reference platform data, in order to make the frequency characterization of the coding characters of the coding character segment of the reference platform data clearer, the embodiment of the invention uses the coding characters in the coding character segment of the reference platform data as the coding characters of the judging platform. And further constructing an adjustment necessity calculation model according to the number of various judgment platform coding characters and the total number of coding characters in the historical coding platform data and the number of various judgment platform coding characters in the reference platform data coding character segments, and calculating the adjustment necessity corresponding to the reference platform data coding character segments at each moment through the adjustment necessity calculation model.
Preferably, adjusting the necessity calculation model includes:
wherein ,is->The corresponding adjustment necessity of the reference platform data coding character segment at each moment +.>Is->Judging the type number of platform coding characters in the reference platform data coding character segments corresponding to each moment,/-for the type number of the platform coding characters>Is->The +.f in the historical coding platform data corresponding to each moment>The number of coding characters of the seed judging platform, +. >Is->Total number of coded characters in historical coding platform data corresponding to each moment, < > in>Is->Reference platform data coding character segment corresponding to each moment +.>The number of coding characters of the seed judging platform, +.>Is a logarithmic function based on a natural number of 2. It should be noted that, since the historical encoding platform data obtained by the embodiment of the invention at least includes two encoding characters, the present invention ∈>The value cannot be 1, i.eSince the value of (2) cannot be 0, it is impossible to adjust the formula corresponding to the necessity calculation model to have a case where the denominator is 0, which results in nonsensical.
In the adjustment necessity calculation model, based on the finite state entropy coding,characterization of->Reference to the first +.in the platform data encoded character segment at each time instant>Average code length before the code characters of the seed judging platform adjust the initial code state table,/for the code characters>Characterization of->Reference to the first +.in the platform data encoded character segment at each time instant>The average code length of the initial coding state table after the coding characters of the seed judging platform are adjusted is necessarily reduced due to the fact that the average code length corresponding to the coding characters is added, and therefore +.>Characterization of->Judging the variation degree of the average code length of the platform coding characters before and after the initial coding state table is adjusted, and setting the corresponding value in the range of 0 to 1; and considering that the larger the average code length change of the judging platform code character after the initial code state table is adjusted, namely the larger the average code length change after adjustment relative to the average code length before adjustment, the larger the corresponding compression effect is improved during compression, namely the judging platform code character is added into the calendar The greater the need for updated adjustments to the initial encoding state table in the history-flexible worker platform data. Furthermore, after all kinds of judgment platform coding characters in the reference platform data coding character segments are added into the historical flexible working platform data, the necessity of correspondingly updating and adjusting the initial coding state table is correspondingly calculated, so that the necessity of correspondingly adjusting the reference platform data coding character segments at corresponding moments is obtained.
And further, according to the distribution condition of all adjustment necessity, adjusting the initial coding state table at each moment to obtain an adjustment coding state table of the reference platform data coding character segment corresponding to each moment.
Preferably, the method for acquiring the adjustment coding state table includes:
considering that the greater the corresponding adjustment necessity of the reference platform data coding character segments is, the more necessary the reference platform data coding character segments are added into the historical flexible tooling platform data to update and adjust the initial coding state table, so that each reference platform data coding character segment is sequentially used as a target reference platform data coding character segment; and when the adjustment necessity corresponding to the target reference platform data coding character segment is greater than or equal to a preset adjustment threshold value, adjusting according to the initial coding state table of the corresponding moment of the target reference platform data coding character segment to obtain an adjustment coding state table of the corresponding moment of the target reference platform data coding character segment. In the embodiment of the invention, the preset adjustment threshold is set to 0.8, and an implementer can set the magnitude of the preset adjustment threshold according to the specific implementation environment. It should be noted that, the adjustment is performed according to the initial coding state table of the target reference platform data coding character segment at the corresponding time, that is, the target reference platform data coding character segment is added to the historical flexible platform data, and then the corresponding initial coding state table is updated, and the adjustment method for the initial coding state table is a conventional technical means in finite state entropy coding, which is a prior art well known to those skilled in the art, and is not further limited and described herein.
Further, considering that if the corresponding initial coding state table is not updated and adjusted at the corresponding time of the reference platform data coding character segment where the adjustment necessity is smaller than the preset adjustment threshold, the initial coding state is not updated continuously for multiple times, so that the compression effect is reduced and the compression rate is gradually increased, and further analysis of the distribution situation of the adjustment necessity is required. According to the embodiment of the invention, when the adjustment necessity corresponding to the target reference platform data coding character segment is smaller than the preset adjustment threshold, the update necessity of the corresponding moment of the target reference platform data coding character segment is calculated according to the distribution situation of the adjustment necessity of the adjacent reference platform data coding character segment. It is further determined whether to update the initial encoding state table at a time when the adjustment necessity is smaller than a preset adjustment threshold by calculating the update necessity.
Preferably, the method for acquiring the update necessity includes:
and taking all the coding characters in the target reference platform data coding character segment and the corresponding judgment platform data coding character segment as judgment coding characters corresponding to the target reference platform data coding character segment, wherein the judgment platform data coding character segment is a reference platform data coding character segment with the adjustment necessity smaller than a preset adjustment threshold value, and no reference platform data coding character segment with the adjustment necessity larger than or equal to the preset adjustment threshold value exists between each judgment platform data coding character segment and the target reference platform data coding character segment. That is, before the moment that the platform data coding character segment is judged to be corresponding to the target reference platform data coding character segment, the adjustment necessity is smaller than the preset adjustment threshold value and the reference platform data coding character segments continuously appear. The more the number of the code characters is judged, the more the number of times of continuously and repeatedly not adjusting the initial code state table is explained, the more the necessity of updating and adjusting the initial code state table at the corresponding moment of the target reference platform data code character segment is increased.
The historical flexible tooling platform data corresponding to the reference platform data coding character segments corresponding to each judgment coding character are used as the reference historical flexible tooling platform data corresponding to each judgment coding character; constructing an updating necessity calculation model according to the distribution characteristics of each judgment coding character and the corresponding reference history flexible engineering platform data; and calculating the updating necessity of the corresponding moment of the target reference platform data coding character segment through an updating necessity calculating model.
Preferably, updating the necessity calculation model includes:
wherein ,is->Corresponding update necessity for the individual moments, +.>Is->Judging the number of coding characters corresponding to the coding character segments of the reference platform data at each moment; />Is->The corresponding +.>The number of the coding characters in the flexible tooling platform data of the reference history of the coding characters is judged; />Is->The corresponding first time/>Judging the number of character types corresponding to the coded characters in the corresponding reference history flexible tooling platform data, < >>Is a logarithmic function based on a natural number of 2. It should be noted that, since the historical encoding platform data obtained by the embodiment of the invention at least includes two encoding characters, the present invention ∈ >The value cannot be 1, i.e. +.>Since the value of (2) cannot be 0, the formula corresponding to the update necessity calculation model cannot have a case where the denominator is 0, which results in nonsensical.
Similar to the meaning in the adjustment necessity calculation model,characterized by the meaning->The corresponding +.>The variation degree of the average code length before and after the initial coding state table at the corresponding time of each judgment code character is adjusted, and the judgment code characters are always analyzed one by one, so +.>To a certain extent can characterize the +.>The adjustment necessity corresponding to the judgment code character is further added up to obtain the +.>The corresponding updating necessity of each moment, namely, the more the number of the coding characters is judged, the larger the updating necessity of the corresponding moment is, namely, the larger the necessity of updating and adjusting the initial coding state table of the corresponding moment is, when the occurrence frequency of the coding characters in the corresponding reference history flexible tooling platform data is judged to be lower.
Further, when the updating necessity is larger than or equal to a preset updating threshold value, adjusting according to an initial coding state table of the corresponding moment of the target reference platform data coding character segment to obtain an adjusting coding state table of the corresponding moment of the target reference platform data coding character segment; when the updating necessity is smaller than a preset updating threshold value, the initial coding state table of the moment corresponding to the target reference platform data coding character segment is used as the adjustment coding state table, namely the initial coding state table of the moment corresponding to the reference platform data coding character segment with the updating necessity smaller than the preset updating threshold value is not updated. In the embodiment of the invention, the preset updating threshold is set to 2, and the implementer can adjust according to the specific implementation environment. It should be noted that, in order to enable the subsequent analysis to be performed continuously, if the update necessity of the target reference platform data encoding character segment is greater than or equal to the preset update threshold, the corresponding adjustment necessity is regarded as being greater than or equal to the preset adjustment threshold, so that the subsequently acquired judgment encoding character better accords with the actual situation.
So far, the adjustment coding state table corresponding to each moment is obtained. And further continuing to carry out coding compression according to the coding state table adjustment to obtain flexible working platform data after compression. In the embodiment of the invention, the encoding compression is continuously carried out through the finite state entropy encoding according to the adjustment encoding state table.
And finally, carrying out intelligent supervision on the flexible working platform according to the compressed flexible working platform data. In the embodiment of the invention, the compressed flexible working platform data is transmitted to the visual platform, and the change of the real-time working data is displayed by the visual platform to carry out intelligent supervision on the flexible working platform.
In summary, according to the frequency distribution condition of various coding characters in the real-time flexible working platform data and the historical flexible working platform data at each moment, the reference platform data coding character segments with the different lengths corresponding to each moment are obtained, the frequency change condition of various corresponding coding characters after each reference platform data coding character segment is added into the historical coding platform data is calculated, the corresponding adjustment necessity is obtained, the initial coding state table at each moment is further adjusted according to the adjustment necessity, coding compression is carried out according to the adjusted coding state table, and intelligent supervision of the flexible working platform is carried out according to the compressed flexible working platform data. The method for adjusting the coding state table by calculating the data coding character segments of each reference platform has higher efficiency on flexible supervision of the labor platform.
The invention also provides a flexible working platform intelligent supervision system based on cloud edge coordination, which comprises a memory, a processor and a computer program stored in the memory and capable of running on the processor, wherein the processor realizes any step of the flexible working platform intelligent supervision method based on cloud edge coordination when executing the computer program.
It should be noted that: the sequence of the embodiments of the present invention is only for description, and does not represent the advantages and disadvantages of the embodiments. The processes depicted in the accompanying drawings do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
In this specification, each embodiment is described in a progressive manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments.

Claims (10)

1. The intelligent supervision method for the flexible work platform based on cloud edge cooperation is characterized by comprising the following steps:
acquiring corresponding unencoded real-time flexible tooling platform data and corresponding encoded historical flexible tooling platform data at each time;
Acquiring an initial coding state table corresponding to the historical flexible engineering platform data based on finite state entropy coding; obtaining a reference platform data coding character segment corresponding to each moment according to the frequency distribution condition of various coding characters in the real-time flexible tooling platform data and the historical flexible tooling platform data at each moment;
obtaining the adjustment necessity corresponding to the reference platform data coding character segment corresponding to each moment according to the frequency change condition of various coding characters corresponding to the reference platform data coding character segment added to the historical coding platform data; according to the distribution conditions of all adjustment necessity, adjusting the initial coding state table at each moment to obtain an adjustment coding state table of the reference platform data coding character segment corresponding to each moment; continuing to carry out coding compression according to the coding state adjustment table to obtain flexible working platform data after compression; and carrying out intelligent supervision on the flexible working platform according to the compressed flexible working platform data.
2. The flexible industrial platform intelligent supervision method based on cloud edge coordination according to claim 1, wherein the reference platform data coding character segment acquisition method comprises the following steps:
Acquiring local uncoded platform data of a preset coding character length in real-time flexible working platform data after each moment; obtaining the bit-by-bit calculation necessity of the local uncoded platform data according to the historical coded platform data and the frequency distribution condition of various characters in the local uncoded platform data; and obtaining the reference platform data coding character segment corresponding to each moment according to the bitwise calculation necessity.
3. The flexible industrial platform intelligent supervision method based on cloud edge coordination according to claim 2, wherein the method for acquiring the bitwise calculation necessity comprises the following steps:
taking the coding characters in the local uncoded platform data as reference platform coding characters; taking the ratio of the number of each reference platform coding character to the total number of all coding characters in all coding characters corresponding to the historical coding platform data and the local uncoded platform data as the reference frequency duty ratio corresponding to each reference platform coding character; and carrying out negative correlation mapping on the average value of the reference frequency duty ratios of all kinds of reference platform coding characters to obtain the bit-by-bit calculation necessity of the local uncoded platform data.
4. The flexible industrial platform intelligent supervision method based on cloud edge coordination according to claim 2, wherein the method for obtaining the reference platform data coding character segments corresponding to each moment according to the bitwise calculation necessity comprises the following steps:
When the bitwise calculation necessity is greater than or equal to a preset bitwise calculation threshold, taking a first bit coding character in the local uncoded platform data as a reference platform data coding character segment at a corresponding moment;
and when the necessity of the bitwise computation is smaller than a preset bitwise computation threshold, taking all the coded characters in the local uncoded platform data as the coded character segments of the reference platform data at the corresponding moment.
5. The intelligent supervision method for the flexible working platform based on cloud edge coordination according to claim 1, wherein the obtaining method for the adjustment necessity comprises the following steps:
taking the coding characters in the coding character segments of the reference platform data as the coding characters of the judging platform; and constructing an adjustment necessity calculation model according to the number of various judgment platform coding characters and the total number of coding characters in the historical coding platform data and the number of various judgment platform coding characters in the reference platform data coding character segments, and calculating the adjustment necessity corresponding to the reference platform data coding character segments at each moment through the adjustment necessity calculation model.
6. The cloud-edge collaboration-based flexible worker platform intelligent supervision method of claim 5, wherein the adjusting the necessity calculation model comprises:
wherein ,is->The corresponding adjustment necessity of the reference platform data coding character segment at each moment +.>Is->Judging the type number of platform coding characters in the reference platform data coding character segments corresponding to each moment,/-for the type number of the platform coding characters>Is->The +.f in the historical coding platform data corresponding to each moment>The number of coding characters of the seed judging platform, +.>Is->Total number of coded characters in historical coding platform data corresponding to each moment, < > in>Is->Number of reference platforms corresponding to each momentThe coded character segment is +.>The number of coding characters of the seed judging platform, +.>Is a logarithmic function based on a natural number of 2.
7. The intelligent supervision method for the flexible working platform based on cloud edge coordination according to claim 1, wherein the obtaining method for adjusting the coding state table comprises the following steps:
taking each reference platform data coding character segment as a target reference platform data coding character segment in turn;
when the adjustment necessity corresponding to the target reference platform data coding character segment is greater than or equal to a preset adjustment threshold value, adjusting according to an initial coding state table of the corresponding moment of the target reference platform data coding character segment to obtain an adjustment coding state table of the corresponding moment of the target reference platform data coding character segment;
When the adjustment necessity corresponding to the target reference platform data coding character segment is smaller than a preset adjustment threshold value, calculating the update necessity of the corresponding moment of the target reference platform data coding character segment according to the distribution situation of the adjustment necessity of the adjacent reference platform data coding character segment; when the updating necessity is larger than or equal to a preset updating threshold value, adjusting according to an initial coding state table of the corresponding moment of the target reference platform data coding character segment to obtain an adjusting coding state table of the corresponding moment of the target reference platform data coding character segment; and when the updating necessity is smaller than a preset updating threshold value, taking the initial coding state table of the corresponding moment of the target reference platform data coding character segment as an adjusting coding state table.
8. The intelligent supervision method for the flexible working platform based on cloud edge collaboration according to claim 7, wherein the obtaining method for the update necessity comprises the following steps:
taking all code characters in the target reference platform data code character segment and the corresponding judgment platform data code character segment as judgment code characters corresponding to the target reference platform data code character segment, wherein the judgment platform data code character segment is a reference platform data code character segment with the adjustment necessity smaller than a preset adjustment threshold value, and no reference platform data code character segment with the adjustment necessity larger than or equal to the preset adjustment threshold value exists between each judgment platform data code character segment and the target reference platform data code character segment;
The historical flexible tooling platform data corresponding to the reference platform data coding character segments corresponding to each judgment coding character are used as the reference historical flexible tooling platform data corresponding to each judgment coding character; constructing an updating necessity calculation model according to the distribution characteristics of each judgment coding character and the corresponding reference history flexible engineering platform data; and calculating the updating necessity of the corresponding moment of the target reference platform data coding character segment through an updating necessity calculating model.
9. The cloud-edge collaboration-based flexible worker platform intelligent supervision method of claim 7, wherein updating the necessity calculation model comprises:
wherein ,is->Corresponding update necessity for the individual moments, +.>Is->Judging the number of coding characters corresponding to the coding character segments of the reference platform data at each moment; />Is->The corresponding +.>The number of the coding characters in the flexible tooling platform data of the reference history of the coding characters is judged; />Is->The corresponding +.>Judging the number of character types corresponding to the coded characters in the corresponding reference history flexible tooling platform data, < >>Is a logarithmic function based on a natural number of 2.
10. The flexible work platform intelligent supervision system based on cloud edge cooperation comprises a memory, a processor and a computer program which is stored in the memory and can run on the processor, and is characterized in that the steps of the method according to any one of claims 1-9 are realized when the processor executes the computer program.
CN202311091343.9A 2023-08-29 2023-08-29 Flexible work platform intelligent supervision method and system based on cloud edge cooperation Active CN116827350B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311091343.9A CN116827350B (en) 2023-08-29 2023-08-29 Flexible work platform intelligent supervision method and system based on cloud edge cooperation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311091343.9A CN116827350B (en) 2023-08-29 2023-08-29 Flexible work platform intelligent supervision method and system based on cloud edge cooperation

Publications (2)

Publication Number Publication Date
CN116827350A true CN116827350A (en) 2023-09-29
CN116827350B CN116827350B (en) 2023-11-07

Family

ID=88122460

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311091343.9A Active CN116827350B (en) 2023-08-29 2023-08-29 Flexible work platform intelligent supervision method and system based on cloud edge cooperation

Country Status (1)

Country Link
CN (1) CN116827350B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117056496A (en) * 2023-10-12 2023-11-14 青岛海尔乐信云科技有限公司 Intelligent customer service interaction data management method based on big data
CN117093666A (en) * 2023-10-20 2023-11-21 北斗七星信息科技(山东)有限公司 Data storage method for immersive enterprise office system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108073710A (en) * 2017-12-21 2018-05-25 儒安科技有限公司 The Github Open Source Codes storehouse commending system excavated based on dynamic network figure
WO2019041919A1 (en) * 2017-08-30 2019-03-07 前海中科芯片控股 (深圳)有限公司 Data coding method and device, and storage medium
CN111507108A (en) * 2020-04-17 2020-08-07 腾讯科技(深圳)有限公司 Alias generation method and device, electronic equipment and computer readable storage medium
CN112950293A (en) * 2021-04-07 2021-06-11 华能四川水电有限公司 Enterprise external data acquisition and analysis system
CN114123518A (en) * 2022-01-25 2022-03-01 山东和兑智能科技有限公司 Digital intelligent detection method and monitoring system for transformer
CN115713420A (en) * 2023-01-09 2023-02-24 北京万赋互联网科技集团有限公司 Data transmission method for flexibly employing labor service platform to pay and collect

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019041919A1 (en) * 2017-08-30 2019-03-07 前海中科芯片控股 (深圳)有限公司 Data coding method and device, and storage medium
CN108073710A (en) * 2017-12-21 2018-05-25 儒安科技有限公司 The Github Open Source Codes storehouse commending system excavated based on dynamic network figure
CN111507108A (en) * 2020-04-17 2020-08-07 腾讯科技(深圳)有限公司 Alias generation method and device, electronic equipment and computer readable storage medium
CN112950293A (en) * 2021-04-07 2021-06-11 华能四川水电有限公司 Enterprise external data acquisition and analysis system
CN114123518A (en) * 2022-01-25 2022-03-01 山东和兑智能科技有限公司 Digital intelligent detection method and monitoring system for transformer
CN115713420A (en) * 2023-01-09 2023-02-24 北京万赋互联网科技集团有限公司 Data transmission method for flexibly employing labor service platform to pay and collect

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117056496A (en) * 2023-10-12 2023-11-14 青岛海尔乐信云科技有限公司 Intelligent customer service interaction data management method based on big data
CN117056496B (en) * 2023-10-12 2024-01-26 青岛海尔乐信云科技有限公司 Intelligent customer service interaction data management method based on big data
CN117093666A (en) * 2023-10-20 2023-11-21 北斗七星信息科技(山东)有限公司 Data storage method for immersive enterprise office system
CN117093666B (en) * 2023-10-20 2024-01-05 北斗七星信息科技(山东)有限公司 Data storage method for immersive enterprise office system

Also Published As

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

Similar Documents

Publication Publication Date Title
CN116827350B (en) Flexible work platform intelligent supervision method and system based on cloud edge cooperation
CN112365029B (en) Missing value processing method for air conditioner load prediction and air conditioner load prediction system
CN111861023B (en) Mixed wind power prediction method and device based on statistics
CN112633316A (en) Load prediction method and device based on boundary estimation theory
CN104581749A (en) A method and device for predicting service amount of data service of mobile network
CN115987294A (en) Multidimensional data processing method of Internet of things
CN112529053A (en) Short-term prediction method and system for time sequence data in server
CN116232935B (en) Big data transmission method for monitoring Internet of things
CN112686291A (en) Water quality prediction method, device, system and computer readable storage medium
CN108537322A (en) Neural network interlayer activation value quantization method and device
CN116894539A (en) Clothing production monitoring method, system and medium
CN116095347A (en) Construction engineering safety construction method and system based on video analysis
CN113722939B (en) Wind power output prediction method, device, equipment and storage medium
CN116088455A (en) Complex heavy equipment process optimization method based on reinforcement learning and digital twinning
CN110769000A (en) Dynamic compression prediction control method of continuous monitoring data in unstable network transmission
CN115456260A (en) Customer service telephone traffic prediction method
CN114548739A (en) Transformer substation flood prevention risk combination evaluation method
CN109657404B (en) Automatic fault diagnosis system for coal mining machine based on chaos correction group intelligent optimization
CN111339155B (en) Correlation analysis system
CN112069168A (en) Cloud storage method for equipment operation data
CN114665885B (en) Self-adaptive data compression method for time sequence database
CN107193862A (en) A kind of variance optimization histogram construction method and device based on Spark Streaming
CN117411947B (en) Cloud edge cooperation-based water service data rapid transmission method
CN117459187B (en) High-speed data transmission method based on optical fiber network
CN116595102B (en) Big data management method and system for improving clustering algorithm

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