Control method and device of CIM data processing system based on C / S and B / S mixed mode and storage medium
By adopting the control method of the mixed mode of C/S and B/S mode in the CIM data processing system, the data processing path is determined using the processing recommendation module, which solves the problem of inefficient CIM data processing and realizes more efficient data processing.
Patent Information
- Application Number
- CN202510451947.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-11
- Publication Date
- 2025-05-09
- Estimated Expiration
- 2045-04-11
AI Technical Summary
When conventional technical solutions process CIM data, the CIM data is limited to one end of C/S or B/S, resulting in inefficient processing.
The control method of the CIM data processing system based on the mixed mode of C/S and B/S is adopted to monitor the loading of CIM data through the data pipeline, establish a data directory structure, and determine the data type, size, number of rows and operation scenario values based on the processing recommendation module, generate a recommendation identifier and point it to the browser or server side, and associate the data directory structure.
By fully integrating the advantages and applicable scenarios of both ends, personalized recommendations are achieved, the problem of inefficient processing is overcome and the efficiency of data processing is improved.
Smart Images

Figure CN119961490A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing technology, and in particular to a control method, device and storage medium of a CIM data processing system based on a C / S and B / S hybrid mode. Background Art
[0002] CIM (city information modeling) is an urban information complex in a three-dimensional digital space constructed by integrating urban spatiotemporal multi-dimensional and multi-scale information model data and urban perception data.
[0003] In the relevant CIM data processing solutions, CIM data processing is mainly carried out through one of C / S (Client / Server) or B / S (Browser / Server). However, if the C / S mode system is used for CIM data processing, it is limited by the CPU performance and insufficient memory and disk resources of the desktop computer, and the resource expansion is limited. When processing large amounts of CIM data, its processing speed is slow and the overall efficiency is low. If the B / S mode system is used for CIM data processing, it is limited by the limited rendering capability of the browser, and does not support multi-threading and SIMD (Single Instruction Multiple Data) optimization. In the case of rendering large amounts of data, the browser's data rendering capability is poor, resulting in a freeze in the preview of large amounts of data.
[0004] Therefore, when conventional technical solutions process CIM data, the CIM data is limited to one end, C / S or B / S, resulting in low processing efficiency.
[0005] The above contents are only used to assist in understanding the technical solution of the present application and do not constitute an admission that the above contents are prior art. Summary of the invention
[0006] The main purpose of the present application is to provide a control method, device and storage medium for a CIM data processing system based on a hybrid mode of C / S and B / S, aiming to solve the technical problem that when conventional technical solutions process CIM data, CIM data is limited to one end of C / S or B / S, resulting in low processing efficiency.
[0007] To achieve the above objectives, the present application proposes a control method for a CIM data processing system based on a C / S and B / S hybrid mode, wherein the method comprises: If the data pipeline detects that CIM data is loaded, a data directory structure of the CIM data is established in the data directory; Determine a data type value, a data size value, a data row value, and an operation scenario value corresponding to the CIM data based on the processing recommendation module; Determine a recommendation identifier of the CIM data according to the data type value, the data size value, the data row value, and the operation scenario value, wherein the recommendation identifier points to the browser end or the server end; The recommendation identifier is associated with the data directory structure.
[0008] In one embodiment, the step of determining the data type value, data size value, data row value, and operation scenario value corresponding to the CIM data based on the processing recommendation module includes: The processing recommendation module determines metadata of the CIM data through the CIM data on the data directory structure; Based on the metadata, the data type value, the data size value, the data row value, and the operation scenario value corresponding to the CIM data are determined.
[0009] In one embodiment, the step of determining the data type value, the data size value, the data row value, and the operation scenario value corresponding to the CIM data based on the metadata includes: Determine the data type value according to the mapping relationship between the data types in the metadata; Determining the data size value according to the value of the data size in the metadata; Determine the data row value according to the value of the data row number in the metadata; The operation scenario value is determined according to the mapping relationship between the operation scenarios in the metadata.
[0010] In one embodiment, the step of determining the recommended identifier of the CIM data according to the data type value, the data size value, the data row value, and the operation scenario value includes: Determine a recommended value according to the data type value, the data size value, the data row value and the operation scenario value; If the recommendation value is less than or equal to a threshold, the processing recommendation module generates a first recommendation mark; If the recommendation value is greater than the threshold, the processing recommendation module generates a second recommendation mark; The first recommendation mark or the second recommendation mark is presented on the data directory structure.
[0011] In one embodiment, after the step of associating the recommendation identifier in the data directory structure, the method further includes: Displaying the data directory structure corresponding to the data directory in the terminal; Determining the CIM data contained in the data directory structure; If a click action on the target CIM data is detected, a recommendation mark corresponding to the target CIM data is displayed.
[0012] In one embodiment, the client includes a first data processing module and a data storage module. After the step of detecting a click action on the target CIM data and displaying the recommendation identifier corresponding to the target CIM data, the client further includes: If the client is selected to process the target CIM data, the first data processing module updates the target CIM data according to the operation instruction and outputs a first target result; The data storage module updates the data directory structure through the first target result, and stores the cache of the first target result in the data storage module; The storage instruction from the operation terminal is received, and the first target result is stored in a storage repository through the data storage module.
[0013] In one embodiment, the server further includes a second data processing module, and after the step of detecting a click action on the target CIM data and displaying the recommendation identifier corresponding to the target CIM data, further includes: If the browser is selected to process the target CIM data, when the second data processing module receives a trigger instruction, the target CIM data is updated according to the trigger instruction; According to the updated target CIM data, a second target result is output and stored in a repository through the data pipeline.
[0014] In one embodiment, the step of establishing a data directory structure of the CIM data in the data directory includes: The data directory generates a directory tree according to the CIM data; The data directory structure is determined according to the directory tree.
[0015] In addition, to achieve the above objectives, the present application also proposes a CIM data processing system device, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the method described above.
[0016] In addition, to achieve the above-mentioned purpose, the present application also proposes a storage medium, which is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by the processor, the steps of the control method of the CIM data processing system based on the C / S and B / S hybrid mode as described above are implemented.
[0017] The present application provides a control method for a CIM data processing system based on a hybrid mode of C / S and B / S, including establishing a data directory structure of the CIM data in the data directory if the data pipeline detects CIM data loading; determining the data type value, data size value, data row value, and operation scenario value corresponding to the CIM data based on the processing recommendation module; determining a recommendation identifier for the CIM data based on the data type value, the data size value, the data row value, and the operation scenario value, the recommendation identifier pointing to the browser end or the server end; associating the recommendation identifier in the data directory structure. Based on the design of the processing recommendation model, personalized recommendations on both ends are realized, thereby improving data processing efficiency.
[0018] To summarize, this application fully integrates the advantages and applicable scenarios of both ends, and realizes personalized recommendations through the design of processing recommendation models. It overcomes the technical problem that when conventional technical solutions process CIM data, CIM data is limited to one of the C / S or B / S ends, resulting in low processing efficiency, and improves the efficiency of data processing. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0020] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0021] Figure 1 This is a flow chart of a first embodiment of a control method of a CIM data processing system based on a C / S and B / S hybrid mode of the present application; Figure 2 This is a flow chart of a second embodiment of a control method of a CIM data processing system based on a C / S and B / S hybrid mode of the present application; Figure 3 This is a flow chart of a third embodiment of a control method of a CIM data processing system based on a C / S and B / S hybrid mode of the present application; Figure 4 This is a flow chart of a fourth embodiment of a control method of a CIM data processing system based on a C / S and B / S hybrid mode of the present application; Figure 5 This is a flowchart of a fifth embodiment of a control method of a CIM data processing system based on a C / S and B / S hybrid mode of the present application; Figure 6 This is a flow chart of a sixth embodiment of a control method of a CIM data processing system based on a C / S and B / S hybrid mode of the present application; Figure 7 This is a flow chart of a seventh embodiment of a control method of a CIM data processing system based on a C / S and B / S hybrid mode of the present application; Figure 8 This is a flow chart of an eighth embodiment of a control method of a CIM data processing system based on a C / S and B / S hybrid mode of the present application; Fig. 9 This is a schematic diagram of a CIM data processing system based on a C / S and B / S hybrid mode of the present application; Fig.10 This is a structural diagram of the CIM data processing system equipment of this application.
[0022] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0023] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.
[0024] When conventional technical solutions process CIM data, the CIM data is limited to one end, C / S or B / S, resulting in low processing efficiency.
[0025] The present application provides a solution: if the loading of CIM data is monitored through the data pipeline, a data directory structure of the CIM data is established in the data directory; then the data type value, data size value, data row value and operation scenario value corresponding to the CIM data are determined based on the processing recommendation module; the recommendation identifier of the CIM data is determined according to the data type value, data size value, data row value and operation scenario value, and the recommendation identifier points to the browser side or the server side; finally, the recommendation identifier is associated in the data directory structure. The present application fully integrates the advantages and applicable scenarios of both ends, and then realizes personalized recommendations through the design of a processing recommendation model, thereby overcoming the technical problem that when conventional technical solutions process CIM data, CIM data is limited to one of the C / S or B / S ends, resulting in low processing efficiency, and improves the efficiency of processing data.
[0026] It should be noted that the execution subject of this embodiment may be a computing service device with data processing, network communication and program running functions, such as a tablet computer, a personal computer, a mobile phone, etc., or an electronic device capable of realizing the above functions, a CIM data processing system device, an operating system, etc. The following takes the CIM data processing system device as an example to illustrate this embodiment and the following embodiments.
[0027] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.
[0028] The present application embodiment provides an operation method of an electronic program guide, referring to Figure 1 , Figure 1 This is a flowchart of a first embodiment of a control method of a CIM data processing system based on a C / S and B / S hybrid mode of the present application.
[0029] In this embodiment, the control method of the CIM data processing system based on the C / S and B / S hybrid mode is applied to the CIM data processing system, the CIM data processing system includes a terminal and a server, the terminal includes a client and a browser, the server includes a processing recommendation module, a data directory and a data pipeline, and the method includes steps S10 to S40: Step S10, if the data pipeline detects that CIM data is loaded, a data directory structure of the CIM data is established in the data directory; In this embodiment, the CIM data processing system includes: a client, a browser and a server. The server includes: a processing recommendation module, a data directory and a data pipeline. The client provides services by installing client software on a desktop computer and connecting to a remote server. The server function is relatively weak, and the main CIM data management and governance logic and data storage are performed in the client software. The browser runs in the browser of the desktop computer, and the server runs in the server of the remote computer room. The data storage and processing logic are all performed on the server. The server is responsible for processing the request initiated by the user on the client, performing the corresponding processing, and returning the result to the client or browser. The processing recommendation module recommends the data terminal. The data directory generates the data directory structure. The data pipeline monitors and reads and writes data loading.
[0030] As an optional implementation, if the data pipeline detects the loading of CIM data, a corresponding directory tree is generated through the data directory based on the CIM data, and a data directory structure is established according to the directory tree.
[0031] Step S20, determining a data type value, a data size value, a data row value, and an operation scenario value corresponding to the CIM data based on the processing recommendation module; In this embodiment, the processing recommendation module can obtain the corresponding data type value, data size value, data row value and operation scenario value through CIM data. The data type value is defined according to different data types, including BIM data, GIS data, IoT data, and business data. The data size value is defined according to different data sizes, including 50MB size, 100MB size, 500MB size, 1GB size, greater than 1GB size, and None size. The data row value is defined according to different data row numbers, including 50,000 rows, 100,000 rows, 500,000 rows, 1 million rows, greater than 1 million rows, and None rows. The operation scenario value is defined according to different operation scenarios, including rendering operation scenarios, editing operation scenarios, and analysis and calculation operation scenarios.
[0032] As an optional implementation, metadata corresponding to the CIM data is obtained through the processing recommendation module, and a data type value, a data size value, a data row value, and an operation scenario value corresponding to the CIM data are determined through the metadata.
[0033] Step S30, determining a recommendation identifier of the CIM data according to the data type value, the data size value, the data row value, and the operation scenario value, wherein the recommendation identifier points to the browser end or the server end; In this embodiment, there are two types of recommendation identification. One is that if the processing recommendation module determines that the data is more suitable for processing by the client, the data is identified as "suitable for client processing". The second is that if the processing recommendation module determines that the data is more suitable for processing by the browser, the data is identified as "suitable for browser processing".
[0034] As an optional implementation, a recommendation value is determined based on the data type value, the data size value, the data row value and the operation scenario value, and a recommendation identifier is generated based on the recommendation value, and the recommendation identifier points to the browser end or the server end.
[0035] Step S40, associating the recommendation identifier in the data directory structure.
[0036] In this embodiment, the data directory may create a directory node associated with the storage location of the CIM data, and may read and write the CIM data through a data pipeline.
[0037] As an optional implementation, each CIM data in the data directory structure is associated with the corresponding recommendation identifier.
[0038] Exemplarily, when a CIM data is stored, the data pipeline will monitor the loading of new CIM data, and will establish the data directory structure of the CIM data through the data directory. The processing recommendation module will determine the data type value, data size value, data row value and operation scenario value corresponding to the CIM data, and then determine the recommended value through the data type value, data size value, data row value and operation scenario value, and then determine the corresponding recommendation identifier, and finally associate the recommendation identifier with the data directory structure of the CIM data.
[0039] Exemplarily, the data pipeline encapsulates BIM data, GIS data, IoT data, and business data repositories with a unified read-write interface, uses the read-write interface of the HTTP protocol to implement the read-write operations of the above data, and implements segmented or paged reading and writing of data. For BIM data, its original model supports segmented reading, and its parsed geometric data supports paged reading; for GIS data, GIS data stored in the form of files supports segmented reading, and GIS data stored in the form of spatial databases supports paged reading; for IoT data, due to its real-time data characteristics, a cache repository is created to store the data for a certain period of time, and support reading IoT data from the cache repository in paged form; business data is generally stored in a relational database, which supports reading data in paged form.
[0040] Since personalized recommendations are achieved through the design of a processing recommendation model, the technical problem of low processing efficiency caused by CIM data being limited to one of the C / S or B / S ends when processing CIM data with conventional technical solutions is overcome, thereby improving the efficiency of data processing.
[0041] Based on any of the above embodiments, in Embodiment 2 of the present application, refer to Figure 2 , Figure 2 The flowchart of the second embodiment of the control method of the CIM data processing system based on the C / S and B / S hybrid mode of the present application. Step S20 includes steps A11-A12: Step A11, the processing recommendation module determines the metadata of the CIM data through the CIM data in the data directory structure; In this embodiment, the metadata of the CIM data includes information such as data type, data size, number of data rows, and operation scenario.
[0042] As an optional implementation, the processing recommendation module parses the CIM data on the data directory structure to obtain data type, data size, number of data rows, and operation scenario.
[0043] Step A12: determining the data type value, the data size value, the data row value, and the operation scenario value corresponding to the CIM data based on the metadata.
[0044] In this embodiment, the address pointed to by the data is associated with the data ID, and the data can be uniquely located in the repository through the data ID. The data mounted through the data directory will parse the data metadata information, including data type, data size, number of data rows, spatial coordinate system and other information.
[0045] As an optional implementation, based on the data type, data size, number of data rows, and operation scenario of the CIM data, the data type value, the data size value, the data row value, and the operation scenario value corresponding to the CIM data are determined.
[0046] Exemplarily, the processing recommendation module parses the CIM data mounted on the data directory structure to obtain the metadata of the CIM data, and then determines the data type value, data size value, data row value and operation scenario value corresponding to the CIM data based on the data type, data size, number of data rows and operation scenario in the metadata.
[0047] Since a variety of data are integrated to judge the recommended terminal of CIM data, the accuracy of the judgment of the scheme is improved, and the effect of accurate judgment is achieved.
[0048] Based on any of the above embodiments, in Embodiment 3 of the present application, refer to Figure 3 , Figure 3 This is a flow chart of the third embodiment of the control method of the CIM data processing system based on the C / S and B / S hybrid mode of the present application. Step A12 includes steps B11 to B14: Step B11, determining the data type value according to the mapping relationship between the data types in the metadata; In this embodiment, the data type value is determined by {BIM data (x1)|x1=0.9, GIS data (x2)|x2=0.9, IoT data (x3)|x3=1, business data (x4)|x4=1.5}.
[0049] As an optional implementation, the data type value is determined based on BIM data, GIS data, IoT data, business data and corresponding quantitative relationships in the data type.
[0050] Step B12, determining the data size value according to the data size value in the metadata; In this embodiment, the data size value is determined by {50MB(s1)|s1=1.3, 100MB(s2)|s2=1.2, 500MB(s3)|s3=1, 1GB(s4)|s4=0.9, greater than 1GB(s5)|s5=0.8, None(s6)|s6=1}.
[0051] As an optional implementation manner, the data size value is determined according to 50MB size, 100MB size, 500MB size, 1GB size, size greater than 1GB size, None size and corresponding quantity relationships among the data sizes.
[0052] Step B13, determining the data row value according to the value of the data row number in the metadata; In this embodiment, the number of data rows is determined by {50,000 (s1) | s1 = 1.3, 100,000 (s2) | s2 = 1.2, 500,000 (s3) | s3 = 1, 1 million (s4) | s4 = 0.9, greater than 1 million (s5) | s5 = 0.8, None (s6) | s6 = 1}.
[0053] As an optional implementation, the data row value is determined based on 50,000 rows, 100,000 rows, 500,000 rows, 1 million rows, more than 1 million rows, None rows, and corresponding quantitative relationships among the data row numbers.
[0054] Step B14: determining the operation scenario value according to the mapping relationship of the operation scenarios in the metadata.
[0055] In this embodiment, the operation scene value is determined by {rendering operation (q1)|q1=0.5, editing operation (q2)|q2=0.6, analytical calculation (q3)|q3=1.5}.
[0056] As an optional implementation, the operation scene value is determined according to the rendering operation, editing operation, analysis calculation and quantitative relationship in the operation scene.
[0057] Exemplarily, the processing mode recommendation module has a recommendation model designed as follows: Data type value (M): M={BIM data (x1)|x1=0.9, GIS data (x2)|x2=0.9, IoT data (x3)|x3=1, business data (x4)|x4=1.5}.
[0058] Data size value (S): S={50MB(s1)|s1=1.3, 100MB(s2)|s2=1.2, 500MB(s3)|s3=1, 1GB(s4)|s4=0.9, greater than 1GB(s5)|s5=0.8, None(s6)|s6=1}.
[0059] Data row value (N): N={50,000 (s1)|s1=1.3, 100,000 (s2)|s2=1.2, 500,000 (s3)|s3=1, 1 million (s4)|s4=0.9, greater than 1 million (s5)|s5=0.8, None (s6)|s6=1}.
[0060] Operation scene value (Q): Q={rendering operation (q1)|q1=0.5, editing operation (q2)|q2=0.6, analytical calculation (q3)|q3=1.5}.
[0061] By combining formulas and integrating multiple data for judgment, the problem of inaccurate judgment is overcome, the reliability of the recommendation scheme is improved, and the effect of accurate recommendation is achieved.
[0062] Based on any of the above embodiments, in Embodiment 4 of the present application, refer to Figure 4 , Figure 4 This is a flowchart of the fourth embodiment of the control method of the CIM data processing system based on the C / S and B / S hybrid mode of the present application. Step S30 includes steps C11 to C14: Step C11, determining a recommended value according to the data type value, the data size value, the data row value and the operation scenario value; In this embodiment, the recommended value is defined by a data type value, a data size value, a data row value, and an operation scenario value, and the recommended value is used to determine the optimal terminal.
[0063] As an optional implementation, the recommended value is calculated based on the data type value, the data size value, the data row value, the operation scenario value and the corresponding quantitative relationship.
[0064] Step C12: if the recommendation value is less than or equal to the threshold, the processing recommendation module generates a first recommendation mark; In this embodiment, the threshold is a value and also a judgment condition. The recommended terminal is judged by dividing the threshold, and the threshold can be adjusted. The first recommendation mark is to recommend using the client to process CIM data.
[0065] As an optional implementation, when the recommendation value is less than a threshold, the processing recommendation module generates a first recommendation mark for recommending the use of the client to process the CIM data.
[0066] Step C13, if the recommendation value is greater than the threshold, the processing recommendation module generates a second recommendation mark; In this embodiment, the second recommendation mark is to recommend using a browser to process CIM data.
[0067] As an optional implementation, when the recommendation value is greater than the threshold, the processing recommendation module generates a second recommendation tag that recommends using a browser to process the CIM data.
[0068] Step C14: presenting the first recommendation mark or the second recommendation mark on the data directory structure.
[0069] In this embodiment, the first recommendation mark or the second recommendation mark will be associated with the corresponding CIM data in the data directory structure and presented on the page of the CIM data. When the customer uses it, the first recommendation mark or the second recommendation mark will provide a reference for the customer to help the customer choose a terminal.
[0070] As an optional implementation, the first recommendation mark or the second recommendation mark is associated with the corresponding CIM data in the data directory structure and presented on the data directory structure.
[0071] Exemplarily, when the recommended value corresponding to the CIM data is calculated based on the data type value, data size value, data row value and operation scenario value corresponding to the CIM data, and the recommended value is less than the threshold, a first recommendation tag is generated by the processing recommendation module, indicating that the CIM data is suitable for data processing using the client, and the first recommendation tag is associated with the CIM data in the data directory structure.
[0072] Since different recommendation marks are used to prompt users to use the most appropriate processing method to process data, the problem of users being unable to determine the most appropriate processing method is overcome, and the judgment efficiency of the solution is improved.
[0073] Based on any of the above embodiments, in Embodiment 5 of the present application, refer to Figure 5 , Figure 5 This is a flowchart of the fifth embodiment of the control method of the CIM data processing system based on the C / S and B / S hybrid mode of the present application. After step S40, it also includes steps D11 to D13: Step D11, displaying the data directory structure corresponding to the data directory in the terminal; In this embodiment, data is managed through a data directory, and a data directory structure generated by the data directory defines the location and path of the data.
[0074] As an optional implementation, if the client is used, the data directory structure corresponding to the data directory is displayed on a page of the client.
[0075] As an optional implementation, if the browser is used, the data directory structure corresponding to the data directory is displayed on a page of the browser.
[0076] Step D12, determining the CIM data contained in the data directory structure; In this embodiment, the data directory structure includes the location and path of CIM data, and the sub-directory structure of CIM data includes BIM data, GIS data, IoT data and business data.
[0077] As an optional implementation, the data directory structure is sorted out to identify the location and path of the CIM data in the data directory, and the integrity of the CIM data is verified.
[0078] Step D13: If a click action on the target CIM data is detected, a recommendation mark corresponding to the target CIM data is displayed.
[0079] In this embodiment, the click action is the behavior of clicking on target data when the user selects data on the terminal.
[0080] As an optional implementation, the terminal detects a user's click action on the target CIM data, identifies the clicked target CIM data, obtains a recommendation identifier corresponding to the data, and displays it on a page.
[0081] Exemplarily, when a user click information on the first CIM data in the data directory structure is received, the first CIM data in the data directory structure is determined, and the first CIM data is presented on the page. If the recommendation identifier corresponding to the first CIM data is the first recommendation tag, the first recommendation tag is also displayed on the page.
[0082] Since the recommendation mark is displayed in a binding manner with the directory data structure, the problem that the user cannot accurately determine the most suitable terminal is overcome, the efficiency of determining the most suitable terminal is improved, and the effect of efficient data processing is achieved.
[0083] Based on any of the above embodiments, in Embodiment 6 of the present application, refer to Figure 6 , Figure 6 This is a flowchart of the sixth embodiment of the control method of the CIM data processing system based on the C / S and B / S hybrid mode of the present application. The client includes a first data processing module and a data storage module, and after step D13, it also includes steps E11 to E13: Step E11, if the client is selected to process the target CIM data, the first data processing module updates the target CIM data according to the operation instruction and outputs a first target result; In this embodiment, the client includes a first data loading module and a first data rendering module, a first data processing module and a data storage module. The first data loading module is located at the client and is responsible for loading the required data into the client for subsequent processing, analysis and use. The first data rendering module renders the CIM data into a visual image and presents it on the client. The operation instructions include data editing, management, analysis and other operations. The first target result is that the user executes the operation instruction, updates the CIM data, and obtains the updated CIM data.
[0084] As an optional implementation, the first data processing module updates the CIM data by performing data editing, data governance and data analysis, and outputs the updated CIM data.
[0085] As an optional implementation, the data directory structure is loaded into the client through the first data loading module, and the CIM data is rendered in the map area of the client using the data rendering module, and the recommendation logo is displayed on the page of the client.
[0086] Step E12, the data storage module updates the data directory structure through the first target result, and stores the cache of the first target result in the data storage module; In this embodiment, the data storage module is located in the client and temporarily stores the cache of updated CIM data. When the user chooses to save, the cache is stored in the storage repository.
[0087] As an optional implementation, the data storage module updates the data directory structure according to the first target result, and stores the cache of the first target result in the data storage module, and if a storage instruction is received, stores the cache in the storage repository.
[0088] Step E13, receiving a storage instruction from the operation terminal, and storing the first target result in a storage repository through the data storage module.
[0089] In this embodiment, the storage instruction is a user sending a storage execution instruction to the server by clicking or selecting the storage option. The operation end includes the client.
[0090] As an optional implementation, a storage instruction triggered by the operation terminal clicking a storage option is received, and the first target result is transmitted to a storage repository for storage through the data storage module.
[0091] Exemplarily, the C / S client loads the directory tree structure through the data directory of the server and displays it in the client, with a mark indicating whether it is recommended for the client to process it. The user can click in the directory tree to load data into the client, and the rendering module will render and visualize the loaded data. The user can process the data in the visual operation panel. After the client completes the data processing, it is pushed back to the data directory module of the server through the storage module and saved to the database through the data pipeline.
[0092] Since the client can be selected for data processing, data preview is smoother when the data volume is large, which overcomes the problem of being unable to perform effective browsing and editing operations when the data volume is too large, and improves the efficiency of data processing.
[0093] Based on any of the above embodiments, in Embodiment 7 of the present application, refer to Figure 7 , Figure 7 This is a flowchart of the seventh embodiment of the control method of the CIM data processing system based on the C / S and B / S hybrid mode of the present application. The server side also includes a second data processing module, and after step D13, it also includes steps F11~F12: Step F11, if the browser is selected to process the target CIM data, when the second data processing module receives a trigger instruction, the target CIM data is updated according to the trigger instruction; In this embodiment, the browser side includes a second data loading module and a second data rendering module. The second data loading module is located on the browser side and is responsible for loading the required data into the client for subsequent processing, analysis and use. The second data rendering module renders the CIM data into a visual image and presents it on the browser side. The second data processing module can perform data management and governance operations. The trigger instruction is transmitted by the second data loading module. When the user performs management operations or data governance operations on the browser side, the second data loading module generates and sends the trigger instruction. The second target result is that the user executes the operation instruction so that the second data loading module generates and sends the trigger instruction, and the second data processing module updates the CIM data according to the trigger instruction to obtain the updated CIM data.
[0094] As an optional implementation, the second data processing module receives a trigger instruction of a governance operation transmitted by the second loading module, and the second data processing module performs the governance operation on the CIM data according to the trigger instruction to obtain and output a second target result.
[0095] As an optional implementation, the data directory structure is loaded into the browser through the second data loading module, and the CIM data is rendered in the map area of the browser using the data rendering module, and the recommendation logo is displayed on the page of the browser.
[0096] Step F12: outputting a second target result according to the updated target CIM data and storing it in a repository through the data pipeline.
[0097] In this embodiment, data processing operations are performed on the browser side, and data updates caused by the operations are transmitted to the storage repository on the server side for storage at regular intervals.
[0098] As an optional implementation manner, the second target result is obtained by the second data processing module updating the CIM data according to the trigger instruction, and the second target result is stored in a repository.
[0099] Exemplarily, the B / S client loads the directory tree structure through the data directory of the server and displays it in the browser page, with a mark indicating whether the client is recommended to process it. The user can click in the directory tree to load data into the browser. The rendering module renders the loaded data and visualizes it on the page. The data processing action can be triggered in the visualization panel. The specific data processing logic is performed in the data processing module of the server, and the processed result data is finally written back to the database through the data pipeline.
[0100] Since the browser side can be selected for data processing, the processing speed is faster when processing large amounts of CIM data, thereby improving the efficiency of data processing.
[0101] Based on any of the above embodiments, in Embodiment 8 of the present application, refer to Figure 8 , Figure 8 This is a flowchart of the eighth embodiment of the control method of the CIM data processing system based on the C / S and B / S hybrid mode of the present application. Step S10 includes steps G11-G12: Step G11, the data directory generates a directory tree according to the CIM data; In this embodiment, the directory tree is a data structure used to represent the hierarchical structure of directories and files in the file system. The data directory is located on the server side and is used to generate the data directory structure.
[0102] As an optional implementation, the data directory generates a directory tree based on the CIM data, and displays the recommendation identifier on the directory tree.
[0103] Step G12, determining the data directory structure according to the directory tree.
[0104] In this embodiment, the data directory structure refers to the way data is organized and managed in the storage system. It involves the classification and storage location of data. The data directory structure can change according to the update of data and carries a recommendation mark.
[0105] As an optional implementation, the data directory structure is generated by arranging a plurality of the directory trees.
[0106] For example, a data directory can create a directory node, which can record information such as data name, address pointed to by the data, description, data type, etc., and a sub-directory node can also be created under the directory node to form a complete data directory structure. The address pointed to by the data is associated with a data ID, and the data can be uniquely located in the repository through the data ID.
[0107] Due to the generation of the corresponding data directory structure, it is convenient for users to determine the required CIM data, overcome the problem of difficulty in finding data, and improve the efficiency of data search.
[0108] For example, to help understand the implementation process of the CIM data processing system based on the C / S and B / S hybrid mode of the present application, please refer to Fig. 9 , Fig. 9 This is a schematic diagram of the CIM data processing system based on the C / S and B / S hybrid mode of this application. The specific data flow steps are as follows: Step (1): CIM data provides a unified read and write data interface to the upper layer through the data pipeline.
[0109] In step (2), the data directory module can create a directory node associated with the storage location of the CIM data, and can read and write the CIM data through the data pipeline. Through the unified interface of the data directory and the data pipeline and the data loading module on the client / browser side, data intercommunication between the client and the browser is achieved.
[0110] In step (3), the processing mode recommendation module can calculate a recommendation value based on the recommendation model. If the recommendation value is <=1, client processing is recommended; if the recommendation value is >1, browser processing is recommended. The recommendation mark is added to the data directory, and the user can view the recommendation through the data directory page.
[0111] Step (4), if the user chooses to use client processing, the client loads the data to the local through the data directory through the data loading module, and the data rendering module renders the data in the client map area. The user can perform data editing, management, analysis and other operations based on the data. After completing the operation and outputting the results, use the data storage module to mount the result data to the directory through the data directory module and write it back to the repository.
[0112] Step (5), if the user chooses to use browser-side processing, the browser loads the data from the data directory into the browser through the data loading module, and the browser's data rendering module renders the data onto the page. The user can perform data management and governance operations based on this data. When the operation is triggered, the data will be managed or governed accordingly in the data processing module on the server side. After the result is output, the user can choose to write the result data back to the repository through the data pipeline.
[0113] It should be noted that the above examples are only used to understand the present application and do not constitute a limitation on the control method of the CIM data processing system based on the C / S and B / S hybrid mode of the present application. More simple transformations based on this technical concept are all within the scope of protection of the present application.
[0114] The present application provides a CIM data processing system device, which includes: at least one processor; and a memory connected to the at least one processor in communication; wherein the memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the control method of the CIM data processing system based on the C / S and B / S hybrid mode in the above-mentioned embodiment 1.
[0115] Reference below Fig.10 , which shows a schematic diagram of the structure of a CIM data processing system device suitable for implementing an embodiment of the present application. The CIM data processing system device in the embodiment of the present application may include but is not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, personal digital assistants (PDA, Personal Digital Assistant), tablet computers (PAD, Portable Application Description), portable multimedia players (PMP, Portable Media Player), vehicle terminals (such as vehicle navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Fig.10 The CIM data processing system device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0116] like Fig.10As shown, the CIM data processing system device may include a processing device 1001 (such as a central processing unit, a graphics processing unit, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM) 1004. Various programs and data required for the operation of the CIM data processing system device are also stored in the random access memory 1004. The processing device 1001, the read-only memory 1002, and the random access memory 1004 are connected to each other via a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Typically, the following systems may be connected to the I / O interface 1006: input devices 1007 including, for example, a touch screen, a touchpad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; output devices 1008 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage devices 1003 including, for example, a magnetic tape, a hard disk, etc.; and communication devices 1009. The communication devices 1009 may allow the CIM data processing system device to communicate with other devices wirelessly or by wire to exchange data. Although the CIM data processing system device with various systems is shown in the figure, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems may be implemented or have instead.
[0117] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-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 through a communication device, or installed from a storage device 1003, or installed from a read-only memory 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.
[0118] The CIM data processing system device provided by the present application adopts the control method of the CIM data processing system based on the C / S and B / S hybrid mode in the above embodiment, which can solve the technical problem that when the conventional technical solution processes CIM data, the CIM data is limited to one end of the C / S or B / S, resulting in low processing efficiency. Compared with the prior art, the beneficial effects of the CIM data processing system device provided by the present application are the same as the beneficial effects of the control method of the CIM data processing system based on the C / S and B / S hybrid mode provided by the above embodiment, and other technical features in the CIM data processing system device are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.
[0119] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.
[0120] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
[0121] The present application provides a computer-readable storage medium having computer-readable program instructions (i.e., computer programs) stored thereon, and the computer-readable program instructions are used to execute the control method of the CIM data processing system based on the C / S and B / S hybrid mode in the above-mentioned embodiment.
[0122] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM, Erasable Programmable Read Only Memory or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM, CD-Read Only Memory), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, radio frequencies (RF, Radio Frequency), etc., or any suitable combination of the above.
[0123] The computer-readable storage medium may be included in the CIM data processing system device; or may exist independently without being assembled into the CIM data processing system device.
[0124] The computer-readable storage medium carries one or more programs. When the one or more programs are executed by the CIM data processing system device, the CIM data processing system device: if the data pipeline detects the loading of CIM data, establishes a data directory structure of the CIM data in the data directory; determines the data type value, data size value, data row value and operation scenario value corresponding to the CIM data based on the processing recommendation module; determines a recommendation identifier of the CIM data according to the data type value, the data size value, the data row value and the operation scenario value, and the recommendation identifier points to the browser end or the server end; and associates the recommendation identifier in the data directory structure.
[0125] Computer program code for performing the operations of the present application may be written in one or more programming languages or a combination thereof, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0126] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0127] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.
[0128] The readable storage medium provided by the present application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the control method of the CIM data processing system based on the C / S and B / S hybrid mode, and can solve the technical problem that when the conventional technical solution processes CIM data, the CIM data is limited to one end of the C / S or B / S, resulting in low processing efficiency. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided by the present application are the same as the beneficial effects of the control method of the CIM data processing system based on the C / S and B / S hybrid mode provided by the above embodiment, and will not be repeated here.
[0129] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the patent protection scope of the present application.
Claims
1. A control method for a CIM data processing system based on a C / S and B / S hybrid mode, characterized in that: Applied to a CIM data processing system, the CIM data processing system includes a terminal and a server, the terminal includes a client and a browser, the server includes a processing recommendation module, a data directory and a data pipeline, and the method includes: If the data pipeline detects that CIM data is loaded, a data directory structure of the CIM data is established in the data directory; Determine a data type value, a data size value, a data row value, and an operation scenario value corresponding to the CIM data based on the processing recommendation module; Determine a recommendation identifier of the CIM data according to the data type value, the data size value, the data row value, and the operation scenario value, wherein the recommendation identifier points to the browser end or the server end; The recommendation identifier is associated with the data directory structure.
2. The control method of the CIM data processing system based on the C / S and B / S hybrid mode according to claim 1, characterized in that: The step of determining the data type value, data size value, data row value and operation scenario value corresponding to the CIM data based on the processing recommendation module comprises: The processing recommendation module determines metadata of the CIM data through the CIM data on the data directory structure; Based on the metadata, the data type value, the data size value, the data row value, and the operation scenario value corresponding to the CIM data are determined.
3. The control method of the CIM data processing system based on the C / S and B / S hybrid mode as claimed in claim 2, characterized in that: The step of determining the data type value, the data size value, the data row value, and the operation scenario value corresponding to the CIM data based on the metadata includes: Determine the data type value according to the mapping relationship between the data types in the metadata; Determining the data size value according to the value of the data size in the metadata; Determine the data row value according to the value of the data row number in the metadata; The operation scenario value is determined according to the mapping relationship between the operation scenarios in the metadata.
4. The control method of the CIM data processing system based on the C / S and B / S hybrid mode according to claim 1, characterized in that: The step of determining the recommended identifier of the CIM data according to the data type value, the data size value, the data row value and the operation scenario value comprises: Determine a recommended value according to the data type value, the data size value, the data row value and the operation scenario value; If the recommendation value is less than or equal to a threshold, the processing recommendation module generates a first recommendation mark; If the recommendation value is greater than the threshold, the processing recommendation module generates a second recommendation mark; The first recommendation mark or the second recommendation mark is presented on the data directory structure.
5. The control method of the CIM data processing system based on the C / S and B / S hybrid mode according to claim 1, characterized in that: After the step of associating the recommendation identifier in the data directory structure, the method further includes: Displaying the data directory structure corresponding to the data directory in the terminal; Determining the CIM data contained in the data directory structure; If a click action on the target CIM data is detected, a recommendation mark corresponding to the target CIM data is displayed.
6. The control method of the CIM data processing system based on the C / S and B / S hybrid mode according to claim 5, characterized in that: The client includes a first data processing module and a data storage module. After the step of displaying a recommendation mark corresponding to the target CIM data if a click action on the target CIM data is detected, the client further includes: If the client is selected to process the target CIM data, the first data processing module updates the target CIM data according to the operation instruction and outputs a first target result; The data storage module updates the data directory structure through the first target result, and stores the cache of the first target result in the data storage module; The storage instruction from the operation terminal is received, and the first target result is stored in a storage repository through the data storage module.
7. The control method of the CIM data processing system based on the C / S and B / S hybrid mode according to claim 5, characterized in that: The server side further includes a second data processing module, and after the step of detecting a click action on the target CIM data and displaying the recommendation mark corresponding to the target CIM data, further includes: If the browser is selected to process the target CIM data, when the second data processing module receives a trigger instruction, the target CIM data is updated according to the trigger instruction; According to the updated target CIM data, a second target result is output and stored in a repository through the data pipeline.
8. The control method of the CIM data processing system based on the C / S and B / S hybrid mode as claimed in claim 1, characterized in that: The step of establishing the data directory structure of the CIM data in the data directory comprises: The data directory generates a directory tree according to the CIM data; The data directory structure is determined according to the directory tree.
9. A CIM data processing system device, characterized in that: The device includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the CIM data processing system control method based on the C / S and B / S hybrid mode as described in any one of claims 1 to 8.
10. A storage medium, characterized in that: The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by the processor, the steps of the CIM data processing system control method based on the C / S and B / S hybrid mode as described in any one of claims 1 to 8 are implemented.
Citation Information
Patent Citations
Data processing method and system, client, and page engine
CN104253788A
A resource management method and system based on metadata self-definition extension
CN109542895A
Equipment simulator operation environment determination method and device and electronic equipment
CN112260879A
Service scene aggregation method and system based on CIM platform and storage medium
CN112380407A
CIM basic platform-based urban information model management system and analysis and display method
CN119578714A