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

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

Info

Publication number
CN115905322A
CN115905322A CN202211644354.0A CN202211644354A CN115905322A CN 115905322 A CN115905322 A CN 115905322A CN 202211644354 A CN202211644354 A CN 202211644354A CN 115905322 A CN115905322 A CN 115905322A
Authority
CN
China
Prior art keywords
service
field
business
service field
determining
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
CN202211644354.0A
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.)
Jiangsu Weisheng Network Technology Co ltd
Original Assignee
Jiangsu Weisheng Network Technology 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 Jiangsu Weisheng Network Technology Co ltd filed Critical Jiangsu Weisheng Network Technology Co ltd
Priority to CN202211644354.0A priority Critical patent/CN115905322A/en
Publication of CN115905322A publication Critical patent/CN115905322A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the invention discloses a service processing method, a service processing device, electronic equipment and a storage medium. The method comprises the following steps: responding to a business processing request aiming at a target search engine, and determining a business scene corresponding to the business processing request; determining a target service field corresponding to the service scene, wherein the target service field comprises a basic service field and/or a custom service field; and performing service processing on the service processing request based on the basic service field and/or the custom service field. The technical scheme of the embodiment of the invention solves the technical problems that the existing service system can not meet the complex service processing requirement, the service processing flexibility is poor and the service processing effect is poor, and realizes the targeted effective processing of the service, thereby improving the service processing effect.

Description

Service processing method and device, electronic equipment and storage medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method and an apparatus for processing a service, an electronic device, and a storage medium.
Background
In the related art, a business system is generally provided for a plurality of enterprises. However, business processing scenarios of enterprises of different industries are often different. Currently, enterprises generally use business systems to process basic business. Therefore, the existing service system cannot meet the complex service processing requirement, and the flexibility of service processing is poor, so that the effect of service processing is poor.
Disclosure of Invention
The invention provides a service processing method, a service processing device, electronic equipment and a storage medium, which are used for realizing targeted effective processing on services, thereby improving the service processing effect.
According to an aspect of the present invention, there is provided a service processing method, including:
responding to a business processing request aiming at a target search engine, and determining a business scene corresponding to the business processing request;
determining a target service field corresponding to the service scene, wherein the target service field comprises a basic service field and/or a custom service field;
and performing service processing on the service processing request based on the basic service field and/or the custom service field.
According to another aspect of the present invention, a service processing apparatus is provided. The device includes:
the system comprises a service scene determining module, a searching module and a searching module, wherein the service scene determining module is used for responding to a service processing request aiming at a target searching engine and determining a service scene corresponding to the service processing request;
a service field determining module, configured to determine a target service field corresponding to the service scenario, where the target service field includes a basic service field and/or a custom service field;
and the service processing module is used for processing the service processing request based on the basic service field and/or the user-defined service field.
According to another aspect of the present invention, there is provided an electronic apparatus including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores a computer program executable by the at least one processor, the computer program being executable by the at least one processor to enable the at least one processor to perform any of the business process methods of the invention.
According to another aspect of the present invention, there is provided a computer-readable storage medium storing computer instructions for causing a processor to implement any of the service processing methods of the present invention when executed.
According to the technical scheme of the embodiment of the invention, a service scene corresponding to a service processing request is determined by responding to the service processing request aiming at a target search engine; determining a target service field corresponding to the service scene, wherein the target service field comprises a basic service field and/or a custom service field; and performing service processing on the service processing request based on the basic service field and/or the custom service field. The technical scheme of the embodiment of the invention solves the technical problems that the existing service system can not meet the complex service processing requirement, the service processing flexibility is poor and the service processing effect is poor, and realizes the targeted effective processing of the service, thereby improving the service processing effect.
It should be understood that the statements in this section do not necessarily identify key or critical features of the embodiments of the present invention, nor do they necessarily limit the scope of the invention. Other features of the present invention will become apparent from the following description.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flowchart of a service processing method according to an embodiment of the present invention;
fig. 2 is a schematic diagram illustrating a principle of service field configuration of a service processing method according to an embodiment of the present invention;
fig. 3 is a schematic flowchart of a service processing method according to a second embodiment of the present invention;
fig. 4 is a schematic flow chart of a service processing method according to a third embodiment of the present invention;
fig. 5 is a schematic flow chart of a service processing method according to a fourth embodiment of the present invention;
fig. 6 is a schematic structural diagram of a service processing apparatus according to a third embodiment of the present invention;
fig. 7 is a schematic structural diagram of an electronic device according to a fourth embodiment of the present invention.
Detailed Description
In order to make those skilled in the art better understand the technical solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without making any creative effort based on the embodiments in the present invention, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It is understood that before the technical solutions disclosed in the embodiments of the present disclosure are used, the type, the use range, the use scene, etc. of the personal information related to the present disclosure should be informed to the user and obtain the authorization of the user through a proper manner according to the relevant laws and regulations.
For example, in response to receiving an active request from a user, a prompt message is sent to the user to explicitly prompt the user that the requested operation to be performed would require the acquisition and use of personal information to the user. Thus, the user can autonomously select whether to provide personal information to software or hardware such as an electronic device, an application program, a server, or a storage medium that performs the operations of the disclosed technical solution, according to the prompt information.
As an optional but non-limiting implementation manner, in response to receiving an active request from the user, the manner of sending the prompt information to the user may be, for example, a pop-up window, and the prompt information may be presented in a text manner in the pop-up window. In addition, a selection control for providing personal information to the electronic device by the user's selection of "agreeing" or "disagreeing" can be carried in the pop-up window.
It is understood that the above notification and user authorization process is only illustrative and not limiting, and other ways of satisfying relevant laws and regulations may be applied to the implementation of the present disclosure.
It will be appreciated that the data involved in the subject technology, including but not limited to the data itself, the acquisition or use of the data, should comply with the requirements of the corresponding laws and regulations and related regulations.
Example one
Fig. 1 is a flowchart of a service processing method according to an embodiment of the present invention, where the embodiment is applicable to a case of processing a service, and the method may be executed by a service processing apparatus, where the service processing apparatus may be implemented in a form of hardware and/or software, and the service processing apparatus may be configured in an electronic device such as a computer or a server.
As shown in fig. 1, the method of the present embodiment includes:
s110, responding to a business processing request aiming at a target search engine, and determining a business scene corresponding to the business processing request.
The target search engine may be understood as a search engine that performs business processing. In the embodiment of the present invention, the target search engine may be a distributed search engine, and for example, the target search engine may be an Elastic Search (ES) search engine. A business process request may be understood as a request for business processing based on a targeted search engine. The business process request may include at least one of a data search request, a data write request, a data update request, and a data delete request. A business scenario may be understood as a scenario in which business processes are performed. The service processing request may carry request information. The request information may include request data and/or request conditions.
Specifically, a business process request for a target search engine is received. After receiving the service processing request, the service processing request may be parsed. Thereby determining the request information in the service processing request. Based on the correspondence between the request information and the service scenario, the service scenario corresponding to the request information may be determined, that is, the service scenario corresponding to the service processing request may be determined.
S120, determining a target service field corresponding to the service scene, wherein the target service field comprises a basic service field and/or a custom service field.
Wherein, the target service field can be understood as a service field corresponding to the service scenario. The target traffic field may include a base traffic field and/or a custom traffic field. The basic service field can be understood as the original service field, i.e. the system field. A custom service field may be understood as a service field defined according to specific service requirements. In the embodiment of the present invention, the storage format of the custom service field may be a JavaScript Object notification (JSON) format.
In this embodiment of the present invention, determining the target service field corresponding to the service scenario may include: and determining a service field corresponding to the service scene as a target service field based on the corresponding relation between the service scene and the service field. Determining a target service field corresponding to the service scenario may be determining a basic service field corresponding to the service scenario; and/or determining a self-defined service field corresponding to the service scene.
S130, based on the basic service field and/or the user-defined service field, performing service processing on the service processing request.
In one embodiment, the service processing request is service processed based on the basic service field. Specifically, according to the corresponding relationship between the engine index in the target search engine and the basic service field, the engine index corresponding to the basic service field is determined. And further, the service processing request can be subjected to service processing based on the engine index corresponding to the basic service field.
In another embodiment, the service processing request is service processed based on a custom service field. Specifically, the engine index corresponding to the custom service field may be determined according to a correspondence between the engine index and the custom service field in the target search engine. And further, the service processing request can be subjected to service processing based on the engine index corresponding to the self-defined service field.
In yet another embodiment, the service request is service processed based on the base service field and the custom service field. Specifically, the basic service field and the custom service field are combined, so that a combined field can be obtained. And further determining the engine index corresponding to the merged field according to the corresponding relation between the engine index in the target search engine and the merged field. Thereby, the service processing request can be processed based on the engine index corresponding to the merged field. The method has the advantages that the service processing can be carried out based on the combination of the basic service field and the user-defined service field, the index performance of the target search engine can be fully utilized, the memory overhead is reduced, and therefore the efficiency of the service processing is improved.
On the basis of the above embodiment, after obtaining the custom service field, the method further includes: and setting the custom service field in a target search engine, and indexing the engine with the custom service field. The method has the advantage that the user can flexibly configure the service field, so that more complex service processing requests can be supported.
As shown in fig. 2, in the embodiment of the present invention, service scenes (objects in fig. 2) may be preset, and a corresponding relationship between the service scenes (object mapping relationship in fig. 2) may be set. According to the corresponding relationship between the service scenes and the service fields (attributes in fig. 2) corresponding to the service scenes, the corresponding relationship between the service fields (object attribute mapping relationship in fig. 2) can be established. For each traffic field, field information (parameter in fig. 2) of the traffic field may be set in advance. Based on this, after receiving the service processing request, a plurality of service scenarios corresponding to the service processing request can be determined according to the determination. Further, the target service field (data in fig. 2) corresponding to each service scene may be determined according to the corresponding relationship between each service scene and the corresponding relationship between each service field. The target service field may include a custom service field. And then, the data (service data in fig. 2) corresponding to the target service field can be obtained in the target search engine.
According to the technical scheme of the embodiment of the invention, a service scene corresponding to a service processing request is determined by responding to the service processing request aiming at a target search engine; determining a target service field corresponding to the service scene, wherein the target service field comprises a basic service field and/or a custom service field; and performing service processing on the service processing request based on the basic service field and/or the custom service field. The technical scheme of the embodiment of the invention solves the technical problems that the existing service system can not meet the complex service processing requirement, the service processing flexibility is poor and the service processing effect is poor, and realizes the targeted effective processing of the service, thereby improving the service processing effect.
Example two
Fig. 3 is a schematic flow chart of a service processing method according to a second embodiment of the present invention, and on the basis of the foregoing embodiment, optionally, the service processing method implemented by the present invention further includes: responding to the field configuration operation aiming at the user-defined service field, and displaying a preset service field configuration interface, wherein the preset service field configuration interface comprises a service field configuration item; receiving field configuration information input based on the service field configuration item, and generating the self-defined service field based on the field configuration information. The technical terms that are the same as or corresponding to the above embodiments are not repeated herein.
As shown in fig. 3, the method of this embodiment specifically includes:
s210, responding to the field configuration operation aiming at the user-defined service field, and displaying a preset service field configuration interface, wherein the preset service field configuration interface comprises a service field configuration item.
The field configuration operation may be understood as an operation for configuring a custom service field. The field configuration operations may be understood as creation, editing, and deletion operations for custom business fields. The creation operation for the custom service field may be an operation for setting at least one of a field name, a field attribute, a field type, a field filling state, and a field editing state of the custom service field. The field attribute may be used to distinguish whether the traffic field is a basic traffic field or a custom field. The field type may be used to set a text presentation form of the custom service field, and may include at least one of a single line of text, multiple lines of text, and truncated text. The field fill status may be used to characterize whether the custom service field is a mandatory field. The field edit status can be used to characterize whether the custom service field is an editable field. The preset service field configuration interface may be understood as an interface for configuring a custom service field. The preset service field configuration interface may include a service field configuration item. In practical applications, the preset service field configuration interface may generally include a plurality of service field configuration items. The service field configuration item can be used for configuring the custom service field.
Specifically, when a trigger operation (e.g., a single-click operation or a double-click operation) acting on a preset control for configuring a custom service field is received, a preset service field configuration interface may be displayed. The preset service field configuration interface may include one or more service field configuration items.
S220, receiving field configuration information input based on the service field configuration item, and generating the self-defined service field based on the field configuration information.
The field configuration information may be understood as configuration information for configuring the service field. Illustratively, the field configuration information may include at least one of a field name, a field attribute, a field type, a field fill status, and a field edit status.
Specifically, field configuration information input for a service field configuration item is received. And further, the user-defined service field can be obtained based on the field configuration information of the service field configuration item.
In order to facilitate the management of the custom field, the field configuration information of the custom field may be displayed in a preset custom field management interface. The preset custom field management interface can be understood as a visual interface for uniformly managing custom services. Optionally, the field configuration information may further include a service scenario to which the custom service field is applied.
And S230, responding to the service processing request aiming at the target search engine, and determining a service scene corresponding to the service processing request.
S240, determining a self-defined service form corresponding to a service scene, determining a service field contained in the self-defined service form, and using the service field as a target service field, wherein the target service field comprises a basic service field and/or a self-defined service field.
The customized business form can be understood as a business form predefined according to the requirements of the business scenario. The custom service table may include one or more service fields. In actual practice, custom business forms typically include multiple business fields. In the embodiment of the invention, the service field of the user-defined service form can be used as the target service field.
Specifically, after the service scenario corresponding to the service processing request is determined, the customized service form corresponding to the service scenario may be determined according to the association relationship between the customized service form and the service scenario. And further, the service field in the user-defined service form can be used as a target service field.
On the basis of the implementation, the method further comprises the following steps: responding to form configuration operation aiming at the user-defined service form, and displaying a preset service form configuration interface, wherein the preset service form configuration interface comprises the basic service field and/or the user-defined service field; and receiving field selection operation aiming at the basic service field and/or the self-defined service field, determining a selected service field, and obtaining a self-defined service form based on the selected service field.
The form configuration operation may be understood as an operation for configuring a custom form. The preset business form configuration interface can be understood as an interface for configuring the user-defined form. The preset business form configuration interface may include one or more base business fields and/or one or more custom business fields. In practical applications, the preset service form configuration interface may generally include a plurality of basic service fields and a plurality of custom service fields. A field selection operation may be understood as an operation for selecting a base service field and/or a custom service field.
Specifically, a form configuration operation for the customized business form is received, and a preset business form configuration interface can be displayed. The preset service form configuration interface may include the basic service field and/or the custom service field. Upon receiving a selection operation for a base traffic field and/or a custom traffic field, the selected traffic field may be determined. And the selected service fields may be combined. Thereby obtaining the self-defined business form.
On the basis of the above embodiment, the customized business form includes a first business form and a second business form, and the method further includes: and responding to a form establishing and connecting instruction aiming at the first business form and the second business form, and establishing a mapping relation between a first business field and a second business field according to a preset field mapping relation between the first business field in the first business form and the second business field in the second business form so as to enable the first business form to be associated with the second business form.
The first business form can be understood as a self-defined business form. One or more first service fields in the first service form. The first service field may be understood as a service field in the first service form. The second business form can be understood as a custom business form. One or more second service fields in the second service form. The second service field may be understood as a service field in the second service form. The form association instruction may be understood as an instruction for establishing association between the first service form and the second service form. The first business form and the second business form may be the same or different. The advantage of establishing the mapping relationship between the first service field and the second service field is to improve the data transfer capability.
And S250, performing service processing on the service processing request based on the basic service field and/or the custom service field.
According to the technical scheme of the embodiment of the invention, a preset service field configuration interface is displayed by responding to field configuration operation aiming at the user-defined service field, wherein the preset service field configuration interface comprises a service field configuration item; and receiving field configuration information input based on the service field configuration item, and generating the custom service field based on the field configuration information, so that the technical effect of flexibly configuring the custom field according to actual service requirements can be realized.
EXAMPLE III
Fig. 4 is a flowchart of a service processing method according to a third embodiment of the present invention, where on the basis of the foregoing embodiment, optionally, the service processing request includes a data search request, and determining a service scenario corresponding to the service processing request in response to the service processing request for the target search engine includes: responding to a data search request aiming at a target search engine, and determining a service scene corresponding to the data search request; the performing service processing on the service processing request based on the basic service field and/or the custom service field includes: and generating an engine index of the target search engine based on the basic service field and/or the custom service field, and determining data corresponding to the engine index in the target search engine. The technical terms that are the same as or corresponding to the above embodiments are not repeated herein.
As shown in fig. 4, the method of this embodiment specifically includes:
s310, responding to a data search request aiming at a target search engine, and determining a service scene corresponding to the data search request.
The data search request can be understood as a request for searching data in a target search engine.
Specifically, a data search request for a target search engine is received. And further, the data search request can be analyzed, so that a service scene corresponding to the data search request can be determined.
S320, determining a target service field corresponding to the service scene, wherein the target service field comprises a basic service field and/or a custom service field.
S330, generating an engine index of the target search engine based on the basic service field and/or the custom service field, and determining data corresponding to the engine index in the target search engine.
In one embodiment, the basic service field and the custom service field are combined, so that a combined field can be obtained. Further, the engine index of the pair of merged fields may be generated according to an engine index generation rule of the target search engine. After the engine index of the merged field is obtained, data corresponding to the engine index may be obtained from the target search engine.
In another embodiment, based on the base business field or the custom business field, an engine index in the target search engine corresponding to the base business field or the custom business field may be determined. And then data corresponding to the engine index may be obtained from a target search engine.
According to the technical scheme of the embodiment of the invention, the service scene corresponding to the data search request is determined by responding to the data search request aiming at the target search engine. And determining a target service field corresponding to the service scene, wherein the target service field comprises a basic service field and/or a custom service field. And generating an engine index of the target search engine based on the basic service field and/or the custom service field, determining data corresponding to the engine index in the target search engine, and realizing data search based on the target search engine.
Example four
Fig. 5 is a schematic flow chart of a service processing method according to a fourth embodiment of the present invention, where on the basis of the foregoing embodiment, optionally, the service processing request includes a data write request, and the data write request carries service data to be written; the step of determining a service scene corresponding to a service processing request in response to the service processing request for the target search engine comprises: responding to a data writing request aiming at a target search engine, and determining a service scene corresponding to the data writing request; the service processing is performed on the service processing request based on the basic service field and/or the custom service field, and the method comprises the following steps: and determining business data to be written corresponding to the basic business field and/or the user-defined business field, and respectively writing the business data to be written into the target search engine and a database corresponding to the target search engine. The technical terms that are the same as or corresponding to the above embodiments are not repeated herein.
As shown in fig. 5, the method of this embodiment specifically includes:
s410, responding to a data writing request aiming at a target search engine, and determining a service scene corresponding to the data writing request.
The data writing request may be understood as a request for writing data in a target search engine.
Specifically, a data write request for a target search engine is received. After receiving the data write request, the data write request may be analyzed. Thereby, a service scenario corresponding to the data write request can be obtained.
S420, determining a target service field corresponding to the service scene, wherein the target service field comprises a basic service field and/or a custom service field.
S430, determining to-be-written service data corresponding to the basic service field and/or the user-defined service field, and respectively writing the to-be-written service data into the target search engine and a database corresponding to the target search engine.
The service data to be written can be understood as data which needs to be written into the target search engine.
In the embodiment of the invention, the service data to be written, which is input aiming at the basic service field and/or the custom service field, is received. After receiving the service data to be written, writing the service data to be written into a target search engine, and then writing the data to be written into a database corresponding to the target search engine; or, the data to be written may be written into a database corresponding to the target search engine, and then the service data to be written may be written into the target search engine.
It should be noted that, the service data to be written is written into the target search engine and the database corresponding to the target search engine respectively, which has the advantage that not only the service data to be written can be successfully written into the target search engine under the condition that the data writing of the target search engine fails, but also the decoupling of the data and the field is realized.
On the basis of the above embodiment, after the business data to be written fails to be written into the database corresponding to the target search engine, the business data to be written may be written into the target search engine in an asynchronous manner.
On the basis of the embodiment, a preset reconciliation mode can be adopted to ensure the consistency of the target search engine and the data in the database corresponding to the target search engine.
According to the technical scheme of the embodiment of the invention, the service scene corresponding to the data writing request is determined by responding to the data writing request aiming at the target search engine. And determining a target service field corresponding to the service scene, wherein the target service field comprises a basic service field and/or a custom service field. Determining the service data to be written corresponding to the basic service field and/or the user-defined service field, and respectively writing the service data to be written into the target search engine and the database corresponding to the target search engine, so that the service data to be written can be successfully written into the target search engine under the condition that the data writing of the target search engine fails.
EXAMPLE five
Fig. 6 is a schematic structural diagram of a service processing apparatus according to a fifth embodiment of the present invention. As shown in fig. 6, the apparatus includes: a service scenario determination module 510, a service field determination module 520, and a service processing module 530.
The service scenario determining module 510 is configured to, in response to a service processing request for a target search engine, determine a service scenario corresponding to the service processing request; a service field determining module 520, configured to determine a target service field corresponding to the service scenario, where the target service field includes a basic service field and/or a custom service field; a service processing module 530, configured to perform service processing on the service processing request based on the basic service field and/or the custom service field.
According to the technical scheme of the embodiment of the invention, the service scene determining module responds to the service processing request aiming at the target search engine, and determines the service scene corresponding to the service processing request. And determining a target service field corresponding to the service scene through a service field determining module, wherein the target service field comprises a basic service field and/or a custom service field. And performing service processing on the service processing request based on the basic service field and/or the custom service field through a service processing module. The technical scheme of the embodiment of the invention solves the technical problems that the existing service system can not meet the complex service processing requirement, the service processing flexibility is poor and the service processing effect is poor, and realizes the targeted effective processing of the service, thereby improving the service processing effect.
Optionally, the apparatus further includes a custom service field generation module, configured to:
responding to the field configuration operation aiming at the user-defined service field, and displaying a preset service field configuration interface, wherein the preset service field configuration interface comprises a service field configuration item;
receiving field configuration information input based on the service field configuration item, and generating the self-defined service field based on the field configuration information.
Optionally, the service field determining module 520 is specifically configured to:
and determining a custom service form corresponding to the service scene, determining a service field contained in the custom service form, and taking the service field as a target service field.
Optionally, the apparatus further includes a custom service form obtaining module, configured to:
responding to form configuration operation aiming at the user-defined service form, and displaying a preset service form configuration interface, wherein the preset service form configuration interface comprises the basic service field and/or the user-defined service field;
receiving field selection operation aiming at the basic service field and/or the user-defined service field, determining a selected service field, and obtaining a user-defined service form based on the selected service field.
Optionally, the customized service form includes a first service form and a second service form, and the apparatus further includes a form association module, configured to:
and responding to a form establishing and connecting instruction aiming at the first business form and the second business form, and establishing a mapping relation between a first business field and a second business field according to a preset field mapping relation between the first business field in the first business form and the second business field in the second business form so as to enable the first business form to be associated with the second business form.
Optionally, the service processing request includes a data search request, and the service scenario determining module 510 is specifically configured to: responding to a data search request aiming at a target search engine, and determining a service scene corresponding to the data search request; the service processing module 530 is specifically configured to: and generating an engine index of the target search engine based on the basic service field and/or the custom service field, and determining data corresponding to the engine index in the target search engine.
Optionally, the service processing request includes a data write request, where the data write request carries service data to be written; the service scenario determining module 510 is specifically configured to: responding to a data writing request aiming at a target search engine, and determining a service scene corresponding to the data writing request; the service processing module 530 is specifically configured to: and determining business data to be written corresponding to the basic business field and/or the user-defined business field, and respectively writing the business data to be written into the target search engine and a database corresponding to the target search engine.
The service processing device provided by the embodiment of the invention can execute the service processing method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
It should be noted that, the units and modules included in the service processing apparatus are only divided according to functional logic, but are not limited to the above division as long as the corresponding functions can be implemented; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the embodiment of the present invention.
EXAMPLE six
FIG. 7 illustrates a 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. 7, 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 appropriate 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 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 a traffic processing method.
In some embodiments, the business process method 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 the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the business process method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the traffic processing method by any other suitable means (e.g. by means of firmware).
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 in accordance with 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.

Claims (10)

1. A method for processing a service, comprising:
responding to a business processing request aiming at a target search engine, and determining a business scene corresponding to the business processing request;
determining a target service field corresponding to the service scene, wherein the target service field comprises a basic service field and/or a custom service field;
and performing service processing on the service processing request based on the basic service field and/or the custom service field.
2. The method of claim 1, further comprising:
responding to the field configuration operation aiming at the user-defined service field, and displaying a preset service field configuration interface, wherein the preset service field configuration interface comprises a service field configuration item;
receiving field configuration information input based on the service field configuration item, and generating the self-defined service field based on the field configuration information.
3. The method of claim 2, wherein the determining the target traffic field corresponding to the traffic scenario comprises:
and determining a custom service form corresponding to the service scene, determining a service field contained in the custom service form, and taking the service field as a target service field.
4. The method of claim 3, further comprising:
responding to form configuration operation aiming at the self-defined business form, and displaying a preset business form configuration interface, wherein the preset business form configuration interface comprises the basic business field and/or the self-defined business field;
receiving field selection operation aiming at the basic service field and/or the user-defined service field, determining a selected service field, and obtaining a user-defined service form based on the selected service field.
5. The method of claim 4, wherein the custom business form comprises a first business form and a second business form, the method further comprising:
and responding to a form establishing and connecting instruction aiming at the first business form and the second business form, and establishing a mapping relation between a first business field and a second business field according to a preset field mapping relation between the first business field in the first business form and the second business field in the second business form so as to enable the first business form to be associated with the second business form.
6. The method of claim 1, wherein the business process request comprises a data search request, and wherein determining a business scenario corresponding to the business process request in response to the business process request directed to a target search engine comprises:
responding to a data search request aiming at a target search engine, and determining a service scene corresponding to the data search request;
the performing service processing on the service processing request based on the basic service field and/or the custom service field includes:
and generating an engine index of the target search engine based on the basic service field and/or the custom service field, and determining data corresponding to the engine index in the target search engine.
7. The method according to claim 1, wherein the service processing request comprises a data write request, and the data write request carries service data to be written;
the step of determining a service scene corresponding to a service processing request in response to the service processing request for the target search engine comprises:
responding to a data writing request aiming at a target search engine, and determining a service scene corresponding to the data writing request;
the performing service processing on the service processing request based on the basic service field and/or the custom service field includes:
determining service data to be written corresponding to the basic service field and/or the user-defined service field, and respectively writing the service data to be written into the target search engine and a database corresponding to the target search engine.
8. A traffic processing apparatus, comprising:
the system comprises a service scene determining module, a service processing module and a searching module, wherein the service scene determining module is used for responding to a service processing request aiming at a target search engine and determining a service scene corresponding to the service processing request;
a service field determining module, configured to determine a target service field corresponding to the service scenario, where the target service field includes a basic service field and/or a custom service field;
and the service processing module is used for processing the service processing request based on the basic service field and/or the user-defined service field.
9. An electronic device, characterized in that the electronic device comprises:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein, the first and the second end of the pipe are connected with each other,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the business process method of any one of claims 1-7.
10. A computer-readable storage medium, having stored thereon computer instructions for causing a processor to execute a method for processing traffic according to any one of claims 1-7.
CN202211644354.0A 2022-12-20 2022-12-20 Service processing method and device, electronic equipment and storage medium Pending CN115905322A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211644354.0A CN115905322A (en) 2022-12-20 2022-12-20 Service processing method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211644354.0A CN115905322A (en) 2022-12-20 2022-12-20 Service processing method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115905322A true CN115905322A (en) 2023-04-04

Family

ID=86485496

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211644354.0A Pending CN115905322A (en) 2022-12-20 2022-12-20 Service processing method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115905322A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117688919A (en) * 2024-02-04 2024-03-12 蒲惠智造科技股份有限公司 Form definition method, device, storage medium and equipment for SRM system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117688919A (en) * 2024-02-04 2024-03-12 蒲惠智造科技股份有限公司 Form definition method, device, storage medium and equipment for SRM system
CN117688919B (en) * 2024-02-04 2024-05-14 蒲惠智造科技股份有限公司 Form definition method, device, storage medium and equipment for SRM system

Similar Documents

Publication Publication Date Title
CN113364877B (en) Data processing method, device, electronic equipment and medium
CN112783887A (en) Data processing method and device based on data warehouse
CN115905322A (en) Service processing method and device, electronic equipment and storage medium
CN114564149B (en) Data storage method, device, equipment and storage medium
CN116383207A (en) Data tag management method and device, electronic equipment and storage medium
CN116009847A (en) Code generation method, device, electronic equipment and storage medium
CN116028517A (en) Fusion database system and electronic equipment
CN115510036A (en) Data migration method, device, equipment and storage medium
CN115454971A (en) Data migration method and device, electronic equipment and storage medium
CN115309730A (en) Data auditing method and device, electronic equipment and storage medium
CN112887426B (en) Information stream pushing method and device, electronic equipment and storage medium
CN114706610A (en) Business flow chart generation method, device, equipment and storage medium
CN113691403A (en) Topological node configuration method, related device and computer program product
CN114650222B (en) Parameter configuration method, device, electronic equipment and storage medium
CN113569144B (en) Method, device, equipment, storage medium and program product for searching promotion content
CN115455029A (en) Battery replacement data acquisition method and device, electronic equipment and storage medium
CN117234509A (en) Routing management method, device and equipment of front-end page and storage medium
CN116400956A (en) Code merging information determining method and device, electronic equipment and storage medium
CN115168760A (en) Data query method, device and storage medium
CN115951921A (en) Service processing method, device and storage medium
CN117785413A (en) Task forwarding method, device, equipment and storage medium
CN114638935A (en) Method and device for generating dimension monitoring task and monitoring data quality
CN117709902A (en) Material input method, device, equipment and medium based on BOM file
CN113342413A (en) Method, apparatus, device, medium and product for processing components
CN117520368A (en) Query statement determination method, device, equipment, medium and 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