CN111143404A - Service processing method and device - Google Patents

Service processing method and device Download PDF

Info

Publication number
CN111143404A
CN111143404A CN201911230242.9A CN201911230242A CN111143404A CN 111143404 A CN111143404 A CN 111143404A CN 201911230242 A CN201911230242 A CN 201911230242A CN 111143404 A CN111143404 A CN 111143404A
Authority
CN
China
Prior art keywords
service platform
service
information
request
retrieval
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.)
Granted
Application number
CN201911230242.9A
Other languages
Chinese (zh)
Other versions
CN111143404B (en
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.)
Beijing Urban Network Neighbor Information Technology Co Ltd
Original Assignee
Beijing Urban Network Neighbor Information 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 Beijing Urban Network Neighbor Information Technology Co Ltd filed Critical Beijing Urban Network Neighbor Information Technology Co Ltd
Priority to CN201911230242.9A priority Critical patent/CN111143404B/en
Publication of CN111143404A publication Critical patent/CN111143404A/en
Application granted granted Critical
Publication of CN111143404B publication Critical patent/CN111143404B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2453Query optimisation
    • G06F16/24534Query rewriting; Transformation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/248Presentation of query results
    • 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

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computational Linguistics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the invention provides a service processing method and a device, wherein the method comprises the following steps: receiving a retrieval request, wherein the retrieval request is used for inquiring the service information of any service platform in the comprehensive service platform, and the retrieval request carries an interface object type and a request parameter corresponding to any service platform; generating an initial retrieval condition of any service platform according to the request parameters; adapting the data form of any service platform according to the interface object type; packaging the initial retrieval condition into a target retrieval condition of any service platform according to a data form; and correspondingly inputting the target retrieval condition into any service platform for inquiring, and acquiring the service information of any service platform as an inquiry result of the comprehensive service platform for outputting. By converting the client request parameters into retrieval information in a universal data format and retrieving, parameters of any type can be received for development, the traditional development mode is changed, the development efficiency is improved, and the development cost is reduced.

Description

Service processing method and device
Technical Field
The present invention relates to the field of data processing technologies, and in particular, to a service processing method and a service processing apparatus.
Background
At present, in the process of developing a service system, corresponding coding is performed according to different service requirements, a corresponding data model is obtained, and then rendering display is performed through a template or returned JSON is analyzed and displayed.
However, the above solution has the following drawbacks:
1) each service needs to be coded respectively, the query logic cannot be reused to the maximum extent, and the development and maintenance workload is increased.
2) New requirements or service changes require code modification and online deployment, resulting in low efficiency and high risk.
3) Each service is coded by different personnel, the specification is difficult to unify, and the code quality is difficult to guarantee.
Disclosure of Invention
In view of the above problems, embodiments of the present invention are proposed to provide a service processing method and a corresponding service processing apparatus that overcome or at least partially solve the above problems.
In order to solve the above problem, an embodiment of the present invention discloses a service processing method, including: receiving a retrieval request, wherein the retrieval request is used for inquiring service information of any service platform in a comprehensive service platform, and the retrieval request carries an interface object type and a request parameter corresponding to the any service platform;
generating an initial retrieval condition of any service platform according to the request parameter;
adapting the data form of any service platform according to the interface object type;
packaging the initial retrieval condition into a target retrieval condition of any service platform according to the data form;
and correspondingly inputting the target retrieval condition into any service platform for inquiring, and acquiring the service information of any service platform as an inquiry result of the comprehensive service platform for outputting.
Optionally, the obtaining the service information of any service platform as the query result of the integrated service platform and outputting the query result includes:
when the interface object type is adapted to a plurality of result parameters in the service information of any service platform, determining a plurality of target data in the service information according to the result parameters;
and outputting a plurality of target data of the service information as the query result of the integrated service platform.
Optionally, the outputting the multiple target data of the service information as the query result of the integrated service platform includes:
adapting the data rendering condition of any service platform according to the interface object type;
rendering the plurality of target data of the business information according to the data rendering condition;
and outputting the rendered target data as a query result of the integrated service platform.
Optionally, after receiving the retrieval request, the method further includes:
acquiring configuration information corresponding to the interface object type, wherein the configuration information comprises multi-level request information or single-level request information;
when the configuration information includes multi-level request information, the acquiring the service information of any service platform as the query result of the integrated service platform and outputting the query result includes:
acquiring initial service information of any service platform;
and correspondingly inputting the initial service information into any service platform for inquiry, and acquiring the service information of any service platform as an inquiry result of the comprehensive service platform for output.
The embodiment of the invention also discloses a service processing device, which comprises:
the system comprises a request receiving module, a searching module and a searching module, wherein the request receiving module is used for receiving a searching request, the searching request is used for inquiring the service information of any service platform in the comprehensive service platform, and the searching request carries the interface object type and the request parameter corresponding to any service platform;
an initial search condition generating module, configured to generate an initial search condition of any service platform according to the request parameter;
the data form adapting module is used for adapting the data form of any service platform according to the interface object type;
a target retrieval condition encapsulation module, configured to encapsulate the initial retrieval condition as a target retrieval condition of any service platform according to the data form;
and the query module is used for correspondingly inputting the target retrieval condition into any service platform for query, and acquiring the service information of any service platform as a query result of the comprehensive service platform for output.
Optionally, the query module includes:
the target data determining submodule is used for determining a plurality of target data in the service information according to a plurality of result parameters when the interface object type is adapted to the plurality of result parameters in the service information of any service platform;
and the query result output submodule is used for outputting the plurality of target data of the service information as the query result of the comprehensive service platform.
Optionally, the query module includes:
the rendering condition adapter module is used for adapting the data rendering condition of any service platform according to the interface object type;
a rendering submodule, configured to render the plurality of target data of the service information according to the data rendering condition;
and the output sub-module is used for outputting the rendered target data as a query result of the integrated service platform.
Optionally, the apparatus further comprises:
a configuration information obtaining module, configured to obtain configuration information corresponding to the interface object type, where the configuration information includes multi-level request information or single-level request information;
when the configuration information includes multi-level request information, the query module includes:
the initial service information submodule is used for acquiring the initial service information of any service platform;
and the query submodule is used for correspondingly inputting the initial service information into any service platform for querying, acquiring the service information of any service platform and outputting the service information as a query result of the comprehensive service platform.
The embodiment of the invention also discloses an electronic device, which comprises:
one or more processors; and
one or more machine-readable media having instructions stored thereon, which when executed by the one or more processors, cause the electronic device to perform one or more of the method steps as described in embodiments of the invention.
Embodiments of the invention also disclose a computer-readable storage medium having instructions stored thereon, which, when executed by one or more processors, cause the processors to perform one or more of the method steps as described in embodiments of the invention.
The embodiment of the invention has the following advantages:
in the embodiment of the invention, by receiving a retrieval request, generating an initial retrieval condition of any service platform according to a request parameter in the retrieval request, adapting a data form of any service platform according to an interface object type, packaging the initial retrieval condition into a target retrieval condition of any service platform according to the data form, correspondingly inputting the target retrieval condition into any service platform for query, and acquiring service information of any service platform as a query result of the comprehensive service platform for output. The request parameters are converted into the target retrieval conditions in the data form of the adaptive service platform and retrieved, so that the comprehensive service platform can receive any type of parameters for development, the traditional development mode is changed, the development efficiency is improved, and the development cost is reduced. The code is more standard, the system quality is further improved, and the learning cost is reduced; and the online times of the system are reduced, and the maintenance cost and the related risks of the system are reduced.
Drawings
FIG. 1 is a flow chart of steps of an embodiment of a method of service processing of the present invention;
FIG. 2 is a schematic diagram of a business process flow according to an embodiment of the present invention;
fig. 3 is a block diagram of a service processing apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
Referring to fig. 1, a flowchart illustrating steps of an embodiment of a service processing method according to the present invention is shown, which may specifically include the following steps:
step 101, receiving a retrieval request, wherein the retrieval request is used for inquiring service information of any service platform in a comprehensive service platform, and the retrieval request carries an interface object type and a request parameter corresponding to the any service platform;
in the embodiment of the invention, when a user needs to inquire the service information of any service platform in the integrated service platforms, a retrieval request can be sent to the inquiry integrated service platform.
Specifically, the query integrated service platform may include a client and a server, a user interface may be provided on the client of the query integrated service platform, the user interface may include some input boxes, selection boxes, drop-down boxes, and the like for inputting request parameters by a user, and the user interface may include a determination button or a submit button, and the like for determining the request parameters input by the user. When a user inputs request parameters on a user interface of a client and clicks a confirm button or a submit button, a server which is equivalent to a query integrated service platform sends a retrieval request.
In the embodiment of the present invention, the retrieval request may carry an interface object type and a request parameter corresponding to any service platform. The request parameter may be data requested by a user, for example, when a train ticket inquiry service is performed, the request parameter may be an origin and a destination, and a ticket type (e.g., seat ticket, station ticket, sleeper, etc.). The interface object type may be information indicating a type of the service platform, including a system type and a third party interface type, for example, in a train ticket query service, the system type may be an official website channel system type, the third party interface type may be a third party channel system type, and the like.
102, generating an initial retrieval condition of any service platform according to the request parameter;
in the embodiment of the invention, the request parameters can be analyzed, and the initial retrieval condition of any service platform can be generated according to the request parameters.
Specifically, semantic analysis may be performed on the request parameters, the request parameters are analyzed into a set of relational expressions according to the mapping attributes, and the relational expressions are combined according to the set conditions to finally form the initial retrieval conditions. For example, the request parameter may be subjected to single relational expression parsing, range parsing, multi-value parsing, fuzzy matching parsing, and the like, where the single relational expression parsing may parse the request parameter into a single value form, the multi-value parsing may parse the request parameter into an array form, and the range parsing may parse the request parameter into an area form.
103, adapting the data form of any service platform according to the interface object type;
in the embodiment of the present invention, in order to avoid the need of performing different encoding for different service requirements, the interface object type and the data format adapted to the interface object type may be set in the configuration file, so that the data format adapted to the interface object type may be directly obtained to set the data for retrieval input when performing service processing.
Specifically, when the interface object type is a system type, database retrieval, ES (distributed search, distributed full-text search engine) retrieval, and the like may be performed, and the data form adapted to the interface object type may be: text format in character form. When the interface object type is an interface type, HTTP (hypertext transfer Protocol ) interface retrieval and Web service (Web server) interface retrieval may be performed, and the data form adapted to the interface object type may be: a compressed format in the form of binary number, a JSON format, and an XML (Extensible Markup Language) format, and the like.
Step 104, packaging the initial retrieval condition into a target retrieval condition of any service platform according to the data form;
in the embodiment of the invention, the initial retrieval condition can be subjected to standardization processing, and the initial retrieval condition is packaged into the target retrieval condition in a data form required by the adaptive service platform, so that the subsequent retrieval process can be smoothly carried out. For example, the initial search condition may be packaged as a target search condition in a text format in the form of characters, or the initial search condition may be packaged as a target search condition in a compressed format in the form of binary numbers.
And 105, correspondingly inputting the target retrieval condition into any service platform for query, and acquiring the service information of any service platform as a query result of the comprehensive service platform for output.
In the embodiment of the invention, the target retrieval condition can be directly and correspondingly input into any service platform for query, and the service information of any service platform is acquired and output as the query result of the comprehensive service platform.
Specifically, an interface and/or a service corresponding to the service platform may be called to query the target retrieval condition, so as to obtain the service information of the service platform and output the service information as a query result of the integrated service platform. It should be noted that, when the corresponding interface and/or service of the service platform is called, the call information of the corresponding interface and/or service of the service platform may be collected and recorded, such as information of call amount, call frequency, call time consumption, and number of failures. By collecting and recording the calling information of the corresponding interface and/or service of the service platform, the problems in the calling process can be found in time, so that the retrieval process is optimized, and the user experience is improved.
As an example, in a business of making a train ticket query, the target retrieval condition may be: origin and destination, the query result may be: train number list, type, departure time, arrival time, mileage, ticket price and other information.
In a preferred embodiment of the present invention, the step 105 may comprise the following sub-steps:
when the interface object type is adapted to a plurality of result parameters in the service information of any service platform, determining a plurality of target data in the service information according to the result parameters; and outputting a plurality of target data of the service information as the query result of the integrated service platform.
Wherein, the target data can be data to be displayed on the user interface of the client, the data to be displayed by different service platforms is different,
in the embodiment of the invention, when the interface object type is adapted to a plurality of result parameters in the service information of any service platform, a plurality of target data in the service information are determined according to the plurality of result parameters, and the plurality of target data of the service information are output as the query result of the integrated service platform.
Specifically, it may be determined whether the interface object type is adapted to multiple result parameters in the service information of any service platform, and if the interface object type is adapted to multiple result parameters in the service information of any service platform, multiple target data in the service information may be determined according to the multiple result parameters, and the multiple target data of the service information may be output as a query result of the integrated service platform. For example, 5 items of data a, b, c, d, e are included in the retrieved service data, and the data that the current service platform needs to display is the item a and the item c, then the item a and the item c may be determined as target data, and the item a and the item c may be output as the query result of the integrated service platform.
In a preferred embodiment of the present invention, the step 105 may comprise the following sub-steps:
adapting the data rendering condition of any service platform according to the interface object type; rendering the plurality of target data of the business information according to the data rendering condition; and outputting the rendered target data as a query result of the integrated service platform.
The data rendering condition may indicate a specific format of the data displayed on the integrated service platform, such as a JSON format, a PDF format, an EXCEL format, an HTML format, and other specific formats.
In the embodiment of the invention, the obtained service data can be packaged into a required format according to the data rendering condition required by the service platform. Specifically, the data rendering condition of any service platform can be adapted according to the interface object type, and a plurality of target data of the service information are rendered according to the data rendering condition; and outputting the rendered target data as a query result of the integrated service platform.
For example, when the interface object type is a system type, and the adapted data rendering condition is in an HTML format, the plurality of target data of the service information can be rendered as data in the HTML format; when the interface object type is the interface type, the adapted data rendering condition is the JSON format, and then the plurality of target data of the service information can be rendered into the data of the JSON format.
In a preferred embodiment of the present invention, after step 101, the following steps may be further included:
acquiring configuration information corresponding to the interface object type, wherein the configuration information comprises multi-level request information or single-level request information.
In some service scenarios, the service information obtained by the preliminary query may need to be further subjected to content expansion. Such as: basic information (such as school number information) of a student is inquired, and information such as examination scores and attendance of the student is acquired by taking part of or all of the information as retrieval conditions, so that all required data can be acquired through multiple times of retrieval.
In the embodiment of the invention, when the query result needs to be expanded, multi-level request information can be configured in the configuration information; when the result of the retrieval does not need to be expanded, single-level request information may be configured in the configuration information.
When multi-level request information is included in the configuration information, the step 105 may include the following sub-steps:
acquiring initial service information of any service platform; and correspondingly inputting the initial service information into any service platform for inquiry, and acquiring the service information of any service platform as an inquiry result of the comprehensive service platform for output.
The initial service information may be service information queried for the first time.
In the embodiment of the present invention, when the configuration information includes multi-level request information, the target retrieval condition may be correspondingly input to any service platform for querying, to obtain initial service information of any service platform, and then the initial service information is correspondingly input to any service platform for querying, to obtain service information of any service platform and output as a query result of the integrated service platform.
In the embodiment of the present invention, the configuration information may further include information such as mandatory item information, maximum length information, numerical range information, numerical information, and date format information.
When the request parameters are illegal, the query may fail, which causes unnecessary resource consumption, for example, in the scene of train ticket query service, when the request parameters only have destinations and do not have origins, the train ticket information required by the user cannot be queried. Therefore, after the retrieval request is received, the configuration information can be obtained to verify the request parameter in the retrieval request according to the configuration information, when the verification request parameter is legal, the subsequent logic is continuously executed, and when the verification request parameter is illegal, the prompt information can be generated without executing the subsequent logic, so that the related resource consumption is reduced. For example, the mandatory item information includes item a, item B and item C, and if only item B and item C are included in the request parameters, the request parameters are considered to be illegal; the date format information is year and month information, and if the date in the request parameter is not year, the request parameter is considered to be illegal.
In the embodiment of the invention, the query result can also be returned to the client, so that the client can display the query result.
In the embodiment of the present invention, the server side of the integrated service platform may further perform processing such as starting, stopping, system monitoring, request analysis, and the like on the service flow. For example, if the service process of a service process is stopped, the corresponding service process cannot respond to the service operation of the user, and returns data required by the user to the user.
Fig. 2 is a schematic diagram illustrating a service processing flow according to an embodiment of the present invention, where a retrieval request is received, a request parameter in the retrieval request is verified, when the verification request parameter is not legal, prompt information is generated and returned to a client for displaying, when the verification request parameter is legal, the request parameter may be analyzed to generate an initial retrieval condition, then the initial retrieval condition is subjected to parameter normalization processing to generate a target retrieval condition, an interface and/or a service is called to query the target retrieval condition to obtain service information of any service platform, and part of or all of data in the service information is bound to serve as a query result. And judging whether the query result needs to be expanded, if so, taking the query result as a request parameter, returning to the step of executing parameter analysis, and if not, rendering the query result and returning the rendered query result to the client for display.
In the embodiment of the invention, by receiving a retrieval request, generating an initial retrieval condition of any service platform according to a request parameter in the retrieval request, adapting a data form of any service platform according to an interface object type, packaging the initial retrieval condition into a target retrieval condition of any service platform according to the data form, correspondingly inputting the target retrieval condition into any service platform for query, and acquiring service information of any service platform as a query result of the comprehensive service platform for output. The request parameters are converted into the target retrieval conditions in the data form of the adaptive service platform and retrieved, so that the comprehensive service platform can receive any type of parameters for development, the traditional development mode is changed, the development efficiency is improved, and the development cost is reduced. The code is more standard, the system quality is further improved, and the learning cost is reduced; and the online times of the system are reduced, and the maintenance cost and the related risks of the system are reduced.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the illustrated order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments of the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
Referring to fig. 3, a block diagram of a service processing apparatus according to an embodiment of the present invention is shown, and specifically includes the following modules:
a request receiving module 301, configured to receive a retrieval request, where the retrieval request is used to query service information of any service platform in an integrated service platform, and the retrieval request carries an interface object type and a request parameter corresponding to the any service platform;
an initial search condition generating module 302, configured to generate an initial search condition of any service platform according to the request parameter;
a data format adapting module 303, configured to adapt a data format of any service platform according to the interface object type;
a target retrieval condition encapsulation module 304, configured to encapsulate the initial retrieval condition into a target retrieval condition of any service platform according to the data form;
the query module 305 is configured to correspondingly input the target retrieval condition into any service platform for querying, and obtain service information of any service platform to output as a query result of the integrated service platform.
In a preferred embodiment of the present invention, the query module 305 includes:
the target data determining submodule is used for determining a plurality of target data in the service information according to a plurality of result parameters when the interface object type is adapted to the plurality of result parameters in the service information of any service platform;
and the query result output submodule is used for outputting the plurality of target data of the service information as the query result of the comprehensive service platform.
In a preferred embodiment of the present invention, the query module 305 includes:
the rendering condition adapter module is used for adapting the data rendering condition of any service platform according to the interface object type;
a rendering submodule, configured to render the plurality of target data of the service information according to the data rendering condition;
and the output sub-module is used for outputting the rendered target data as a query result of the integrated service platform.
In a preferred embodiment of the present invention, the apparatus further comprises:
a configuration information obtaining module, configured to obtain configuration information corresponding to the interface object type, where the configuration information includes multi-level request information or single-level request information;
when the configuration information includes multi-level request information, the querying module 305 includes:
the initial service information submodule is used for acquiring the initial service information of any service platform;
and the query submodule is used for correspondingly inputting the initial service information into any service platform for querying, acquiring the service information of any service platform and outputting the service information as a query result of the comprehensive service platform.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
An embodiment of the present invention further provides an electronic device, including:
one or more processors; and
one or more machine-readable media having instructions stored thereon, which when executed by the one or more processors, cause the electronic device to perform steps of a method as described by embodiments of the invention.
Embodiments of the present invention also provide a computer-readable storage medium having stored thereon instructions, which, when executed by one or more processors, cause the processors to perform the steps of the method according to embodiments of the present invention.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
The service processing method and the service processing apparatus provided by the present invention are introduced in detail, and a specific example is applied in the text to explain the principle and the implementation of the present invention, and the description of the above embodiment is only used to help understanding the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. A method for processing a service, comprising:
receiving a retrieval request, wherein the retrieval request is used for inquiring service information of any service platform in a comprehensive service platform, and the retrieval request carries an interface object type and a request parameter corresponding to the any service platform;
generating an initial retrieval condition of any service platform according to the request parameter;
adapting the data form of any service platform according to the interface object type;
packaging the initial retrieval condition into a target retrieval condition of any service platform according to the data form;
and correspondingly inputting the target retrieval condition into any service platform for inquiring, and acquiring the service information of any service platform as an inquiry result of the comprehensive service platform for outputting.
2. The method according to claim 1, wherein the obtaining the service information of any service platform as the query result output of the integrated service platform comprises:
when the interface object type is adapted to a plurality of result parameters in the service information of any service platform, determining a plurality of target data in the service information according to the result parameters;
and outputting a plurality of target data of the service information as the query result of the integrated service platform.
3. The method according to claim 2, wherein the outputting the plurality of target data of the service information as the query result of the integrated service platform comprises:
adapting the data rendering condition of any service platform according to the interface object type;
rendering the plurality of target data of the business information according to the data rendering condition;
and outputting the rendered target data as a query result of the integrated service platform.
4. The method of claim 1, after receiving the retrieval request, further comprising:
acquiring configuration information corresponding to the interface object type, wherein the configuration information comprises multi-level request information or single-level request information;
when the configuration information includes multi-level request information, the acquiring the service information of any service platform as the query result of the integrated service platform and outputting the query result includes:
acquiring initial service information of any service platform;
and correspondingly inputting the initial service information into any service platform for inquiry, and acquiring the service information of any service platform as an inquiry result of the comprehensive service platform for output.
5. A traffic processing apparatus, comprising:
the system comprises a request receiving module, a searching module and a searching module, wherein the request receiving module is used for receiving a searching request, the searching request is used for inquiring the service information of any service platform in the comprehensive service platform, and the searching request carries the interface object type and the request parameter corresponding to any service platform;
an initial search condition generating module, configured to generate an initial search condition of any service platform according to the request parameter;
the data form adapting module is used for adapting the data form of any service platform according to the interface object type;
a target retrieval condition encapsulation module, configured to encapsulate the initial retrieval condition as a target retrieval condition of any service platform according to the data form;
and the query module is used for correspondingly inputting the target retrieval condition into any service platform for query, and acquiring the service information of any service platform as a query result of the comprehensive service platform for output.
6. The apparatus of claim 5, wherein the query module comprises:
the target data determining submodule is used for determining a plurality of target data in the service information according to a plurality of result parameters when the interface object type is adapted to the plurality of result parameters in the service information of any service platform;
and the query result output submodule is used for outputting the plurality of target data of the service information as the query result of the comprehensive service platform.
7. The apparatus of claim 6, wherein the query module comprises:
the rendering condition adapter module is used for adapting the data rendering condition of any service platform according to the interface object type;
a rendering submodule, configured to render the plurality of target data of the service information according to the data rendering condition;
and the output sub-module is used for outputting the rendered target data as a query result of the integrated service platform.
8. The apparatus of claim 7, further comprising:
a configuration information obtaining module, configured to obtain configuration information corresponding to the interface object type, where the configuration information includes multi-level request information or single-level request information;
when the configuration information includes multi-level request information, the query module includes:
the initial service information submodule is used for acquiring the initial service information of any service platform;
and the query submodule is used for correspondingly inputting the initial service information into any service platform for querying, acquiring the service information of any service platform and outputting the service information as a query result of the comprehensive service platform.
9. An electronic device, comprising:
one or more processors; and
one or more machine readable media having instructions stored thereon, which when executed by the one or more processors, cause the electronic device to perform the steps of the method of one or more of claims 1-4.
10. A computer-readable storage medium having stored thereon instructions, which, when executed by one or more processors, cause the processors to perform the steps of the method of one or more of claims 1-4.
CN201911230242.9A 2019-12-04 2019-12-04 Service processing method and device Active CN111143404B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911230242.9A CN111143404B (en) 2019-12-04 2019-12-04 Service processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911230242.9A CN111143404B (en) 2019-12-04 2019-12-04 Service processing method and device

Publications (2)

Publication Number Publication Date
CN111143404A true CN111143404A (en) 2020-05-12
CN111143404B CN111143404B (en) 2023-08-11

Family

ID=70517661

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911230242.9A Active CN111143404B (en) 2019-12-04 2019-12-04 Service processing method and device

Country Status (1)

Country Link
CN (1) CN111143404B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112148783A (en) * 2020-09-28 2020-12-29 微医云(杭州)控股有限公司 Data exchange method, device and equipment
CN114997111A (en) * 2022-08-08 2022-09-02 太平金融科技服务(上海)有限公司深圳分公司 Service processing method, device, computer equipment and storage medium

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070240048A1 (en) * 2006-03-31 2007-10-11 Microsoft Corporation A standard communication interface for server-side filter objects
CN102456030A (en) * 2010-10-22 2012-05-16 北大方正集团有限公司 Information inquiry method, device and system
US20160350367A1 (en) * 2015-05-27 2016-12-01 Mark Fischer Mechanisms For Querying Disparate Data Storage Systems
CN106547902A (en) * 2016-11-07 2017-03-29 山东浪潮云服务信息科技有限公司 A kind of method that business platform and inquiry business are realized
US20170193042A1 (en) * 2015-12-30 2017-07-06 Facebook, Inc. Optimistic data fetching and rendering
CN107122418A (en) * 2017-03-31 2017-09-01 北京奇艺世纪科技有限公司 A kind of querying method and device
CN107943951A (en) * 2017-11-24 2018-04-20 中钞信用卡产业发展有限公司杭州区块链技术研究院 A kind of search method and system of block chain business information
CN108681593A (en) * 2018-05-16 2018-10-19 青岛海信移动通信技术股份有限公司 Service data retrieval method and device
CN108763527A (en) * 2018-05-31 2018-11-06 北京明朝万达科技股份有限公司 A kind of searching method and device of business datum
CN109815351A (en) * 2018-12-27 2019-05-28 深圳云天励飞技术有限公司 Information query method and Related product
CN110399374A (en) * 2019-07-05 2019-11-01 东软集团股份有限公司 Data retrieval method, device, storage medium and electronic equipment
WO2019223390A1 (en) * 2018-05-21 2019-11-28 阿里巴巴集团控股有限公司 Authorization guidance data processing method, apparatus, device and system

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070240048A1 (en) * 2006-03-31 2007-10-11 Microsoft Corporation A standard communication interface for server-side filter objects
CN102456030A (en) * 2010-10-22 2012-05-16 北大方正集团有限公司 Information inquiry method, device and system
US20160350367A1 (en) * 2015-05-27 2016-12-01 Mark Fischer Mechanisms For Querying Disparate Data Storage Systems
US20170193042A1 (en) * 2015-12-30 2017-07-06 Facebook, Inc. Optimistic data fetching and rendering
CN106547902A (en) * 2016-11-07 2017-03-29 山东浪潮云服务信息科技有限公司 A kind of method that business platform and inquiry business are realized
CN107122418A (en) * 2017-03-31 2017-09-01 北京奇艺世纪科技有限公司 A kind of querying method and device
CN107943951A (en) * 2017-11-24 2018-04-20 中钞信用卡产业发展有限公司杭州区块链技术研究院 A kind of search method and system of block chain business information
CN108681593A (en) * 2018-05-16 2018-10-19 青岛海信移动通信技术股份有限公司 Service data retrieval method and device
WO2019223390A1 (en) * 2018-05-21 2019-11-28 阿里巴巴集团控股有限公司 Authorization guidance data processing method, apparatus, device and system
CN108763527A (en) * 2018-05-31 2018-11-06 北京明朝万达科技股份有限公司 A kind of searching method and device of business datum
CN109815351A (en) * 2018-12-27 2019-05-28 深圳云天励飞技术有限公司 Information query method and Related product
CN110399374A (en) * 2019-07-05 2019-11-01 东软集团股份有限公司 Data retrieval method, device, storage medium and electronic equipment

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
ALEKSEI VOIT;ALEKSEI STANKUS;SHAMIL MAGOMEDOV;IRINA IVANOVA: "Big Data Processing for Full-Text Search and Visualization with Elasticsearch", 《JANUARY 2017INTERNATIONAL JOURNAL OF ADVANCED COMPUTER SCIENCE AND APPLICATIONS 》, vol. 8, no. 12, pages 76 - 83 *
谢智明: "凸轮轴数控磨削云平台的研究及其软件开发", 《中国博士学位论文全文数据库 工程科技I辑》, pages 022 - 139 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112148783A (en) * 2020-09-28 2020-12-29 微医云(杭州)控股有限公司 Data exchange method, device and equipment
CN114997111A (en) * 2022-08-08 2022-09-02 太平金融科技服务(上海)有限公司深圳分公司 Service processing method, device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN111143404B (en) 2023-08-11

Similar Documents

Publication Publication Date Title
US20230351398A1 (en) Heuristic money laundering detection engine
US20120330662A1 (en) Input supporting system, method and program
CN112836018A (en) Method and device for processing emergency plan
CN111143404A (en) Service processing method and device
CN110692042A (en) Platform selection to perform requested actions in an audio-based computing environment
JP2022028881A (en) Method of automatically generating advertisements, apparatus, device, and computer-readable storage medium
US9390075B2 (en) Method and apparatus for acquiring content information of a web page
EP3640885A1 (en) Legal information processing system, method, and program
CN117251547A (en) User question response method and device, equipment and medium thereof
JP4064152B2 (en) Electronic form automatic input device and automatic input program
CN117149140B (en) Method, device and related equipment for generating coded architecture information
CN112990868A (en) Method, system, equipment and storage medium for automatic vehicle insurance claims
CN116701604A (en) Question and answer corpus construction method and device, question and answer method, equipment and medium
CN116738293A (en) Service evaluation processing method and device and electronic equipment
CN112487771B (en) Report generation method, report generation device and terminal
CN114282908A (en) Evaluation data processing method, apparatus, device, medium, and program product
CA3104292C (en) Systems and methods for identifying and linking events in structured proceedings
CN111177501B (en) Label processing method, device and system
CN104063488A (en) Semi-automatic learning type form feature extraction method
CN111861610A (en) Data processing method and device, electronic equipment and storage medium
CN116361341B (en) Crowd-sourced circle selection method, crowd-sourced circle selection device, computer equipment and medium
CN117171185B (en) Logistics data changing method and related equipment based on industrial identification
CN117131195A (en) Form classification method and device, electronic equipment and storage medium
CN117094602A (en) Parking lot scoring method, parking lot scoring system, equipment and storage medium
CN116610674A (en) Information processing method, device, equipment and storage medium

Legal Events

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