CN112632046A - Cloud rule engine implementation method, system, device and medium - Google Patents
Cloud rule engine implementation method, system, device and medium Download PDFInfo
- Publication number
- CN112632046A CN112632046A CN202011378392.7A CN202011378392A CN112632046A CN 112632046 A CN112632046 A CN 112632046A CN 202011378392 A CN202011378392 A CN 202011378392A CN 112632046 A CN112632046 A CN 112632046A
- Authority
- CN
- China
- Prior art keywords
- cloud
- rule
- object storage
- data
- creating
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 51
- 238000012545 processing Methods 0.000 claims description 27
- 230000006870 function Effects 0.000 claims description 19
- 230000009471 action Effects 0.000 claims description 9
- 238000013475 authorization Methods 0.000 claims description 4
- 238000007726 management method Methods 0.000 abstract description 10
- 238000004364 calculation method Methods 0.000 abstract description 4
- 230000008569 process Effects 0.000 abstract description 3
- 238000004140 cleaning Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 4
- 230000004048 modification Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000001960 triggered effect Effects 0.000 description 3
- 238000004590 computer program Methods 0.000 description 2
- 238000001914 filtration Methods 0.000 description 2
- 230000004927 fusion Effects 0.000 description 2
- 238000012423 maintenance Methods 0.000 description 2
- 239000000463 material Substances 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000000007 visual effect Effects 0.000 description 2
- 230000004075 alteration Effects 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 230000000977 initiatory effect Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/21—Design, administration or maintenance of databases
- G06F16/215—Improving data quality; Data cleansing, e.g. de-duplication, removing invalid entries or correcting typographical errors
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/22—Indexing; Data structures therefor; Storage structures
- G06F16/2219—Large Object storage; Management thereof
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
- G06F16/242—Query formulation
- G06F16/2433—Query languages
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/25—Integrating or interfacing systems involving database management systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/62—Protecting access to data via a platform, e.g. using keys or access control rules
- G06F21/6218—Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- Software Systems (AREA)
- Computational Linguistics (AREA)
- Mathematical Physics (AREA)
- Health & Medical Sciences (AREA)
- Bioethics (AREA)
- General Health & Medical Sciences (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- Quality & Reliability (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention discloses a method, a system, a device and a medium for realizing a cloud rule engine, wherein the method comprises the following steps: creating a cloud rule according to the collected user side input instruction, and constructing a rule engine according to the cloud rule; according to the collected object storage cloud resource opening request, creating object storage service resources and generating an object storage instance; and according to the object storage example, sending the data sent by the user side to the object storage service resource through the rule engine. The cloud resource management system and the cloud resource management method realize one-stop acceptance between the Internet of things equipment data input by the user side and the cloud resource service, facilitate user fund management and cloud resource management, form a cloud suite by combining the opened cloud resource and the service of the user object platform, facilitate the user to flexibly use the cloud resource according to the data volume of the Internet of things of the user, save the investment cost, can efficiently process the data of multiple service scenes, can realize rapid cloud application and real-time data calculation, and can be widely applied to the technical field of the Internet of things.
Description
Technical Field
The invention relates to the technical field of Internet of things, in particular to a cloud rule engine implementation method, system, device and medium.
Background
The data of the internet of things has the characteristics of large data volume, strong real-time performance and various data scenes, and along with the continuous increase of industrial services, the data of the internet of things is various, and the situation of complex application is processed. The data of the internet of things are processed through the business rules written by the codes, so that the problems of continuous increase of code quantity, continuous superposition of logic, more and more difficult code maintenance and the like often occur. The rule engine as a component for processing multi-service data can solve the problem, realize abstract stripping of service logic from codes, and has the characteristics of easy writing and maintenance of the service processing logic and the like. However, the traditional rule engine usually focuses on data input, rule interpretation and business decision output of a single scene, and often ignores input processing methods of massive data, rule analysis of multiple scenes, real-time reliability after data decision and the like. How to efficiently input and process mass data and ensure the efficient application of the data, and meanwhile, an effective method is adopted to define rules so as to meet the requirements of multi-service scenes, and how to conveniently and rapidly store and efficiently utilize the processed mass data is a big problem in the application of the internet of things data in different industries.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method, a system, an apparatus, and a medium for implementing a cloud rule engine, which can efficiently perform data processing in a multi-service scenario, and can implement fast cloud-up and real-time data computation.
One aspect of the present invention provides a cloud rule engine implementation method, including:
creating a cloud rule according to the collected user side input instruction, and constructing a rule engine according to the cloud rule;
according to the collected object storage cloud resource opening request, creating object storage service resources and generating an object storage instance;
and sending the data sent by the user side to the object storage service resource through a rule engine according to the object storage instance.
Optionally, the creating a cloud rule according to the collected user-side input instruction, and building a rule engine according to the cloud rule, includes:
extracting rule features according to the acquired user input instruction; the rule features comprise an input class rule feature, a statement class rule feature and an output class rule feature;
according to the rule characteristics, metadata are constructed; the metadata includes device data, selection field data, selection condition data, packet data, association data, and output substream data;
creating a rule of a data processing statement according to the metadata; the data processing statement comprises single-stream data processing, character string data processing, trigonometric function processing and custom function processing;
and constructing a rule engine according to the rule of the data processing statement.
Optionally, the method further comprises:
and according to login information sent by a user side, performing authorization authentication on the object storage instance, acquiring interface key information of the object storage instance, and performing storage control on the object storage instance.
Optionally, the sending, according to the object storage instance, the data sent by the user side to the object storage service resource through the rule engine includes:
acquiring a list of all object storage services in a cloud resource pool;
according to the object storage cloud service ordered by the user side, safety key information corresponding to the object storage cloud service is inquired from the list;
and sending the data sent by the user side to an object storage service resource according to the security key information.
Optionally, the method further comprises:
after the data sent by the user side is subjected to security authentication according to the security key information, a storage bucket list of an object storage service is called, and the data is obtained and written into a storage destination;
and according to the data write-in storage destination, performing destination configuration on the data sent by the user side.
Optionally, the method further comprises:
and controlling the object to store the cloud console according to the user login information, and creating a storage bucket.
Optionally, the method further comprises:
and carrying out syntax check on the naming information of the object, and storing the object passing the syntax check into the storage destination.
Another aspect of the present invention provides a cloud rule engine implementation system, including:
the system comprises a creating rule module, a rule engine and a rule engine, wherein the creating rule module is used for creating a cloud rule according to a collected user side input instruction and constructing the rule engine according to the cloud rule;
the checking cloud service module is used for creating object storage service resources and generating an object storage instance according to the collected object storage cloud resource opening request;
the configuration forwarding module is used for sending data sent by the user side to the object storage service resource through a rule engine according to the object storage instance;
and the scene linkage module is used for finishing the rule triggering and scene linkage of the specified business action.
Another aspect of the invention provides an electronic device comprising a processor and a memory;
the memory is used for storing programs;
the processor executes the program to implement the method as described above.
Another aspect of the invention provides a computer readable storage medium storing a program for execution by a processor to implement a method as described above.
The embodiment of the invention creates a cloud rule according to the collected user side input instruction, and constructs a rule engine according to the cloud rule; according to the collected object storage cloud resource opening request, creating object storage service resources and generating an object storage instance; and sending the data sent by the user side to the object storage service resource through a rule engine according to the object storage instance. The cloud resource management system realizes one-stop acceptance between the Internet of things equipment data input by the user side and the cloud resource service, is convenient for user fund management and cloud resource management, forms a physical cloud suite by combining the opened cloud resource and the service of the user physical platform, is convenient for the user to flexibly use the cloud resource according to the data volume of the Internet of things of the user, saves the investment cost, is convenient for resource use, can efficiently process data of multiple service scenes, and can realize rapid cloud access and real-time data calculation.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a flowchart illustrating steps of a cloud rules engine implementation method according to an embodiment of the present invention;
FIG. 2 is a timing diagram of an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
Aiming at the problems in the prior art, the invention provides a cloud rule engine method for self-defining rules and object storage. Through the fusion of the rule engine module and the object storage cloud service capability, the cloud engine configuration on equipment data cleaning is completed, and then the high-efficiency processing and cloud storage calculation of mass internet of things data are realized. By the aid of the method, the problem that the existing method can reduce the cross-platform cloud link of equipment data, complete real-time data reporting and cleaning, complete cloud storage, realize efficient utilization of object data, directly go to the cloud, realize intercommunication of cloud object information and efficient calculation of centralized management is solved, and reliability is improved.
Specifically, as shown in fig. 1, the method of the present invention comprises the steps of:
s1, creating a cloud rule according to the collected user side input instruction, and constructing a rule engine according to the cloud rule;
s2, creating object storage service resources and generating object storage instances according to the collected object storage cloud resource opening requests;
and S3, sending the data sent by the user side to the object storage service resource through the rule engine according to the object storage instance.
Optionally, the creating a cloud rule according to the collected user-side input instruction, and building a rule engine according to the cloud rule, includes:
extracting rule features according to the acquired user input instruction; the rule features comprise an input class rule feature, a statement class rule feature and an output class rule feature;
according to the rule characteristics, metadata are constructed; the metadata includes device data, selection field data, selection condition data, packet data, association data, and output substream data;
creating a rule of a data processing statement according to the metadata; the data processing statement comprises single-stream data processing, character string data processing, trigonometric function processing and custom function processing;
and constructing a rule engine according to the rule of the data processing statement.
Optionally, the method further comprises:
and according to login information sent by a user side, performing authorization authentication on the object storage instance, acquiring interface key information of the object storage instance, and performing storage control on the object storage instance.
Optionally, the sending, according to the object storage instance, the data sent by the user side to the object storage service resource through the rule engine includes:
acquiring a list of all object storage services in a cloud resource pool;
according to the object storage cloud service ordered by the user side, safety key information corresponding to the object storage cloud service is inquired from the list;
and sending the data sent by the user side to an object storage service resource according to the security key information.
Optionally, the method further comprises:
after the data sent by the user side is subjected to security authentication according to the security key information, a storage bucket list of an object storage service is called, and the data is obtained and written into a storage destination;
and according to the data write-in storage destination, performing destination configuration on the data sent by the user side.
Optionally, the method further comprises:
and controlling the object to store the cloud console according to the user login information, and creating a storage bucket.
Optionally, the method further comprises:
and carrying out syntax check on the naming information of the object, and storing the object passing the syntax check into the storage destination.
Taking the time sequence diagram of fig. 2 as an example, this embodiment takes the sky wing cloud object storage service as an example, and implements the method of the present invention. Specifically, in the application scenario shown in fig. 2, the cloud rule engine implementation method of the present invention is divided into four parts, namely, creating a rule, viewing a cloud service, configuring and forwarding, and linking a scenario.
1. The creation rule module provides a data cleaning rule self-defining function. By extracting three rule characteristics of an input class, a sentence class and an output class, six metadata of equipment data, a selected field, a selected condition, grouping, association and an output sub-stream are constructed, a user carries out rule creation of data processing sentences such as a single stream, a character string, a trigonometric function, a custom function and the like on the basis of the six metadata, and completes rule editing and modification easily by directly writing SQL sentences or visually dragging so as to complete creation of custom rules.
2. The checking cloud service module provides a function of opening the object storage service capability for the user. Firstly, selecting the object storage cloud capacity, initiating an object storage cloud resource opening request to a cloud platform, and completing object storage service resource opening and instance generation. And the user completes token authorization authentication through the object storage instance, and then single sign-on the object storage console to check and use the key of the object storage interface of the user.
3. The configuration forwarding module provides a function of adding an object storage cloud service to the rule engine, fusion of the rule engine and the object storage cloud service is completed in an AK/SK access mode, and an adding action of forwarding data to object storage is achieved. The specific implementation scheme is as follows (1) - (4):
(1) and the rule engine module acquires all object storage service lists of the cloud resource pool and performs object storage overview display. According to the object storage cloud service ordered by the user, a security key AK/SK corresponding to the service is inquired and configured to a rule engine module, and the internet of things platform data is directly connected to the cloud in a key level mode and security authentication of object storage information is obtained.
(2) And after the Internet of things platform completes security authentication, acquiring data write-in storage destinations by calling a storage bucket list GetBuketService of the object storage service. And selecting a bucket destination to be forwarded according to the acquired bucket list, and completing data destination configuration. Meanwhile, the operation of creating the storage bucket is supported, the function that a user logs in the object storage cloud console in a single-point mode is provided, and the storage bucket required by the user is created in real time.
(3) And after the object naming is finished, whether the grammar of the rule is correct and AK/SK safety check is carried out, and if the grammar passes the AK/SK safety check, the rule storage can be finished.
(4) When the internet of things terminal of the user sends a message to the topic, the rule engine triggers the rule meeting the conditions, filtering and cleaning of the internet of things data are completed, and the data are pushed to the cloud object storage in real time through the PutObject service to be stored.
4. And the business scene linkage module completes the rule triggering and scene linkage of the specified business action. The method comprises the steps of action name definition, action designation, timing control, product association, equipment association, service parameter setting and the like, the setting of a rule specific business scene is completed, when the data of the Internet of things equipment conforms to the business scene of the condition, a configured rule engine is triggered by a corresponding rule, the cleaning and processing of the rule data are completed, and the result is stored in the cloud object storage service.
Compared with the prior art, the method has the advantages that through the extraction of three rule characteristics of the input class, the sentence class and the output class and the construction of six metadata of the equipment data, the selected field, the selected condition, the grouping, the association and the output sub-stream, through directly compiling the SQL sentence or a visual dragging mode, a user can accurately and easily finish the rule editing and modification.
In addition, the cloud object storage resources are checked and opened in real time, the cloud resource charging is integrated, one-stop acceptance is formed, and the user fund management and the cloud resource management are facilitated.
Moreover, the configuration forwarding module disclosed by the invention integrates a self-defined rule engine and object storage, so that the processed data can be seamlessly clouded, and the real-time performance and the efficient use of data storage are improved. The bucket with the security key is used for obtaining and writing in operation, and the cloud of user data is safer and more reliable.
The invention also carries out rule triggering by scene linkage according to the service scene, and the rule is more concise and convenient for the user to use.
According to the invention, the opened cloud resources are combined with the services of the user object platform to form the object cloud suite, so that the user can flexibly use the cloud resources according to the data volume of the Internet of things of the user, the investment cost is saved, and the resource use is facilitated.
In the context of the timing diagram shown in fig. 2, the application scenarios of the method of the present invention may be, for example:
when a certain conference room detects that the indoor temperature is higher than 30 ℃, the rule is triggered, an instruction is called to issue a service to turn on an air conditioner, and the data for turning on the air conditioner is stored in an object for user charging query. And the tenant A selects a rule engine module on the Internet of things platform, and performs visual or direct editing through input and output characteristics and metadata of the prompt, and performs rule editing with the indoor temperature higher than 30 ℃. The unique rule ID is generated after the edit creation is completed. And configuring a data forwarding destination under the rule, wherein the cloud object storage resource opened by the user is selected as the destination. And if the user does not open the cloud object storage, the user is supported to make an order and open in real time. After the forwarding configuration is completed, a rule engine module for filtering and cleaning data to be in cloud is formed, and a user can select a corresponding rule engine to perform scene setting, for example, setting an action of triggering a rule as instruction issuing, setting the action as daily timing control, and selecting a corresponding air conditioner product and service. After the completion, when the indoor temperature is higher than 30 ℃, the rule is triggered, the completion instruction is issued to turn on the air conditioner, and the data processed by the rule are automatically stored in the cloud for the user to check and use.
The embodiment of the present invention further provides a cloud rule engine implementation system, including:
the system comprises a creating rule module, a rule engine and a rule engine, wherein the creating rule module is used for creating a cloud rule according to a collected user side input instruction and constructing the rule engine according to the cloud rule;
the checking cloud service module is used for creating object storage service resources and generating an object storage instance according to the collected object storage cloud resource opening request;
the configuration forwarding module is used for sending data sent by the user side to the object storage service resource through a rule engine according to the object storage instance;
and the scene linkage module is used for finishing the rule triggering and scene linkage of the specified business action.
The embodiment of the invention also provides the electronic equipment, which comprises a processor and a memory;
the memory is used for storing programs;
the processor executes the program to implement the method as described above.
An embodiment of the present invention further provides a computer-readable storage medium, where the storage medium stores a program, and the program is executed by a processor to implement the method described above.
The embodiment of the invention also discloses a computer program product or a computer program, which comprises computer instructions, and the computer instructions are stored in a computer readable storage medium. The computer instructions may be read by a processor of a computer device from a computer-readable storage medium, and executed by the processor to cause the computer device to perform the method illustrated in fig. 1.
In alternative embodiments, the functions/acts noted in the block diagrams may occur out of the order noted in the operational illustrations. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality/acts involved. Furthermore, the embodiments presented and described in the flow charts of the present invention are provided by way of example in order to provide a more thorough understanding of the technology. The disclosed methods are not limited to the operations and logic flows presented herein. Alternative embodiments are contemplated in which the order of various operations is changed and in which sub-operations described as part of larger operations are performed independently.
Furthermore, although the present invention is described in the context of functional modules, it should be understood that, unless otherwise stated to the contrary, one or more of the described functions and/or features may be integrated in a single physical device and/or software module, or one or more functions and/or features may be implemented in a separate physical device or software module. It will also be appreciated that a detailed discussion of the actual implementation of each module is not necessary for an understanding of the present invention. Rather, the actual implementation of the various functional modules in the apparatus disclosed herein will be understood within the ordinary skill of an engineer, given the nature, function, and internal relationship of the modules. Accordingly, those skilled in the art can, using ordinary skill, practice the invention as set forth in the claims without undue experimentation. It is also to be understood that the specific concepts disclosed are merely illustrative of and not intended to limit the scope of the invention, which is defined by the appended claims and their full scope of equivalents.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device.
More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
While embodiments of the invention have been shown and described, it will be understood by those of ordinary skill in the art that: various changes, modifications, substitutions and alterations can be made to the embodiments without departing from the principles and spirit of the invention, the scope of which is defined by the claims and their equivalents.
While the preferred embodiments of the present invention have been illustrated and described, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.
Claims (10)
1. A cloud rule engine implementation method is characterized by comprising the following steps:
creating a cloud rule according to the collected user side input instruction, and constructing a rule engine according to the cloud rule;
according to the collected object storage cloud resource opening request, creating object storage service resources and generating an object storage instance;
and sending the data sent by the user side to the object storage service resource through a rule engine according to the object storage instance.
2. The method for implementing the cloud rule engine according to claim 1, wherein the creating a cloud rule according to the collected user-side input instruction and constructing the rule engine according to the cloud rule comprise:
extracting rule features according to the acquired user input instruction; the rule features comprise an input class rule feature, a statement class rule feature and an output class rule feature;
according to the rule characteristics, metadata are constructed; the metadata includes device data, selection field data, selection condition data, packet data, association data, and output substream data;
creating a rule of a data processing statement according to the metadata; the data processing statement comprises single-stream data processing, character string data processing, trigonometric function processing and custom function processing;
and constructing a rule engine according to the rule of the data processing statement.
3. The cloud rules engine implementation method of claim 1, wherein the method further comprises:
and according to login information sent by a user side, performing authorization authentication on the object storage instance, acquiring interface key information of the object storage instance, and performing storage control on the object storage instance.
4. The method of claim 1, wherein the sending, by the rule engine, the data sent by the client to the object storage service resource according to the object storage instance comprises:
acquiring a list of all object storage services in a cloud resource pool;
according to the object storage cloud service ordered by the user side, safety key information corresponding to the object storage cloud service is inquired from the list;
and sending the data sent by the user side to an object storage service resource according to the security key information.
5. The cloud rules engine implementation method of claim 4, wherein the method further comprises:
after the data sent by the user side is subjected to security authentication according to the security key information, a storage bucket list of an object storage service is called, and the data is obtained and written into a storage destination;
and according to the data write-in storage destination, performing destination configuration on the data sent by the user side.
6. The cloud rules engine implementation method of claim 5, wherein the method further comprises:
and controlling the object to store the cloud console according to the user login information, and creating a storage bucket.
7. The cloud rules engine implementation method of claim 6, wherein the method further comprises:
and carrying out syntax check on the naming information of the object, and storing the object passing the syntax check into the storage destination.
8. A cloud rules engine implementation system, comprising:
the system comprises a creating rule module, a rule engine and a rule engine, wherein the creating rule module is used for creating a cloud rule according to a collected user side input instruction and constructing the rule engine according to the cloud rule;
the checking cloud service module is used for creating object storage service resources and generating an object storage instance according to the collected object storage cloud resource opening request;
the configuration forwarding module is used for sending data sent by the user side to the object storage service resource through a rule engine according to the object storage instance;
and the scene linkage module is used for finishing the rule triggering and scene linkage of the specified business action.
9. An electronic device comprising a processor and a memory;
the memory is used for storing programs;
the processor executing the program realizes the method according to any one of claims 1-7.
10. A computer-readable storage medium, characterized in that the storage medium stores a program, which is executed by a processor to implement the method according to any one of claims 1-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011378392.7A CN112632046B (en) | 2020-12-01 | 2020-12-01 | Cloud rule engine implementation method, system, device and medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011378392.7A CN112632046B (en) | 2020-12-01 | 2020-12-01 | Cloud rule engine implementation method, system, device and medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112632046A true CN112632046A (en) | 2021-04-09 |
CN112632046B CN112632046B (en) | 2024-10-18 |
Family
ID=75307254
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011378392.7A Active CN112632046B (en) | 2020-12-01 | 2020-12-01 | Cloud rule engine implementation method, system, device and medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112632046B (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113094191A (en) * | 2021-04-21 | 2021-07-09 | 矢量云科信息科技(无锡)有限公司 | Business rule processing method, device, server and storage medium |
CN113505145A (en) * | 2021-07-13 | 2021-10-15 | 杭州安恒信息技术股份有限公司 | Customized SQL engine linkage analysis method based on Internet of things and related device |
CN113641654A (en) * | 2021-08-16 | 2021-11-12 | 神州数码融信软件有限公司 | Marketing handling rule engine method based on real-time event |
CN113688180A (en) * | 2021-08-23 | 2021-11-23 | 广联达科技股份有限公司 | Data processing method and multi-source data engine |
CN113824645A (en) * | 2021-08-18 | 2021-12-21 | 北京百度网讯科技有限公司 | Data transmission method, device, equipment and storage medium |
CN113840009A (en) * | 2021-09-29 | 2021-12-24 | 天翼物联科技有限公司 | Profile file segmented transmission method, device, equipment and medium |
CN114095531A (en) * | 2021-10-21 | 2022-02-25 | 深圳市有方科技股份有限公司 | Cloud management method of smart city Internet of things equipment and Internet of things cloud platform system |
CN115225632A (en) * | 2021-04-21 | 2022-10-21 | 美光科技公司 | Data transfer management |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103067388A (en) * | 2012-12-28 | 2013-04-24 | 丁卓 | Cloud computing foundation framework resource automatization method and system |
US20160380913A1 (en) * | 2015-06-26 | 2016-12-29 | International Business Machines Corporation | Transactional Orchestration of Resource Management and System Topology in a Cloud Environment |
CN110413582A (en) * | 2019-07-07 | 2019-11-05 | 上海鸿翼软件技术股份有限公司 | A kind of trans-regional data synchronous system based on business rule |
CN110532041A (en) * | 2019-08-29 | 2019-12-03 | 深圳前海环融联易信息科技服务有限公司 | Regulation engine method for parameter configuration, device, computer equipment and storage medium |
CN110941419A (en) * | 2019-11-27 | 2020-03-31 | 北京天元创新科技有限公司 | Operation configuration implementation method and system based on rule engine |
CN111865622A (en) * | 2020-06-28 | 2020-10-30 | 中国工商银行股份有限公司 | Cloud service metering and charging method and system based on rule engine cluster |
-
2020
- 2020-12-01 CN CN202011378392.7A patent/CN112632046B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103067388A (en) * | 2012-12-28 | 2013-04-24 | 丁卓 | Cloud computing foundation framework resource automatization method and system |
US20160380913A1 (en) * | 2015-06-26 | 2016-12-29 | International Business Machines Corporation | Transactional Orchestration of Resource Management and System Topology in a Cloud Environment |
CN110413582A (en) * | 2019-07-07 | 2019-11-05 | 上海鸿翼软件技术股份有限公司 | A kind of trans-regional data synchronous system based on business rule |
CN110532041A (en) * | 2019-08-29 | 2019-12-03 | 深圳前海环融联易信息科技服务有限公司 | Regulation engine method for parameter configuration, device, computer equipment and storage medium |
CN110941419A (en) * | 2019-11-27 | 2020-03-31 | 北京天元创新科技有限公司 | Operation configuration implementation method and system based on rule engine |
CN111865622A (en) * | 2020-06-28 | 2020-10-30 | 中国工商银行股份有限公司 | Cloud service metering and charging method and system based on rule engine cluster |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113094191A (en) * | 2021-04-21 | 2021-07-09 | 矢量云科信息科技(无锡)有限公司 | Business rule processing method, device, server and storage medium |
CN115225632A (en) * | 2021-04-21 | 2022-10-21 | 美光科技公司 | Data transfer management |
CN113505145A (en) * | 2021-07-13 | 2021-10-15 | 杭州安恒信息技术股份有限公司 | Customized SQL engine linkage analysis method based on Internet of things and related device |
CN113641654A (en) * | 2021-08-16 | 2021-11-12 | 神州数码融信软件有限公司 | Marketing handling rule engine method based on real-time event |
CN113641654B (en) * | 2021-08-16 | 2024-04-19 | 神州数码融信软件有限公司 | Marketing treatment rule engine method based on real-time event |
CN113824645A (en) * | 2021-08-18 | 2021-12-21 | 北京百度网讯科技有限公司 | Data transmission method, device, equipment and storage medium |
CN113688180A (en) * | 2021-08-23 | 2021-11-23 | 广联达科技股份有限公司 | Data processing method and multi-source data engine |
CN113840009A (en) * | 2021-09-29 | 2021-12-24 | 天翼物联科技有限公司 | Profile file segmented transmission method, device, equipment and medium |
CN113840009B (en) * | 2021-09-29 | 2024-01-12 | 天翼物联科技有限公司 | Method, device, equipment and medium for transmitting Profile file in segments |
CN114095531A (en) * | 2021-10-21 | 2022-02-25 | 深圳市有方科技股份有限公司 | Cloud management method of smart city Internet of things equipment and Internet of things cloud platform system |
CN114095531B (en) * | 2021-10-21 | 2024-05-14 | 深圳市有方科技股份有限公司 | Cloud management method of intelligent city Internet of things equipment and Internet of things cloud platform system |
Also Published As
Publication number | Publication date |
---|---|
CN112632046B (en) | 2024-10-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112632046A (en) | Cloud rule engine implementation method, system, device and medium | |
CN110928772B (en) | Test method and device | |
CN111752799A (en) | Service link tracking method, device, equipment and storage medium | |
CN105095103B (en) | For the storage device management method and apparatus under cloud environment | |
CN105245489A (en) | Verification method and verification device | |
CN116466930A (en) | Construction method, message processing method and device of intelligent customer service model and electronic equipment | |
CN109005162A (en) | Industrial control system method for auditing safely and device | |
CN107590282A (en) | The processing method and workflow engine of a kind of workflow engine | |
US20170300403A1 (en) | Recordation of user interface events for script generation | |
CN113347060B (en) | Method, device and system for detecting power network fault based on process automation | |
CN113676354A (en) | Hybrid cloud operation and maintenance management method and system | |
CN110928526B (en) | Processing device for Internet of things | |
CN110995489B (en) | Large data platform server management method, device, server and storage medium | |
CN108153745A (en) | A kind of application data calling method and application development system | |
CN106373016A (en) | Method and apparatus for establishing online social relations | |
CN110290226A (en) | A kind of general client and server-side mating interface protocol method | |
CN115984481A (en) | Visual industrial digital simulation management system | |
CN104391782A (en) | Network-equipment managing-software client-end simulating method on basis of XML (X Extensive Markup Language) script | |
CN110727532B (en) | Data restoration method, electronic equipment and storage medium | |
CN114118440A (en) | Model iteration method, model iteration device, electronic equipment and computer readable storage medium | |
CN111489227A (en) | E-commerce information sharing system | |
CN115130681B (en) | Data processing method and device for federal learning | |
CN116611799B (en) | Cloud office-based data processing method, AI cloud office server and medium | |
CN117873691B (en) | Data processing method, device, equipment and readable storage medium | |
Bin | Formalized description and analysis of FTP on Petri Net |
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 |