Construction method and interaction method of open data management platform

By building an open data management platform and targeting the data structures and interfaces of the RTbasic programming language, the practical problems of memory overflow and multi-threaded operations are solved, and the security and practicality of the language are improved.

CN118819835APending Publication Date: 2024-10-22SHENZHEN ZMOTION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410856758.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-28
Publication Date
2024-10-22

AI Technical Summary

Technical Problem

When using the RTbasic programming language, the current results cannot be obtained externally, resulting in data memory overflow, lack of security protection, and the need to manually define resource addresses and lengths during multi-threaded operations, which lacks practicality.

Method used

By building an open data management platform, we build data structures for variables, strings, arrays, ZVOBJECT, TABLE, and tasks, and build application, release, write, and read interfaces to limit the number of data structures used and provide aggregated data. interface to support multi-thread scheduling.

Benefits of technology

It solves the problem of data memory overflow and improves the security and practicality of RTbasic programming language. Users can automatically schedule data elements, reducing manual configuration and resource offset.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118819835A_ABST
    Figure CN118819835A_ABST
Patent Text Reader

Abstract

The invention discloses a construction method and an interaction method of an open data management platform, and relates to the technical field of motion controller control, and the open data management platform comprises the following steps: respectively constructing corresponding data structural bodies for variables, character strings, arrays, ZVOBJECT, TABLE and tasks; building a corresponding application interface, a release interface, a write-in interface and a read interface according to the created data structure body; therefore, according to the constructed corresponding data structural body, the data of the multiple data structural bodies can be freely called through the constructed interface and the data management platform, and due to the fact that the use number of the data structural bodies of the TABLE and the array is limited during construction, the problem that the data of the type is prone to causing memory overflow can be solved; according to the method, a plurality of data structural bodies are arranged, and a plurality of interfaces are established on the data structural bodies, so that a user can automatically schedule data elements in the required data structural bodies under the condition of multi-thread scheduling use, and the security and practicability of an RTbasic programming language are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of motion controller control technology, and in particular to a construction method and an interaction method of an open data management platform. Background Art

[0002] When using the RTbasic programming language, the current results are often not available externally when writing code. In addition, the data memory overflow and lack of security protection may occur during use due to the inability to determine the memory upper limit of certain data resources. In addition, when performing thread operations, it is often necessary to define the address and length of TABLE and array data resources. In the case of multi-threaded resource calls, not only is it necessary to manually offset the addresses of multiple resources, but when using ZVOBJECT resources under different threads, it is necessary to perform static configuration in advance according to the ZVOBJECT resources under different threads, which lacks practicality. Therefore, how to provide a safe and practical data platform has become an urgent problem that people in this field need to solve. Summary of the invention

[0003] The main purpose of this application is to provide a construction method and an interaction method for an open data management platform, which aims to solve the problem that when writing code, the current result cannot be obtained externally, and during use, not only the memory upper limit of certain data resources cannot be determined, resulting in data memory overflow and lack of security protection, but also when performing thread operations, it is often necessary to define the address and length of TABLE and array data resources; in the case of multi-threaded resource calls, not only is it necessary to manually offset the addresses of multiple resources, but also when using ZVOBJECT resources under different threads, it is necessary to perform static configuration in advance according to the ZVOBJECT resources under different threads, which lacks practicality. Technical problems.

[0004] To achieve the above purpose, the present application proposes a method for constructing an open data management platform, wherein the data platform is constructed using the RTbasic editing language, and the construction method includes:

[0005] Construct corresponding data structures for variables, strings, arrays, ZVOBJECTs, TABLEs, and tasks respectively;

[0006] According to the created data structure, corresponding application interface, release interface, write interface and read interface are constructed.

[0007] In one embodiment, after the step of constructing corresponding data structures for variables, strings, arrays, ZVOBJECTs, TABLEs, and tasks, the method further comprises:

[0008] According to the created data structure, corresponding types, start bits and identifiers are defined for the data elements in the data structure.

[0009] In one embodiment, the identifier includes a text identifier and an address identifier.

[0010] In one embodiment, the step of building corresponding application, release, writing and reading interfaces according to the created data structure includes:

[0011] After the data elements of the plurality of data structures are defined, a plurality of file data interfaces are constructed corresponding to each of the data structures;

[0012] The file data interfaces of the same functional type in each of the data structures are aggregated into an aggregate data interface, and a preset mapping relationship table corresponding to the text identifier and the address identifier referenced by the aggregate data interface is set.

[0013] In one embodiment, after the multiple data structures are defined, the steps of building multiple file data interfaces of different functional types on each of the data structures are specifically as follows:

[0014] For variables, strings, arrays, ZVOBJECTs and TABLE data structures, respectively, correspondingly build application file data interface, release file data interface, write file data interface and read file data interface; and

[0015] For the task data structure, the application file data interface and the release file data interface are constructed.

[0016] In one embodiment, the aggregate data interface includes an aggregate data application interface, an aggregate data release interface, an aggregate data read interface, and an aggregate data write interface.

[0017] In addition, to achieve the above purpose, the present application also proposes an interactive method of an open data management platform. The interactive method of the open data management platform is based on the above-mentioned construction method of the open data management platform, and the interactive method includes:

[0018] Get the operation instructions issued by the user;

[0019] According to the operation instruction, the corresponding interface is selected according to the preset rules, the required data elements in the data structure are called, and output to the user interaction interface for the user to perform data processing operations.

[0020] In addition, to achieve the above-mentioned purpose, the present application also proposes an open data management platform, the device comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, the computer program being configured to implement the steps of the method for constructing an open data management platform as described above.

[0021] 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 a processor, the steps of the method for constructing an open data management platform as described above in the claims are implemented.

[0022] One or more technical solutions proposed in this application have at least the following technical effects:

[0023] A method for constructing an open data management platform is provided. The data platform is constructed by using an RTbasic editing language. The method comprises: constructing corresponding data structures for variables, strings, arrays, ZVOBJECTs, tables and tasks respectively; and constructing corresponding application interfaces, release interfaces, write interfaces and read interfaces according to the created data structures. Thus, corresponding data structures can be constructed according to the constructed variables, strings, arrays, ZVOBJECTs, tables and tasks respectively. Through the constructed interfaces, the data management platform can freely call data of a plurality of the data structures. Since the number of TABLE and array data structures used is limited during construction, the problem that such data easily causes memory overflow can be solved. Furthermore, since a plurality of the interfaces are constructed on the data structures, the user can automatically schedule the required data elements in the data structures when multi-threaded scheduling is used, thereby improving the security and practicality of the RTbasic programming language. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] 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.

[0025] 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.

[0026] Figure 1 A flowchart provided in an embodiment of a method for constructing an open data management platform of this application;

[0027] Figure 2 This is a flow chart of the sub-steps in step S300 in an embodiment of the method for constructing an open data management platform of this application;

[0028] Figure 3 A flowchart of an interactive method of an open data management platform provided in Embodiment 2 of the present application;

[0029] Figure 4 This is a schematic diagram of the device structure of the hardware operating environment involved in the method and apparatus for constructing an open data management platform in an embodiment of the present application.

[0030] Label:

[0031] Description of Figure Numbers:

[0032] 1001 - processing device; 1002 - ROM; 1003 - storage device; 1004 - RAM; 1005 - bus; 1006 - I / O interface; 1007 - input device; 1008 - output device; 1009 - communication device.

[0033] 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

[0034] 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.

[0035] 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.

[0036] The main solution of the embodiment of the present application is: construct corresponding data structures for variables, strings, arrays, ZVOBJECTs, TABLEs and tasks respectively; build corresponding application interfaces, release interfaces, write interfaces and read interfaces according to the created data structures; in this way, corresponding data structures can be constructed according to the constructed variables, strings, arrays, ZVOBJECTs, TABLEs and tasks respectively. Through the constructed interfaces, the data management platform can freely call the data of multiple data structures, and because the number of TABLE and array data structures used is limited during construction, the problem that such data easily leads to memory overflow can be solved. Also, because multiple interfaces are built on multiple data structures, the user can automatically schedule the required data elements in the data structures when multi-threaded scheduling is used, thereby improving the security and practicality of the RTbasic programming language.

[0037] In this embodiment, for the convenience of description, the following description is made by taking the identification of RTbasic programming language as the execution subject.

[0038] Due to the existing technology in the RTbasic programming language, when users use threads for scheduling, they not only need to manually number the tasks, but also use the task numbers for resource scheduling. If the numbers are the same, it will cause task conflicts. In addition, when multiple threads call some resources, the data structure address must be manually offset, which lacks practicality. When calling data elements such as variables, strings, arrays and ZVOBJECTs, there is no limit on the number of data, and the upper limit cannot be determined, which can easily cause memory overflow and lack security protection and practicality.

[0039] 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, an open data management platform device, etc. The following takes the open data management platform device as an example to illustrate this embodiment and the following embodiments.

[0040] Based on this, the present application embodiment provides a method for constructing an open data management platform, referring to Figure 1 , Figure 1 This is a flow chart of the first embodiment of the method for constructing an open data management platform of this application.

[0041] In this embodiment, the method for constructing the open data management platform includes steps S100 to S300:

[0042] Step S100, construct corresponding data structures for variables, strings, arrays, ZVOBJECTs, TABLEs and tasks respectively;

[0043] In this step, for the various data elements of variables, strings, arrays, ZVOBJECTs, TABLEs and tasks in the RTbasic programming language, a certain number of data structures are constructed respectively. For example, a double type data structure with a usage number of 20,000 is created to avoid the situation that when using various resources such as variables, strings, arrays, ZVOBJECTs, TABLEs and tasks, the memory is greatly increased when the device processing the RTbasic programming language is used, which may easily cause program crashes and confusion and other program security issues. It is worth mentioning that the array data element is used as a container for storing data; the array data element is used to store multiple data of the same type; the string data element is used to store text data; the ZVOBJECT data element is a composite data type used to store visual data, including images, matrices and other data; the TABLE data element is used to store long arrays and double type data; the task data element is used to apply for a task number, and the task number is used to schedule the use of the data elements in the program.

[0044] It should be noted that the above examples are only used to understand the present application and do not constitute a limitation on the method for constructing the open data management platform described in the present application. More simple transformations based on this technical concept are all within the scope of protection of the present application.

[0045] Step S200, defining the type, start bit and identification of the data elements in the data structure according to the created data structure;

[0046] In this step, the type parameters, start bit parameters and identification parameters corresponding to the created data structure are defined, wherein the identification includes a text identifier and an address identifier. For example, in a data structure set as a variable type, the internal data format is divided according to a certain usage number, and each divided data format is provided with a start bit, a text identifier and an address identifier. In this way, the user can find the data structure through the text identifier and the address identifier, and check whether the data format is used by the user through the start bit. When defining the data structure, the parameters can be defined according to one or more of the type parameters, the start bit parameters and the identification parameters. In this way, the user can select the type in an orderly manner to search for the data format inside the data structure, and call it according to the usage.

[0047] Step S300, building corresponding application interface, release interface, write interface and read interface according to the created data structure.

[0048] In this step, the corresponding application interface, release interface, write interface and read interface are constructed according to the created data structure, and the management relationship is set according to the interface type to realize data sharing and function calling in each data structure, and the format and structure of the data can be kept consistent, reducing confusion and errors during data exchange. Specifically, the application interface is used to apply for calling the data elements in the data structure, the read interface is used to read the called data elements to the outside world, the write interface is used to write and modify the data elements read to the outside world, and the release interface is used to initialize and release the data elements when the data elements called in the outside world are used up or discontinued. In this way, the task number can be automatically specified in the state of multi-threaded calling of the data structure, and there is no need to manually specify the task number. In addition, the ZVOBJECT data elements can be processed in the multi-threaded state in the program without static configuration in advance, so that when the user uses the RTbasic programming language, the operation can be simple and fast, and the data elements called in the outside world can be released after use or discontinuation, thereby solving the problem of memory overflow when using the RTbasic programming language.

[0049] In one possible implementation, please refer to Figure 2 , step S300 may include steps A310 to A320:

[0050] Step A310, after the data elements of the plurality of data structures are defined, a plurality of file data interfaces are constructed corresponding to each of the data structures;

[0051] In this step, after the data elements of the data structure are defined, different types of file data interfaces such as application file data interface, release file data interface, write file data interface and read file data interface are used to build each data structure according to user functional requirements. Specifically, for the data structures of variables, strings, arrays, ZVOBJECTs and TABLEs, the application file data interface, release file data interface, write file data interface and read file data interface are built respectively; and for the task data structure, the application file data interface and the release file data interface are built, so that the file interface can be connected to the data structure.

[0052] Step A320, aggregate each file data interface of the same functional type in each of the data structures into an aggregate data interface, and set a preset mapping relationship table corresponding to the text identifier and the address identifier referenced by the aggregate data interface.

[0053] In this step, the data structures of variables, strings, arrays, ZVOBJECT, TABLE and tasks are corresponding to the application file data interface and the release file data interface, and are respectively aggregated into the application aggregate data interface and the release aggregate data interface according to the function type. The data structures of variables, strings, arrays, ZVOBJECT and TABLE are corresponding to the write file data interface and the read file data interface, and are respectively aggregated into the write aggregate data interface and the read aggregate data interface according to the function type. The aggregated application aggregate data interface, release aggregate data interface, write aggregate data interface and read aggregate data interface are set to be able to find the corresponding variables, strings, arrays, ZVOBJECT, TABLE and task data structures. In each divided data format, the text identifier (such as Chinese, English, German and other types of text) and the mapping relationship table of the address identifier are set, so that the user can call the required data element with the text name and address. It is worth mentioning that the mapping relationship table of the text identifier and the mapping relationship table of the address identifier can be created separately, or the mapping relationship table of the address identifier can be created separately. The text identifier uses the mapping relationship table of the address identifier to find each divided data format to call the data element.

[0054] For example, to help understand the implementation process of the interactive method of the open data management platform obtained by combining this embodiment with the above embodiments, please refer to Figure 3 , Figure 3 A flow chart of an interactive method of an open data management platform is provided, specifically:

[0055] Step M100, obtaining an operation instruction issued by a user;

[0056] In this step, the user issues operation instructions by operating the RTbasic programming language. These operation instructions may include but are not limited to requesting to access, modify, delete or create data elements, so that the RTbasic programming language automatically performs a series of operations according to certain rules and conditions. For example, when clicking on a certain text or address, the RTbasic programming language checks the current value of a variable or reads the content of a string.

[0057] Step M200, according to the operation instruction, select the corresponding interface according to the preset rules, call the required data elements in the data structure, and output them to the user interaction interface for the user to perform data processing operations.

[0058] In this step, when the RTbasic programming language receives the operation instruction issued by the user, the RTbasic programming language searches for the corresponding file data interface according to the mapping relationship table based on the created open data management platform. The file data interface flips through the corresponding data structure and searches for uncalled data elements according to the start bit of each data format set internally. For example, when the user needs to use a variable data element, the application aggregate data interface is called, and the open data management platform will automatically search for the data structure whose application file data interface parameter is "variable" through the application aggregate data interface. , access its interior, and look through the data format with a start bit of 0. If the start bit is 1, it is considered that the data format has been called, and the start bit in the next data format is looked through until the data format with a start bit of 0 is found. The data element in the searched data format is called to avoid data call confusion, and the data is read and output to the user interaction interface according to the read aggregate data interface, so that the user can perform write execution operations through the write aggregate data interface, and after the user completes the execution or interruption, the called data element is initialized and returned to the data format according to the release aggregate data interface.

[0059] In this step, the application file data interface and the release file interface on the task data structure are used to apply for the task number of the multi-threaded processing matter. After the application is successful, the user can perform multi-threaded call data elements in the RTbasic programming language, and can release the used task data elements after use or interruption, initialize the called task data elements, so that the called task data elements are restored to the original state in the data format of the data structure. For example, each data format in the task data structure is provided with a start bit and a different task number. When the open data management platform applies for the task number, the unenabled task number is called according to the state of the start bit. The RTbasic programming language applies for a thread according to the called task number, and can return the start bit to the unenabled state after use or interruption.

[0060] The present application provides an open data management platform device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable 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 method for constructing the open data management platform in the above-mentioned embodiment 1.

[0061] Reference below Figure 4 , which shows a schematic diagram of the structure of an open data management platform device suitable for implementing the embodiment of the present application. The open data management platform device in the embodiment of the present application may include but is not limited to mobile terminals such as mobile phones, laptops, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 4 The open data management platform device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0062] like Figure 4 As shown, the open data management platform device may include a processing device 1001 (such as a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM: Random Access Memory) 1004. In RAM1004, various programs and data required for the operation of the xxx device are also stored. The processing device 1001, ROM1002 and RAM1004 are connected to each other through a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Generally, the following systems can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the open data management platform device to communicate with other devices wirelessly or by wire to exchange data. Although the figure shows an open data management platform device with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or provided instead.

[0063] 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 ROM 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.

[0064] The open data management platform device provided by the present application adopts the construction method of the open data management platform in the above embodiment, which can solve the technical problems of the construction method of the open data management platform. Compared with the prior art, the beneficial effects of the open data management platform device provided by the present application are the same as the beneficial effects of the construction method of the open data management platform provided by the above embodiment, and the other technical features in the open data management platform device are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.

[0065] 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.

[0066] 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.

[0067] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer programs) stored thereon, and the computer-readable program instructions are used to execute the method for constructing an open data management platform in the above-mentioned embodiment.

[0068] 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 or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), 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 that can 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, RF (Radio Frequency), etc., or any suitable combination of the above.

[0069] The computer-readable storage medium may be included in the open data management platform device; or may exist independently without being assembled into the open data management platform device.

[0070] The computer-readable storage medium carries one or more programs. When the one or more programs are executed by the open data management platform device, the open data management platform device executes the method for constructing the open data management platform.

[0071] 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 through 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).

[0072] 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.

[0073] 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.

[0074] The readable storage medium provided in this application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned method for constructing the open data management platform, and can solve the technical problems of the method for constructing the open data management platform. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in this application are the same as the beneficial effects of the method for constructing the open data management platform provided in the above-mentioned embodiment, and will not be repeated here.

[0075] The present application also provides a computer program product, including a computer program, which implements the steps of the method for constructing an open data management platform as described above when executed by a processor.

[0076] The computer program product provided by this application can solve the technical problems of the method for constructing an open data management platform. Compared with the prior art, the beneficial effects of the computer program product provided by this application are the same as the beneficial effects of the method for constructing an open data management platform provided by the above embodiment, and will not be repeated here.

[0077] The present application proposes a method for constructing an open data management platform, wherein the data platform is constructed by using the RTbasic editing language, and the construction method comprises: constructing corresponding data structures for variables, strings, arrays, ZVOBJECTs, TABLEs and tasks respectively; and constructing corresponding application interfaces, release interfaces, write interfaces and read interfaces according to the created data structures; thus, corresponding data structures can be constructed according to the constructed variables, strings, arrays, ZVOBJECTs, TABLEs and tasks respectively. Through the constructed interfaces, the data management platform can freely call data of multiple data structures, and since the number of TABLE and array data structures used is limited during construction, the problem that such data easily leads to memory overflow can be solved. Furthermore, since multiple interfaces are constructed on the data structures, the user can automatically schedule the required data elements in the data structures when multi-threaded scheduling is used, thereby improving the security and practicality of the RTbasic programming language.

[0078] 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 method for constructing an open data management platform, characterized in that: The data platform is constructed by using the RTbasic editing language, and the construction method includes: Construct corresponding data structures for variables, strings, arrays, ZVOBJECTs, TABLEs, and tasks respectively; According to the created data structure, corresponding application interface, release interface, write interface and read interface are constructed.

2. The method for constructing an open data management platform according to claim 1, characterized in that: After the steps of constructing corresponding data structures for variables, strings, arrays, ZVOBJECTs, TABLEs and tasks respectively, the method further comprises: According to the created data structure, the types, start bits and identifiers of the data elements in the data structure are defined accordingly.

3. The method for constructing an open data management platform according to claim 2, characterized in that: The identification includes a text identification and an address identification.

4. The method for constructing an open data management platform according to claim 3, characterized in that: The step of building corresponding application, release, writing and reading interfaces according to the created data structure includes: After the data elements of the plurality of data structures are defined, a plurality of file data interfaces are constructed corresponding to each of the data structures; The file data interfaces of the same functional type in each of the data structures are aggregated into an aggregate data interface, and a preset mapping relationship table corresponding to the text identifier and the address identifier referenced by the aggregate data interface is set.

5. The method for constructing an open data management platform according to claim 4, characterized in that: After the multiple data structures are defined, the steps of building multiple file data interfaces of different functional types on each of the data structures are specifically as follows: For variables, strings, arrays, ZVOBJECTs and TABLE data structures, respectively, correspondingly build application file data interface, release file data interface, write file data interface and read file data interface; and For the task data structure, the application file data interface and the release file data interface are constructed.

6. The method for constructing an open data management platform according to claim 4, characterized in that: The aggregate data interface includes an aggregate data application interface, an aggregate data release interface, an aggregate data read interface and an aggregate data write interface.

7. An interactive method for an open data management platform, characterized in that: The interactive method of the open data management platform is based on the construction method of the open data management platform according to claims 4 to 6, and the interactive method includes: Get the operation instructions issued by the user; According to the operation instruction, the corresponding interface is selected according to the preset rules, the required data elements in the data structure are called, and output to the user interaction interface for the user to perform data processing operations.

8. An open data management platform device, characterized in that: The device comprises: 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 for constructing an open data management platform as claimed in any one of claims 1 to 6.

9. 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 a processor, the steps of the method for constructing an open data management platform as described in any one of claims 1 to 6 are implemented.

10. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the steps of the method for constructing an open data management platform as claimed in any one of claims 1 to 6 are implemented.