Disclosure of Invention
The application provides a service data processing method and a cloud platform based on cloud network fusion and artificial intelligence, so as to solve the technical problems in the prior art.
According to a first aspect of the embodiments of the present invention, a service data processing method based on cloud network fusion and artificial intelligence is provided, which is applied to a cloud platform, and the service data processing method based on cloud network fusion and artificial intelligence includes:
acquiring thread state distribution of target Internet of things control equipment added into a business cooperative processing protocol, wherein the thread state distribution comprises a plurality of real-time thread states and state description information corresponding to each real-time thread state;
detecting whether the state label added by the target Internet of things control equipment in the service cooperative processing protocol carries time slice resource information matched with set state description information;
if the state label added by the target Internet of things control equipment in the service cooperative processing protocol is detected to contain time slice resource information matched with the set state description information, acquiring a target real-time thread state corresponding to the set state description information in thread state distribution of the target Internet of things control equipment;
detecting whether an authorization authentication check code obtained by parallel calculation of the cloud platform and the target Internet of things control device exists in the business cooperative processing protocol at present, if the authorization authentication check code obtained by parallel calculation of the cloud platform and the target Internet of things control device does not exist in the business cooperative processing protocol at present, waiting until the authorization authentication check code obtained by parallel calculation of the cloud platform and the target Internet of things control device exists in the business cooperative processing protocol at present, and determining a thread parameter storage path of a target thread corresponding to the target real-time thread state based on the state tag;
and sending at least part of target service data in the to-be-processed service data received by the cloud platform at a set time period to the target Internet of things control equipment according to the thread parameter storage path, so that the target Internet of things control equipment processes the target service data through the target thread and feeds back a processing result to the cloud platform in real time.
Optionally, the method further comprises:
receiving a processing result fed back by the target Internet of things control equipment;
and performing staged integration on the processing result according to the real-time processing process of other service data except at least part of target service data in the service data to be processed received in a set time period.
Optionally, the performing, in a staged manner, the processing result according to a real-time processing process of other service data, except for at least part of the target service data, in the service data to be processed received at the set time period includes:
acquiring process parameter information of a business data processing process in the cloud platform, and calculating a first process percentage corresponding to the process parameter information of the business data processing process; the process parameter information of the business data processing process is a process parameter of the business data processing process recorded by a set information coding logic in the cloud platform, and the set information coding logic changes according to the change of the memory resource occupancy rate of the cloud platform;
acquiring a plurality of result lists of the processing results, and calculating the process parameter information of the business data processing process and the business data cooperation coefficients between the plurality of result lists based on the first process percentage;
if the business data cooperation coefficients between the process parameter information of the business data processing process and the result lists are all smaller than the preset cooperation coefficient, mapping the business data processing time consumption corresponding to the result lists with the first process percentage to obtain a second process percentage; splicing the processing time consumption of each service data into a service behavior time consumption curve according to a time sequence, taking the service behavior time consumption curve as a reference curve, taking the data capacity of other service data in the cloud platform as an adjusting factor, and performing synchronous correction on the reference curve to obtain a first synchronous correction result; screening the first synchronous correction result according to the second process percentage to obtain a second synchronous correction result; successively carrying out pairing integration on the service data result identification in each result list and the service data result identification of other service data except at least part of target service data in the service data to be processed according to the time sequence correction index of each result list in the second synchronous correction result;
if the process parameter information of the business data processing process and the business data cooperation coefficients between the plurality of result lists are not all smaller than the preset cooperation coefficients, the plurality of result lists are sorted according to the descending order of the business data cooperation coefficients to obtain a result list sorting sequence, the top result list is sequentially selected from the result list sorting sequence, and the business data result identification in the result list is matched and integrated with the business data result identification of other business data except at least part of target business data in the business data to be processed.
Optionally, the determining, based on the state tag, a thread parameter storage path of the target thread corresponding to the target real-time thread state includes:
judging whether the thread occupancy rate corresponding to the target real-time thread state has periodic change or not;
if yes, extracting a thread state change curve of the thread occupancy rate corresponding to the target real-time thread state in the current cycle based on the state label, performing time sequence feature extraction on the thread state change curve based on the periodically changed frequency value of the thread occupancy rate to obtain at least one group of time sequence feature data, determining a thread generation script of the target thread corresponding to the target real-time thread state based on the time sequence feature data, and generating a thread parameter storage path of the target thread through a directional parameter in the thread generation script;
otherwise, extracting time period information when the change characteristic of the thread occupancy rate corresponding to the target real-time thread state tends to set a numerical value interval, determining a thread interface update record of the target thread corresponding to the target real-time thread state according to the time period information, and determining a thread parameter storage path of the target thread from the thread interface update record.
Optionally, the sending, according to the thread parameter storage path, at least part of target service data in to-be-processed service data received by the cloud platform at a set time period to the target internet of things control device includes:
determining node parameter distribution corresponding to path node parameters of the thread parameter storage path, and node pointing distribution corresponding to path node pointing of the thread parameter storage path; determining unit transmission data of the path node parameters in any distribution unit of the node parameter distribution, and determining a distribution unit with the minimum distribution coefficient in the node pointing distribution as a reference distribution unit; according to the path activity of the thread parameter storage path, packaging the unit transmission data into the reference distribution unit and obtaining unit packaging data corresponding to the unit transmission data in the reference distribution unit; generating path format distribution between the path node parameters and the path node points according to the unit transmission data and the defect data between the unit encapsulation data; wherein the node parameter distribution and the node pointing distribution respectively include a plurality of distribution units with different distribution coefficients;
under the condition that a continuous service tag exists in the cloud platform within the set time period according to the path format distribution, determining a queue matching list between each data queue of the service data to be processed under the detachable service tag and each data queue of the service data to be processed under the continuous service tag according to the data queue of the service data to be processed under the continuous service tag and a continuous distribution parameter of the data queue on a time sequence;
transferring a data queue of the service data to be processed under the detachable service label and a data queue matched with the data queue under the continuous service label to the continuous service label according to the queue matching list; if a plurality of data queues exist in the service data to be processed under the detachable service label, determining a queue matching list among the data queues of the service data to be processed under the detachable service label based on the data queues of the service data to be processed under the continuous service label and the continuity distribution parameters of the data queues on the time sequence; calibrating each data queue under the detachable service label through a queue matching list among the data queues; adding transfer priorities to each group of target data queues obtained by calibration based on the data queues of the service data to be processed under the continuity service tags and the continuity distribution parameters of the data queues in time sequence, sequencing the target data queues according to the sequence of the transfer priorities from big to small, and selecting a target number of target data queues in the top sequence to be transferred under the continuity service tags;
and selecting at least part of target service data from the detachable service label according to the data throughput corresponding to the thread parameter storage path and sending the target service data to the target Internet of things control equipment.
Optionally, the target internet of things control device specifically processes the target service data through the target thread by using the following method:
extracting service behavior data which accord with preset processing logic from the target service data;
extracting logic track information of the preset processing logic from a thread log corresponding to the target thread;
and sequentially importing the service behavior data into a target storage space corresponding to the target thread according to the logic track information, sequentially extracting the service behavior data according to the storage address of the service behavior data in the target storage space, and processing the service data in the target thread.
According to a second aspect of the embodiments of the present invention, there is provided a cloud platform, configured to:
acquiring thread state distribution of target Internet of things control equipment added into a business cooperative processing protocol, wherein the thread state distribution comprises a plurality of real-time thread states and state description information corresponding to each real-time thread state;
detecting whether the state label added by the target Internet of things control equipment in the service cooperative processing protocol carries time slice resource information matched with set state description information;
if the state label added by the target Internet of things control equipment in the service cooperative processing protocol is detected to contain time slice resource information matched with the set state description information, acquiring a target real-time thread state corresponding to the set state description information in thread state distribution of the target Internet of things control equipment;
detecting whether an authorization authentication check code obtained by parallel calculation of the cloud platform and the target Internet of things control device exists in the business cooperative processing protocol at present, if the authorization authentication check code obtained by parallel calculation of the cloud platform and the target Internet of things control device does not exist in the business cooperative processing protocol at present, waiting until the authorization authentication check code obtained by parallel calculation of the cloud platform and the target Internet of things control device exists in the business cooperative processing protocol at present, and determining a thread parameter storage path of a target thread corresponding to the target real-time thread state based on the state tag;
and sending at least part of target service data in the to-be-processed service data received by the cloud platform at a set time period to the target Internet of things control equipment according to the thread parameter storage path, so that the target Internet of things control equipment processes the target service data through the target thread and feeds back a processing result to the cloud platform in real time.
Optionally, the cloud platform is further configured to:
receiving a processing result fed back by the target Internet of things control equipment;
and performing staged integration on the processing result according to the real-time processing process of other service data except at least part of target service data in the service data to be processed received in a set time period.
Optionally, the cloud platform is configured to:
judging whether the thread occupancy rate corresponding to the target real-time thread state has periodic change or not;
if yes, extracting a thread state change curve of the thread occupancy rate corresponding to the target real-time thread state in the current cycle based on the state label, performing time sequence feature extraction on the thread state change curve based on the periodically changed frequency value of the thread occupancy rate to obtain at least one group of time sequence feature data, determining a thread generation script of the target thread corresponding to the target real-time thread state based on the time sequence feature data, and generating a thread parameter storage path of the target thread through a directional parameter in the thread generation script;
otherwise, extracting time period information when the change characteristic of the thread occupancy rate corresponding to the target real-time thread state tends to set a numerical value interval, determining a thread interface update record of the target thread corresponding to the target real-time thread state according to the time period information, and determining a thread parameter storage path of the target thread from the thread interface update record.
Optionally, the cloud-end platform is specifically configured to:
determining node parameter distribution corresponding to path node parameters of the thread parameter storage path, and node pointing distribution corresponding to path node pointing of the thread parameter storage path; determining unit transmission data of the path node parameters in any distribution unit of the node parameter distribution, and determining a distribution unit with the minimum distribution coefficient in the node pointing distribution as a reference distribution unit; according to the path activity of the thread parameter storage path, packaging the unit transmission data into the reference distribution unit and obtaining unit packaging data corresponding to the unit transmission data in the reference distribution unit; generating path format distribution between the path node parameters and the path node points according to the unit transmission data and the defect data between the unit encapsulation data; wherein the node parameter distribution and the node pointing distribution respectively include a plurality of distribution units with different distribution coefficients;
under the condition that a continuous service tag exists in the cloud platform within the set time period according to the path format distribution, determining a queue matching list between each data queue of the service data to be processed under the detachable service tag and each data queue of the service data to be processed under the continuous service tag according to the data queue of the service data to be processed under the continuous service tag and a continuous distribution parameter of the data queue on a time sequence;
transferring a data queue of the service data to be processed under the detachable service label and a data queue matched with the data queue under the continuous service label to the continuous service label according to the queue matching list; if a plurality of data queues exist in the service data to be processed under the detachable service label, determining a queue matching list among the data queues of the service data to be processed under the detachable service label based on the data queues of the service data to be processed under the continuous service label and the continuity distribution parameters of the data queues on the time sequence; calibrating each data queue under the detachable service label through a queue matching list among the data queues; adding transfer priorities to each group of target data queues obtained by calibration based on the data queues of the service data to be processed under the continuity service tags and the continuity distribution parameters of the data queues in time sequence, sequencing the target data queues according to the sequence of the transfer priorities from big to small, and selecting a target number of target data queues in the top sequence to be transferred under the continuity service tags;
and selecting at least part of target service data from the detachable service label according to the data throughput corresponding to the thread parameter storage path and sending the target service data to the target Internet of things control equipment.
When the service data processing method and the cloud platform based on cloud network fusion and artificial intelligence are applied, firstly, thread state distribution of target internet-of-things control equipment added into a service cooperative processing protocol is obtained, secondly, when time slice resource information is carried in a state label added into the service cooperative processing protocol by the target internet-of-things control equipment, a target real-time thread state corresponding to set state description information is obtained in the thread state distribution of the target internet-of-things control equipment, then, after an authorization authentication check code currently exists in the service cooperative processing protocol, a thread parameter storage path of a target thread corresponding to the target real-time thread state is determined based on the state label, and finally, at least part of target service data is sent to the target internet-of-things control equipment according to the thread parameter storage path. Therefore, the target Internet of things control equipment can perform cooperative processing on target service data through the target thread, cooperation of the cloud platform and part of Internet of things control equipment can be achieved, the phenomenon that the cloud platform is overloaded in actual service development is avoided, time delay of smart city management is reduced, coordination difficulty of the smart city management is reduced, and normal production operation of all industries in the smart city is guaranteed.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this application and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It is to be understood that although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present application. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
The inventor finds in research that the existing smart city generally realizes the cooperative operation of the smart city based on the intercommunication among a plurality of internet of things control devices. Further, the inventor innovatively discovers that some threads of the internet of things control equipment can achieve parallel processing of service data, so that the inventor innovatively provides a service data processing method based on cloud network fusion and artificial intelligence, and can issue part of service data in the cloud platform to part of the internet of things control equipment, so that cooperation of the cloud platform and part of the internet of things control equipment is achieved, the phenomenon that the cloud platform is overloaded in actual service development is avoided, time delay of smart city management is reduced, coordination difficulty of the smart city management is lowered, and normal production operation of all industries in the smart city is guaranteed.
To achieve the above object, the embodiment of the present invention first provides a service data processing system 100 based on cloud network fusion and artificial intelligence as shown in fig. 1, where the service data processing system 100 includes a cloud platform 110 and a plurality of internet of things control devices 120. The cloud platform 110 and the internet of things control devices 120 are communicated with each other, and the internet of things devices 120 can be deployed in the smart city and used for production control of all industries in the smart city.
Further, the cloud platform 110 in fig. 1 may be applied not only to a smart city, but also to smart medical, smart industrial park, and smart industrial internet, and the service data processing system 100 may be applied to scenarios such as big data, cloud computing, and edge computing, including but not limited to new energy vehicle system management, intelligent online office, intelligent online education, cloud game data processing, e-commerce live delivery processing, cloud internet networking processing, block chain digital financial currency service, block chain supply chain financial service, and the like, which is not limited herein. It is understood that when applied to the above-mentioned corresponding fields, the types of the service data are adjusted and further refined, and are not listed here.
On the basis of fig. 1, fig. 2 shows a flowchart of a service data processing method based on cloud network fusion and artificial intelligence, where the method may be applied to the cloud platform in fig. 1, and specifically may include the contents described in the following steps S210 to S250.
Step S210, obtaining thread state distribution of the target Internet of things control equipment added with the business cooperative processing protocol.
In this embodiment, the thread state distribution includes a plurality of real-time thread states and state description information corresponding to each real-time thread state, and the service cooperative processing protocol is generated in advance by the cloud platform.
Step S220, detecting whether the state tag added to the service cooperative processing protocol by the target internet of things control device carries time slice resource information matched with the set state description information.
In this embodiment, the time slice resource information is used to represent a resource occupation situation of a CPU time slice of the target internet of things device.
Step S230, if it is detected that the state tag added to the service cooperative processing protocol by the target internet of things control device includes time slice resource information matched with the set state description information, acquiring a target real-time thread state corresponding to the set state description information in thread state distribution of the target internet of things control device.
Step S240, detecting whether the service cooperative processing protocol currently has an authorization authentication check code obtained by parallel computing of the cloud platform and the target internet-of-things control device, if the service cooperative processing protocol currently does not have the authorization authentication check code obtained by parallel computing of the cloud platform and the target internet-of-things control device, waiting until the service cooperative processing protocol currently has the authorization authentication check code obtained by parallel computing of the cloud platform and the target internet-of-things control device, and determining a thread parameter storage path of a target thread corresponding to the target real-time thread state based on the state tag.
Step S250, according to the thread parameter storage path, sending at least part of target service data in the to-be-processed service data received by the cloud platform at a set time interval to the target internet of things control device, so that the target internet of things control device processes the target service data through the target thread and feeds back a processing result to the cloud platform in real time.
In specific implementation, by executing the steps S210 to S250, the thread state distribution of the target internet of things control device added in the service cooperative processing protocol is first obtained, then the target real-time thread state corresponding to the set state description information is obtained in the thread state distribution of the target internet of things control device when it is detected that the target internet of things control device carries time slice resource information in a state tag added in the service cooperative processing protocol, then a thread parameter storage path of the target thread corresponding to the target real-time thread state is determined based on the state tag after it is detected that the service cooperative processing protocol currently has the authorization authentication check code, and finally at least part of the target service data is sent to the target internet of things control device according to the thread parameter storage path.
Therefore, the target Internet of things control equipment can perform cooperative processing on target service data through the target thread, cooperation of the cloud platform and part of Internet of things control equipment can be achieved, the phenomenon that the cloud platform is overloaded in actual service development is avoided, time delay of smart city management is reduced, coordination difficulty of the smart city management is reduced, and normal production operation of all industries in the smart city is guaranteed.
In practical applications, the inventor finds that, in order to ensure complete fusion of the service data processing of the cloud platform and the service data processing of the target internet of things control device, so as to avoid service data loss caused by cooperative processing, on the basis of the descriptions in the above steps S210 to S250, the method may further include the following contents described in steps S260 and S270.
And step S260, receiving a processing result fed back by the target Internet of things control equipment.
Step S270, performing staged integration on the processing results according to a real-time processing process of other service data except at least part of the target service data in the service data to be processed received in the set time period.
It can be understood that, through the contents described in the above steps S260 to S270, the received processing results can be integrated in a staged manner, so that complete fusion of the service data processing of the cloud platform and the service data processing of the target internet of things control device is ensured, and loss of service data caused by cooperative processing is avoided.
On the basis of the above, in order to ensure the time sequence consistency of the staged integration of the processing results and avoid the crossing and non-synchronization of the processing results in different time periods in the staged integration stage, the step of performing staged integration on the processing results according to the real-time processing process on other service data except at least part of the target service data in the service data to be processed received in the set time period, which is described in step S270, may further be as described in the following steps S271-S274.
Step S271, acquiring process parameter information of a service data processing process in the cloud platform, and calculating a first process percentage corresponding to the process parameter information of the service data processing process; the process parameter information of the business data processing process is the process parameter of the business data processing process recorded by set information coding logic in the cloud platform, and the set information coding logic changes according to the change of the memory resource occupancy rate of the cloud platform.
Step S272, obtaining a plurality of result lists of the processing result, and calculating a business data cooperation coefficient between the process parameter information of the business data processing process and the plurality of result lists based on the first process percentage.
Step S273, if the process parameter information of the service data processing process and the service data cooperation coefficients between the result lists are all smaller than the preset cooperation coefficient, mapping the service data processing time consumption corresponding to the result lists with the first process percentage to obtain a second process percentage; splicing the processing time consumption of each service data into a service behavior time consumption curve according to a time sequence, taking the service behavior time consumption curve as a reference curve, taking the data capacity of other service data in the cloud platform as an adjusting factor, and performing synchronous correction on the reference curve to obtain a first synchronous correction result; screening the first synchronous correction result according to the second process percentage to obtain a second synchronous correction result; and successively matching and integrating the service data result identification in each result list and the service data result identification of other service data except at least part of target service data in the service data to be processed according to the time sequence correction index of each result list in the second synchronous correction result.
Step S274, if the business data collaboration coefficients between the process parameter information of the business data processing process and the result lists are not all smaller than the preset collaboration coefficient, sorting the result lists according to the descending order of the business data collaboration coefficients to obtain a result list sorting sequence, sequentially selecting the top result list from the result list sorting sequence, and performing pairing integration on the business data result identifiers in the result list and the business data result identifiers of other business data except at least part of the target business data in the business data to be processed.
In this way, based on the descriptions of the above steps S271 to S274, the timing consistency of the staged integration of the processing results is ensured, and the crossing and the non-synchronization of the processing results of different periods in the staged integration stage are avoided.
In a possible embodiment, in order to accurately determine the thread parameter storage path to ensure the accuracy of issuing the subsequent service data, in step S240, the thread parameter storage path of the target thread corresponding to the target real-time thread state is determined based on the state tag, which may specifically include the contents described in the following steps S241 to S243.
Step S241, determining whether the thread occupancy rate corresponding to the target real-time thread state has a periodic change.
Step S242, if yes, extracting a thread state change curve of the thread occupancy corresponding to the target real-time thread state in the current cycle based on the state tag, performing timing feature extraction on the thread state change curve based on a periodically changing frequency value of the thread occupancy to obtain at least one set of timing feature data, determining a thread generation script of the target thread corresponding to the target real-time thread state based on the timing feature data, and generating a thread parameter storage path of the target thread through a directional parameter in the thread generation script.
Step S243, otherwise, extracting time period information when the change characteristic of the thread occupancy rate corresponding to the target real-time thread state tends to a set numerical interval, determining a thread interface update record of the target thread corresponding to the target real-time thread state according to the time period information, and determining a thread parameter storage path of the target thread from the thread interface update record.
In specific application, by implementing the contents described in the above steps S241 to S243, the thread parameter storage path can be accurately determined to ensure the accuracy of issuing the subsequent service data.
In a specific embodiment, in order to accurately distinguish target service data to ensure reliability of service data transmission and avoid affecting normal service processing of a cloud platform, the step S250 may transmit at least a part of target service data in to-be-processed service data received by the cloud platform at a set time period to the target internet-of-things control device according to the thread parameter storage path, which may exemplarily include the following steps S251 to S254.
Step S251, determining node parameter distribution corresponding to the path node parameter of the thread parameter storage path, and node pointing distribution corresponding to the path node pointing of the thread parameter storage path; determining unit transmission data of the path node parameters in any distribution unit of the node parameter distribution, and determining a distribution unit with the minimum distribution coefficient in the node pointing distribution as a reference distribution unit; according to the path activity of the thread parameter storage path, packaging the unit transmission data into the reference distribution unit and obtaining unit packaging data corresponding to the unit transmission data in the reference distribution unit; generating path format distribution between the path node parameters and the path node points according to the unit transmission data and the defect data between the unit encapsulation data; wherein the node parameter distribution and the node pointing distribution respectively include a plurality of distribution units having different distribution coefficients.
Step S252, when it is determined that the cloud platform has a continuity service tag in the set time period according to the path format distribution, determining a queue matching list between each data queue of the to-be-processed service data under the separability service tag and each data queue of the to-be-processed service data under the continuity service tag according to the data queue of the to-be-processed service data under the continuity service tag and a continuity distribution parameter of the data queue in a time sequence.
Step S253, transferring the data queue of the service data to be processed under the detachable service label and the data queue matched with the data queue under the continuous service label to the continuous service label according to the queue matching list; if a plurality of data queues exist in the service data to be processed under the detachable service label, determining a queue matching list among the data queues of the service data to be processed under the detachable service label based on the data queues of the service data to be processed under the continuous service label and the continuity distribution parameters of the data queues on the time sequence; calibrating each data queue under the detachable service label through a queue matching list among the data queues; adding transfer priorities to each group of target data queues obtained by the calibration based on the data queues of the service data to be processed under the continuity service label and the continuity distribution parameters of the data queues in time sequence, sequencing the target data queues according to the sequence of the transfer priorities from large to small, and selecting a target number of target data queues in the front of the sequence to be transferred under the continuity service label.
And step S254, selecting at least part of target service data from the detachable service label according to the data throughput corresponding to the thread parameter storage path, and sending the selected target service data to the target internet of things control device.
It can be understood that based on the above steps S251 to S254, the target service data can be accurately distinguished, so as to ensure the reliability of service data distribution and avoid affecting the normal service processing of the cloud platform.
Further, in step S250, the target internet of things control device processes the target service data through the target thread by specifically adopting the following method: extracting service behavior data which accord with preset processing logic from the target service data, extracting logic track information of the preset processing logic from a thread log corresponding to the target thread, sequentially importing the service behavior data into a target storage space corresponding to the target thread according to the logic track information, sequentially extracting the service behavior data according to storage addresses of the service behavior data in the target storage space, and processing the service data in the target thread.
In specific implementation, in order to ensure real-time performance and accuracy of thread state distribution of the target internet of things control device, the obtaining of the thread state distribution of the target internet of things control device joining the service cooperative processing protocol, which is described in step S210, may specifically include the contents described in steps S211 to S214 below.
Step S211, determining a device parameter set of the target Internet of things control device determined based on the service cooperative processing protocol; for a current device parameter in the device parameter set of the target internet of things control device, determining parameter calling distribution of the current device parameter when the service cooperative processing protocol is updated based on first period information of the current device parameter when the service cooperative processing protocol is updated and second period information of other device parameters in the device parameter set of the target internet of things control device when the service cooperative processing protocol is updated.
Step S212, determining a parameter calling change track of the current device parameter in an interval time period of updating the service cooperative processing protocol for two adjacent times based on the corresponding parameter calling distribution of the current device parameter when the service cooperative processing protocol for two adjacent times is updated; and acquiring the state index of the parameter state information corresponding to the current equipment parameter in the target Internet of things control equipment through the parameter calling change track.
Step S213, generating a thread state distribution of the target internet of things control device according to the thread configuration data corresponding to the state index.
In this way, based on the above steps S211 to S213, the real-time performance and accuracy of the thread state distribution of the target internet of things control device can be ensured.
In an alternative real-time manner, in order to ensure reliability of the detected time slice resource information, in step S220, it is detected whether the status tag added by the target internet of things control device in the service coordination processing protocol carries time slice resource information matching with the set status description information, which may specifically include the contents described in steps S221 to S223 below.
Step S221, for the status label added to the service cooperative processing protocol by the target internet-of-things control device, determining distribution characteristics of a plurality of resource distribution data to be marked for determining the time slice resource information and a timing synchronization rate between different resource distribution data according to the obtained valid period information and invalid period information for recording the historical addition information of the status label.
Step S222, based on the determined distribution characteristics of the plurality of resource distribution data and the timing synchronization rate between different resource distribution data, marking the plurality of resource distribution data, so that a characteristic value of the distribution characteristics of the marked target resource distribution data is greater than a preset value, and the timing synchronization rate between the marked target resource distribution data is less than the preset synchronization rate.
Step S223, determining a plurality of sub-tags of the state tag according to a mapping value of the time sequence synchronization rate corresponding to each marked target resource distribution data in the service cooperative processing protocol, and searching whether a clock signal tag exists in the plurality of sub-tags; if the state label exists, the state label is judged to carry time slice resource information matched with the set state description information; and if the time slice resource information does not exist, judging that the state label does not carry the time slice resource information matched with the set state description information.
It can be understood that the reliability of the detection result of the time slice resource information is ensured through the contents described in the above steps S221 to S223.
In an alternative embodiment, the acquiring of the target real-time thread state corresponding to the set state description information in the thread state distribution of the target internet of things control device described in step S230 may specifically include the contents described in step S231 and step S232 below.
Step S231, listing current state description information of all real-time thread states in the thread state distribution of the target internet of things control device.
Step S232, calculating the similarity of each current state description information and the set state description information in character encoding, and determining the real-time thread state of the current state description information corresponding to the maximum similarity as the target real-time thread state.
In this way, the target real-time thread state can be accurately determined based on step S231 and step S232.
In a possible implementation manner, the detecting whether the service cooperative processing protocol currently has the authorization authentication check code obtained by parallel computing of the cloud platform and the target internet of things control device in step S240 may specifically include the contents described in steps S241 to S243 below.
Step S241, obtaining a first authorization authentication check code and a second authorization authentication check code in the service cooperative processing protocol; the first authorization authentication check code is obtained by computing the cloud platform, and the second authorization authentication check code is obtained by computing the target internet of things control device.
Step S242, extract a first verification script of the first authorization authentication verification code and a second verification script of the second authorization authentication verification code.
Step S243, determining whether the first authorization authentication check code and the second authorization authentication check code match according to a calculation result of the script files of the first check script and the second check script with respect to the same dynamic random number; if the first authorization authentication check code is matched with the second authorization authentication check code, judging that the authorization authentication check code obtained by parallel calculation of the cloud platform and the target Internet of things control device exists in the service cooperative processing protocol at present; otherwise, judging that the service cooperative processing protocol does not currently have the authorization authentication check code obtained by parallel computing of the cloud platform and the target Internet of things control device.
It can be understood that the authorization authentication check code can be accurately and reliably detected through the contents described in the above steps S241 to S243.
Based on the same inventive concept, the invention further provides a cloud platform, which is described in detail as follows.
A cloud platform, the cloud platform to:
acquiring thread state distribution of target Internet of things control equipment added into a business cooperative processing protocol, wherein the thread state distribution comprises a plurality of real-time thread states and state description information corresponding to each real-time thread state;
detecting whether the state label added by the target Internet of things control equipment in the service cooperative processing protocol carries time slice resource information matched with set state description information;
if the state label added by the target Internet of things control equipment in the service cooperative processing protocol is detected to contain time slice resource information matched with the set state description information, acquiring a target real-time thread state corresponding to the set state description information in thread state distribution of the target Internet of things control equipment;
detecting whether an authorization authentication check code obtained by parallel calculation of the cloud platform and the target Internet of things control device exists in the business cooperative processing protocol at present, if the authorization authentication check code obtained by parallel calculation of the cloud platform and the target Internet of things control device does not exist in the business cooperative processing protocol at present, waiting until the authorization authentication check code obtained by parallel calculation of the cloud platform and the target Internet of things control device exists in the business cooperative processing protocol at present, and determining a thread parameter storage path of a target thread corresponding to the target real-time thread state based on the state tag;
and sending at least part of target service data in the to-be-processed service data received by the cloud platform at a set time period to the target Internet of things control equipment according to the thread parameter storage path, so that the target Internet of things control equipment processes the target service data through the target thread and feeds back a processing result to the cloud platform in real time.
Optionally, the cloud platform is further configured to:
receiving a processing result fed back by the target Internet of things control equipment;
and performing staged integration on the processing result according to the real-time processing process of other service data except at least part of target service data in the service data to be processed received in a set time period.
Optionally, the cloud platform is configured to:
judging whether the thread occupancy rate corresponding to the target real-time thread state has periodic change or not;
if yes, extracting a thread state change curve of the thread occupancy rate corresponding to the target real-time thread state in the current cycle based on the state label, performing time sequence feature extraction on the thread state change curve based on the periodically changed frequency value of the thread occupancy rate to obtain at least one group of time sequence feature data, determining a thread generation script of the target thread corresponding to the target real-time thread state based on the time sequence feature data, and generating a thread parameter storage path of the target thread through a directional parameter in the thread generation script;
otherwise, extracting time period information when the change characteristic of the thread occupancy rate corresponding to the target real-time thread state tends to set a numerical value interval, determining a thread interface update record of the target thread corresponding to the target real-time thread state according to the time period information, and determining a thread parameter storage path of the target thread from the thread interface update record.
Optionally, the cloud-end platform is specifically configured to:
determining node parameter distribution corresponding to path node parameters of the thread parameter storage path, and node pointing distribution corresponding to path node pointing of the thread parameter storage path; determining unit transmission data of the path node parameters in any distribution unit of the node parameter distribution, and determining a distribution unit with the minimum distribution coefficient in the node pointing distribution as a reference distribution unit; according to the path activity of the thread parameter storage path, packaging the unit transmission data into the reference distribution unit and obtaining unit packaging data corresponding to the unit transmission data in the reference distribution unit; generating path format distribution between the path node parameters and the path node points according to the unit transmission data and the defect data between the unit encapsulation data; wherein the node parameter distribution and the node pointing distribution respectively include a plurality of distribution units with different distribution coefficients;
under the condition that a continuous service tag exists in the cloud platform within the set time period according to the path format distribution, determining a queue matching list between each data queue of the service data to be processed under the detachable service tag and each data queue of the service data to be processed under the continuous service tag according to the data queue of the service data to be processed under the continuous service tag and a continuous distribution parameter of the data queue on a time sequence;
transferring a data queue of the service data to be processed under the detachable service label and a data queue matched with the data queue under the continuous service label to the continuous service label according to the queue matching list; if a plurality of data queues exist in the service data to be processed under the detachable service label, determining a queue matching list among the data queues of the service data to be processed under the detachable service label based on the data queues of the service data to be processed under the continuous service label and the continuity distribution parameters of the data queues on the time sequence; calibrating each data queue under the detachable service label through a queue matching list among the data queues; adding transfer priorities to each group of target data queues obtained by calibration based on the data queues of the service data to be processed under the continuity service tags and the continuity distribution parameters of the data queues in time sequence, sequencing the target data queues according to the sequence of the transfer priorities from big to small, and selecting a target number of target data queues in the top sequence to be transferred under the continuity service tags;
and selecting at least part of target service data from the detachable service label according to the data throughput corresponding to the thread parameter storage path and sending the target service data to the target Internet of things control equipment.
Based on the same inventive concept as above, please refer to fig. 3, a functional block diagram of a service data processing apparatus 300 based on cloud network convergence and artificial intelligence is provided, and the detailed description of the apparatus is as follows.
A1. The utility model provides a business data processing apparatus 300 based on cloud network fuses and artificial intelligence, is applied to high in the clouds platform, business data processing apparatus 300 based on cloud network fuses and artificial intelligence includes:
the thread state obtaining module 310 is configured to obtain thread state distribution of a target internet of things control device that joins in a service cooperative processing protocol, where the thread state distribution includes a plurality of real-time thread states and state description information corresponding to each real-time thread state; the method is specifically used for: determining a device parameter set of target Internet of things control equipment determined based on a business coprocessing protocol; for a current device parameter in the device parameter set of the target internet of things control device, determining parameter calling distribution of the current device parameter when the service cooperative processing protocol is updated based on first period information of the current device parameter when the service cooperative processing protocol is updated and second period information of other device parameters in the device parameter set of the target internet of things control device when the service cooperative processing protocol is updated; determining a parameter calling change track of the current equipment parameter in an interval period of updating the service cooperative processing protocol for two adjacent times based on the corresponding parameter calling distribution of the current equipment parameter when the service cooperative processing protocol for two adjacent times is updated; acquiring a state index of the parameter state information corresponding to the current equipment parameter in the target Internet of things control equipment through the parameter calling change track; generating thread state distribution of the target Internet of things control equipment according to the thread configuration data corresponding to the state indexes;
a status tag detection module 320, configured to detect whether the status tag added to the service coordination processing protocol by the target internet of things control device carries time slice resource information matching with set status description information;
a thread state determining module 330, configured to, if it is detected that the state tag added to the service cooperative processing protocol by the target internet of things control device includes time slice resource information matched with the set state description information, obtain a target real-time thread state corresponding to the set state description information in thread state distribution of the target internet of things control device;
a storage path determining module 340, configured to detect whether the service cooperative processing protocol currently has an authorized authentication check code obtained by parallel computing of the cloud platform and the target internet-of-things control device, wait until the service cooperative processing protocol currently has the authorized authentication check code obtained by parallel computing of the cloud platform and the target internet-of-things control device is detected, and determine, based on the state tag, a thread parameter storage path of a target thread corresponding to the target real-time thread state;
and a service cooperative processing module 350, configured to send at least part of target service data in the to-be-processed service data received by the cloud platform at a set time interval to the target internet of things control device according to the thread parameter storage path, so that the target internet of things control device processes the target service data through the target thread and feeds back a processing result to the cloud platform in real time.
A2. The apparatus of a1, the apparatus further comprising a service integration module 360 configured to:
receiving a processing result fed back by the target Internet of things control equipment;
and performing staged integration on the processing result according to the real-time processing process of other service data except at least part of target service data in the service data to be processed received in a set time period.
A3. As the apparatus in a2, the service integration module 360 is specifically configured to:
acquiring process parameter information of a business data processing process in the cloud platform, and calculating a first process percentage corresponding to the process parameter information of the business data processing process; the process parameter information of the business data processing process is a process parameter of the business data processing process recorded by a set information coding logic in the cloud platform, and the set information coding logic changes according to the change of the memory resource occupancy rate of the cloud platform;
acquiring a plurality of result lists of the processing results, and calculating the process parameter information of the business data processing process and the business data cooperation coefficients between the plurality of result lists based on the first process percentage;
if the business data cooperation coefficients between the process parameter information of the business data processing process and the result lists are all smaller than the preset cooperation coefficient, mapping the business data processing time consumption corresponding to the result lists with the first process percentage to obtain a second process percentage; splicing the processing time consumption of each service data into a service behavior time consumption curve according to a time sequence, taking the service behavior time consumption curve as a reference curve, taking the data capacity of other service data in the cloud platform as an adjusting factor, and performing synchronous correction on the reference curve to obtain a first synchronous correction result; screening the first synchronous correction result according to the second process percentage to obtain a second synchronous correction result; successively carrying out pairing integration on the service data result identification in each result list and the service data result identification of other service data except at least part of target service data in the service data to be processed according to the time sequence correction index of each result list in the second synchronous correction result;
if the process parameter information of the business data processing process and the business data cooperation coefficients between the plurality of result lists are not all smaller than the preset cooperation coefficients, the plurality of result lists are sorted according to the descending order of the business data cooperation coefficients to obtain a result list sorting sequence, the top result list is sequentially selected from the result list sorting sequence, and the business data result identification in the result list is matched and integrated with the business data result identification of other business data except at least part of target business data in the business data to be processed.
A4. The apparatus of any one of a1-A3, the storage path determination module 340 to:
judging whether the thread occupancy rate corresponding to the target real-time thread state has periodic change or not;
if yes, extracting a thread state change curve of the thread occupancy rate corresponding to the target real-time thread state in the current cycle based on the state label, performing time sequence feature extraction on the thread state change curve based on the periodically changed frequency value of the thread occupancy rate to obtain at least one group of time sequence feature data, determining a thread generation script of the target thread corresponding to the target real-time thread state based on the time sequence feature data, and generating a thread parameter storage path of the target thread through a directional parameter in the thread generation script;
otherwise, extracting time period information when the change characteristic of the thread occupancy rate corresponding to the target real-time thread state tends to set a numerical value interval, determining a thread interface update record of the target thread corresponding to the target real-time thread state according to the time period information, and determining a thread parameter storage path of the target thread from the thread interface update record.
A5. The apparatus according to a1, the business cooperation processing module 350 is specifically configured to:
determining node parameter distribution corresponding to path node parameters of the thread parameter storage path, and node pointing distribution corresponding to path node pointing of the thread parameter storage path; determining unit transmission data of the path node parameters in any distribution unit of the node parameter distribution, and determining a distribution unit with the minimum distribution coefficient in the node pointing distribution as a reference distribution unit; according to the path activity of the thread parameter storage path, packaging the unit transmission data into the reference distribution unit and obtaining unit packaging data corresponding to the unit transmission data in the reference distribution unit; generating path format distribution between the path node parameters and the path node points according to the unit transmission data and the defect data between the unit encapsulation data; wherein the node parameter distribution and the node pointing distribution respectively include a plurality of distribution units with different distribution coefficients;
under the condition that a continuous service tag exists in the cloud platform within the set time period according to the path format distribution, determining a queue matching list between each data queue of the service data to be processed under the detachable service tag and each data queue of the service data to be processed under the continuous service tag according to the data queue of the service data to be processed under the continuous service tag and a continuous distribution parameter of the data queue on a time sequence;
transferring a data queue of the service data to be processed under the detachable service label and a data queue matched with the data queue under the continuous service label to the continuous service label according to the queue matching list; if a plurality of data queues exist in the service data to be processed under the detachable service label, determining a queue matching list among the data queues of the service data to be processed under the detachable service label based on the data queues of the service data to be processed under the continuous service label and the continuity distribution parameters of the data queues on the time sequence; calibrating each data queue under the detachable service label through a queue matching list among the data queues; adding transfer priorities to each group of target data queues obtained by calibration based on the data queues of the service data to be processed under the continuity service tags and the continuity distribution parameters of the data queues in time sequence, sequencing the target data queues according to the sequence of the transfer priorities from big to small, and selecting a target number of target data queues in the top sequence to be transferred under the continuity service tags;
and selecting at least part of target service data from the detachable service label according to the data throughput corresponding to the thread parameter storage path and sending the target service data to the target Internet of things control equipment.
A6. The apparatus of a1, the status tag detecting module 320 is specifically configured to:
according to the state label added to the business cooperative processing protocol by the target Internet of things control equipment, determining distribution characteristics of a plurality of resource distribution data to be marked for determining the time slice resource information and a time sequence synchronization rate among different resource distribution data according to the obtained effective period information and ineffective period information for recording the historical addition information of the state label;
marking the plurality of resource distribution data based on the determined distribution characteristics of the plurality of resource distribution data and the timing synchronization rate among different resource distribution data, so that the characteristic value of the distribution characteristics of the marked target resource distribution data is greater than a preset value, and the timing synchronization rate among the marked target resource distribution data is less than the preset synchronization rate;
determining a plurality of sub-labels of the state label according to the mapping value of the marked time sequence synchronization rate corresponding to each target resource distribution data in the service cooperative processing protocol, and searching whether a clock signal label exists in the plurality of sub-labels; if the state label exists, the state label is judged to carry time slice resource information matched with the set state description information; and if the time slice resource information does not exist, judging that the state label does not carry the time slice resource information matched with the set state description information.
A7. The apparatus of a1, the thread state determination module 330, to:
listing current state description information of all real-time thread states in the thread state distribution of the target Internet of things control equipment;
and calculating the similarity of each current state description information and the set state description information on character codes, and determining the real-time thread state of the current state description information corresponding to the maximum similarity as the target real-time thread state.
For the description of the functional modules, refer to the description of the corresponding methods.
Based on the same inventive concept, a service data processing system based on cloud network fusion and artificial intelligence is also provided, and the specific description is as follows.
A service data processing system based on cloud network fusion and artificial intelligence comprises a cloud platform and an Internet of things control device which are in communication connection with each other; wherein,
the cloud platform is used for:
acquiring thread state distribution of target Internet of things control equipment added into a business cooperative processing protocol, wherein the thread state distribution comprises a plurality of real-time thread states and state description information corresponding to each real-time thread state;
detecting whether the state label added by the target Internet of things control equipment in the service cooperative processing protocol carries time slice resource information matched with set state description information;
if the state label added by the target Internet of things control equipment in the service cooperative processing protocol is detected to contain time slice resource information matched with the set state description information, acquiring a target real-time thread state corresponding to the set state description information in thread state distribution of the target Internet of things control equipment;
detecting whether an authorization authentication check code obtained by parallel calculation of the cloud platform and the target Internet of things control device exists in the business cooperative processing protocol at present, if the authorization authentication check code obtained by parallel calculation of the cloud platform and the target Internet of things control device does not exist in the business cooperative processing protocol at present, waiting until the authorization authentication check code obtained by parallel calculation of the cloud platform and the target Internet of things control device exists in the business cooperative processing protocol at present, and determining a thread parameter storage path of a target thread corresponding to the target real-time thread state based on the state tag;
according to the thread parameter storage path, at least part of target service data in the service data to be processed received by the cloud platform in a set time period is sent to the target Internet of things control equipment;
the target Internet of things control equipment is used for:
processing the target service data through the target thread and feeding back a processing result to the cloud platform in real time;
the cloud platform is further configured to:
receiving a processing result fed back by the target Internet of things control equipment; and performing staged integration on the processing result according to the real-time processing process of other service data except at least part of target service data in the service data to be processed received in a set time period.
On the basis of the above, please refer to fig. 4, which provides a schematic diagram of a hardware structure of the cloud platform 110, where the cloud platform 110 includes a processor 111 and a memory 112, which are in communication with each other, and the processor 111 executes a computer program read from the memory 112 to implement the steps of the method.
Furthermore, a computer-readable storage medium is provided, on which a computer program is stored, which computer program realizes the steps of the above-described method when executed.
The implementation process of the functions and actions of each module in the above device is specifically described in the implementation process of the corresponding step in the above method, and is not described herein again.
For the device embodiments, since they substantially correspond to the method embodiments, reference may be made to the partial description of the method embodiments for relevant points. The above-described embodiments of the apparatus are merely illustrative, wherein the modules described as separate parts may or may not be physically separate, and the parts displayed as modules may or may not be physical modules, may be located in one place, or may be distributed on a plurality of network modules. Some or all of the modules can be selected according to actual needs to achieve the purpose of the scheme of the application. One of ordinary skill in the art can understand and implement it without inventive effort.
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
It will be understood that the present application is not limited to what has been described above and shown in the accompanying drawings, and that various modifications and changes can be made without departing from the scope thereof. The scope of the application is limited only by the appended claims.