CN115167855A - Front-end page generation method, device and equipment applied to matching transaction system - Google Patents

Front-end page generation method, device and equipment applied to matching transaction system Download PDF

Info

Publication number
CN115167855A
CN115167855A CN202210817386.XA CN202210817386A CN115167855A CN 115167855 A CN115167855 A CN 115167855A CN 202210817386 A CN202210817386 A CN 202210817386A CN 115167855 A CN115167855 A CN 115167855A
Authority
CN
China
Prior art keywords
transaction
template
queue
generating
matching
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
CN202210817386.XA
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.)
China Construction Bank Corp
CCB Finetech Co Ltd
Original Assignee
China Construction Bank Corp
CCB Finetech Co Ltd
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 China Construction Bank Corp, CCB Finetech Co Ltd filed Critical China Construction Bank Corp
Priority to CN202210817386.XA priority Critical patent/CN115167855A/en
Publication of CN115167855A publication Critical patent/CN115167855A/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
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Accounting & Taxation (AREA)
  • Human Computer Interaction (AREA)
  • Finance (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Technology Law (AREA)
  • General Business, Economics & Management (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the invention discloses a front-end page generation method, a device and equipment applied to a matching transaction system, relating to the technical field of data processing and comprising the following steps: acquiring a configuration file corresponding to each transaction type in a matching transaction system; generating a transaction template queue according to each configuration file; acquiring a designated transaction type sent by a client and transaction data associated with the designated transaction type; and generating a front-end page matching the transaction system according to the transaction template queue, the appointed transaction type and the transaction data. The transaction template queue is generated through the configuration file corresponding to each transaction type, so that when the appointed transaction type sent by the client is obtained, the matched transaction template can be directly obtained from the transaction template queue, a front-end page matching the transaction system is generated according to the transaction template, repeated development by developers is not needed, system resources are saved, manpower is saved, and development efficiency is improved.

Description

Front-end page generation method, device and equipment applied to matching transaction system
Technical Field
The embodiment of the invention relates to the technical field of data processing, in particular to a front-end page generation method, a front-end page generation device and front-end page generation equipment applied to a matching transaction system.
Background
The matching transaction system provides a matching transaction platform for supply and demand parties, both the supply and demand parties can release demands on the matching transaction system, and the matching transaction system facilitates the achievement of both parties' transactions. And the transaction types involved in the general commercial bank matching transaction system are various, and the service of various transaction types is provided for the user.
However, the front-end pages of each transaction type are developed respectively at present, and repeated mechanical development is carried out, so that the manpower is wasted, the development efficiency is low, and the maintenance is not easy; in addition, for the current mode of generating the front-end page through page configuration, although the mode is simple, system resources are wasted, and therefore, the existing front-end page generation mode applied to the matching transaction system cannot meet the actual requirements of users.
Disclosure of Invention
The embodiment of the invention provides a front-end page generation method, a front-end page generation device and front-end page generation equipment applied to a matching transaction system.
In a first aspect, an embodiment of the present invention provides a front-end page generation method applied to a matching transaction system, including: acquiring a configuration file corresponding to each transaction type in a matching transaction system;
generating a transaction template queue according to each configuration file, wherein the transaction template sequence comprises at least one transaction template;
acquiring a specified transaction type sent by a client and transaction data associated with the specified transaction type;
and generating a front-end page of the matching transaction system according to the transaction template queue, the designated transaction type and the transaction data.
In a second aspect, an embodiment of the present invention provides a front-end page generating apparatus applied to a matching transaction system, including:
the matching file acquisition module is used for acquiring a configuration file corresponding to each transaction type in the matching transaction system;
the transaction template queue generating module is used for generating a transaction template queue according to each configuration file, wherein the transaction template sequence comprises at least one transaction template;
the system comprises a specified transaction type and transaction data acquisition module, a transaction data acquisition module and a transaction data processing module, wherein the specified transaction type and transaction data acquisition module is used for acquiring the specified transaction type sent by a client and the transaction data associated with the specified transaction type;
and the front-end page generating module is used for generating a front-end page of the matching transaction system according to the transaction template queue, the specified transaction type and the transaction data.
In a third aspect, an embodiment of the present invention provides an electronic device, where the electronic device includes:
one or more processors;
a storage device for storing one or more programs,
when executed by one or more processors, cause the one or more processors to implement the method as described above.
In a fourth aspect, the present invention provides a computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements the method according to any one of the embodiments of the present invention.
In a fifth aspect, the present invention provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the computer program implements the method described above.
According to the technical scheme of the embodiment of the invention, the transaction template queue is generated through the configuration file corresponding to each transaction type, so that when the appointed transaction type sent by the client is obtained, the matched transaction template can be directly obtained from the transaction template queue, and the front-end page matching the transaction system is generated according to the transaction template without repeated development of developers, so that the system resource is saved, the manpower is saved, and the development efficiency is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
Fig. 1 is a flowchart of a front-end page generating method applied to a matching transaction system according to an embodiment of the present invention;
fig. 2 is a flowchart of a front-end page generating method applied to a matching transaction system according to a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of a front-end page generating device applied to a matching transaction system according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of an electronic device according to a fourth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention.
It should be further noted that, for the convenience of description, only some but not all of the relevant aspects of the present invention are shown in the drawings. Before discussing exemplary embodiments in greater detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the operations (or steps) as a sequential process, many of the operations can be performed in parallel, concurrently, or simultaneously. In addition, the order of the operations may be re-arranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, software implementations, hardware implementations, and so on. According to the technical scheme, the data acquisition, storage, use, processing and the like meet the relevant regulations of national laws and regulations.
Example one
Fig. 1 is a flowchart of a front-end page generation method applied to a matching transaction system according to an embodiment of the present invention, where the embodiment is applicable to a case where a front-end page of a matching transaction system is generated, and the method may be executed by a front-end page generation apparatus applied to a matching transaction system according to an embodiment of the present invention, and the apparatus may be implemented in a software and/or hardware manner. As shown in fig. 1, the method specifically includes the following operations:
and step S101, acquiring a configuration file corresponding to each transaction type in the matching transaction system.
Optionally, obtaining a configuration file corresponding to each transaction type in the matching transaction system includes: receiving a configuration instruction, wherein the configuration instruction comprises configuration parameters matching various transaction types in the transaction system; and generating a configuration file corresponding to each transaction type according to the configuration instruction.
Specifically, in this embodiment, the configuration file corresponding to each transaction type is obtained according to the configuration operation of the developer, specifically, the configuration instruction of the developer is received, the configuration instruction includes the configuration parameters of each transaction type, and the configuration file corresponding to each transaction type is generated according to the configuration instruction. The configuration file comprises a transaction type number, a version number, a title module and attribute information; the attribute information includes fields, field values and field check rules corresponding to each title module. The transaction type number has uniqueness and can be used as a primary key in a configuration file. And when the transaction template corresponding to the configuration file is modified each time, the version number also needs to be modified synchronously. The title module corresponds to a first-level title of the front-end page and describes the category of the information. The attribute information supports a numeric type, a text type, a list type, or a date type, and the specific form supported by the attribute information is not limited in this embodiment. The field check rule includes: the method includes the steps of read-only rule, mobile phone format check, input character input number limiting, mailbox type check or digital type check and the like. In addition, the fields also comprise a matching field, the matching fields are used for matching two parties participating in matching transaction, and when the matching rules are determined to be met, the matching is successful.
And step S102, generating a transaction template queue according to each configuration file.
Optionally, generating a transaction template queue according to each configuration file includes: reading each configuration file through a template configuration engine, and generating a transaction template corresponding to each transaction type according to each configuration file; and caching all transaction templates in a response queue to obtain a transaction template queue.
Optionally, reading each configuration file by using a template configuration engine, and generating a transaction template corresponding to each transaction type according to each configuration file, including: generating a compiling object through a template configuration engine, and reading each configuration file based on the compiling object; and generating a transaction template corresponding to each transaction type according to the reading result of each configuration file, wherein the reading result comprises a first-level title corresponding to the title module and a label corresponding to the attribute information.
Specifically, in this embodiment, when the client initiates a request, each configuration file is read by the template configuration engine, and when reading, specifically, a compilation object is generated by the template configuration engine, and the read configuration file information is stored after each configuration file is read based on the compilation object. Therefore, all the header modules of the compiled object can be traversed circularly, secondary traversal is performed on fields in the attribute information corresponding to all the header modules to obtain the reading result of each configuration file, the reading result comprises a primary header corresponding to the header module and a label corresponding to the attribute information, the label comprises label description information and a specific label numerical value, the label description information can be directly obtained according to the configuration file, and the specific label numerical value needs to be obtained through a rear-end interface, so that a transaction template corresponding to each transaction type is generated according to the reading result of each configuration file.
Optionally, caching each transaction template in a response queue to obtain a transaction template queue, including: caching each transaction template in a response queue to obtain an initial queue; and judging whether the number of the transaction templates in the initial queue exceeds a preset threshold value, if so, selecting the transaction templates with the preset threshold value from the initial queue according to the latest access time to obtain a transaction template queue, and otherwise, directly taking the initial queue as the transaction template queue.
Specifically, in the embodiment, after the transaction templates corresponding to each transaction type are generated, each generated transaction template is cached in the response queue to obtain the initial queue, and in order to ensure the efficiency of traversing the subsequent templates, a preset threshold of the transaction templates allowed to be stored is configured for the initial queue, for example, the preset threshold may be 10.
In one specific implementation, the preset threshold is 10, 5 transaction templates are pre-stored in the response queue, and when the number of the generated transaction templates is 7, if all the generated 7 transaction templates are cached in the response queue, the number of the acquired transaction templates in the initial queue is 12, which exceeds the preset threshold. Because each transaction template has a time field t, the time elapsed from the last access is recorded through the time field t, the 12 transaction templates in the initial queue can be sorted according to the time field t from small to large according to the latest access time, and the last 2 transaction templates are eliminated from the initial queue to obtain the transaction template queue, wherein the transaction template sequence comprises at least one transaction template. The transaction templates which are not accessed for a long time in the transaction template queue are deleted, so that the storage space of the server is saved. Of course, the embodiment is only exemplified when the number of the transaction templates in the initial queue exceeds the preset threshold, and when the number of the transaction templates in the initial queue is less than the preset threshold, the initial queue is directly used as the transaction template queue.
Step S103, acquiring the specified transaction type sent by the client and the transaction data associated with the specified transaction type.
Specifically, when the client initiates the request again, the specified transaction type included in the request is obtained, and meanwhile, the transaction data associated with the specified transaction type included in the request is also obtained. The specified transaction type can be a specific transaction type which needs to be matched in the matched transaction system by the user, and the transaction data can be a field value corresponding to the field in the attribute information.
And step S104, generating a front-end page of the matching transaction system according to the transaction template queue, the appointed transaction type and the transaction data.
Optionally, generating a front-end page of the matching transaction system according to the transaction template queue, the specified transaction type, and the transaction data includes: inquiring from the transaction template queue according to the specified transaction type to obtain an inquiry result, wherein the inquiry result comprises inquiring a target transaction template or not inquiring the target transaction template; and generating a front-end page of the matching transaction system according to the query result and the transaction data.
Optionally, generating a front-end page of the matching transaction system according to the query result and the transaction data includes: and when the query result comprises the query of the target transaction template, adding the transaction data into the target transaction template to generate a front-end page of the matching transaction system.
Optionally, generating a front-end page of the matching transaction system according to the query result and the transaction data includes: when the query result comprises that the target transaction template is not queried, acquiring a specified configuration file matched with the specified transaction type; generating a target transaction template according to the specified configuration file; and adding the transaction data into the target transaction template to generate a front-end page of the matching transaction system.
Specifically, after a specified transaction type and transaction data are acquired according to a request initiated by a client, the transaction data are inquired from a transaction template queue generated before according to the specified transaction type, and when a target transaction template matched with the specified transaction type is inquired, the transaction data are added into the target transaction template to directly generate a front-end page of the matching transaction system. Therefore, in the embodiment, by generating the transaction template in advance and caching the transaction template in the queue, when a request of the client is received, the existing transaction template can be directly inquired from the queue and the front-end page can be generated without recalculation and development, so that the development efficiency of the front-end page is improved. In addition, since the number of the transaction templates allowed to be stored in the transaction template queue cannot exceed the preset threshold, there may be a case that the target transaction template cannot be queried in the transaction template queue. In this case, a specific configuration file matched with the specific transaction type is obtained, and a target transaction template is directly generated according to the specific configuration file, so that the transaction data is added to the directly generated target transaction template to generate a front-end page matching the transaction system.
In the case where the target transaction template cannot be found in the transaction template queue, the target transaction template is generated and then added to the transaction template queue. And meanwhile, when the number of the transaction templates in the transaction template queue exceeds a preset threshold, deleting the transaction template which has the longest time spent in the last access.
Optionally, the method further comprises: acquiring a matched transaction object from a database according to the matching field, and calling the associated information of the transaction object; and displaying the associated information in a front-end interface.
In a specific implementation, the matching field may specifically be a geographic location field, and when the request sent to the client is a demand party, the transaction object having the same geographic location as the demand party, that is, the associated information of the supply party, may be acquired from the database according to the geographic location field. The related information may specifically be a specific price, a product model, a production date, and the like of a provided product, and it is to be understood that this embodiment is merely an example, and specific contents of the related information are not limited. When the match passes, the result is displayed in the recommended potentially matchable requirement of the front page.
According to the technical scheme of the embodiment of the invention, the transaction template queue is generated through the configuration file corresponding to each transaction type, so that when the appointed transaction type sent by the client is obtained, the matched transaction template can be directly obtained from the transaction template queue, and the front-end page matching the transaction system is generated according to the transaction template without repeated development of developers, so that the system resources are saved, the manpower is saved, and the development efficiency is improved.
Example two
Fig. 2 is a flowchart of a front-end page generating method applied to a matching transaction system according to an embodiment of the present invention, where the embodiment is based on the foregoing embodiment, and after generating a front-end page of the matching transaction system according to a transaction template queue, a specified transaction type, and transaction data, the embodiment further includes: and detecting a front-end page of the matching transaction system, and sending an alarm prompt when determining abnormality.
Step S201, a configuration file corresponding to each transaction type in the matching transaction system is obtained.
Optionally, the obtaining a configuration file corresponding to each transaction type in the matching transaction system includes: receiving a configuration instruction, wherein the configuration instruction comprises configuration parameters matching various transaction types in the transaction system; and generating a configuration file corresponding to each transaction type according to the configuration instruction.
Step S202, a transaction template queue is generated according to each configuration file.
Optionally, generating a transaction template queue according to each configuration file includes: reading each configuration file through a template configuration engine, and generating a transaction template corresponding to each transaction type according to each configuration file; and caching all transaction templates in a response queue to obtain a transaction template queue.
Optionally, reading each configuration file through a template configuration engine, and generating a transaction template corresponding to each transaction type according to each configuration file, including: generating a compiling object through a template configuration engine, and reading each configuration file based on the compiling object; and generating a transaction template corresponding to each transaction type according to the reading result of each configuration file, wherein the reading result comprises a first-level title corresponding to the title module and a label corresponding to the attribute information.
Step S203, acquiring the specified transaction type sent by the client and the transaction data associated with the specified transaction type.
And step S204, generating a front-end page of the matching transaction system according to the transaction template queue, the appointed transaction type and the transaction data.
Optionally, generating a front-end page of the matching transaction system according to the transaction template queue, the specified transaction type, and the transaction data includes: inquiring from the transaction template queue according to the designated transaction type to obtain an inquiry result, wherein the inquiry result comprises inquiring a target transaction template or not inquiring the target transaction template; and generating a front-end page of the matching transaction system according to the query result and the transaction data.
And S205, detecting a front end page of the matching transaction system, and sending an alarm prompt when determining abnormality.
Specifically, after the front-end page is obtained, the front-end page can be detected, specifically, whether a messy code exists in the front-end page or whether the front-end page conforms to a specified transaction type sent by the client is detected. And if the front-end page is in accordance with the requirement, determining that the generated front-end page is in accordance with the requirement, and rendering and displaying the generated front-end page at the client. If any one of the above situations exists, it is determined that the generated front-end page is not satisfactory, it is indicated that the generated front-end page is abnormal, and an alarm prompt is timely sent out, where the alarm prompt may be an image or a voice, and the specific form of the alarm prompt is not limited in this embodiment. Therefore, developers can conveniently and timely overhaul hardware equipment or software configuration according to the alarm prompt, and the efficiency and the accuracy of front-end page generation are further improved.
According to the technical scheme of the embodiment of the invention, the transaction template queue is generated through the configuration file corresponding to each transaction type, so that when the appointed transaction type sent by the client is obtained, the matched transaction template can be directly obtained from the transaction template queue, and the front-end page matching the transaction system is generated according to the transaction template without repeated development of developers, so that the system resources are saved, the manpower is saved, and the development efficiency is improved. And when the front section page is determined to be abnormal, an alarm prompt is timely carried out so as to improve the efficiency and the accuracy of front-end page generation.
EXAMPLE III
Fig. 3 is a schematic structural diagram of a front-end page generation device applied to a matching transaction system according to an embodiment of the present invention, where the device includes: a profile acquisition module 310, a transaction template queue generation module 320, a specified transaction type and transaction data acquisition module 330, and a front-end page generation module 340.
The matching document acquiring module 310 is configured to acquire a configuration document corresponding to each transaction type in the matching transaction system;
the transaction template queue generating module 320 is used for generating a transaction template queue according to each configuration file, wherein the transaction template queue comprises at least one transaction template;
a designated transaction type and transaction data obtaining module 330, configured to obtain a designated transaction type sent by the client and transaction data associated with the designated transaction type;
and the front-end page generating module 340 is configured to generate a front-end page matching the transaction system according to the transaction template queue, the specified transaction type, and the transaction data.
Optionally, the matching file obtaining module is configured to receive a configuration instruction, where the configuration instruction includes configuration parameters matching each transaction type in the transaction system;
and generating a configuration file corresponding to each transaction type according to the configuration instruction.
Optionally, the configuration file includes a transaction type number, a version number, a title module, and attribute information;
the attribute information includes fields, field values and field check rules corresponding to each title module.
Optionally, the transaction template queue generating module includes:
the transaction template generating unit is used for reading each configuration file through the template configuration engine and generating a transaction template corresponding to each transaction type according to each configuration file;
and the transaction template queue obtaining unit is used for caching all transaction templates in the response queue to obtain a transaction template queue.
Optionally, the transaction template generating unit is configured to generate a compiled object through a template configuration engine, and read each configuration file based on the compiled object;
and generating a transaction template corresponding to each transaction type according to the reading result of each configuration file, wherein the reading result comprises a first-level title corresponding to the title module and a label corresponding to the attribute information.
Optionally, the transaction template queue obtaining unit is configured to cache each transaction template in the response queue to obtain an initial queue;
judging whether the number of the transaction templates in the initial queue exceeds a preset threshold value, if so, selecting the transaction templates with the preset threshold value from the initial queue according to the latest access time to obtain a transaction template queue,
otherwise, directly using the initial queue as a transaction template queue.
Optionally, the front-end page generating module includes:
the query result acquisition unit is used for querying from the transaction template queue according to the specified transaction type to acquire a query result, wherein the query result comprises a target transaction template queried or a target transaction template not queried;
and the front-end page generating unit is used for generating a front-end page matching the transaction system according to the query result and the transaction data.
Optionally, the front-end page generating unit is configured to add the transaction data to the target transaction template to generate a front-end page matching the transaction system when the query result includes the query of the target transaction template.
Optionally, the front-end page generating unit is configured to, when the query result includes that the target transaction template is not queried, obtain a specified configuration file matched with the specified transaction type;
generating a target transaction template according to the specified configuration file;
and adding the transaction data into the target transaction template to generate a front-end page of the matching transaction system.
Optionally, the apparatus further includes a target trading template adding module, configured to add the generated target trading template to the trading template queue.
Optionally, the field includes a matching field, and the device further includes a front-end interface display module, configured to obtain a matched transaction object from the database according to the matching field, and retrieve the associated information of the transaction object;
and displaying the associated information in a front-end interface.
The device can execute the front-end page generation method applied to the matching transaction system provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method. For technical details not described in detail in this embodiment, reference may be made to the method provided in any embodiment of the present invention.
Example four
FIG. 4 shows a schematic block diagram of an electronic device 10 that may be used to implement an embodiment of the invention. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital assistants, cellular phones, smart phones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the inventions described and/or claimed herein. As shown in fig. 4, the electronic device 10 includes at least one processor 11, and a memory communicatively connected to the at least one processor 11, such as a Read Only Memory (ROM) 12, a Random Access Memory (RAM) 13, and the like, wherein the memory stores a computer program executable by the at least one processor, and the processor 11 may perform various suitable actions and processes according to the computer program stored in the Read Only Memory (ROM) 12 or the computer program loaded from the storage unit 18 into the Random Access Memory (RAM) 13. In the RAM 13, various programs and data necessary for the operation of the electronic apparatus 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other via a bus 14. An input/output (I/O) interface 15 is also connected to the bus 14.
A number of components in the electronic device 10 are connected to the I/O interface 15, including: an input unit 16 such as a keyboard, a mouse, or the like; an output unit 17 such as various types of displays, speakers, and the like; a storage unit 18 such as a magnetic disk, an optical disk, or the like; and a communication unit 19 such as a network card, modem, wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information/data with other devices via a computer network such as the internet and/or various telecommunication networks.
The processor 11 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, or the like. The processor 11 performs the various methods and processes described above, such as the front-end page generation method applied to a match transaction system.
In some embodiments, the front-end page generation method applied to the matching transaction system may be implemented as a computer program tangibly embodied in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 10 via the ROM 12 and/or the communication unit 19. When loaded into RAM 13 and executed by processor 11, the computer program may perform one or more of the steps of the front-end page generation method described above as applied to a matching transaction system. Alternatively, in other embodiments, the processor 11 may be configured by any other suitable means (e.g., by way of firmware) to perform the front-end page generation method applied to the matching transaction system.
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuitry, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), system on a chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
A computer program for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions/acts specified in the flowchart and/or block diagram block or blocks to be performed. A computer program can execute entirely on a machine, partly on a machine, as a stand-alone software package partly on a machine and partly on a remote machine or entirely on a remote machine or server.
In the context of the present invention, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. A computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, 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), an optical fiber, a compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the electronic device. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), blockchain networks, and the internet.
The computing system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical host and VPS service are overcome.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present invention may be executed in parallel, sequentially, or in different orders, and are not limited herein as long as the desired results of the technical solution of the present invention can be achieved.
The above-described embodiments should not be construed as limiting the scope of the invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made, depending on design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
EXAMPLE five
An embodiment of the present invention further provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the computer program implements the front-end page generating method applied to the matching transaction system as provided in any embodiment of the present application.
Computer program product in implementing the computer program code for carrying out operations of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the 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 the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing description is only exemplary of the invention and that the principles of the technology may be employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments illustrated herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (15)

1. A front-end page generation method applied to a matching transaction system is characterized by comprising the following steps:
acquiring a configuration file corresponding to each transaction type in a matching transaction system;
generating a transaction template queue according to each configuration file, wherein the transaction template sequence comprises at least one transaction template;
acquiring a designated transaction type sent by a client and transaction data associated with the designated transaction type;
and generating a front-end page of the matching transaction system according to the transaction template queue, the designated transaction type and the transaction data.
2. The method of claim 1, wherein the obtaining a configuration file corresponding to each transaction type in the matched transaction system comprises:
receiving a configuration instruction, wherein the configuration instruction comprises configuration parameters of various transaction types in the matching transaction system;
and generating a configuration file corresponding to each transaction type according to the configuration instruction.
3. The method of claim 2, wherein the configuration file comprises a transaction type number, a version number, a title module, and attribute information;
the attribute information includes fields, field values and field check rules corresponding to each title module.
4. The method of claim 1, wherein generating a transaction template queue from each of the profiles comprises:
reading each configuration file through a template configuration engine, and generating a transaction template corresponding to each transaction type according to each configuration file;
and caching each transaction template in a response queue to obtain the transaction template queue.
5. The method of claim 4, wherein reading each configuration file by a template configuration engine and generating a transaction template corresponding to each transaction type according to each configuration file comprises:
generating a compiling object through a template configuration engine, and reading each configuration file based on the compiling object;
and generating a transaction template corresponding to each transaction type according to the reading result of each configuration file, wherein the reading result comprises a first-level title corresponding to the title module and a label corresponding to the attribute information.
6. The method of claim 4, wherein caching transaction templates in a response queue retrieves the transaction template queue, comprising:
caching each transaction template in a response queue to obtain an initial queue;
judging whether the number of the transaction templates in the initial queue exceeds a preset threshold value, if so, selecting the transaction templates with the preset threshold value from the initial queue according to the latest access time to obtain the transaction template queue,
otherwise, directly using the initial queue as the transaction template queue.
7. The method of claim 3, wherein generating the front-end page of the matched transaction system from the transaction template queue, the specified transaction type, and the transaction data comprises:
inquiring from the transaction template queue according to the specified transaction type to obtain an inquiry result, wherein the inquiry result comprises inquiring a target transaction template or not inquiring the target transaction template;
and generating a front-end page of the matching transaction system according to the query result and the transaction data.
8. The method of claim 7, wherein generating the front-end page of the matching transaction system according to the query result and the transaction data comprises:
and when the query result comprises the queried target transaction template, adding the transaction data into the target transaction template to generate a front-end page of the matched transaction system.
9. The method of claim 7, wherein generating the front-end page of the matched transaction system according to the query result and the transaction data comprises:
when the query result comprises the target transaction template which is not queried, acquiring a specified configuration file matched with the specified transaction type;
generating the target transaction template according to the specified configuration file;
and adding the transaction data into the target transaction template to generate a front-end page of the matching transaction system.
10. The method of claim 9, wherein after generating the target transaction template according to the specified profile, further comprising:
and adding the generated target trading template into the trading template queue.
11. The method of claim 3, wherein the field comprises a match field, the method further comprising:
acquiring a matched transaction object from a database according to the matching field, and calling the associated information of the transaction object;
and displaying the associated information in the front-end interface.
12. A front end page generating apparatus applied to a matching transaction system, comprising:
the matching file acquisition module is used for acquiring a configuration file corresponding to each transaction type in the matching transaction system;
the transaction template queue generating module is used for generating a transaction template queue according to each configuration file, wherein the transaction template sequence comprises at least one transaction template;
the system comprises a specified transaction type and transaction data acquisition module, a transaction data acquisition module and a transaction data processing module, wherein the specified transaction type and transaction data acquisition module is used for acquiring the specified transaction type sent by a client and the transaction data associated with the specified transaction type;
and the front-end page generating module is used for generating a front-end page of the matching transaction system according to the transaction template queue, the specified transaction type and the transaction data.
13. An electronic device, characterized in that the electronic device comprises:
one or more processors;
a storage device for storing one or more programs,
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method recited in any of claims 1-11.
14. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1-11.
15. A computer program product comprising a computer program, characterized in that the computer program realizes the method according to any of claims 1-11 when executed by a processor.
CN202210817386.XA 2022-07-12 2022-07-12 Front-end page generation method, device and equipment applied to matching transaction system Pending CN115167855A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210817386.XA CN115167855A (en) 2022-07-12 2022-07-12 Front-end page generation method, device and equipment applied to matching transaction system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210817386.XA CN115167855A (en) 2022-07-12 2022-07-12 Front-end page generation method, device and equipment applied to matching transaction system

Publications (1)

Publication Number Publication Date
CN115167855A true CN115167855A (en) 2022-10-11

Family

ID=83493916

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210817386.XA Pending CN115167855A (en) 2022-07-12 2022-07-12 Front-end page generation method, device and equipment applied to matching transaction system

Country Status (1)

Country Link
CN (1) CN115167855A (en)

Similar Documents

Publication Publication Date Title
CN111125496B (en) Price query method, device and system
CN114445047A (en) Workflow generation method and device, electronic equipment and storage medium
CN114900379A (en) Message notification method and device, electronic equipment and storage medium
CN114282129A (en) Information system page generation method, system, electronic equipment and storage medium
CN113609100A (en) Data storage method, data query method, data storage device, data query device and electronic equipment
CN115905322A (en) Service processing method and device, electronic equipment and storage medium
CN115167855A (en) Front-end page generation method, device and equipment applied to matching transaction system
CN114912866A (en) Information association method, device, equipment and storage medium
CN114443802A (en) Interface document processing method and device, electronic equipment and storage medium
CN114895997A (en) Task association method and device and electronic equipment
CN115965018B (en) Training method of information generation model, information generation method and device
CN109508418B (en) Method and device for displaying information
CN115525614A (en) Data access method, device, equipment, system and storage medium
CN115774709A (en) Method, device, equipment and storage medium for removing duplicate of capital flow
CN115544418A (en) Webpage data synchronization method and device, electronic equipment and storage medium
US20140297744A1 (en) Real-time supplement of segmented data for user targeting
CN117009356A (en) Method, device and equipment for determining application success of public data
CN115983222A (en) EasyExcel-based file data reading method, device, equipment and medium
CN117520403A (en) Data query method based on synchronous pipeline Gremlin language
CN114840724A (en) Query method, query device, electronic equipment and storage medium
CN115495368A (en) Data testing method and device and electronic equipment
CN114281981A (en) News briefing generation method and device and electronic equipment
CN118210537A (en) Automatic processing method, device, equipment and medium after code submission
CN115437955A (en) Project testing method, device, equipment and storage medium
CN115220722A (en) Method, device, equipment and medium for back-end internationalization

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