CN113448578A - Page data processing method, processing system, electronic device and readable storage medium - Google Patents

Page data processing method, processing system, electronic device and readable storage medium Download PDF

Info

Publication number
CN113448578A
CN113448578A CN202110723593.4A CN202110723593A CN113448578A CN 113448578 A CN113448578 A CN 113448578A CN 202110723593 A CN202110723593 A CN 202110723593A CN 113448578 A CN113448578 A CN 113448578A
Authority
CN
China
Prior art keywords
target
page data
page
template
template file
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110723593.4A
Other languages
Chinese (zh)
Inventor
邢培康
李炯
何子南
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Industrial and Commercial Bank of China Ltd ICBC
Original Assignee
Industrial and Commercial Bank of China Ltd ICBC
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Industrial and Commercial Bank of China Ltd ICBC filed Critical Industrial and Commercial Bank of China Ltd ICBC
Priority to CN202110723593.4A priority Critical patent/CN113448578A/en
Publication of CN113448578A publication Critical patent/CN113448578A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/12Use of codes for handling textual entities
    • G06F40/151Transformation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/186Templates

Abstract

The disclosure provides a page data processing method which can be applied to the financial field and the computer technical field. The page data processing method comprises the following steps: acquiring a page data generation request aiming at a target page, wherein the page data generation request comprises initial page data and a target format identifier of the target page; responding to the page data generation request, and determining a template file corresponding to the target format identifier; carrying out data structure conversion on the template file to obtain template data corresponding to the template file; and generating target page data corresponding to the target format identifier according to the template data and the initial page data. The present disclosure also provides a page data processing system, device, storage medium and program product.

Description

Page data processing method, processing system, electronic device and readable storage medium
Technical Field
The present disclosure relates to the field of finance and computer technology, and more particularly, to a page data processing method, system, device, medium, and program product.
Background
At present, institutions such as banks generally carry out transactions through terminals, but if platform versions are added for transactions, host transactions need to be opened. The file format adopted by the terminal is not suitable for the platform, and transaction pages and the like need to be rewritten.
In implementing the disclosed concept, the inventors found that there are at least the following problems in the related art: the manual writing mode has the advantages of large time and labor cost and high error rate.
Disclosure of Invention
In view of the above, the present disclosure provides a page data processing method, a processing system, an electronic device, a readable storage medium, and a program product.
According to a first aspect of the present disclosure, there is provided a page data processing method, including: acquiring a page data generation request aiming at a target page, wherein the page data generation request comprises initial page data and a target format identifier of the target page;
responding to the page data generation request, and determining a template file corresponding to the target format identifier;
carrying out data structure conversion on the template file to obtain template data corresponding to the template file;
and generating target page data corresponding to the target format identifier according to the template data and the initial page data.
According to the embodiment of the disclosure, the page data processing method further includes:
acquiring initial label information of the initial page data and attribute information corresponding to the target format identifier;
determining target tag information of the target page data according to the initial tag information;
and generating the template file according to the attribute information and the target label information.
According to an embodiment of the present disclosure, the file format of the template file includes a comma separated value file format;
wherein the data structure conversion of the template file to obtain the template data corresponding to the template file comprises:
and calling a target tool to perform data structure conversion on the template file to obtain template data corresponding to the template file.
According to an embodiment of the present disclosure, the calling the target tool to perform data structure conversion on the template file, and obtaining template data corresponding to the template file includes:
acquiring the initial label information and the target label information in the template file through the target tool;
and performing data structure conversion on the initial label information and the target label information to obtain template data corresponding to the template file.
According to an embodiment of the present disclosure, the acquiring a page data generation request for a target page includes:
determining the target format identification in response to a target format selection operation;
determining initial page data in response to an initial page data path selection operation; and
and responding to page generation determination operation, and generating the page data generation request according to the template file and the target format identifier.
According to the embodiment of the disclosure, the page data processing method further includes:
responding to the storage path selection operation, and acquiring a storage path; and
and storing the target page data according to the storage path.
A second aspect of the present disclosure provides a page data processing system, including:
the device comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring a page data generation request aiming at a target page, and the page data generation request comprises initial page data and a target format identifier of the target page;
the first determining module is used for responding to the page data generation request and determining the template file corresponding to the target format identifier;
the conversion module is used for carrying out data structure conversion on the template file to obtain template data corresponding to the template file;
and the first generation module is used for generating target page data corresponding to the target format identifier according to the template data and the initial page data.
A third aspect of the present disclosure provides an electronic device, comprising: one or more processors; a memory for storing one or more programs, wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to perform the above-described page data processing method.
The fourth aspect of the present disclosure also provides a computer-readable storage medium having stored thereon executable instructions that, when executed by a processor, cause the processor to perform the above-mentioned page data processing method.
A fifth aspect of the present disclosure also provides a computer program product comprising a computer program which, when executed by a processor, implements the above-described page data processing method.
According to the embodiment of the disclosure, the template file corresponding to the target format identifier is determined by responding to the page data generation request aiming at the target page, and the data structure conversion is carried out on the template file to obtain the template data corresponding to the template file. And generating target page data corresponding to the target identification according to the template data and the initial page data. Because the target page data is generated according to the template data and the initial page data, the function of automatically generating the target page data according to the initial page data is realized, and the efficiency and the accuracy of page development are improved. Meanwhile, the problems that time and labor cost are large and error rate is high in a manual writing mode in the prior art are solved.
Drawings
The foregoing and other objects, features and advantages of the disclosure will be apparent from the following description of embodiments of the disclosure, which proceeds with reference to the accompanying drawings, in which:
fig. 1 schematically shows an application scenario diagram of a page data processing method according to an embodiment of the present disclosure.
Fig. 2 schematically shows a flowchart of a page data processing method according to an embodiment of the present disclosure.
FIG. 3 schematically shows a schematic diagram of a template file according to an embodiment of the disclosure.
Fig. 4 schematically shows an interface diagram of a page data generation request according to an embodiment of the present disclosure.
Fig. 5 schematically shows a block diagram of a page data processing system according to an embodiment of the present disclosure.
Fig. 6 schematically shows a block diagram of an electronic device adapted to implement a page data processing method according to an embodiment of the present disclosure.
Detailed Description
Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. It should be understood that the description is illustrative only and is not intended to limit the scope of the present disclosure. In the following detailed description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the embodiments of the disclosure. It may be evident, however, that one or more embodiments may be practiced without these specific details. Moreover, in the following description, descriptions of well-known structures and techniques are omitted so as to not unnecessarily obscure the concepts of the present disclosure.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. The terms "comprises," "comprising," and the like, as used herein, specify the presence of stated features, steps, operations, and/or components, but do not preclude the presence or addition of one or more other features, steps, operations, or components.
All terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art unless otherwise defined. It is noted that the terms used herein should be interpreted as having a meaning that is consistent with the context of this specification and should not be interpreted in an idealized or overly formal sense.
Where a convention analogous to "at least one of A, B and C, etc." is used, in general such a construction is intended in the sense one having skill in the art would understand the convention (e.g., "a system having at least one of A, B and C" would include but not be limited to systems that have a alone, B alone, C alone, a and B together, a and C together, B and C together, and/or A, B, C together, etc.).
In the page development process, a terminal page needs to be converted into a platform page. For example, in the existing mainframe counter system, a Java terminal screen is generated from a filled xxx. After the core is migrated to the platform, the original CTG file cannot be reused, and a Java Server Page (JSP) file needs to be rewritten.
In the related technology, if a platform version is newly added for trading, a developer needs to open a host trading page and manually write a JSP (Java Server Page) according to the host trading page.
In implementing the disclosed concept, the inventors found that there are at least the following problems in the related art: the time and labor cost of a mode of page conversion by manual writing are high, and the error rate is high.
The embodiment of the disclosure provides a page data processing method, which includes acquiring a page data generation request aiming at a target page, wherein the page data generation request includes initial page data and a target format identifier of the target page; responding to the page data generation request, and determining a template file corresponding to the target format identifier; carrying out data structure conversion on the template file to obtain template data corresponding to the template file; and generating target page data corresponding to the target format identifier according to the template data and the initial page data.
It should be noted that the page data processing method of the embodiment of the present disclosure can be used in the financial field and the computer technology field. The method can also be used in other technical fields besides the financial field and the computer technical field, and the page data processing method of the embodiment is not limited in the disclosure.
Fig. 1 schematically shows an application scenario diagram of a page data processing method according to an embodiment of the present disclosure.
As shown in fig. 1, the application scenario 100 according to this embodiment may include a network, a terminal device, and a server. The network 104 serves as a medium for providing communication links between the terminal devices 101, 102, 103 and the server 105. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
The user may use the terminal devices 101, 102, 103 to interact with the server 105 via the network 104 to receive or send messages or the like. The terminal devices 101, 102, 103 may have installed thereon various communication client applications, such as shopping-like applications, web browser applications, search-like applications, instant messaging tools, mailbox clients, social platform software, etc. (by way of example only).
The terminal devices 101, 102, 103 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop portable computers, desktop computers, and the like.
The server 105 may be a server providing various services, such as a background management server (for example only) providing support for websites browsed by users using the terminal devices 101, 102, 103. The background management server may analyze and perform other processing on the received data such as the user request, and feed back a processing result (e.g., a webpage, information, or data obtained or generated according to the user request) to the terminal device.
It should be noted that the page data processing method provided by the embodiment of the present disclosure may be generally executed by the server 105. Accordingly, the page data processing system provided by the disclosed embodiments may be generally disposed in the server 105. The page data processing method provided by the embodiment of the present disclosure may also be executed by a server or a server cluster that is different from the server 105 and is capable of communicating with the terminal devices 101, 102, 103 and/or the server 105. Accordingly, the page data processing system provided by the embodiment of the present disclosure may also be disposed in a server or a server cluster different from the server 105 and capable of communicating with the terminal devices 101, 102, 103 and/or the server 105.
For example, the page data generation request may be originally received by any one of the terminal devices 101, 102, or 103 (for example, the terminal device 101 is not limited thereto), and then the terminal device 101 may locally execute the service code generation method provided by the embodiment of the present disclosure, or transmit the page data generation request to another terminal device, server, or server cluster, and execute the page data processing method provided by the embodiment of the present disclosure by another terminal device, server, or server cluster that receives the code generation request.
It should be understood that the number of terminal devices, networks, and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
The page data processing method of the disclosed embodiment will be described in detail below through fig. 2 to 6 based on the scenario described in fig. 1.
Fig. 2 schematically shows a flowchart of a page data processing method according to an embodiment of the present disclosure.
As shown in fig. 2, the page data processing method of the embodiment includes operations S210 to S240, and the page data processing method may be performed by a terminal device or a server.
In operation S210, a page data generation request for a target page is obtained, where the page data generation request includes initial page data of the target page and a target format identifier.
According to an embodiment of the present disclosure, a destination page may refer to, for example, an interface that needs to be presented on a carrier. The type of target interface may include, for example, a terminal interface, a web interface, or a mobile-side interface. The carrier may for example comprise an electronic device, which may for example comprise a terminal device, which may for example comprise a counter terminal and a mobile terminal, which may for example comprise a smartphone, a tablet, a portable computer or a desktop computer, etc. The page data generation request may include, for example, initial page data and a target format identification of the target page. The initial page data may include, for example, code, interface, etc. data for the page to be converted. The target format identifier may include, for example, a data format identifier adopted by the target page, and the like. The page data generation request may be generated according to a trigger operation of the user, and the trigger operation may include clicking or sliding.
For example, the initial page may be, for example, a host trading page, and the initial page data is data such as code that may be the host trading page. The target page may be, for example, a web transaction page.
In operation S220, a template file corresponding to the target format identification is determined in response to the page data generation request.
According to the embodiment of the present disclosure, the target format identifier may include a plurality of identifiers, and accordingly, the template file corresponding to the target format identifier may also include a plurality of identifiers.
The file format of the template file may include, for example, CSV (comma separated value file format) or the like. The template file may include, for example, a file header, reference content, initial tag information, target tag information, and the like.
According to an embodiment of the present disclosure, the initial tag information in the template file may correspond to the target tag information one-to-one, for example.
In operation S230, the template file is subjected to data structure conversion to obtain template data corresponding to the template file.
According to the embodiment of the disclosure, the template file and the process configuration file need to be identified before being used, so as to perform data structure conversion on the template file and the process configuration file.
For example, the development tool cannot work directly with the template file, and first identifies the template file, and establishes an entity class transflationPattern (conversion pattern) used in the automatic page conversion of the system according to each tag in the file.
In operation S240, target page data corresponding to the target format identifier is generated from the template data and the initial page data.
According to the embodiment of the disclosure, by analyzing the initial page data, the target tag information corresponding to the initial tag information in the initial page data is determined according to the template data, and the target page data is determined according to the target tag information. And finally, generating the target page according to the target page data.
According to the embodiment of the disclosure, the template file corresponding to the target format identifier is determined by responding to the page data generation request aiming at the target page, and the data structure conversion is carried out on the template file to obtain the template data corresponding to the template file. And generating target page data corresponding to the target identification according to the template data and the initial page data. Because the target page data is generated according to the template data and the initial page data, the function of automatically generating the target page data according to the initial page data is realized, and the efficiency and the accuracy of page development are improved. Meanwhile, the problems that time and labor cost are large and error rate is high in a manual writing mode in the prior art are solved.
According to the embodiment of the disclosure, the page data processing method further includes:
acquiring initial label information of initial page data and attribute information corresponding to the target format identifier; determining target label information of the target page data according to the initial label information; and generating a template file according to the attribute information and the target label information.
According to an embodiment of the present disclosure, the file format of the initial page data may include, for example, a CTG file format or the like. The initial tag information may include, for example, Extensible Markup Language (XML) tags and the like. The file format of the target page data may include, for example, a JSP file format or the like. The target tag information may include, for example, a Hyper Text Markup Language (HTML) tag or the like. The attribute information may include, for example, attribute information of the format of the target page, and may include, for example, information such as a file header and reference content.
For example, when determining the template file, information such as the format and specification of the target page needs to be determined first. And determining the identification and attribute information of the target file according to the format and other information of the target page. And acquiring initial tag information in the initial page data, and then determining target tag information corresponding to the initial tag information. And finally generating a template file according to the attribute information, the initial label information and the target label information.
FIG. 3 schematically shows a schematic diagram of a template file according to an embodiment of the disclosure.
As shown in fig. 3, the template file provided by the embodiment of the present disclosure includes a file header area 301, a reference content area 302, an initial tag information area 303, and a target tag information area 304. Its regions may be populated with, for example, a file header, reference content, initial tag information, and target tag information, respectively.
According to an embodiment of the present disclosure, the positions of the initial tag information region 303 and the target tag information region 304 may be adjacent and in one-to-one correspondence, for example.
According to an embodiment of the present disclosure, the file format of the template file includes a comma separated value file format;
wherein, carrying out data structure conversion on the template file to obtain the template data corresponding to the template file comprises the following steps: and calling a target tool to perform data structure conversion on the template file to obtain template data corresponding to the template file.
According to the embodiment of the disclosure, the target tool may include a tool having a function of reading text in a buffer manner, such as buffer reader, for example.
According to the embodiment of the disclosure, calling a target tool to perform data structure conversion on a template file, and obtaining template data corresponding to the template file comprises:
acquiring initial label information and target label information in a template file through a target tool; and carrying out data structure conversion on the initial label information and the target label information to obtain template data corresponding to the template file.
For example, the template file is taken as a CSV file, and the target tool is taken as a buffer reader. Reading the CSV file through the buffer reader, circularly traversing the content of each line according to the fixed format of the CSV file, acquiring a file header, reference content, initial label information and target label information, and establishing an entity type transflationPattern for conversion.
According to an embodiment of the present disclosure, acquiring a page data generation request for a target page includes:
determining a target format identification in response to a target format selection operation; determining initial page data in response to an initial page data path selection operation; and responding to the page generation determination operation, and generating a page data generation request according to the template file and the target format identifier.
According to the embodiment of the disclosure, when generating the page data, according to actual implementation requirements, a developer can select the format identifier of the page to be generated, and determine the template file corresponding to the target page according to the target format identifier. And after the template file is determined, selecting initial page data of the page to be converted. And generating a page data generation request by combining the template file and the initial page data.
Fig. 4 schematically shows an interface diagram of a page data generation request according to an embodiment of the present disclosure.
As shown in fig. 4, the interface includes a template file path display box 401, a template file selection button 402, a CTG file path display box 403, a CTG file selection button 404, and a page data generation button 405 in this order.
According to the embodiment of the present disclosure, for example, the template file can be directly selected.
In the development process, a developer first selects a template file by clicking a template file selection button 402, and a storage location of the template file may be displayed in a template file path display box 401. Then, the developer may select a CTG file by clicking on the CTG file selection button 404, and the storage location of the CTG file may be displayed in the CTG file path display box 403. Finally, after determining that the path information of the template file and the path information of the CTG file are correct, a developer can click a page data generation button 405, and select a storage path after popping up a storage window, so that a corresponding JSP file can be generated under the selected path.
According to the embodiment of the disclosure, the page data processing method further includes:
responding to the storage path selection operation, and acquiring a storage path; and storing the target page data according to the storage path.
According to the embodiment of the disclosure, after the target page data is generated, the target page data can be immediately processed to generate the target page according to specific implementation requirements. It may also be saved.
When saving, selecting the saving path, namely saving the target page data under the selected path.
Based on the page data processing method, the disclosure also provides a page data processing system. This system will be described in detail below in conjunction with fig. 5.
Fig. 5 schematically shows a block diagram of a page data processing system according to an embodiment of the present disclosure.
As shown in fig. 5, the page data processing system 500 of this embodiment includes a first acquisition module 501, a first determination module 502, a conversion module 503, and a first generation module 504.
A first obtaining module 501, configured to obtain a page data generation request for a target page, where the page data generation request includes initial page data of the target page and a target format identifier. In an embodiment, the first obtaining module 501 may be configured to perform the operation S210 described above, which is not described herein again.
The first determining module 502 is configured to determine, in response to the page data generation request, a template file corresponding to the target format identifier. In an embodiment, the first determining module 502 may be configured to perform the operation S220 described above, which is not described herein again.
The conversion module 503 is configured to perform data structure conversion on the template file to obtain template data corresponding to the template file. In an embodiment, the converting module 503 may be configured to perform the operation S230 described above, which is not described herein again.
A first generating module 504, configured to generate target page data corresponding to the target format identifier according to the template data and the initial page data. In an embodiment, the first generating module 504 may be configured to perform the operation S240 described above, which is not described herein again.
According to the embodiment of the disclosure, the template file corresponding to the target format identifier is determined by responding to the page data generation request aiming at the target page, and the data structure conversion is carried out on the template file to obtain the template data corresponding to the template file. And generating target page data corresponding to the target identification according to the template data and the initial page data. Because the target page data is generated according to the template data and the initial page data, the function of automatically generating the target page data according to the initial page data is realized, and the efficiency and the accuracy of page development are improved. Meanwhile, the problems that time and labor cost are large and error rate is high in a manual writing mode in the prior art are solved.
According to an embodiment of the present disclosure, the page data processing system 500 further includes a second obtaining module, a second determining module, and a second generating module.
And the second acquisition module is used for acquiring the initial label information of the initial page data and the attribute information corresponding to the target format identifier.
And the second determining module is used for determining the target tag information of the target page data according to the initial tag information.
And the second generation module is used for generating a template file according to the attribute information and the target label information.
According to an embodiment of the present disclosure, the file format of the template file includes a comma separated value file format.
The conversion module 503 includes a calling unit.
And the calling unit is used for calling the target tool to perform data structure conversion on the template file to obtain template data corresponding to the template file.
According to an embodiment of the present disclosure, a calling unit includes an acquiring subunit and a converting subunit.
And the acquisition subunit is used for acquiring the initial label information and the target label information in the template file through the target tool.
And the conversion subunit is used for performing data structure conversion on the initial label information and the target label information to obtain template data corresponding to the template file.
According to an embodiment of the present disclosure, the first obtaining module 501 includes a first response unit, a second response unit, and a third response unit.
And the first response unit is used for responding to the target format selection operation and determining the target format identification.
And a second response unit for determining the initial page data in response to the initial page data path selection operation.
And the third response unit is used for responding to the page generation determining operation and generating a page data generation request according to the template file and the target format identifier.
According to an embodiment of the present disclosure, the page data processing system 500 further includes a response module and a storage module.
And the response module is used for responding to the storage path selection operation and acquiring the storage path.
And the storage module is used for storing the target page data according to the storage path.
According to the embodiment of the present disclosure, any plurality of the first obtaining module 501, the first determining module 502, the converting module 503 and the first generating module 504 may be combined and implemented in one module, or any one of them may be split into a plurality of modules. Alternatively, at least part of the functionality of one or more of these modules may be combined with at least part of the functionality of the other modules and implemented in one module. According to an embodiment of the present disclosure, at least one of the first obtaining module 501, the first determining module 502, the converting module 503 and the first generating module 504 may be at least partially implemented as a hardware circuit, such as a Field Programmable Gate Array (FPGA), a Programmable Logic Array (PLA), a system on a chip, a system on a substrate, a system on a package, an Application Specific Integrated Circuit (ASIC), or may be implemented by hardware or firmware in any other reasonable manner of integrating or packaging a circuit, or implemented by any one of three implementations of software, hardware and firmware, or implemented by a suitable combination of any of them. Alternatively, at least one of the first obtaining module 501, the first determining module 502, the converting module 503 and the first generating module 504 may be at least partly implemented as a computer program module, which when executed may perform a corresponding function.
For example, any plurality of the first obtaining module 501, the first determining module 502, the converting module 503 and the first generating module 504 may be combined and implemented in one module/unit/sub-unit, or any one of the modules/units/sub-units may be split into a plurality of modules/units/sub-units. Alternatively, at least part of the functionality of one or more of these modules/units/sub-units may be combined with at least part of the functionality of other modules/units/sub-units and implemented in one module/unit/sub-unit. According to an embodiment of the present disclosure, at least one of the first obtaining module 501, the first determining module 502, the converting module 503 and the first generating module 504 may be at least partially implemented as a hardware circuit, such as a Field Programmable Gate Array (FPGA), a Programmable Logic Array (PLA), a system on a chip, a system on a substrate, a system on a package, an Application Specific Integrated Circuit (ASIC), or may be implemented by hardware or firmware in any other reasonable manner of integrating or packaging a circuit, or implemented by any one of three implementations of software, hardware and firmware, or implemented by a suitable combination of any of them. Alternatively, at least one of the first obtaining module 501, the first determining module 502, the converting module 503 and the first generating module 504 may be at least partly implemented as a computer program module, which when executed may perform a corresponding function.
It should be noted that, the page data processing system portion in the embodiment of the present disclosure corresponds to the page data processing method portion in the embodiment of the present disclosure, and the description of the page data processing system portion specifically refers to the page data processing method portion, which is not described herein again.
Fig. 6 schematically shows a block diagram of an electronic device adapted to implement a page data processing method according to an embodiment of the present disclosure.
As shown in fig. 6, an electronic device 600 according to an embodiment of the present disclosure includes a processor 601, which can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM)602 or a program loaded from a storage section 608 into a Random Access Memory (RAM) 603. Processor 601 may include, for example, a general purpose microprocessor (e.g., a CPU), an instruction set processor and/or associated chipset, and/or a special purpose microprocessor (e.g., an Application Specific Integrated Circuit (ASIC)), among others. The processor 601 may also include onboard memory for caching purposes. Processor 601 may include a single processing unit or multiple processing units for performing different actions of a method flow according to embodiments of the disclosure.
In the RAM 603, various programs and data necessary for the operation of the electronic apparatus 600 are stored. The processor 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. The processor 601 performs various operations of the method flows according to the embodiments of the present disclosure by executing programs in the ROM 602 and/or RAM 603. It is to be noted that the programs may also be stored in one or more memories other than the ROM 602 and RAM 603. The processor 601 may also perform various operations of the method flows according to embodiments of the present disclosure by executing programs stored in the one or more memories.
Electronic device 600 may also include input/output (I/O) interface 605, input/output (I/O) interface 605 also connected to bus 604, according to an embodiment of the disclosure. The electronic device 600 may also include one or more of the following components connected to the I/O interface 605: an input portion 606 including a keyboard, a mouse, and the like; an output portion 607 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage section 608 including a hard disk and the like; and a communication section 609 including a network interface card such as a LAN card, a modem, or the like. The communication section 609 performs communication processing via a network such as the internet. The driver 610 is also connected to the I/O interface 605 as needed. A removable medium 611 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 610 as necessary, so that a computer program read out therefrom is mounted in the storage section 608 as necessary.
The present disclosure also provides a computer-readable storage medium, which may be contained in the apparatus/device/system described in the above embodiments; or may exist separately and not be assembled into the device/apparatus/system. The computer-readable storage medium carries one or more programs which, when executed, implement the method according to an embodiment of the disclosure.
According to embodiments of the present disclosure, the computer-readable storage medium may be a non-volatile computer-readable storage medium, which may include, for example but is not limited to: a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. For example, according to embodiments of the present disclosure, a computer-readable storage medium may include the ROM 602 and/or RAM 603 described above and/or one or more memories other than the ROM 602 and RAM 603.
Embodiments of the present disclosure also include a computer program product comprising a computer program containing program code for performing the method illustrated in the flow chart. When the computer program product runs in a computer system, the program code is used for causing the computer system to realize the item recommendation method provided by the embodiment of the disclosure.
The computer program performs the above-described functions defined in the system/apparatus of the embodiments of the present disclosure when executed by the processor 601. The systems, apparatuses, modules, units, etc. described above may be implemented by computer program modules according to embodiments of the present disclosure.
In one embodiment, the computer program may be hosted on a tangible storage medium such as an optical storage device, a magnetic storage device, or the like. In another embodiment, the computer program may also be transmitted, distributed in the form of a signal on a network medium, downloaded and installed through the communication section 609, and/or installed from the removable medium 611. The computer program containing program code may be transmitted using any suitable network medium, including but not limited to: wireless, wired, etc., or any suitable combination of the foregoing.
In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 609, and/or installed from the removable medium 611. The computer program, when executed by the processor 601, performs the above-described functions defined in the system of the embodiments of the present disclosure. The systems, devices, apparatuses, modules, units, etc. described above may be implemented by computer program modules according to embodiments of the present disclosure.
In accordance with embodiments of the present disclosure, program code for executing computer programs provided by embodiments of the present disclosure may be written in any combination of one or more programming languages, and in particular, these computer programs may be implemented using high level procedural and/or object oriented programming languages, and/or assembly/machine languages. The programming language includes, but is not limited to, programming languages such as Java, C + +, python, the "C" language, or the like. The program code may execute entirely on the user computing device, partly on the user device, partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., through the internet using an internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
Those skilled in the art will appreciate that various combinations and/or combinations of features recited in the various embodiments and/or claims of the present disclosure can be made, even if such combinations or combinations are not expressly recited in the present disclosure. In particular, various combinations and/or combinations of the features recited in the various embodiments and/or claims of the present disclosure may be made without departing from the spirit or teaching of the present disclosure. All such combinations and/or associations are within the scope of the present disclosure.
The embodiments of the present disclosure have been described above. However, these examples are for illustrative purposes only and are not intended to limit the scope of the present disclosure. Although the embodiments are described separately above, this does not mean that the measures in the embodiments cannot be used in advantageous combination. The scope of the disclosure is defined by the appended claims and equivalents thereof. Various alternatives and modifications can be devised by those skilled in the art without departing from the scope of the present disclosure, and such alternatives and modifications are intended to be within the scope of the present disclosure.

Claims (10)

1. A page data processing method comprises the following steps:
acquiring a page data generation request aiming at a target page, wherein the page data generation request comprises initial page data and a target format identifier of the target page;
responding to the page data generation request, and determining a template file corresponding to the target format identifier;
carrying out data structure conversion on the template file to obtain template data corresponding to the template file;
and generating target page data corresponding to the target format identifier according to the template data and the initial page data.
2. The method of claim 1, further comprising:
acquiring initial label information of the initial page data and attribute information corresponding to the target format identifier;
determining target tag information of the target page data according to the initial tag information;
and generating the template file according to the attribute information and the target label information.
3. The method of claim 2, wherein the file format of the template file comprises a comma separated values file format;
wherein the data structure conversion of the template file to obtain the template data corresponding to the template file comprises:
and calling a target tool to perform data structure conversion on the template file to obtain template data corresponding to the template file.
4. The method of claim 3, wherein the invoking the target tool to perform the data structure transformation on the template file, and obtaining the template data corresponding to the template file comprises:
acquiring the initial label information and the target label information in the template file through the target tool;
and performing data structure conversion on the initial label information and the target label information to obtain template data corresponding to the template file.
5. The method according to any one of claims 1 to 4, wherein the obtaining of the page data generation request for the target page comprises:
determining the target format identification in response to a target format selection operation;
determining initial page data in response to an initial page data path selection operation; and
and responding to page generation determination operation, and generating the page data generation request according to the template file and the target format identifier.
6. The method of any of claims 1-4, further comprising:
responding to the storage path selection operation, and acquiring a storage path; and
and storing the target page data according to the storage path.
7. A page data processing system, comprising:
the device comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring a page data generation request aiming at a target page, and the page data generation request comprises initial page data and a target format identifier of the target page;
the first determining module is used for responding to the page data generation request and determining the template file corresponding to the target format identifier;
the conversion module is used for carrying out data structure conversion on the template file to obtain template data corresponding to the template file;
and the first generation module is used for generating target page data corresponding to the target format identifier according to the template data and the initial page data.
8. An electronic device, comprising:
one or more processors;
a storage device for storing one or more programs,
wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to perform the method of any of claims 1-6.
9. A computer readable storage medium having stored thereon executable instructions which, when executed by a processor, cause the processor to perform the method of any one of claims 1 to 6.
10. A computer program product comprising a computer program which, when executed by a processor, implements a method according to any one of claims 1 to 6.
CN202110723593.4A 2021-06-28 2021-06-28 Page data processing method, processing system, electronic device and readable storage medium Pending CN113448578A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110723593.4A CN113448578A (en) 2021-06-28 2021-06-28 Page data processing method, processing system, electronic device and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110723593.4A CN113448578A (en) 2021-06-28 2021-06-28 Page data processing method, processing system, electronic device and readable storage medium

Publications (1)

Publication Number Publication Date
CN113448578A true CN113448578A (en) 2021-09-28

Family

ID=77813638

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110723593.4A Pending CN113448578A (en) 2021-06-28 2021-06-28 Page data processing method, processing system, electronic device and readable storage medium

Country Status (1)

Country Link
CN (1) CN113448578A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113741379A (en) * 2021-11-08 2021-12-03 西安热工研究院有限公司 DCS monitoring picture fast loading method, system, equipment and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113741379A (en) * 2021-11-08 2021-12-03 西安热工研究院有限公司 DCS monitoring picture fast loading method, system, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN111221521A (en) Method and device for generating log code, computer system and readable storage medium
CN111443909B (en) Method and device for generating page
CN113434241A (en) Page skipping method and device
CN112463729A (en) Data file storage method and device, electronic equipment and medium
CN115357761A (en) Link tracking method and device, electronic equipment and storage medium
CN112965916B (en) Page testing method, page testing device, electronic equipment and readable storage medium
CN114237651A (en) Installation method and device of cloud native application, electronic equipment and medium
CN113448570A (en) Data processing method and device, electronic equipment and storage medium
CN113448578A (en) Page data processing method, processing system, electronic device and readable storage medium
CN113515271B (en) Service code generation method and device, electronic equipment and readable storage medium
CN113535565B (en) Interface use case generation method, device, equipment and medium
CN113656041A (en) Data processing method, device, equipment and storage medium
CN113986258A (en) Service publishing method, device, equipment and storage medium
CN113553123A (en) Data processing method and device, electronic equipment and storage medium
CN113805973A (en) Application program control method and device and application program development method and device
CN113176907A (en) Interface data calling method and device, computer system and readable storage medium
CN113326079A (en) Service version switching method, switching device, electronic equipment and storage medium
CN111949259A (en) Risk decision configuration method, system, electronic equipment and storage medium
CN113495498A (en) Simulation method, simulator, device, and medium for hardware device
CN113507419A (en) Training method of flow distribution model, and flow distribution method and device
CN113781154A (en) Information rollback method, system, electronic equipment and storage medium
CN113535153A (en) Method, device, equipment and medium for encoding custom label
CN113392623A (en) Service data object generation method, generation device, electronic device and storage medium
CN114385170A (en) Form generation method, device, equipment, medium and program product
CN116795951A (en) Service processing method, device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination