CN114461265A - Business processing method and device, electronic equipment and storage medium - Google Patents

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

Info

Publication number
CN114461265A
CN114461265A CN202111599909.XA CN202111599909A CN114461265A CN 114461265 A CN114461265 A CN 114461265A CN 202111599909 A CN202111599909 A CN 202111599909A CN 114461265 A CN114461265 A CN 114461265A
Authority
CN
China
Prior art keywords
service
sub
component
execution logic
target
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
CN202111599909.XA
Other languages
Chinese (zh)
Inventor
郑炜
高梦洁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet 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 Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN202111599909.XA priority Critical patent/CN114461265A/en
Publication of CN114461265A publication Critical patent/CN114461265A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/36Software reuse

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Stored Programmes (AREA)

Abstract

The present disclosure relates to a service processing method, device, electronic device and storage medium, including: receiving a service request corresponding to a target service, wherein the service request comprises a service identifier, acquiring a process corresponding to the service identifier from a memory, determining a component contained in the process, determining the component based on a first sub-service in the target service and execution logic information of the first sub-service, and executing the target service based on the component. The process created by the embodiment of the application can liberate repeated labor force, can achieve the purpose of business only through configuration, quickly responds to business requirements and quickens the publishing cycle of the business.

Description

Business processing method and device, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of internet technologies, and in particular, to a service processing method and apparatus, an electronic device, and a storage medium.
Background
With diversification of service demands and service operator scenes, how to quickly determine a flow for realizing a service and accelerate the service release speed are more and more important in service implementation.
Disclosure of Invention
The present disclosure provides a service processing method, a device, an electronic device and a storage medium, and the technical scheme of the present disclosure is as follows:
according to a first aspect of the embodiments of the present disclosure, a method for processing a service is provided, which includes:
receiving a service request corresponding to a target service, wherein the service request comprises a service identifier;
acquiring a flow corresponding to the service identifier from a memory;
determining a component contained in the flow; the component determines based on a first sub-service in the target service and the execution logic information of the first sub-service;
the target business is executed on a component basis.
In some possible embodiments, the method further comprises:
acquiring a target service;
determining a first sub-service in the target service and the execution logic information of the first sub-service;
determining a component based on the first sub-service and the execution logic information of the first sub-service;
creating a flow according to the component;
storing the flow in a memory;
and determining a service identifier corresponding to the flow.
In some possible embodiments, determining the first sub-service of the target service comprises:
if the first sub-service comprises a second sub-service, determining the execution logic information of the second sub-service;
determining a subcomponent based on the second sub-service and the execution logic information of the second sub-service;
a first sub-service is determined based on the sub-components.
In some possible embodiments, the determining of the component based on the first sub-service and the execution logic information of the first sub-service comprises:
and if the execution logic information of the first sub-service is the project calling logic, determining the component to be the project calling component based on the execution logic information of the first sub-service and the first sub-service.
In some possible embodiments, the determining of the component based on the first sub-service and the execution logic information of the first sub-service comprises:
and if the execution logic information of the first sub-service is judgment logic, determining the component as a judgment component based on the execution logic information of the first sub-service and the first sub-service.
In some possible embodiments, the determining of the component based on the first sub-service and the execution logic information of the first sub-service comprises:
and if the execution logic information of the first sub-service is the serial-parallel combination logic, determining that the component is the serial-parallel combination component based on the execution logic information of the first sub-service and the first sub-service.
In some possible embodiments, the determining of the component based on the first sub-service and the execution logic information of the first sub-service comprises:
and if the execution logic information of the first sub-service is termination logic, determining the component to be a termination component based on the execution logic information of the first sub-service and the first sub-service.
In some possible embodiments, the method further comprises:
determining a target sub-service to be operated in the target service;
determining target execution logic information of the operated target sub-service;
determining the realization capability description information of the operated target sub-service based on the operated target sub-service and the target execution logic information;
determining a target component based on the implementation capability description information of the operated target sub-service;
and updating the flow according to the target component.
In some possible embodiments, the target sub-service to be operated includes a target sub-service to be deleted, a target sub-service to be added, or a target sub-service to be modified.
According to a second aspect of the embodiments of the present disclosure, there is provided a service processing apparatus, including:
the receiving module is configured to execute a service request corresponding to a receiving target service, and the service request comprises a service identifier;
the flow acquisition module is configured to execute a flow corresponding to the service identifier acquired from the memory;
a component determination module configured to execute a component included in the determination flow; the component determines based on a first sub-service in the target service and the execution logic information of the first sub-service;
a service execution module configured to execute the component-based execution target service.
In some possible embodiments, the apparatus further comprises:
a service acquisition module configured to perform acquisition of a target service;
the sub-service determining module is configured to execute and determine a first sub-service in the target service and the execution logic information of the first sub-service;
a component determination module configured to execute an execution logic information determination component based on the first sub-service and the first sub-service;
a flow creation module configured to execute creating a flow from the component;
the saving module is configured to save the flow in the memory;
and the identification determining module is configured to execute the service identification corresponding to the determined flow.
In some possible embodiments, the sub-service determination module is configured to perform:
if the first sub-service comprises a second sub-service, determining the execution logic information of the second sub-service;
determining a subcomponent based on the second sub-service and the execution logic information of the second sub-service;
a first sub-service is determined based on the sub-components.
In some possible embodiments, the component determining module is configured to determine that the component is the item calling component based on the execution logic information of the first sub-service and the item calling logic if the execution logic information of the first sub-service is the item calling logic.
In some possible embodiments, the component determination module is configured to determine that the component is the determination component based on the execution logic information of the first sub-service and the execution logic information of the first sub-service if the execution logic information of the first sub-service is the determination logic.
In some possible embodiments, the component determining module is configured to determine that the component is a serial-parallel combination component based on the execution logic information of the first sub-service and the execution logic information of the first sub-service if the execution logic information of the first sub-service is serial-parallel combination logic.
In some possible embodiments, the component determination module is configured to perform, if the execution logic information of the first sub-service is the termination logic, determining based on the execution logic information of the first sub-service and the first sub-service
A component determination module configured to execute that the component determined based on the fourth implementation capability description information is a termination component.
In some possible embodiments, the apparatus further comprises:
the sub-service determining module is configured to execute the determination of the target sub-service to be operated in the target service; determining target execution logic information of the operated target sub-service;
the description information determining module is configured to execute the realization capability description information of the target sub-service after the operation based on the target sub-service after the operation and the target execution logic information;
a component determination module configured to perform determination of a target component based on the implementation capability description information of the operated target sub-service;
a flow update module configured to perform updating a flow according to the target component.
In some possible embodiments, the target sub-service to be operated includes a target sub-service to be deleted, a target sub-service to be added, or a target sub-service to be modified.
According to a third aspect of the embodiments of the present disclosure, there is provided an electronic apparatus including: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to execute the instructions to implement the method of any one of the first aspect as described above.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium, wherein instructions, when executed by a processor of an electronic device, enable the electronic device to perform the method of any one of the first aspects of the embodiments of the present disclosure.
According to a fifth aspect of embodiments of the present disclosure, there is provided a computer program product comprising a computer program, the computer program being stored in a readable storage medium, from which at least one processor of a computer device reads and executes the computer program, causing the computer device to perform the method of any one of the first aspects of embodiments of the present disclosure.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects:
receiving a service request corresponding to a target service, wherein the service request comprises a service identifier, acquiring a process corresponding to the service identifier from a memory, determining a component contained in the process, determining the component based on a first sub-service in the target service and execution logic information of the first sub-service, and executing the target service based on the component. The process created by the embodiment of the application can liberate repeated labor force, can achieve the purpose of business only through configuration, quickly responds to business requirements and quickens the publishing cycle of the business.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure and are not to be construed as limiting the disclosure.
FIG. 1 is a schematic diagram illustrating an application environment in accordance with an illustrative embodiment;
FIG. 2 is a flow diagram illustrating a method of business processing in accordance with an exemplary embodiment;
FIG. 3 is a flow chart illustrating a flow creation method in accordance with an exemplary embodiment;
FIG. 4 is a flow diagram illustrating a method for sub-service determination in accordance with an exemplary embodiment;
FIG. 5 is a schematic flow chart diagram illustrating an exemplary embodiment;
FIG. 6 is a flow diagram illustrating a flow update in accordance with an exemplary embodiment;
FIG. 7 is a block diagram illustrating a traffic processing device in accordance with an exemplary embodiment;
FIG. 8 is a block diagram illustrating an electronic device for business processing in accordance with an exemplary embodiment.
Detailed Description
In order to make the technical solutions of the present disclosure better understood by those of ordinary skill in the art, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the above-described drawings 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 disclosure described herein are capable of operation in sequences other than those illustrated or otherwise described herein. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
All data about a user in the present application are data authorized by the user.
Referring to fig. 1, fig. 1 is a schematic diagram illustrating an application environment of a service processing method according to an exemplary embodiment, and as shown in fig. 1, the application environment may include a server 01 and a client 02.
In some possible embodiments, the server 01 may be a server that sends the process creation SDK software development kit to the client. The cloud server system comprises an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, and can also be a cloud server for providing basic cloud computing services such as cloud service, a cloud database, cloud computing, cloud functions, cloud storage, Network service, cloud communication, middleware service, domain name service, security service, CDN (Content Delivery Network), big data and an artificial intelligence platform. The operating system running on the server may include, but is not limited to, an android system, an IOS system, linux, windows, Unix, and the like.
In some possible embodiments, the client 02 may include, but is not limited to, a smartphone, a desktop computer, a tablet computer, a laptop computer, a smart speaker, a digital assistant, an Augmented Reality (AR)/Virtual Reality (VR) device, a smart wearable device, and the like. The software running on the client may also be an application program, an applet, or the like. Alternatively, the operating system running on the client may include, but is not limited to, an android system, an IOS system, linux, windows, Unix, and the like.
Specifically, the client 02 may receive a service request corresponding to a target service, where the service request includes a service identifier, obtain a flow corresponding to the service identifier from a memory, determine a component included in the flow, determine, by the component, based on a first sub-service in the target service and execution logic information of the first sub-service, and execute the target service based on the component.
In addition, it should be noted that fig. 1 shows only one application environment of the service processing method provided by the present disclosure, and in practical applications, other application environments may also be included.
Fig. 2 is a flowchart illustrating a service processing method according to an exemplary embodiment, and as shown in fig. 2, the service processing method may be applied to a client and may also be applied to other node devices, such as a server, and includes the following steps:
in step S201, a service request corresponding to a target service is received, where the service request includes a service identifier.
In the embodiment of the application, the client can receive the service requests corresponding to the target services sent by other clients and can also receive the service requests input through the input device.
In step S202, a process corresponding to the service identifier is obtained from the memory.
In an optional embodiment, the client may determine, by the process engine, the process identifier corresponding to the service identifier, and further obtain, from the memory, the process corresponding to the process identifier.
In step S203, components included in the flow are determined, and the components are determined based on the first sub-service in the target service and the execution logic information of the first sub-service.
In this embodiment, the client may determine the component included in the flow by using the flow, where the component is determined based on the first sub-service in the target service and the execution logic information of the first sub-service.
In step S204, the target service is executed on a component basis.
The client can utilize the component to perform the target service.
In the embodiment of the present application, before applying steps S201 to S204 and executing a target service through a component in a flow, a flow including the component needs to be created.
In the embodiment of the present application, before a client receives a service request corresponding to a target service, a method for creating a flow is further provided in the embodiment of the present application. FIG. 3 is a flowchart illustrating a flow creation method according to an exemplary embodiment, as shown in FIG. 3, including the steps of:
in step S301, a target service is acquired.
In an alternative embodiment, the acquiring the target service may be acquiring identification information of the target service.
In another optional embodiment, the obtaining of the target service may be obtaining service description information of the target service, for example, may include description information of the entire service of the target service, may also include description information of each sub-service in the target service, and may also include identification information of each sub-service.
In step S302, a first sub-service in the target service and execution logic information of the first sub-service are determined.
Optionally, after obtaining the target service, the client may split the target service to obtain a sub-service in the target service, that is, a first sub-service.
Specifically, after acquiring the identification information of the target service, the client may acquire the service description information of the target service based on the identification information. If the obtained service description information of the target service is the description information of the whole service, the description information of the whole service can be split to obtain a first sub-service in the target service, and if the obtained service description information of the target service is the description information of each sub-service, the first sub-service in the target service can be directly obtained.
In this embodiment, the client may determine the execution logic information of the first sub-service from the description information of the first sub-service.
In an optional embodiment, the target service may include one service, and may be further split into a plurality of first sub-services. In step S303, a component is determined based on the first sub service and the execution logic information of the first sub service.
In the embodiment of the present application, the execution logic information may include various types, such as item call logic, judgment logic, serial-parallel combination logic, and termination logic.
In an alternative embodiment, if the execution logic information of the first sub-service is item call logic, the component is determined to be an item call component, such as rpc component, based on the execution logic information of the first sub-service and the first sub-service, of course, the rpc component is only one alternative call component, and other call components may also exist.
The item calling logic means that the first sub-service includes execution logic information that the sub-service needs to call a service to execute.
In another optional embodiment, if the execution logic information of the first sub-service is the judgment logic, the component is determined to be the judgment component, such as an ifelse component, based on the execution logic information of the first sub-service and the first sub-service.
The judgment logic means that the first sub-service includes the following execution logic information: and if the A sub-service is successfully executed, the B sub-service is continuously executed, otherwise, the operation is directly returned. Alternatively, the execution logic information of both sub-services a and B may invoke logic for the project,
in another optional embodiment, if the execution logic information of the first sub-service is a serial-parallel combination logic, the component is determined to be a serial-parallel combination component, such as a phase component, based on the execution logic information of the first sub-service and the first sub-service.
Optionally, if the execution logic information of the first sub service is serial combinational logic, the component is determined to be a serial combinational component, such as a serial phase component, based on the execution logic information of the first sub service and the first sub service. If the execution logic information of the first sub-service is parallel combinational logic, determining the component to be a parallel combinational component, such as a parallel phase component, based on the execution logic information of the first sub-service and the first sub-service.
The serial combinational logic means that the first sub-service includes the following execution logic information: and executing a plurality of sub-services, such as A, B and the plurality of sub-services C in parallel, and combining output results of the plurality of sub-services A, B and the plurality of sub-services C into one external output. The parallel combinational logic means that the first sub-service contains the following execution logic information: and in the serial stage, the judgment of the service result is supported, the execution is continued after the success, otherwise, the execution is directly stopped, and an error code is returned.
In another optional embodiment, if the execution logic information of the first sub-service is termination logic, the component is determined to be a termination component, such as a terminate component, based on the execution logic information of the first sub-service and the first sub-service.
Wherein, the termination logic means that the first sub-service includes the following execution logic information: if the result of a certain sub-service does not satisfy the condition, the execution of the sub-service is terminated in advance.
In an alternative embodiment, the first sub-service in the target service may be obtained by performing a preliminary split on the target service. Optionally, each first sub-service may further include a plurality of components of the second sub-service.
Fig. 4 is a flowchart illustrating a method for determining a sub-service according to an exemplary embodiment, and as shown in fig. 4, the method includes the following steps:
in step S401, if the first sub-service includes the second sub-service, the execution logic information of the second sub-service is determined.
In this embodiment, if the first sub-service includes a plurality of second sub-services, the client may determine execution logic information for each of the second sub-services.
In step S402, a subcomponent is determined based on the second sub service and the execution logic information of the second sub service.
Optionally, when the client determines the execution logic information of each second sub-service, the sub-component corresponding to each second sub-service may be determined based on the execution logic information of the second sub-services and the second sub-services.
In step S403, a first sub-service is determined based on the sub-components.
The client may then determine the first sub-service based on the sub-component corresponding to each second sub-service.
In step S304, a flow is created from the component.
As such, the client may create a flow based on the determined components.
Fig. 5 is a schematic flow diagram illustrating an exemplary embodiment, as shown in fig. 5, including a flow of components such as component 1, component 2, component 3, etc., and further including a flow of components such as component a, component b, component c, etc. Optionally, each component may only include one component, which corresponds to a first non-separable sub-service, and optionally, each component summary may further include multiple components, which correspond to a first sub-service that can be separated into different second sub-services.
That is, a plurality of components may constitute one component, a plurality of components may constitute a plurality of flows, and a flow may further include a plurality of sub-flows.
In step S305, the flow is saved in the memory.
In step S306, a service identifier corresponding to the flow is determined.
Optionally, each process may have a corresponding process identifier, and each process identifier may correspond to one service identifier or to multiple service identifiers. The plurality of service identities may refer to identities of services of applications in different scenarios.
Therefore, the client can determine the components required for realizing the target service, namely the capabilities required to be possessed according to the requirements of the target service, and weave all the capabilities to be aggregated into a specific flow, namely an execution chain.
In the embodiment of the application, the flow formed by the components is in a pluggable extensible mode. FIG. 6 is a flow chart illustrating a flow update according to an exemplary embodiment, as shown in FIG. 6, including:
in step S601, a target sub-service to be operated in the target service is determined.
Optionally, the target sub-service to be operated includes a target sub-service to be deleted, a target sub-service to be added, or a target sub-service to be modified. The following is a description taking the target sub-service to be added as an example.
In step S602, target execution logic information of the operated target sub-service is determined.
Optionally, the client may determine the target execution logic information of the added target sub-service.
In step S603, a target component is determined based on the operated target sub-service and the target execution logic information.
The client may determine the target component based on the added target sub-business and target execution logic information.
In step S604, the flow is updated according to the target component.
The client may add the target component to the previous flow to achieve the result of the updated flow.
In the embodiment of the application, before executing a target service through a component in a flow, a user needs to create the flow including the component. Through the process created by the method, one process can correspond to different service scenes of a unified type, and different service identifications can correspond to the same process, so that repeated labor force can be liberated, the purpose of service can be achieved only through configuration, the service requirement is quickly responded, and the service release period is shortened.
Secondly, if the whole process creation process is completed on a process creation platform through a client, a user can split a target service on the platform, determine each sub-service, and quickly realize the arrangement of a service process through an application interface in a drag and pull mode. And because the user can establish the business process on the platform, correspondingly, the platform also provides the business visualization capability, and users of business, products, research and development and the like can quickly know one business, and simultaneously can support test case storage, automatic test, mock return value test, pressure test and the like.
The above embodiments are all from the user perspective and from the developer perspective, and mainly include 4 contents, processes, process engines, process definition metadata and components. The components may be the item call component rpc, the predicate component ifelse, the string-parallel combination component phase, and the termination component terminate described above. The engine process may be an object for executing the process, and the process may be an object for completing a certain service by using various component combinations, which mainly face the object. The flow defines metadata as a flow, but mainly faces data, so metadata refers to data describing data, mainly information describing attributes of data.
Fig. 7 is a block diagram illustrating a traffic processing apparatus according to an example embodiment. Referring to fig. 7, the apparatus includes a receiving module 701, a flow acquiring module 702, a component determining module 703, and a service executing module 704.
A receiving module 701 configured to execute a service request corresponding to a receiving target service, where the service request includes a service identifier;
a flow acquiring module 702 configured to execute a flow corresponding to the service identifier acquired from the memory;
a component determination module 703 configured to execute the components included in the determination flow; the component determines based on a first sub-service in the target service and the execution logic information of the first sub-service;
a service execution module 704 configured to execute the component-based execution target service.
In some possible embodiments, the apparatus further comprises:
a service acquisition module configured to perform acquisition of a target service;
the sub-service determining module is configured to execute and determine a first sub-service in the target service and the execution logic information of the first sub-service;
a component determination module configured to execute an execution logic information determination component based on the first sub-service and the first sub-service;
a flow creation module configured to execute creating a flow from the component;
the saving module is configured to save the flow in the memory;
and the identification determining module is configured to execute the service identification corresponding to the determined flow.
In some possible embodiments, the sub-service determination module is configured to perform:
if the first sub-service comprises a second sub-service, determining the execution logic information of the second sub-service;
determining a subcomponent based on the second sub-service and the execution logic information of the second sub-service;
a first sub-service is determined based on the sub-components.
In some possible embodiments, the component determining module is configured to determine that the component is the item calling component based on the execution logic information of the first sub-service and the item calling logic if the execution logic information of the first sub-service is the item calling logic.
In some possible embodiments, the component determination module is configured to determine that the component is the determination component based on the execution logic information of the first sub-service and the execution logic information of the first sub-service if the execution logic information of the first sub-service is the determination logic.
In some possible embodiments, the component determining module is configured to determine that the component is a serial-parallel combination component based on the execution logic information of the first sub-service and the execution logic information of the first sub-service if the execution logic information of the first sub-service is serial-parallel combination logic.
In some possible embodiments, the component determination module is configured to perform, if the execution logic information of the first sub-service is the termination logic, determining based on the execution logic information of the first sub-service and the first sub-service
A component determination module configured to execute that the component determined based on the fourth implementation capability description information is a termination component.
In some possible embodiments, the apparatus further comprises:
the sub-service determining module is configured to execute the determination of the target sub-service to be operated in the target service; determining target execution logic information of the operated target sub-service;
the description information determining module is configured to execute the realization capability description information of the target sub-service after the operation based on the target sub-service after the operation and the target execution logic information;
a component determination module configured to perform determination of a target component based on the implementation capability description information of the operated target sub-service;
a flow update module configured to perform updating a flow according to the target component.
In some possible embodiments, the target sub-service to be operated includes a target sub-service to be deleted, a target sub-service to be added, or a target sub-service to be modified.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 8 is a block diagram illustrating an apparatus 800 for traffic processing in accordance with an example embodiment. For example, the apparatus 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 8, the apparatus 800 may include one or more of the following components: a processing component 802, a memory 804, a power component 806, a multimedia component 808, an audio component 810, an input/output (I/O) interface 812, a sensor component 814, and a communication component 816.
The processing component 802 generally controls overall operation of the device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 802 may include one or more processors 820 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interaction between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operation at the device 800. Examples of such data include instructions for any application or method operating on device 800, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 804 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power components 806 provide power to the various components of device 800. The power components 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the apparatus 800.
The multimedia component 808 includes a screen that provides an output interface between the device 800 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front facing camera and/or a rear facing camera. The front-facing camera and/or the rear-facing camera may receive external multimedia data when the device 800 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the apparatus 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 814 includes one or more sensors for providing various aspects of state assessment for the device 800. For example, the sensor assembly 814 may detect the open/closed state of the device 800, the relative positioning of the components, such as a display and keypad of the apparatus 800, the sensor assembly 814 may also detect a change in position of the apparatus 800 or a component of the apparatus 800, the presence or absence of user contact with the apparatus 800, orientation or acceleration/deceleration of the apparatus 800, and a change in temperature of the apparatus 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate communications between the apparatus 800 and other devices in a wired or wireless manner. The apparatus 700 may access a wireless network based on a communication standard, such as WiFi, an operator network (such as 2G, 3G, 4G, or 5G), or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a storage medium comprising instructions, such as the memory 704 comprising instructions, executable by the processor 820 of the apparatus 800 to perform the above-described method is also provided. Alternatively, the storage medium may be a non-transitory computer readable storage medium, which may be, for example, a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.

Claims (10)

1. A method for processing a service, comprising:
receiving a service request corresponding to a target service, wherein the service request comprises a service identifier;
acquiring a flow corresponding to the service identifier from a memory;
determining components contained in the flow; the component is determined based on a first sub-service in the target service and the execution logic information of the first sub-service;
executing the target business based on the component.
2. The traffic processing method according to claim 1, wherein the method further comprises:
acquiring the target service;
determining a first sub-service in the target service and execution logic information of the first sub-service;
determining the component based on the first sub-service and the execution logic information of the first sub-service;
creating the flow from the component;
storing the flow in the memory;
and determining the service identification corresponding to the flow.
3. The traffic processing method according to claim 2, wherein the determining the first sub-traffic of the target traffic comprises:
if the first sub-service comprises a second sub-service, determining the execution logic information of the second sub-service;
determining a subcomponent based on the second sub-service and execution logic information of the second sub-service;
determining the first sub-traffic based on the sub-component.
4. The service processing method according to any of claims 2 to 3, wherein said determining the component based on the execution logic information of the first sub-service and the first sub-service comprises:
and if the execution logic information of the first sub-service is the project calling logic, determining that the component is the project calling component based on the execution logic information of the first sub-service and the first sub-service.
5. The service processing method according to any of claims 2 to 3, wherein said determining the component based on the execution logic information of the first sub-service and the first sub-service comprises:
and if the execution logic information of the first sub-service is judgment logic, determining the component to be a judgment component based on the first sub-service and the execution logic information of the first sub-service.
6. The service processing method according to any of claims 2 to 3, wherein said determining the component based on the execution logic information of the first sub-service and the first sub-service comprises:
and if the execution logic information of the first sub-service is serial-parallel combination logic, determining that the component is a serial-parallel combination component based on the execution logic information of the first sub-service and the first sub-service.
7. A traffic processing apparatus, comprising:
the receiving module is configured to execute a service request corresponding to a receiving target service, and the service request comprises a service identifier;
the flow acquisition module is configured to execute the flow corresponding to the service identifier acquired from the memory;
a component determination module configured to perform determining a component included in the flow; the component is determined based on a first sub-service in the target service and the execution logic information of the first sub-service;
a service execution module configured to execute the target service based on the component.
8. An electronic device, comprising:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the traffic processing method of any of claims 1 to 6.
9. A computer-readable storage medium, wherein instructions in the computer-readable storage medium, when executed by a processor of an electronic device, enable the electronic device to perform a business process method of any one of claims 1 to 6.
10. A computer program product, characterized in that it comprises a computer program stored in a readable storage medium, from which at least one processor of a computer device reads and executes said computer program, causing said computer device to execute the business process method of any one of claims 1 to 6.
CN202111599909.XA 2021-12-24 2021-12-24 Business processing method and device, electronic equipment and storage medium Pending CN114461265A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111599909.XA CN114461265A (en) 2021-12-24 2021-12-24 Business processing method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111599909.XA CN114461265A (en) 2021-12-24 2021-12-24 Business processing method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114461265A true CN114461265A (en) 2022-05-10

Family

ID=81408460

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111599909.XA Pending CN114461265A (en) 2021-12-24 2021-12-24 Business processing method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114461265A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110750267A (en) * 2019-09-26 2020-02-04 浙江大搜车软件技术有限公司 Service information updating method and device, computer equipment and storage medium
CN111435495A (en) * 2019-01-14 2020-07-21 阿里巴巴集团控股有限公司 Service processing method, device and equipment
CN112581018A (en) * 2020-12-28 2021-03-30 北京世纪互联宽带数据中心有限公司 Process task management method, system, device and storage medium
CN112685091A (en) * 2020-12-16 2021-04-20 平安国际融资租赁有限公司 Service request processing method, device, equipment and medium based on big data
CN113110963A (en) * 2021-04-28 2021-07-13 北京京东拓先科技有限公司 Service processing method, service processing device, electronic equipment and readable storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111435495A (en) * 2019-01-14 2020-07-21 阿里巴巴集团控股有限公司 Service processing method, device and equipment
CN110750267A (en) * 2019-09-26 2020-02-04 浙江大搜车软件技术有限公司 Service information updating method and device, computer equipment and storage medium
CN112685091A (en) * 2020-12-16 2021-04-20 平安国际融资租赁有限公司 Service request processing method, device, equipment and medium based on big data
CN112581018A (en) * 2020-12-28 2021-03-30 北京世纪互联宽带数据中心有限公司 Process task management method, system, device and storage medium
CN113110963A (en) * 2021-04-28 2021-07-13 北京京东拓先科技有限公司 Service processing method, service processing device, electronic equipment and readable storage medium

Similar Documents

Publication Publication Date Title
CN109922098B (en) Content sharing method and device for content sharing
US20220038405A1 (en) Method and apparatus for updating group member data, and terminal, system and storage medium
CN110851108A (en) Electronic equipment operation method and device, electronic equipment and storage medium
CN115185717B (en) Interface calling method and device, electronic equipment and storage medium
CN111338971B (en) Application testing method and device, electronic equipment and storage medium
CN105208089A (en) Information display method, apparatus and system
CN112925788A (en) Data set management method, system, device, electronic equipment and storage medium
CN113596175A (en) Scene synchronization method, terminal, server and system
CN110971974A (en) Configuration parameter creating method, device, terminal and storage medium
CN113312103A (en) Software definition method and device for intelligent camera, electronic equipment and storage medium
CN115794853B (en) Updating method and device of government affair data resource catalog, electronic equipment and medium
CN115373763B (en) Plug-in loading method and device, electronic equipment and storage medium
CN112839065A (en) Information processing method and device, first equipment and storage medium
CN108984294B (en) Resource scheduling method, device and storage medium
CN111221593A (en) Dynamic loading method and device
CN110865823A (en) Pre-installed application control method, pre-installed application control device and storage medium
CN114461265A (en) Business processing method and device, electronic equipment and storage medium
CN115278273A (en) Resource display method and device, electronic equipment and storage medium
CN114567790A (en) Information display method and device, electronic equipment and storage medium
CN110995767B (en) Request processing method and device
CN109948012B (en) Serial number generation method and device and storage medium
CN113867992B (en) Call chain resource isolation method and device, storage medium and electronic equipment
CN110868640A (en) Resource transfer method, device, equipment and storage medium
CN110311968B (en) Method and device for loading file in streaming mode and intelligent equipment
CN107992333B (en) Theme acquisition method and device

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