Data processing method, device, equipment and storage medium

By dynamically generating service configuration strategy results, the problem of extended service delivery cycle is solved, unified management and intelligent control of different service control objects in multiple industries is realized, and configuration efficiency and system scalability are improved.

CN114415916BActive Publication Date: 2025-03-21ALIBABA CLOUD COMPUTING CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210007630.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-01-05
Publication Date
2025-03-21
Estimated Expiration
2042-01-05

AI Technical Summary

Technical Problem

As service scenarios become more complex, staff need to configure different service policies for different service control objects, resulting in an extended service delivery cycle.

Method used

By obtaining the user's service configuration request, the type records of the control object and the attribute records of the configuration items are generated in the preset table based on the configuration policy content, and the service configuration policy results are dynamically generated to realize the dynamic configuration of the control object.

Benefits of technology

It improves the efficiency of configuring service policies, shortens the service delivery cycle, and eliminates the need for staff to manually configure different service policies, which increases the scalability of the system and the ability of users to personalize and customize service.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114415916B_ABST
    Figure CN114415916B_ABST
Patent Text Reader

Abstract

The present application discloses a data processing method, device, equipment and storage medium. The method obtains a service configuration request, the service configuration request includes the configuration policy content of the control service, and the control service includes at least one control object; based on the configuration policy content, a first record of the control type of the control object is generated in a preset control type table, and a second record of the service attribute of the configuration item is generated in a preset type attribute table, and the configuration item corresponds to the control object; through the preset table field corresponding to the control type, according to the first record and the second record, the service configuration policy result is determined, and the service configuration policy result includes multiple execution configuration information of the control object. To solve the problem of low efficiency in configuring service strategies and long service delivery cycle in related technologies.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a data processing method, apparatus, device and storage medium. Background Art

[0002] With the rapid development of the Internet and the Internet of Things, data in many fields has exploded. Each field can provide services to users based on this data. For example, in the field of transportation, traffic managers and travelers can be provided with services such as maps, cloud-edge collaboration, and visual rendering based on traffic data.

[0003] However, as the service scenarios in each field become more and more complex, the number of control objects in the service, such as induction screens, fog lights, lane indicators, speed limit signs, toll ramps, and traffic lights in the traffic field, increases. Staff need to configure different service strategies for different service control objects. Therefore, while increasing the number of staff to configure service strategy operations, the service delivery cycle is extended. Summary of the invention

[0004] The embodiments of the present application provide a data processing method, apparatus, device and storage medium, which can improve the efficiency of configuring service policies to shorten the service delivery cycle.

[0005] According to a first aspect of an embodiment of the present application, there is provided a data processing method, including:

[0006] Obtaining a service configuration request, where the service configuration request includes configuration policy content of a management and control service, and the management and control service includes at least one management and control object;

[0007] Based on the configuration policy content, a first record of the control type of the control object is generated in the preset control type table, and a second record of the service attribute of the configuration item is generated in the preset type attribute table, where the configuration item corresponds to the control object;

[0008] The service configuration policy result of the service configuration request is determined according to the first record and the second record through the preset table field corresponding to the management and control type, and the service configuration policy result includes multiple execution configuration information of the management and control object.

[0009] According to a second aspect of an embodiment of the present application, there is provided a data processing device, including:

[0010] An acquisition module, used to acquire a service configuration request, the service configuration request includes configuration policy content of a management and control service, and the management and control service includes at least one management and control object;

[0011] A generation module, configured to generate, based on the configuration policy content, a first record of a control type of a control object in a preset control type table, and to generate a second record of a service attribute of a configuration item in a preset type attribute table, wherein the configuration item corresponds to the control object;

[0012] The determination module is used to determine the service configuration policy result of the service configuration request according to the first record and the second record through the preset table field corresponding to the management and control type, and the service configuration policy result includes multiple execution configuration information of the management and control object.

[0013] According to a third aspect of an embodiment of the present application, there is provided a computer device, including: a memory and a processor;

[0014] A memory for storing a computer program;

[0015] The processor is used to execute the computer program stored in the memory, and when the computer program is run, the processor executes the steps of the data processing method shown in the first aspect.

[0016] According to a fourth aspect of an embodiment of the present application, a computer-readable storage medium is provided, on which a program or instruction is stored. When the program or instruction is executed by a computer device, the computer device executes the steps of the data processing method shown in the first aspect.

[0017] According to a fifth aspect of an embodiment of the present application, a computer program product is provided, comprising a computer program, which, when executed by a computer device, enables the computer device to perform the steps of the data processing method shown in the first aspect.

[0018] According to the data processing method, device, equipment and storage medium in the embodiments of the present application, a first record of the control type of the control object in the control service is generated in the preset control type table through the configuration policy content of the control service provided by the user, and a second record of the service attribute of the configuration item corresponding to the control object is generated in the preset type attribute table. In this way, the control objects and configuration items in multiple industries and different services can be managed in a unified manner to provide customized services to users, increase the scalability of the system, and realize user personalized customization services.

[0019] Then, through the preset table fields corresponding to the control type, according to the first record and the second record, a dynamic service configuration policy result is generated, and the service configuration policy result includes multiple execution configuration information of the control object. Thus, through the dynamic service configuration policy result, the dynamic configuration of the control object is realized. In this way, there is no need to rely on the staff to manually configure different service policies for different control objects, which reduces the staff's configuration service policy operations and shortens the service delivery cycle. Based on this, the data processing method provided in the embodiment of the present application can be based on the access management of various types of Internet of Things devices, namely the control objects, and automatically generate service configuration policy results for the control service, so as to realize the intelligent control of various types of control objects and configuration items based on the service configuration policy results, and provide a practical solution for the configuration scenario of the control object, thereby increasing the flexibility and scalability of the control object configuration while realizing the dynamic configuration of the control object. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] The present application may be better understood from the following description of specific embodiments of the present application in conjunction with the accompanying drawings, wherein the same or similar figure numbers represent the same or similar features.

[0021] Figure 1 is a schematic diagram showing a data processing architecture according to an embodiment;

[0022] Figure 2 is a schematic diagram showing an interface interaction of data processing according to an embodiment;

[0023] Figure 3 is a flow chart showing a data processing method according to one embodiment;

[0024] Figure 4 is a schematic diagram showing a management and control service configuration template according to an embodiment;

[0025] Figure 5 is a schematic diagram showing a preset control type table according to an embodiment;

[0026] Figure 6 is a schematic diagram showing a preset type attribute table according to an embodiment;

[0027] Figure 7 is a flow chart illustrating a method of determining a service configuration policy result according to one embodiment;

[0028] Figure 8 is a flow chart illustrating a method of generating a service configuration policy result according to one embodiment;

[0029] Fig. 9 is a schematic diagram showing a service configuration instance table according to an embodiment;

[0030] Fig.10 is a schematic diagram showing another management and control service configuration template according to one embodiment;

[0031] Fig.11 is a schematic diagram showing a service configuration instance table for generating a security code according to an embodiment;

[0032] Fig.12 is a schematic diagram of a spreadsheet showing a service configuration policy result according to one embodiment;

[0033] Fig.13 is a schematic diagram of an electronic table showing query results of a service query request according to one embodiment;

[0034] Fig.14 is a schematic diagram showing the structure of a data processing device according to an embodiment;

[0035] Fig.15 FIG. 4 is a schematic diagram showing the hardware structure of a computer device according to an embodiment. DETAILED DESCRIPTION

[0036] The features and exemplary embodiments of various aspects of the present application will be described in detail below. In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and Examples. It should be understood that the specific embodiments described herein are only configured to explain the present application and are not configured to limit the present application. For those skilled in the art, the present application can be implemented without the need for some of these specific details. The following description of the embodiments is only to provide a better understanding of the present application by illustrating the examples of the present application.

[0037] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "include..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0038] As the service scenarios in each field become more and more complex, the control objects in the service and the configuration items related to the control objects also increase. For example, when it comes to high-speed services in the transportation field, the control objects can be various types of road facilities and equipment such as information boards, fog lights, lane indicator lights, speed limit signs or toll ramps, and the configuration items related to various types of road facilities and equipment can be on and off, prompt information, effective time, impact range, etc. Similarly, when it comes to transportation services in the transportation field, the control object can be a security code, and the configuration items corresponding to the security code can be addition and / or subtraction points, security code color changes, etc. And, when it comes to aviation services in the transportation field, the control object can be a digital aircraft position, and the configuration items corresponding to the digital aircraft position can set different weight points for different digital aircraft positions.

[0039] Based on this, if you want to add (delete, modify) the configuration service policy of the control object (or the configuration item corresponding to the control object) in various fields, you need staff such as programmers to manually write service policies for different control objects (or the configuration items corresponding to the control objects). Since the process of rewriting service policies is relatively complicated, it will increase the staff's configuration service policy operations and extend the service delivery cycle.

[0040] Therefore, in order to improve the efficiency of configuring service strategies and shorten the service delivery cycle, an embodiment of the present application provides a data processing method, which generates a first record of the control type of the control object in the control service in a preset control type table based on the configuration policy content of the control service input by the user, and generates a second record of the service attribute of the configuration item corresponding to the control object in the preset type attribute table. Then, through the preset table field corresponding to the control type, according to the first record and the second record, multiple execution configuration information of the dynamic control object is generated, so as to automatically generate the service configuration strategy results of the control service based on the access management of various types of Internet of Things devices, i.e., the control objects, to realize intelligent control of various types of control services, thereby improving the efficiency of configuring service strategies and shortening the service delivery cycle.

[0041] Based on this, the following Figure 1 and attached Figure 2 The data processing architecture provided in the embodiment of the present application is shown, and the data processing method provided in the embodiment of the present application is described in detail.

[0042] In one or more possible embodiments, Figure 1As shown, the data processing architecture proposed in the embodiment of the present application may include an electronic device 10 and a server 11. The electronic device 10 is installed with an application that provides a configuration control service function, or the electronic device 10 provides access to a platform with a configuration control service function. The electronic device 10 can be a mobile phone, a tablet computer, a laptop computer, a PDA, a wearable device, a desktop computer, etc., which is installed with an application that provides a configuration control service function or provides access to a platform with a configuration control service function. The embodiment of the present application does not make specific limitations on the electronic device. The server 11 provides data services for the application or platform corresponding to the configuration control service function.

[0043] Furthermore, the server 11 may provide a rule engine component, which may be based on different fields and combined with an Internet of Things (IoT) control platform to realize intelligent control of IoT devices such as cloud AIoT devices. For example, in the field of transportation, the rule engine component and the IoT operation platform may be combined to realize intelligent control of IoT devices such as indicator lights and signboards.

[0044] Taking the transportation field as an example, based on the rule engine components and service configuration strategy results, active control is performed on the controlled objects (or the configuration items corresponding to the controlled objects) to achieve flexible configuration and cross-domain configuration.

[0045] For example, if the user wants to add (delete, modify) a control object A such as an IoT device or a functional component for a control service A in the field of transportation, or add (delete, modify) a configuration item corresponding to the control object A, then the application X with the configuration control service function in the electronic device 10 can be started, or the platform with the configuration control service function can be accessed. For another example, if the user wants to add a new service B in the field of transportation and set a control object B for the service B, or add a configuration item corresponding to the control object B, the application X with the configuration control service function in the electronic device 10 can also be started, or the platform with the configuration control service function can be accessed.

[0046] like Figure 2 As shown, when the electronic device 10 receives an operation from a user to start application X, a first interface 20 is displayed, and the first interface 20 includes a management and control service configuration template 21 and prompt information 22, and the prompt information is used to prompt the user to input the configuration policy content of the management and control service A according to the management and control service configuration template. Here, the prompt information can be displayed in the area where the management and control service configuration template 20 is located, or it can be displayed outside the area where the management and control service configuration template 20 is located based on actual usage, and its display position is not specifically limited here.

[0047] When the electronic device 10 receives the user's input of completing the management and control service configuration template, it generates a service configuration request according to the configuration policy content in the management and control service configuration template. The electronic device 10 sends the service configuration request to the server 11 .

[0048] The server 11 receives a service configuration request for the management and control service sent by the electronic device 10 , where the service configuration request includes configuration policy content of the management and control service A.

[0049] Next, based on the configuration policy content, the server 11 generates a first record of the control type of the control object A in the preset control type table, and generates a second record of the service attribute of the configuration item corresponding to the control object A in the preset type attribute table. In this way, the control objects of multiple industries and different service projects and the configuration items corresponding to the control objects can be managed in a unified manner, so as to provide customized control services to users, increase the scalability of the system, and realize personalized customization services for users.

[0050] Then, the server 11 determines the service configuration policy result according to the first record and the second record through the preset table field corresponding to the control type, and the service configuration policy result includes multiple execution configuration information of the control service A. Therefore, the dynamic configuration of the control object is realized through the dynamic service configuration policy result, so that there is no need to rely on the staff to configure different service policies for different control objects, which reduces the staff's configuration of service policies and shortens the service delivery cycle.

[0051] Based on this, if the user wants to check the control object A and the configuration items of the control object A, the service query can be triggered through the electronic device 10. In this way, when the electronic device 10 receives the service query operation, a service query request is generated according to the target control service to be queried and the target control object A of the target control service input by the user, and the service query request is sent to the server 11.

[0052] The server 11 receives the service query request, and according to the target service type of the target management and control object in the service query request, obtains the target service configuration policy result corresponding to the target service type from the database, and the service configuration policy result includes multiple target execution configuration information of the target management and control object.

[0053] Then, the server 11 generates a service execution statement according to each target execution configuration information in the plurality of target execution configuration information and the preset statement parameter information, and obtains the query result of the service query request by executing the service execution statement.

[0054] Therefore, the data processing method provided in the embodiment of the present application can be based on the access management of various types of Internet of Things devices, namely the managed objects, and automatically generate service configuration policy results for the managed services, so as to realize intelligent control of various types of managed objects and configuration items based on the service configuration policy results, and provide a practical solution for the configuration scenarios of the managed objects, thereby realizing the dynamic configuration of the managed objects while increasing the flexibility and scalability of the managed object configuration.

[0055] It should be noted that the embodiment of the present application is illustrated by an example of a data processing method in a traffic scenario. In actual applications, it can also be applied to a market management scenario, that is, obtaining a configuration request for a control object of market management (such as a store or a small food stall), and generating multiple execution configuration information of the control object based on the configuration request of the control object, such as business conditions, vacant locations, etc. Of course, it can also be applied to any service that requires flexible configuration and fast delivery.

[0056] According to the above architecture and application scenarios, the following Figure 3 The data processing method provided in the embodiment of the present application is described in detail.

[0057] Figure 3 is a flow chart showing a data processing method according to an embodiment.

[0058] like Figure 3 As shown, the data processing method can be applied to a computer device, which may include Figure 1 The electronic device and server shown, the data processing method may specifically include:

[0059] Step 310, obtain a service configuration request, the service configuration request includes the configuration policy content of the control service, and the control service includes at least one control object. Step 320, based on the configuration policy content, generate a first record of the control type of the control object in the preset control type table, and generate a second record of the service attribute of the configuration item in the preset type attribute table, and the configuration item corresponds to the control object. Step 330, determine the service configuration policy result according to the first record and the second record through the preset table field corresponding to the control type, and the service configuration policy result includes multiple execution configuration information of the control object.

[0060] The above steps are described in detail below, as shown below.

[0061] Involving step 310, in the embodiment of the present application, based on different configuration situations (such as the situation of configuring the controlled object alone, the situation of configuring the configuration item corresponding to the controlled object alone, and the situation of configuring both the controlled object and the configuration item corresponding to the controlled object), the service configuration request in different situations is explained, as shown below.

[0062] In one or more possible embodiments, the configuration object may be a management and control object. Based on this, step 310 may specifically include:

[0063] Displaying a second interface, the second interface including a management and control service configuration template and first information, the first information being used to prompt the user to input configuration policy content of the management and control object according to the management and control service configuration template;

[0064] When receiving the input of the control service configuration template completed by the user, a service configuration request is generated according to the configuration policy content of the control object in the control service configuration template.

[0065] Exemplarily, the second interface includes a management and control service configuration template and first information such as "Please fill in the relevant content of the management and control object according to the template prompts."

[0066] Here, the control service configuration template may include configuration policy content for filling in the control object, such as the control service configuration template may include the type name, type description and type code of the control object. Based on this, the configuration policy content for filling in the control object may include: the type name of the control object is information board; the type description is "a traffic sign controlled by a remote control device that displays in real time the travel environment on the road ahead that has changed due to weather, natural disasters, traffic accidents, etc."; the type code is vms. Among them, the type code can be determined by user input or automatically generated based on the type name.

[0067] In another possible or multiple possible embodiments, the configuration object may be a configuration item corresponding to the control object. Based on this, step 310 may include:

[0068] Displaying a third interface, the third interface includes a management and control service configuration template and a second information, the second information is used to prompt the user to input a configuration policy content of a configuration item corresponding to a management and control object according to the management and control service configuration template;

[0069] When receiving the input of the management and control service configuration template completed by the user, a service configuration request is generated according to the configuration policy content of the configuration items in the management and control service configuration template.

[0070] Exemplarily, when the user wants to retain the configuration policy content of the managed object and only add, delete, modify, or other operations on the configuration items corresponding to the managed object, the user can input the configuration policy content of the configuration items corresponding to the managed object through the management service configuration template and the second information displayed on the third interface.

[0071] In another possible or multiple possible embodiments, the configuration object may be a control object and a configuration item corresponding to the control object. Based on this, step 310 may include:

[0072] Displaying a first interface, the first interface including a control service configuration template and prompt information, the prompt information is used to prompt the user to enter the configuration policy content of the control service according to the control service configuration template, the configuration policy content of the control service includes the configuration policy content of the control object and the configuration policy content of the configuration item corresponding to the control object;

[0073] When receiving the input of the management and control service configuration template completed by the user, a service configuration request is generated according to the configuration policy content in the management and control service configuration template.

[0074] Exemplarily, taking the example that the configuration object can be a management and control object and the configuration items corresponding to the management and control object, the first interface is displayed, and the first interface includes a management and control service configuration template and prompt information, such as the prompt information displayed in the first area of ​​the first interface, namely, "Fill in the relevant content according to the template prompts."

[0075] Here, combined Figure 4 Step 310 is exemplarily described.

[0076] like Figure 4 The control service configuration template shown may include configuration policy content for filling in the control object itself. Further, the control service configuration template may include the type name, type description and type code of the control object. Based on this, the configuration policy content for filling in the control object may include: for example, the type name of the control object is information board, the type description is "a traffic sign controlled by a remote control device to display in real time the travel environment on the road ahead that has changed due to weather, natural disasters, traffic accidents, etc." and the type code is vms.

[0077] The management and control service configuration template may also include configuration items corresponding to the management and control objects, wherein the configuration policy content of the configuration items may vary depending on the attribute names. Furthermore, the management and control service configuration template may also include the attribute name, attribute code, data type, whether it is required, etc. of each configuration item.

[0078] For example, if the configuration item is the effective time, the configuration policy content of the configuration item may include: the attribute name of the configuration item is effective time; the attribute code is effect time; the data type is time; whether it is required is yes. If the configuration item is the impact range, the configuration policy content of the configuration item may include: the attribute name of the configuration item is impact range, the attribute code is effect range, the data type is integer, the length is 32, the default value is 10, and whether it is required is yes. It can be seen that the configuration policy content of the configuration item will change due to different configuration items.

[0079] In addition, it should be noted that the management and control service configuration template 41 may also include an option to add attributes, so that when the user wants to add a configuration item, the user can click the display control for adding attributes to add the added attribute name and the configuration policy content related to the attribute name.

[0080] Based on this, when receiving the user's input for creating a control in the management and control service configuration template, that is, receiving the user's input for completing the management and control service configuration template, a service configuration request is generated according to the management and control service configuration template and the configuration policy content in the management and control service configuration template.

[0081] It should be noted that the input involved in the embodiments of the present application may include at least one of the following inputs: input selected by the user through an external device such as a keyboard or a mouse, and input by the user on a touch screen. For example, a user may input text through a keyboard to fill in the configuration items corresponding to the control object in the control service configuration template; or a user may select the input of a display control for adding attributes through a mouse to add the added attribute name and the configuration policy content corresponding to the attribute name; or a user may operate the touch screen to select a display control for adding attributes through the touch screen.

[0082] In one or more possible examples, step 320 is still as follows Figure 4 For example, the embodiment of the present application can divide the attributes of the management and control service into common attributes and extended attributes. The basis for the attribute division is the concept of inheritance in object logic, that is, the common attributes can be understood as being inherited from the parent class and are inherent. The extended attributes are unique to the subclass and are flexible and changeable. Based on this principle, the management and control service configuration template can be divided into a common attribute area and an extended attribute area.

[0083] Based on this, step 320 may specifically include:

[0084] Based on the configuration policy content entered by the user in the general attribute area, a first record of the control type of the control object is generated in the preset control type table, and based on the configuration policy content entered by the user in the extended attribute area, a second record of the service attribute of the configuration item is generated in the preset type attribute table.

[0085] For example, Figure 5 As shown, the embodiment of the present application can abstract all the management and control objects into classes, and create a new vms type code for the management and control objects such as the information board.

[0086] Next, based on the configuration policy content entered by the user in the general attribute area of ​​the management and control service configuration template, a first record of vms is inserted into the preset management and control type table (class), where vms is used to identify the management and control type of the intelligence board. The preset management and control type table can be a table corresponding to vms, or it can be a general table including multiple type codes.

[0087] like Figure 5 As shown, the first record in the preset control type table, i.e., the control type table (class), may include an identifier (ID) of the control object such as 1, a name (name) such as an information board, a type code (code) such as vms, a type description (description) for description information, and a creation time (create time) such as 20210107122001.

[0088] And, based on the configuration policy content input by the user in the extended attribute area of ​​the management and control service configuration template, a second record of the configuration item corresponding to the management and control object is added in the preset type attribute table (class_attribute).

[0089] like Figure 6 As shown, the preset type attribute table, i.e., the type attribute table (class_attribute), includes the second records of multiple configuration items. For example, the identifier (ID) of the configuration item is 1, the name (name) is such as the effective time, the type code (code) is such as the effective time (effect time), the preset control type table (class) is such as the table corresponding to vms, and the creation time (create time) is such as 20210107122001. The identifier (ID) of the configuration item is 2, the name (name) is such as the impact range, the type code (code) is such as the effect range (effect range), the preset control type table (class) is such as the table corresponding to vms, and the creation time (createtime) is such as 20210107122001. And, the identifier (ID) of the configuration item is 3, the name (name) is such as the information template, the type code (code) is such as the prompt information (info template), the preset control type table (class) is such as the table corresponding to vms, and the creation time (create time) is such as 20210107122001.

[0090] Involving step 330, in one or more possible embodiments, such as Figure 7 As shown, step 330 may specifically include step 3301 and step 3302, as shown below.

[0091] Step 3301, through the preset table field corresponding to the management and control type, obtain the configuration policy content corresponding to the preset table field from the first record and the second record.

[0092] Step 3302, generating a service configuration policy result according to the configuration policy content corresponding to the preset table field.

[0093] It should be noted that the service configuration policy results include a service configuration instance table, which is used to store multiple execution configuration information of the managed object. Each type of managed object has a service configuration instance table, and each execution configuration information in the multiple execution configuration information corresponds to the configuration item corresponding to the managed object. The table fields of the service configuration instance table vary depending on the page settings.

[0094] In another possible or multiple possible embodiments, as Figure 8 As shown, step 3302 may specifically include step 33021 and step 33022.

[0095] Step 33021, based on the configuration policy content corresponding to each preset table field, generate a rule record for each execution configuration information of the management and control service.

[0096] Furthermore, according to the configuration policy content corresponding to each preset table field, an information identifier of the configuration information is generated; the management and control object and the information identifier are associated; according to the configuration policy content and information identifier corresponding to each preset table field, a rule record of each execution configuration information of the management and control service is obtained.

[0097] Step 33022, generating a service configuration policy result according to each rule record of execution configuration information.

[0098] Furthermore, in the case where the service configuration policy result includes a service configuration instance table, a service configuration instance table named after the management and control type is generated and stored according to the rule record of each execution configuration information.

[0099] For example, Fig. 9 As shown, still using the above example for explanation, when the management and control object is an information board, based on the first record and the second record of the information board, a service configuration instance table of the management and control service, namely the dynamic instance table (dynamic_vms), is generated.

[0100] Furthermore, the service configuration instance table may include execution configuration information 1 of the control object, such as the configuration item identifier (ID) such as 1, the effective time (effect time) such as 20210107122001, the effect range (effect range) such as 10, the prompt information (info template) such as "congestion ahead ×× kilometers", the creation time (create time) such as 20210107122001 and the rule identifier (ruleID). Specifically, effect time is of time type and cannot be empty; effect range is of integer type, 32 bytes in length, 10 kilometers by default, and cannot be empty; info Template is of text type, 1024 bytes in length, and cannot be empty; ruleID is the unique identifier of the rule, and the rule is associated with the control object for configuration.

[0101] By analogy, in addition to adding the above-mentioned information board, the embodiment of the present application further adds a control object such as a security code to illustrate the above-mentioned step 320, as shown below.

[0102] like Fig.10 As shown, the configuration policy content of the safety code can be obtained through step 310. For example, when the control object is a safety code, the configuration policy content of the safety code may include the type name of the control object as safety code, the type code as safecode, and the type description as "safecode, different indicators, thresholds, coefficients, triggering different scores". The configuration policy content of the configuration item corresponding to the safety code may include the attribute name of the configuration item as plus or minus points, the attribute code as code, the attribute type as integer, and whether it is required as yes.

[0103] Based on this, Fig.11 As shown, based on the configuration policy content, the first record of the safety code is inserted into the preset control type table (class), such as the identification (ID) of the control object such as 2, the name (name) such as safety code, the type code (code) such as safecode, the type description (description) is the safety code description, and the creation time (create time) such as 20210107122002. And, the second record of the safety code configuration item is inserted into the preset type attribute table (class_attribute), such as the identification (ID) of the configuration item such as 4, the name (name) such as plus or minus points, the type code (code) such as score, the preset control type table (class) such as the table corresponding to safecode, and the creation time (create time) such as 20210107122002.

[0104] Then, through the preset table field corresponding to the control type, according to the first record and the second record of the security code, a service configuration instance table (dynamic_vms) of the security code is generated. The service configuration instance table is used to store multiple execution configuration information of the security code, such as the addition and subtraction configuration information of the security code.

[0105] In addition, after step 430, in order to facilitate the user to browse the above-obtained execution configuration information, the embodiment of the present application provides a method of visualizing the service configuration policy results, that is, the data processing method provided by the embodiment of the present application may also include:

[0106] Based on the service configuration policy result, a template named after the control type is generated. The template includes multiple configuration information. Each of the multiple configuration information corresponds to a service execution statement for executing each configuration information.

[0107] receiving an operation on a first configuration information among the plurality of configuration information, and updating a service execution statement corresponding to the first configuration information based on the operation; wherein,

[0108] The operation includes an operation of modifying the first configuration information, an operation of deleting the first configuration information, or an operation of adding the first configuration information.

[0109] Therefore, the embodiment of the present application generates a template named after the control type based on the service configuration policy result. Here, the template can be presented in the form of an electronic spreadsheet (Excel), such as Fig.12 As shown, the service configuration policy results can be presented in Excel to dynamically configure the execution configuration information of the control object. In this way, it is possible to achieve access management of various IoT devices such as, registration and addressing of various algorithm services, accurate recommendation of various rule policies, and intelligent control of various drivers. The embodiment of the present application closes the execution configuration information of different control objects and different configuration items corresponding to the control objects, and implements a set of logic to process various business rule configurations in the form of a service configuration instance table, which is more tool-based and intelligent, thereby increasing the flexibility and scalability of the control object configuration.

[0110] In addition, after step 430, the data processing method provided in the embodiment of the present application may further include:

[0111] receiving a service query request, the service query request including a target control service to be queried and a target control object of the target control service;

[0112] According to the target service type of the target control object, a target service configuration policy result corresponding to the target service type is obtained from the database, where the service configuration policy result includes multiple target execution configuration information of the target control object;

[0113] Generate a service execution statement according to each target execution configuration information and preset statement parameter information in the plurality of target execution configuration information;

[0114] By executing the service execution statement, the query result of the service query request is obtained.

[0115] For example, Fig.13 As shown, if the target execution configuration information field is List <attribute>, the corresponding information board is Map <String,List <attribute>>, so that if the user wants to add, delete, modify and query the configuration items of the intelligence board, he can execute the configuration information and preset statement parameter information such as Map according to each target of the intelligence board<String,> The information is assembled to obtain a service execution statement, so as to obtain the query result of the service query request by executing the service execution statement.

[0116] In summary, through the configuration policy content of the control service provided by the user, a first record of the control type of the control object in the control service is generated in the preset control type table, and a second record of the service attribute of the configuration item corresponding to the control object is generated in the preset type attribute table. In this way, the control objects and configuration items in multiple industries and different services can be managed in a unified manner, so as to provide customized services to users, increase the scalability of the system, and realize user personalized customization services.

[0117] Then, through the preset table fields corresponding to the control type, a dynamic service configuration policy result is generated according to the first record and the second record, and the service configuration policy result includes multiple execution configuration information of the control object. Thus, the dynamic configuration of the control object is realized through the dynamic service configuration policy result, so that there is no need to rely on the staff to configure different service policies for different control objects, which reduces the staff's configuration service policy operations and shortens the service delivery cycle. Based on this, the data processing method provided in the embodiment of the present application can be based on the access management of various types of Internet of Things devices, i.e., control objects, and automatically generate service configuration policy results for control services, so as to realize intelligent control of various types of control objects and configuration items based on the service configuration policy results, and provide a practical solution for the configuration scenario of the control object, thereby increasing the flexibility and scalability of the control object configuration while realizing the dynamic configuration of the control object.

[0118] Based on the above-mentioned data processing method, the present application provides a corresponding data processing device. Fig.14 Provide detailed explanation.

[0119] Fig.14 It is a schematic diagram showing the structure of a data processing device according to an embodiment.

[0120] like Fig.14 As shown, the data processing device 140 is used as follows Figure 1 The electronic device and server shown, the data processing device 140 may specifically include:

[0121] An acquisition module 1401 is used to acquire a service configuration request. The service configuration request of the management and control service includes configuration policy content. The management and control service includes at least one management and control object.

[0122] A generating module 1402 is used to generate a first record of a control type of a control object in a preset control type table based on the configuration policy content, and to generate a second record of a service attribute of a configuration item in a preset type attribute table, wherein the configuration item corresponds to the control object;

[0123] The determination module 1403 is used to determine the service configuration policy result according to the first record and the second record through the preset table field corresponding to the management and control type. The service configuration policy result includes multiple execution configuration information of the management and control object.

[0124] Thus, through the configuration policy content of the control service provided by the user, a first record of the control type of the control object in the control service is generated in the preset control type table, and a second record of the service attribute of the configuration item corresponding to the control object is generated in the preset type attribute table. Thus, the control objects and configuration items in multiple industries and different services can be managed in a unified manner, so as to provide customized services to users, increase the scalability of the system, and realize personalized customization services for users.

[0125] Then, through the preset table fields corresponding to the control type, according to the first record and the second record, a dynamic service configuration policy result is generated, and the service configuration policy result includes multiple execution configuration information of the control object. Thus, through the dynamic service configuration policy result, the dynamic configuration of the control object is realized. In this way, there is no need to rely on the staff to configure different service policies for different control objects, which reduces the staff's configuration service policy operations and shortens the service delivery cycle. Based on this, the data processing method provided in the embodiment of the present application can be based on the access management of various types of Internet of Things devices, i.e., control objects, and automatically generate service configuration policy results for control services, so as to realize intelligent control of various types of control objects and configuration items based on the service configuration policy results, and provide a practical solution for the configuration scenario of the control object, thereby increasing the flexibility and scalability of the control object configuration while realizing the dynamic configuration of the control object.

[0126] Based on this, the data processing device 140 provided in the embodiment of the present application is described in detail below:

[0127] In one or more possible embodiments, the data processing device 140 provided in the embodiment of the present application may also include a display module and a generation module; wherein,

[0128] A display module, used to display a first interface, the first interface includes a management and control service configuration template and prompt information, the prompt information is used to prompt the user to enter the configuration policy content of the management and control service according to the management and control service configuration template;

[0129] The generation module is used to generate a service configuration request according to the configuration policy content in the management and control service configuration template when receiving the input of the management and control service configuration template completed by the user.

[0130] In another or more possible embodiments, the generation module 1402 can be specifically used to, when the management and control service configuration template includes a general attribute area and an extended attribute area, generate a first record of the management and control type of the management and control object in the preset management and control type table according to the configuration policy content entered by the user in the general attribute area, and generate a second record of the service attribute of the configuration item in the preset type attribute table according to the configuration policy content entered by the user in the extended attribute area.

[0131] In yet another one or more possible embodiments, the determination module 1403 may be specifically configured to obtain, from the first record and the second record, configuration policy content corresponding to the preset table field through the preset table field corresponding to the control type;

[0132] Generate service configuration policy results based on the configuration policy content corresponding to the preset table fields.

[0133] In one or more possible embodiments, the determination module 1403 may be specifically configured to:

[0134] Generate a rule record for each execution configuration information of the management and control service based on the configuration policy content corresponding to each preset table field;

[0135] Generate service configuration policy results based on the rule records of each execution configuration information.

[0136] Furthermore, the determination module 1403 may be specifically configured to generate an information identifier of the configuration information according to the configuration policy content corresponding to each preset table field;

[0137] Associate the controlled objects and information identifiers;

[0138] According to the configuration policy content and information identifier corresponding to each preset table field, the rule record of each execution configuration information of the management and control service is obtained.

[0139] In yet another one or more possible embodiments, the determination module 1403 may be specifically used to generate and store a service configuration instance table named after the management type according to the rule record of each execution configuration information when the service configuration policy result includes a service configuration instance table.

[0140] In one or more possible embodiments, the data processing device 140 provided in the embodiment of the present application may further include a first receiving module, based on which the determining module 1403 may further be used to generate a template named after the management and control type based on the service configuration policy result, the template including multiple configuration information, each of the multiple configuration information corresponds to a service execution statement for executing each configuration information;

[0141] The first receiving module is used to receive an operation on the first configuration information among the multiple configuration information, and based on the operation, update the service execution statement corresponding to the first configuration information; wherein,

[0142] The operation includes an operation of modifying the first configuration information, an operation of deleting the first configuration information, or an operation of adding the first configuration information.

[0143] In one or more possible embodiments, the data processing device 140 provided in the embodiment of the present application may further include a second receiving module, which is used to receive a service query request, where the service query request includes a target management and control service to be queried and a target management and control object of the target management and control service;

[0144] The determination module 1403 may be specifically configured to obtain, according to the target service type of the target control object, a target service configuration policy result corresponding to the target service type from a database, wherein the service configuration policy result includes multiple target execution configuration information of the target control object;

[0145] Generate a service execution statement according to each target execution configuration information and preset statement parameter information in the plurality of target execution configuration information;

[0146] By executing the service execution statement, the query result of the service query request is obtained.

[0147] Fig.15 FIG. 4 is a schematic diagram showing the hardware structure of a computer device according to an embodiment.

[0148] like Fig.15 As shown, the computer device 1500 includes an input device 1501 , an input interface 1502 , a processor 1503 , a memory 1504 , an output interface 1505 , and an output device 1506 .

[0149] The input interface 1502, the processor 1503, the memory 1504, and the output interface 1505 are connected to each other through the bus 1510, and the input device 1501 and the output device 1506 are connected to the bus 1510 through the input interface 1502 and the output interface 1505, respectively, and then connected to other components of the computer device 1500. Specifically, the input device 1501 receives input information from the outside, and transmits the input information to the processor 1503 through the input interface 1502; the processor 1503 processes the input information based on the computer executable instructions stored in the memory 1504 to generate output information, temporarily or permanently stores the output information in the memory 1504, and then transmits the output information to the output device 1506 through the output interface 1505; the output device 1506 outputs the output information to the outside of the computer device 1500 for the user to use.

[0150] In one embodiment, Fig.15 The computer device 1500 shown may be implemented as a data processing device, which may include: a memory configured to store a program; and a processor configured to run the program stored in the memory to execute the data processing method described in the above embodiment.

[0151] In one embodiment, the memory can also be used to store service configuration requests for management and control services, preset management and control type tables, preset type attribute tables, preset table fields, service configuration strategy results, and the combination of the above Figures 1 to 13 The calculation result of each step in the described data processing process. As an example, the calculation result at least includes: a first record, a second record and multiple execution configuration information of the managed object.

[0152] According to an embodiment of the present application, the process described above with reference to the flowchart can be implemented as a computer-readable storage medium. For example, an embodiment of the present application includes a computer-readable storage medium, which includes storing a program or instruction on the computer-readable storage medium, and when the program or instruction is executed by a computer device, the computer device performs the steps of the above method.

[0153] According to an embodiment of the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program tangibly contained on a machine-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network, and / or installed from a removable storage medium.

[0154] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions, and when it is run on a computer, the computer executes the method described in each of the above embodiments. When loading and executing computer program instructions on a computer, the process or function according to the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network or other programmable devices. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions can be transmitted from a website site, a computer, a server or a data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server, a data center, etc. that contains one or more available media integrations. The available media may be magnetic media (eg, floppy disks, hard disks, magnetic tapes), optical media (eg, DVDs), or semiconductor media (eg, solid-state drives), etc.

[0155] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, i.e., they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Those of ordinary skill in the art may understand and implement it without creative effort.

[0156] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. These modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.< / attribute> < / attribute>

Claims

1. A data processing method, comprising: Obtaining a service configuration request, wherein the service configuration request includes configuration policy content of a management and control service, and the management and control service includes at least one management and control object; Based on the configuration policy content input by the user in the control service configuration template on the display interface, a first record of the control type of the control object is generated in a preset control type table, and a second record of the service attribute of the configuration item is generated in a preset type attribute table, the configuration item corresponding to the control object; Obtaining, from the first record and the second record, configuration policy content corresponding to the preset table field through the preset table field corresponding to the control type; generating a service configuration policy result of the service configuration request according to the configuration policy content corresponding to the preset table field, the service configuration policy result including multiple execution configuration information of the control object; The management and control service configuration template includes a general attribute area and an extended attribute area; the configuration policy content input by the user in the management and control service configuration template on the display interface generates a first record of the management type of the management object in the preset management type table, and generates a second record of the service attribute of the configuration item in the preset type attribute table, including: generating a first record of the management type of the management object in the preset management type table according to the configuration policy content input by the user in the general attribute area, and generating a second record of the service attribute of the configuration item in the preset type attribute table according to the configuration policy content input by the user in the extended attribute area.

2. The method according to claim 1, wherein: The obtaining service configuration request includes: Displaying a first interface, wherein the first interface includes a management and control service configuration template and prompt information, wherein the prompt information is used to prompt the user to input configuration policy content of the management and control service according to the management and control service configuration template; When receiving the user's input of the management and control service configuration template, the service configuration request is generated according to the configuration policy content in the management and control service configuration template.

3. The method according to claim 1, wherein: The generating the service configuration policy result according to the configuration policy content corresponding to the preset table field includes: Generate a rule record for each execution configuration information of the management and control service according to the configuration policy content corresponding to each preset table field; The service configuration policy result is generated according to the rule record of each execution configuration information.

4. The method according to claim 3, wherein: The generating, according to the configuration policy content corresponding to each preset table field, a rule record of each execution configuration information of the management and control service includes: Generate an information identifier of the configuration information according to the configuration policy content corresponding to each preset table field; Associating the managed object with the information identifier; According to the configuration policy content corresponding to each preset table field and the information identifier, a rule record of each execution configuration information of the management and control service is obtained.

5. The method according to claim 3 or 4, wherein: The service configuration policy result includes a service configuration instance table; Generating the service configuration policy result according to the rule record of each execution configuration information includes: According to the rule record of each execution configuration information, a service configuration instance table named after the management and control type is generated and stored.

6. The method according to claim 1, wherein: The method further comprises: Based on the service configuration policy result, a template named after the control type is generated, wherein the template includes multiple configuration information, and each of the multiple configuration information corresponds to a service execution statement for executing each of the configuration information; receiving an operation on a first configuration information among the plurality of configuration information, and updating a service execution statement corresponding to the first configuration information based on the operation; wherein, The operation includes an operation of changing the first configuration information, an operation of deleting the first configuration information, or an operation of adding the first configuration information.

7. The method according to claim 1, wherein: The method further comprises: Receiving a service query request, wherein the service query request includes a target management and control service to be queried and a target management and control object of the target management and control service; According to the target service type of the target control object, a target service configuration policy result corresponding to the target service type is acquired from a database, wherein the service configuration policy result includes multiple target execution configuration information of the target control object; Generate a service execution statement according to each target execution configuration information and preset statement parameter information in the plurality of target execution configuration information; By executing the service execution statement, a query result of the service query request is obtained.

8. A data processing device, comprising: An acquisition module, configured to acquire a service configuration request, wherein the service configuration request includes configuration policy content of a management and control service, and the management and control service includes at least one management and control object; a generating module, configured to generate, based on the configuration policy content input by the user in the control service configuration template on the display interface, a first record of the control type of the control object in a preset control type table, and to generate a second record of the service attribute of the configuration item in a preset type attribute table, wherein the configuration item corresponds to the control object; a determination module, configured to obtain, from the first record and the second record, configuration policy content corresponding to the preset table field corresponding to the control type through the preset table field; and generate a service configuration policy result of the service configuration request according to the configuration policy content corresponding to the preset table field, wherein the service configuration policy result includes a plurality of execution configuration information of the control object; The management and control service configuration template includes a general attribute area and an extended attribute area; the generation module is specifically used to: generate a first record of the management and control type of the management and control object in a preset management and control type table according to the configuration policy content input by the user in the general attribute area, and generate a second record of the service attribute of the configuration item in the preset type attribute table according to the configuration policy content input by the user in the extended attribute area.

9. A computer device comprising: Memory and processor, The memory is used to store a computer program; The processor is used to execute the computer program stored in the memory, and when the computer program is run, the processor executes the steps of the data processing method according to any one of claims 1 to 7.

10. A computer-readable storage medium storing a program or instruction, wherein when the program or instruction is executed by a computer device, the computer device executes the steps of the data processing method according to any one of claims 1 to 7.

11. A computer program product, comprising a computer program, which enables a computer device to execute the steps of the data processing method according to any one of claims 1 to 7 when the computer program is executed by the computer device.

Citation Information

Patent Citations

  • Micro-server management and control method, device and apparatus and storage medium

    CN112231168A

  • Service rule customization method and device based on visual rule strategy configuration

    CN112783485A