CN116795951A - Service processing method, device, electronic equipment and storage medium - Google Patents

Service processing method, device, electronic equipment and storage medium Download PDF

Info

Publication number
CN116795951A
CN116795951A CN202310755730.1A CN202310755730A CN116795951A CN 116795951 A CN116795951 A CN 116795951A CN 202310755730 A CN202310755730 A CN 202310755730A CN 116795951 A CN116795951 A CN 116795951A
Authority
CN
China
Prior art keywords
protocol
service
target
template
protocol template
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
CN202310755730.1A
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 CN202310755730.1A priority Critical patent/CN116795951A/en
Publication of CN116795951A publication Critical patent/CN116795951A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/33Querying

Abstract

The disclosure provides a business processing method, a business processing device, electronic equipment and a storage medium, which can be applied to the technical field of computers and the technical field of financial science and technology. The method comprises the following steps: responding to the service inquiry command, and determining an inquiry service identification of the service to be inquired based on the service inquiry command; determining a target protocol template from a plurality of protocol templates based on the query service identification; determining a storage space associated with an element in the target protocol template; and loading the service data of the service to be queried into the elements of the target protocol template based on the storage space to obtain a service query result.

Description

Service processing method, device, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of computer technology and the field of financial technology, and in particular, to a business processing method, apparatus, electronic device, storage medium, and program product.
Background
The protocol template is an indispensable content in the development process of business of each industry. For example, in the financial field, a deposit business needs to use a agreement template associated with the deposit business, and a loan business needs to use a agreement template associated with the loan business.
In the process of implementing the disclosed concept, the inventor finds that at least the following problems exist in the related art: the flexibility of the protocol templates in the related art is low, and the inquiry of the stock service is not supported.
Disclosure of Invention
In view of the foregoing, the present disclosure provides business processing methods, apparatuses, devices, media, and program products.
According to a first aspect of the present disclosure, there is provided a service processing method, including:
responding to the service inquiry command, and determining an inquiry service identification of the service to be inquired based on the service inquiry command;
determining a target protocol template from a plurality of protocol templates based on the query service identification;
determining a storage space associated with an element in the target protocol template; and
based on the storage space, service data of the service to be queried is loaded into elements of the target protocol template to obtain a service query result.
According to an embodiment of the present disclosure, determining a target protocol template from a plurality of protocol templates based on a query service identification, includes:
determining a protocol template type based on the query service identifier;
in the case that the protocol template matched with the protocol template type is determined to comprise a plurality of protocol templates, determining a target protocol template identifier from the query service identifier; and
a target protocol template is determined from the plurality of protocol templates based on the target protocol template identification.
According to an embodiment of the present disclosure, the service processing method further includes:
determining a protocol field of a protocol template to be generated based on the template generation instruction in response to the template generation instruction for generating the protocol template;
determining a target element from the element set based on attribute information of the protocol field; and
based on the protocol field and the target element, a protocol template is generated.
According to an embodiment of the present disclosure, generating a protocol template based on a protocol field and a target element includes:
determining element position information of the target element based on field position information of the protocol field;
associating the target element with a storage space for storing field contents to obtain an association relation; and
and generating a protocol template based on the protocol field, the target element, the element position information of the target element and the association relation.
According to an embodiment of the present disclosure, generating a protocol template based on a protocol field, a target element, element position information of the target element, and an association relation, includes:
generating an initial protocol template based on the protocol field, the target element, the element position information of the target element and the association relation; and
and activating the initial protocol template to generate a protocol template.
According to an embodiment of the present disclosure, the service processing method further includes:
responding to the service generation instruction, and determining the service type of the service to be generated based on the service generation instruction;
determining a protocol template to be processed from a plurality of protocol templates in a target template state based on the service type;
displaying a protocol template to be processed; and
in the event that field content corresponding to a target element in the protocol template to be processed has been received, the field content is stored into a storage space associated with the target element.
According to an embodiment of the present disclosure, a protocol template to be processed is presented, including:
determining a rendering mode corresponding to the target element based on the element format of the target element; and
and displaying the target elements in the protocol template to be processed according to the rendering mode.
A second aspect of the present disclosure provides a service processing apparatus, including:
the first determining module is used for responding to the service query instruction and determining a query service identifier of the service to be queried based on the service query instruction;
the second determining module is used for determining a target protocol template from a plurality of protocol templates based on the query service identification;
a third determining module for determining a storage space associated with an element in the target protocol template; and
the obtaining module is used for loading the service data of the service to be queried into the elements of the target protocol template based on the storage space to obtain the service query result.
A third aspect of the present disclosure provides an electronic device, comprising: one or more processors; and 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 described above.
A 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-described 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 method.
According to the service processing method, the device, the electronic equipment, the storage medium and the program product provided by the disclosure, the query service identification of the service to be queried is determined based on the service query instruction by responding to the service query instruction; determining a target protocol template from a plurality of protocol templates based on the query service identification; determining a storage space associated with an element in the target protocol template; and loading the service data of the service to be queried into the elements of the target protocol template based on the storage space to obtain a service query result. The target protocol template can be accurately determined from a plurality of protocol templates by inquiring the service identifier, so that the service data is loaded into the elements of the target protocol template, the conflict that the protocol templates in the in-use state and the history state are simultaneously inquired is avoided, and the flexibility of the protocol template is improved, so that the technical problem that the flexibility of the protocol template in the related technology is lower and the inquiry of the stock service is not supported is at least partially solved.
Drawings
The foregoing and other objects, features and advantages of the disclosure will be more apparent from the following description of embodiments of the disclosure with reference to the accompanying drawings, in which:
fig. 1 schematically illustrates an application scenario diagram of a service processing method, an apparatus, an electronic device, a storage medium and a program product according to an embodiment of the present disclosure.
FIG. 2 schematically illustrates a flow chart of a business processing method according to an embodiment of the disclosure;
fig. 3 schematically illustrates a flow chart of a business processing method according to a further embodiment of the present disclosure;
fig. 4 schematically illustrates a flow chart of a business processing method according to a further embodiment of the present disclosure;
fig. 5 schematically illustrates a block diagram of a service processing apparatus according to an embodiment of the present disclosure; and
fig. 6 schematically illustrates a block diagram of an electronic device adapted to implement a business processing method according to an embodiment of the 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 only exemplary 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 present disclosure. It may be evident, however, that one or more embodiments may be practiced without these specific details. In addition, in the following description, descriptions of well-known structures and techniques are omitted so as not to 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/or 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 should be noted that the terms used herein should be construed to have meanings consistent with the context of the present specification and should not be construed in an idealized or overly formal manner.
Where expressions like at least one of "A, B and C, etc. are used, the expressions should generally be interpreted in accordance with the meaning as commonly understood by those skilled in the art (e.g.," a system having at least one of A, B and C "shall include, but not be limited to, a system having 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 technical scheme of the disclosure, the related data (such as including but not limited to personal information of a user) are collected, stored, used, processed, transmitted, provided, disclosed, applied and the like, all conform to the regulations of related laws and regulations, necessary security measures are adopted, and the public welcome is not violated.
In the related technology, the protocol template is mainly realized by a customized development mode, namely after a service presents a new requirement, the protocol template can be validated only through a plurality of stages of development, test, deployment and the like, and the timeliness of response to the service requirement is reduced. In addition, when the elements of the protocol template are changed, ambiguity occurs when the protocol template of the stock service is queried, and the stock service cannot be compatible.
In view of this, an embodiment of the present disclosure provides a service processing method, including determining, in response to a service query instruction, a query service identifier of a service to be queried based on the service query instruction; determining a target protocol template from a plurality of protocol templates based on the query service identification; determining a storage space associated with an element in the target protocol template; and loading the service data of the service to be queried into the elements of the target protocol template based on the storage space to obtain a service query result.
According to the embodiment of the disclosure, the service identifier is queried to accurately determine the target protocol template from a plurality of protocol templates, so that service data is loaded into the elements of the target protocol template, the conflict that the protocol templates in the in-use state and the history state are queried at the same time is avoided, and the flexibility of the protocol template is improved, so that the technical problems that the flexibility of the protocol template in the related technology is low and the query of the stock service is not supported are at least partially solved.
Fig. 1 schematically illustrates an application scenario diagram of a service processing method, an apparatus, an electronic device, a storage medium and a program product according to an embodiment of the present disclosure.
As shown in fig. 1, an application scenario 100 according to this embodiment may include a first terminal device 101, a second terminal device 102, a third terminal device 103, a network 104, and a server 105. The network 104 is a medium used to provide a communication link between the first terminal device 101, the second terminal device 102, the third terminal device 103, and the server 105. The network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, among others.
The user may interact with the server 105 through the network 104 using at least one of the first terminal device 101, the second terminal device 102, the third terminal device 103, to receive or send messages, etc. Various communication client applications, such as a shopping class application, a web browser application, a search class application, an instant messaging tool, a mailbox client, social platform software, etc. (by way of example only) may be installed on the first terminal device 101, the second terminal device 102, and the third terminal device 103.
The first terminal device 101, the second terminal device 102, the third terminal device 103 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smartphones, tablets, laptop and desktop computers, and the like.
The server 105 may be a server providing various services, such as a background management server (by way of example only) providing support for websites browsed by the user using the first terminal device 101, the second terminal device 102, and the third terminal device 103. The background management server may analyze and process the received data such as the user request, and feed back the processing result (e.g., the web page, information, or data obtained or generated according to the user request) to the terminal device.
It should be noted that, the service processing method provided in the embodiment of the present disclosure may be generally executed by the server 105. Accordingly, the service processing apparatus provided in the embodiments of the present disclosure may be generally disposed in the server 105. The service processing method provided by the embodiment of the present disclosure may also be performed by a server or a server cluster that is different from the server 105 and is capable of communicating with the first terminal device 101, the second terminal device 102, the third terminal device 103, and/or the server 105. Accordingly, the service processing apparatus provided by the embodiments of the present disclosure may also be provided in a server or a server cluster that is different from the server 105 and is capable of communicating with the first terminal device 101, the second terminal device 102, the third terminal device 103, and/or the server 105.
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.
Fig. 2 schematically shows a flow chart of a traffic handling method according to an embodiment of the present disclosure.
As shown in fig. 2, the service processing method of this embodiment includes operations S210 to S240.
In operation S210, in response to the service query instruction, a query service identification of the service to be queried is determined based on the service query instruction.
According to an embodiment of the present disclosure, the business to be queried may be a loan business, a deposit business, a financial business, etc. The service query instruction may be an instruction for querying a service to be queried.
According to an embodiment of the present disclosure, the query service identification may be identification information for identifying the service to be queried.
According to an embodiment of the present disclosure, the service query instruction may include a query service identifier of the service to be queried. The service inquiry instruction can be analyzed according to the type of the program language of the service inquiry instruction, and the inquiry service identification of the service to be inquired is determined.
In operation S220, a target protocol template is determined from the plurality of protocol templates based on the query service identification.
According to embodiments of the present disclosure, the protocol template may be a fixed format of a protocol that is pre-generated from the traffic. A service may correspond to one or more protocol templates.
According to the embodiment of the disclosure, the target protocol template information matched with the service to be queried can be determined by the query service identification, and the target protocol template can be determined according to the target protocol template information.
In operation S230, a storage space associated with an element in the target protocol template is determined.
According to embodiments of the present disclosure, the elements in the target protocol template may be an integral part of the target protocol template.
According to embodiments of the present disclosure, the storage space associated with the elements in the target protocol template may be a space for storing business data.
In operation S240, service data of the service to be queried is loaded into an element of the target protocol template based on the storage space, and a service query result is obtained.
According to the embodiment of the disclosure, service data of the service to be queried can be acquired based on the storage space.
According to the embodiment of the disclosure, service data of a service to be queried is loaded into an element of a target protocol template, namely, contents to be filled in the target protocol template are filled in the target protocol template, so that a service query result, namely, a target protocol related to the service to be queried is obtained.
According to an embodiment of the present disclosure, a query service identification of a service to be queried is determined based on a service query instruction by responding to the service query instruction; determining a target protocol template from a plurality of protocol templates based on the query service identification; determining a storage space associated with an element in the target protocol template; and loading the service data of the service to be queried into the elements of the target protocol template based on the storage space to obtain a service query result. The target protocol template can be accurately determined from a plurality of protocol templates by inquiring the service identifier, so that the service data is loaded into the elements of the target protocol template, the conflict that the protocol templates in the in-use state and the history state are simultaneously inquired is avoided, and the flexibility of the protocol template is improved, so that the technical problem that the flexibility of the protocol template in the related technology is lower and the inquiry of the stock service is not supported is at least partially solved.
According to an embodiment of the present disclosure, determining a target protocol template from a plurality of protocol templates based on a query service identification, includes: based on the query service identification, a protocol template type is determined. In the case that the protocol template matching the protocol template type is determined to include a plurality of protocol templates, a target protocol template identification is determined from the query service identification. A target protocol template is determined from the plurality of protocol templates based on the target protocol template identification.
According to the embodiment of the disclosure, based on the service identifier, the service type of the service to be queried can be determined, and according to the service type of the service to be queried, the protocol template type can be determined.
According to embodiments of the present disclosure, each protocol template of the plurality of protocol templates may have a protocol template identification.
According to the embodiment of the disclosure, the query service identifier may include a target protocol template identifier, and the query service identifier may be parsed to determine the target protocol template identifier included in the query service identifier.
According to the embodiment of the disclosure, the target protocol template identifier and the protocol template identifiers of the protocol templates can be matched to obtain a protocol matching result. And determining the protocol template corresponding to the protocol template identifier, which is matched with the protocol template identifier, of the protocol matching result characterization target protocol template identifier as a target protocol template.
According to an embodiment of the present disclosure, in a case where it is determined that a protocol template matching a protocol template type is one, the protocol template is determined as a target protocol template.
According to the embodiment of the disclosure, the target protocol template can be determined from a plurality of templates through the target protocol template identification, so that the protocol template inconsistent with the service to be queried is avoided from being determined, and the accuracy of service query is improved.
Fig. 3 schematically shows a flow chart of a traffic handling method according to a further embodiment of the present disclosure.
As shown in fig. 3, the service processing method of this embodiment includes operations S310 to S330.
In operation S310, in response to a template generation instruction for generating a protocol template, a protocol field of a protocol template to be generated is determined based on the template generation instruction.
In operation S320, a target element is determined from the element set based on attribute information of the protocol field.
In operation S330, a protocol template is generated based on the protocol field and the target element.
According to the embodiment of the disclosure, the template generation instruction may include protocol field information of the protocol template to be generated, and the protocol field of the protocol template to be generated may be determined by analyzing the template generation instruction.
According to embodiments of the present disclosure, a protocol field may be a field corresponding to an element constituting a protocol template.
According to an embodiment of the present disclosure, the attribute information of the protocol field may be a field name, a field type, etc. of the protocol field.
According to embodiments of the present disclosure, a plurality of elements may be included in an element set, and element attribute information of each element may include an element name and an element type.
According to the embodiment of the disclosure, the element of which the attribute information of the element is successfully matched with the attribute information of the protocol field can be determined as the target element according to the matching of the attribute information of the protocol field and the attribute information of the element. For example, the protocol field may be "first party", the attribute information of the protocol field "first party" may be a field name of first party, a field type of text, and the target element may be a blank text box element.
According to embodiments of the present disclosure, the elements in the element set may also be a numeric element, an auto-acquire element, a date element, a currency element, an amount format element, a drop-down box element, a multi-choice element, a text field element, and a pop-up box element. The field value of the digital element may be a number and the field value of the automatic acquisition element may be automatically acquired from the service. The field value of the date element may be a date. The field value of the currency element may be a currency type. The currency type may be determined by a dictionary table. The field value of the monetary format element may correspond to a currency element in the same protocol template. The field values of the drop-down frame elements can be set through a dictionary table, and can also be expanded by themselves. The field values of the multiple selection elements can be set through a dictionary table, and can also be expanded by the field values. The field value of the text field element may be left blank. The field value of the pop-up box element may be the name of the pop-up box.
According to the embodiment of the disclosure, based on the protocol field and the target element, the target content of the generated protocol template can be determined, and the protocol template is generated according to the template content of the protocol template to be generated.
According to the embodiment of the disclosure, by generating the protocol template in advance, the service requirement can be responded in time when the service is generated.
According to an embodiment of the present disclosure, generating a protocol template based on a protocol field and a target element includes: element position information of the target element is determined based on field position information of the protocol field. And associating the target element with a storage space for storing the field content to obtain an association relation. And generating a protocol template based on the protocol field, the target element, the element position information of the target element and the association relation.
According to embodiments of the present disclosure, field location information of a protocol field may be determined according to a service corresponding to a protocol template to be generated. For example, the service corresponding to the protocol template to be generated is a loan service, the protocol field may include "a party" and "b party", the field location information of the protocol field "a party" may be a first bit, and the field location information of the protocol field "b party" may be a second bit.
According to the embodiment of the disclosure, based on the field position information of the protocol field, the position of the target element in the protocol template, that is, the element position information of the target element, can be determined.
According to the embodiment of the disclosure, the field content may correspond to the target element, and the target element is associated with the storage space for storing the field content to obtain the association relationship, so that the field content may be acquired from the storage space based on the association relationship.
According to an embodiment of the present disclosure, generating a protocol template based on a protocol field, a target element, element position information of the target element, and an association relation, includes: and generating an initial protocol template based on the protocol field, the target element, the element position information of the target element and the association relation. And activating the initial protocol template to generate a protocol template.
According to embodiments of the present disclosure, the initial protocol template may be an inactive protocol template, i.e., an unused protocol template.
According to an embodiment of the present disclosure, the initial protocol template may be activated by adjusting the initial protocol template from an inactive state to an active state, and generating the protocol template.
Fig. 4 schematically shows a flow chart of a traffic handling method according to a further embodiment of the present disclosure.
As shown in fig. 4, the service processing method of this embodiment includes operations S410 to S440.
In operation S410, in response to the service generation instruction, a service type of the service to be generated is determined based on the service generation instruction.
In operation S420, a protocol template to be processed is determined from among a plurality of protocol templates in a target template state based on the traffic type.
In operation S430, a protocol template to be processed is presented.
In operation S440, in case that field contents corresponding to a target element in a protocol template to be processed have been received, the field contents are stored into a storage space associated with the target element.
According to an embodiment of the present disclosure, the service type of the service to be generated may be a loan type, a deposit type, a financial type, or the like.
According to the embodiment of the disclosure, the service generation instruction can be analyzed to determine the service type of the service to be generated.
According to embodiments of the present disclosure, template states may have a historical use state, an in-use state, and a to-be-activated state. The same protocol may correspond to multiple protocol templates, and the states may be different among the multiple protocol templates.
According to an embodiment of the present disclosure, the target template state may be a template state of a protocol template corresponding to a service to be generated.
According to the embodiment of the disclosure, the protocol template to be processed can be displayed in a display page.
According to the embodiment of the disclosure, the target element in the protocol template to be processed does not have that input, and therefore, in the case that the field content corresponding to the target element in the protocol template to be processed has been received, the field content may be stored into the storage space associated with the target element, so that the field content may be loaded into the target element from the storage space.
According to the embodiment of the disclosure, since each protocol template has the protocol template identifier and the service to be generated is generated according to the protocol template to be processed, under the condition that the state of the protocol template to be processed is changed into the history use state, the protocol template to be processed corresponding to the service to be generated can still be found according to the query service identifier of the service, and the protocol template to be processed can not conflict with the protocol template in use, so that the compatibility of the protocol template in the history version state is realized, and the flexibility of the protocol template is improved.
According to an embodiment of the present disclosure, a protocol template to be processed is presented, including: based on the element format of the target element, a rendering mode corresponding to the target element is determined. And displaying the target elements in the protocol template to be processed according to the rendering mode.
According to embodiments of the present disclosure, different target elements may have different element formats, and a rendering mode corresponding to the target element may be determined based on the element format of the target element.
According to embodiments of the present disclosure, the rendering modes may be a text rendering mode, a date rendering mode, a drop-down frame rendering mode, and the like.
According to an embodiment of the present disclosure, displaying the target element in the protocol template to be processed according to the rendering mode may be rendering the target element according to the rendering mode corresponding to the target element to display the target element in the protocol template to be processed.
According to the embodiment of the disclosure, the target element is displayed through the rendering mode corresponding to the target element, so that the protocol template to be processed can be displayed in the display page so as to check the service to be generated.
Based on the service processing method, the disclosure also provides a service processing device. The device will be described in detail below in connection with fig. 5.
Fig. 5 schematically shows a block diagram of a service processing apparatus according to an embodiment of the present disclosure.
As shown in fig. 5, the service processing apparatus 500 of this embodiment includes a first determining module 510, a second determining module 520, a third determining module 530, and an obtaining module 540.
The first determining module 510 is configured to determine, in response to the service query instruction, a query service identifier of the service to be queried based on the service query instruction. In an embodiment, the first determining module 510 may be configured to perform the operation S210 described above, which is not described herein.
A second determining module 520 is configured to determine a target protocol template from the plurality of protocol templates based on the query service identification. In an embodiment, the second determining module 520 may be configured to perform the operation S220 described above, which is not described herein.
A third determination module 530 is configured to determine a storage space associated with an element in the target protocol template. In an embodiment, the third determining module 530 may be configured to perform the operation S230 described above, which is not described herein.
The obtaining module 540 is configured to load service data of a service to be queried into an element of a target protocol template based on the storage space, and obtain a service query result. In an embodiment, the obtaining module 540 may be configured to perform the operation S240 described above, which is not described herein.
According to an embodiment of the present disclosure, the second determining module 520 for determining a target protocol template from a plurality of protocol templates based on the service identification includes:
the first determining unit is used for determining the type of the protocol template based on the service identifier;
a second determining unit, configured to determine a target protocol template identifier from the service identifiers, in a case where it is determined that the protocol templates matched with the protocol template types include a plurality of protocol templates; and
and a third determining unit, configured to determine a target protocol template from the plurality of protocol templates based on the target protocol template identifier.
According to an embodiment of the present disclosure, the service processing apparatus further includes:
a fourth determining module, configured to determine a protocol field of a protocol template to be generated based on the template generating instruction in response to the template generating instruction for generating the protocol template;
a fifth determining module, configured to determine a target element from the element set based on attribute information of the protocol field; and
and the generating module is used for generating a protocol template based on the protocol field and the target element.
According to an embodiment of the present disclosure, a generating module for generating a protocol template based on a protocol field and a target element includes:
a first generation unit configured to determine element position information of a target element based on field position information of a protocol field;
the second generation unit is used for associating the target element with a storage space for storing field content to obtain an association relation; and
and the third generating unit is used for generating a protocol template based on the protocol field, the target element, the element position information of the target element and the association relation.
According to an embodiment of the present disclosure, the third generating unit for generating a protocol template based on a protocol field, a target element, element position information of the target element, and an association relation includes:
the first generation subunit is used for generating an initial protocol template based on the protocol field, the target element, the element position information of the target element and the association relation; and
and the second generation subunit is used for activating the initial protocol template and generating the protocol template.
According to an embodiment of the present disclosure, the service processing apparatus further includes:
a sixth determining module, configured to determine a service type of a service to be generated based on the service generation instruction in response to the service generation instruction;
a seventh determining module, configured to determine a protocol template to be processed from a plurality of protocol templates in a target template state based on a service type;
the display module is used for displaying the protocol template to be processed; and
and the storage module is used for storing the field content into a storage space associated with the target element in the condition that the field content corresponding to the target element in the protocol template to be processed is received.
According to an embodiment of the present disclosure, a presentation module for presenting a protocol template to be processed includes:
the first display unit is used for determining a rendering mode corresponding to the target element based on the element format of the target element; and
and the second display unit is used for displaying the target elements in the protocol template to be processed according to the rendering mode.
According to an embodiment of the present disclosure, any of the plurality of modules of the first determination module 510, the second determination module 520, the third determination module 530, and the obtaining module 540 may be combined in one module to be implemented, or any of the plurality of modules may be split into a plurality of modules. Alternatively, at least some of the functionality of one or more of the modules may be combined with at least some of the functionality of other modules and implemented in one module. According to embodiments of the present disclosure, at least one of the first determination module 510, the second determination module 520, the third determination module 530, and the obtaining module 540 may be implemented at least in part as hardware circuitry, 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 in hardware or firmware, such as any other reasonable manner of integrating or packaging the circuitry, or in any one of or a suitable combination of three of software, hardware, and firmware. Alternatively, at least one of the first determination module 510, the second determination module 520, the third determination module 530, and the obtaining module 540 may be at least partially implemented as a computer program module, which when executed, may perform the corresponding functions.
Fig. 6 schematically illustrates a block diagram of an electronic device adapted to implement a business processing method according to an embodiment of the disclosure.
As shown in fig. 6, an electronic device 600 according to an embodiment of the present disclosure includes a processor 601 that 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. The processor 601 may include, for example, a general purpose microprocessor (e.g., a CPU), an instruction set processor and/or an associated chipset and/or a special purpose microprocessor (e.g., an Application Specific Integrated Circuit (ASIC)), or the like. Processor 601 may also include on-board memory for caching purposes. The processor 601 may comprise a single processing unit or a plurality of processing units for performing different actions of the method flows 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 through a bus 604. The processor 601 performs various operations of the method flow according to the embodiments of the present disclosure by executing programs in the ROM 602 and/or the RAM 603. Note that the program may be stored in one or more memories other than the ROM 602 and the RAM 603. The processor 601 may also perform various operations of the method flow according to embodiments of the present disclosure by executing programs stored in the one or more memories.
According to an embodiment of the present disclosure, the electronic device 600 may also include an input/output (I/O) interface 605, the input/output (I/O) interface 605 also being connected to the bus 604. The electronic device 600 may also include one or more of the following components connected to an input/output (I/O) interface 605: an input portion 606 including a keyboard, mouse, etc.; an output portion 607 including a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, a speaker, and the like; 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 drive 610 is also connected to an input/output (I/O) interface 605 as needed. Removable media 611 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is installed as needed on drive 610 so that a computer program read therefrom is installed as needed into storage section 608.
The present disclosure also provides a computer-readable storage medium that may be embodied in the apparatus/device/system described in the above embodiments; or may exist alone without being assembled into the apparatus/device/system. The computer-readable storage medium carries one or more programs which, when executed, implement methods in accordance with embodiments of the present 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 context of this 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, the computer-readable storage medium may include ROM 602 and/or RAM 603 and/or one or more memories other than ROM 602 and RAM 603 described above.
Embodiments of the present disclosure also include a computer program product comprising a computer program containing program code for performing the methods shown in the flowcharts. The program code means for causing a computer system to carry out the business processing methods provided by the embodiments of the present disclosure when the computer program product is run on the computer system.
The above-described functions defined in the system/apparatus of the embodiments of the present disclosure are performed when the computer program is executed by the processor 601. The systems, apparatus, modules, units, etc. described above may be implemented by computer program modules according to embodiments of the disclosure.
In one embodiment, the computer program may be based 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 signals over a network medium, and downloaded and installed via the communication section 609, and/or installed from the removable medium 611. The computer program may include program code that may be transmitted using any appropriate 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 portion 609, and/or installed from the removable medium 611. The above-described functions defined in the system of the embodiments of the present disclosure are performed when the computer program is executed by the processor 601. The systems, devices, apparatus, modules, units, etc. described above may be implemented by computer program modules according to embodiments of the disclosure.
According to embodiments of the present disclosure, program code for performing computer programs provided by embodiments of the present disclosure may be written in any combination of one or more programming languages, and in particular, such computer programs may be implemented in high-level procedural and/or object-oriented programming languages, and/or assembly/machine languages. Programming languages include, but are not limited to, such as Java, c++, python, "C" or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, partly on a remote computing device, or entirely on the remote computing device or server. In the case of remote computing devices, 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., connected via the Internet using an Internet service provider).
The flowcharts 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 the features recited in the various embodiments of the disclosure and/or in the claims may be provided in a variety of combinations and/or combinations, even if such combinations or combinations are not explicitly recited in the disclosure. In particular, the features recited in the various embodiments of the present disclosure and/or the claims may be variously combined and/or combined without departing from the spirit and teachings of the present disclosure. All such combinations and/or combinations fall within the scope of the present disclosure.
The embodiments of the present disclosure are 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 above separately, this does not mean that the measures in the embodiments cannot be used advantageously in combination. The scope of the disclosure is defined by the appended claims and equivalents thereof. Various alternatives and modifications can be made by those skilled in the art without departing from the scope of the disclosure, and such alternatives and modifications are intended to fall within the scope of the disclosure.

Claims (11)

1. A business processing method, comprising:
responding to a service inquiry instruction, and determining an inquiry service identifier of a service to be inquired based on the service inquiry instruction;
determining a target protocol template from a plurality of protocol templates based on the query service identification;
determining a storage space associated with an element in the target protocol template; and
and loading the service data of the service to be queried into the elements of the target protocol template based on the storage space to obtain a service query result.
2. The method of claim 1, wherein the determining a target protocol template from a plurality of protocol templates based on the query traffic identification comprises:
determining a protocol template type based on the query service identifier;
determining a target protocol template identification from the query service identification under the condition that a plurality of protocol templates matched with the protocol template types are determined; and
the target protocol template is determined from the plurality of protocol templates based on the target protocol template identification.
3. The method of claim 1, further comprising:
determining a protocol field of a protocol template to be generated based on a template generation instruction in response to the template generation instruction for generating the protocol template;
determining a target element from the element set based on the attribute information of the protocol field; and
the protocol template is generated based on the protocol field and the target element.
4. The method of claim 3, wherein the generating the protocol template based on the protocol field and the target element comprises:
determining element position information of the target element based on field position information of the protocol field;
the target element is associated with a storage space for storing the field content, so that an association relation is obtained; and
and generating the protocol template based on the protocol field, the target element, the element position information of the target element and the association relation.
5. The method of claim 4, wherein the generating the protocol template based on the protocol field, the target element, element location information of the target element, and the association relationship comprises:
generating an initial protocol template based on the protocol field, the target element, element position information of the target element and the association relation; and
and activating the initial protocol template to generate the protocol template.
6. The method of any one of claims 1-4, further comprising:
responding to a service generation instruction, and determining a service type of a service to be generated based on the service generation instruction;
determining a protocol template to be processed from a plurality of protocol templates in a target template state based on the service type;
displaying the protocol template to be processed; and
in the event that field content corresponding to a target element in the protocol template to be processed has been received, the field content is stored into a storage space associated with the target element.
7. The method of claim 6, wherein the exposing the protocol template to be processed comprises:
determining a rendering mode corresponding to a target element based on an element format of the target element; and
and displaying the target elements in the protocol template to be processed according to the rendering mode.
8. A traffic processing apparatus comprising:
the first determining module is used for responding to the service query instruction and determining a query service identifier of a service to be queried based on the service query instruction;
the second determining module is used for determining a target protocol template from a plurality of protocol templates based on the query service identification;
a third determining module for determining a storage space associated with an element in the target protocol template; and
and the obtaining module is used for loading the service data of the service to be queried into the elements of the target protocol template based on the storage space to obtain a service query result.
9. An electronic device, comprising:
one or more processors;
storage means 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-10.
10. A computer readable storage medium having stored thereon executable instructions which, when executed by a processor, cause the processor to perform the method according to any of claims 1-7.
11. A computer program product comprising a computer program which, when executed by a processor, implements the method according to any one of claims 1 to 7.
CN202310755730.1A 2023-06-26 2023-06-26 Service processing method, device, electronic equipment and storage medium Pending CN116795951A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310755730.1A CN116795951A (en) 2023-06-26 2023-06-26 Service processing method, device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310755730.1A CN116795951A (en) 2023-06-26 2023-06-26 Service processing method, device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116795951A true CN116795951A (en) 2023-09-22

Family

ID=88035963

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310755730.1A Pending CN116795951A (en) 2023-06-26 2023-06-26 Service processing method, device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116795951A (en)

Similar Documents

Publication Publication Date Title
CN109062563B (en) Method and device for generating page
CN109359194B (en) Method and apparatus for predicting information categories
CN105488125A (en) Page access method and apparatus
CN111950249A (en) Message generation method and device, electronic equipment and storage medium
CN115587575A (en) Data table creation method, target data query method, device and equipment
CN111857674A (en) Business product generation method and device, electronic equipment and readable storage medium
CN113515271B (en) Service code generation method and device, electronic equipment and readable storage medium
CN113395292B (en) Message processing method and device, electronic equipment and storage medium
CN115759029A (en) Document template processing method and device, electronic equipment and storage medium
CN113448578A (en) Page data processing method, processing system, electronic device and readable storage medium
CN116795951A (en) Service processing method, device, electronic equipment and storage medium
CN113553123A (en) Data processing method and device, electronic equipment and storage medium
CN113656041A (en) Data processing method, device, equipment and storage medium
CN113986258A (en) Service publishing method, device, equipment and storage medium
CN111949259A (en) Risk decision configuration method, system, electronic equipment and storage medium
CN111199432A (en) Data processing method, device, system and computer readable storage medium
CN114969059B (en) Method and device for generating order information, electronic equipment and storage medium
CN113590554A (en) File processing method and device, electronic equipment and storage medium
CN114035792A (en) Page generation method and device, electronic equipment and storage medium
CN114201214A (en) File generation method, file generation device, electronic equipment, medium and program product
CN116107851A (en) Simulation test method, device, equipment and storage medium
CN115421738A (en) Version deployment method and device, electronic equipment and storage medium
CN113778350A (en) Log printing method and device
CN115525365A (en) Method, device and equipment for determining target data entity and storage medium
CN114385170A (en) Form generation method, device, equipment, medium and program product

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