CN110688119A - Method for generating and realizing service function and unit, server, equipment and medium - Google Patents

Method for generating and realizing service function and unit, server, equipment and medium Download PDF

Info

Publication number
CN110688119A
CN110688119A CN201810723683.1A CN201810723683A CN110688119A CN 110688119 A CN110688119 A CN 110688119A CN 201810723683 A CN201810723683 A CN 201810723683A CN 110688119 A CN110688119 A CN 110688119A
Authority
CN
China
Prior art keywords
execution
matching
link
service request
functional module
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
CN201810723683.1A
Other languages
Chinese (zh)
Inventor
王彤
尹利民
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201810723683.1A priority Critical patent/CN110688119A/en
Publication of CN110688119A publication Critical patent/CN110688119A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/41Compilation
    • G06F8/42Syntactic analysis
    • G06F8/425Lexical analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/41Compilation
    • G06F8/44Encoding

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the specification discloses a method for generating and realizing service functions and units, a server, equipment and a medium. Wherein the method comprises the following steps: receiving a service request; matching in the execution condition set according to the service request to obtain an execution link of the functional module; wherein the execution condition set comprises execution conditions of a plurality of functional modules; the execution link is used for representing a functional module corresponding to an execution condition successfully matched with the service request; and executing the functional module for executing the link characterization to realize the service function. The technical scheme disclosed by the specification can improve the code reuse rate and reduce repeated work.

Description

Method for generating and realizing service function and unit, server, equipment and medium
Technical Field
The present specification relates to the field of computers, and in particular, to methods for generating and implementing business functions and units, and servers, devices, and media.
Background
At present, the computer technology is widely developed and applied. Computer software brings great convenience to the life of people.
Currently, most of the software used by people is used for realizing service functions, and programmers specially code the service functions. Resulting in a large amount of programming effort.
Disclosure of Invention
The embodiment of the specification provides a method, a server, equipment and a medium for generating and realizing simple and convenient service functions and units.
An embodiment of the present specification provides a method for implementing a service function, including: receiving a service request; matching in the execution condition set according to the service request to obtain an execution link of the functional module; wherein the execution condition set comprises execution conditions of a plurality of functional modules; the execution link is used for representing a functional module corresponding to an execution condition successfully matched with the service request; and executing the functional module for executing the link characterization to realize the service function.
An embodiment of the present specification provides a server, including: the receiving module is used for receiving the service request; the matching module is used for matching in the execution condition set according to the service request to obtain an execution link of the functional module; wherein the execution condition set comprises execution conditions of a plurality of functional modules; the execution link is used for representing a functional module corresponding to an execution condition successfully matched with the service request; and the execution module is used for executing the functional module for executing the link representation so as to realize the service function.
The embodiment of the specification provides an electronic device, which comprises a network communication unit and a processor; the network communication unit is used for receiving a service request; wherein the service request is directed to the service function; the processor is used for matching in the execution condition set according to the service request to obtain an execution link of the functional module; wherein the execution condition set comprises execution conditions of a plurality of functional modules; the execution link is used for representing a functional module corresponding to an execution condition successfully matched with the service request; and executing the functional module for executing the link characterization to realize the service function.
The present specification embodiments provide a computer storage medium having computer program instructions stored thereon that, when executed, implement: receiving a service request; matching in the execution condition set according to the service request to obtain an execution link of the functional module; wherein the execution condition set comprises execution conditions of a plurality of functional modules; the execution link is used for representing a functional module corresponding to an execution condition successfully matched with the service request; and executing the functional module for executing the link characterization to realize the service function.
An embodiment of the present specification provides a method for implementing a service function, including: receiving a service request; matching in the execution condition set according to the service request to obtain a target execution link successfully matched with the service request; wherein the set of execution conditions includes execution conditions of a plurality of execution links; the execution link is used for representing a plurality of functional modules for realizing the specified service function; and executing the functional module of the target execution link characterization to realize the service function.
An embodiment of the present specification provides a server, including: the receiving module is used for receiving the service request; the matching module is used for matching in the execution condition set according to the service request to obtain a target execution link successfully matched with the service request; wherein the set of execution conditions includes execution conditions of a plurality of execution links; the execution link is used for representing a plurality of functional modules for realizing the specified service function; and the execution module is used for executing the functional module of the target execution link representation so as to realize the service function.
The embodiment of the specification provides an electronic device, which comprises a network communication unit and a processor; the network communication unit is used for receiving a service request; the processor is used for matching in the execution condition set according to the service request to obtain a target execution link successfully matched with the service request; wherein the set of execution conditions includes execution conditions of a plurality of execution links; the execution link is used for representing a plurality of functional modules for realizing the specified service function; and executing the functional module of the target execution link characterization to realize the service function.
The present specification embodiments provide a computer storage medium having computer program instructions stored thereon that, when executed, implement: receiving a service request; matching in the execution condition set according to the service request to obtain a target execution link successfully matched with the service request; wherein the set of execution conditions includes execution conditions of a plurality of execution links; the execution link is used for representing a plurality of functional modules for realizing the specified service function; and executing the functional module of the target execution link characterization to realize the service function.
An embodiment of the present specification provides a method for generating a service unit, including: receiving demand information; wherein the requirement information is used for describing the service unit; matching the requirement information in the execution condition set to obtain an execution link of the functional module; wherein the execution condition set comprises execution conditions of a plurality of functional modules; the execution link is used for representing a functional module corresponding to an execution condition successfully matched with the demand information; and generating the service unit according to the functional module for executing the link characterization.
An embodiment of the present specification provides a server, including: the receiving module is used for receiving the demand information; wherein the requirement information is used for describing the service unit; the matching module is used for matching the requirement information in the execution condition set to obtain an execution link of the functional module; wherein the execution condition set comprises execution conditions of a plurality of functional modules; the execution link is used for representing a functional module corresponding to an execution condition successfully matched with the demand information; and the generating module is used for generating the service unit according to the functional module for executing the link representation.
The embodiment of the specification provides an electronic device, which comprises a network communication unit and a processor; the network communication unit is used for receiving the demand information; wherein the requirement information is used for describing the service unit; the processor is used for matching the requirement information in the execution condition set to obtain an execution link of the functional module; wherein the execution condition set comprises execution conditions of a plurality of functional modules; the execution link is used for representing a functional module corresponding to an execution condition successfully matched with the demand information; and generating the service unit according to the functional module for executing the link characterization.
The present specification embodiments provide a computer storage medium having computer program instructions stored thereon that, when executed, implement: receiving demand information; wherein the requirement information is used for describing the service unit; matching the requirement information in the execution condition set to obtain an execution link of the functional module; wherein the execution condition set comprises execution conditions of a plurality of functional modules; the execution link is used for representing a functional module corresponding to an execution condition successfully matched with the demand information; and generating the service unit according to the functional module for executing the link characterization.
In view of the above, the present specification provides methods for generating and implementing service functions and units, as well as a server, a device, and a medium. The function module is used as a basic unit, and an execution link is obtained by matching the service request with the execution condition of the function module, so that the service function is realized by combining the function modules. Therefore, the business function can be quickly realized, and the repeated utilization rate of the codes is improved to a great extent. Thereby, reduction of repetitive work of developers is achieved.
Drawings
In order to more clearly illustrate the embodiments of the present specification or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only some embodiments described in the specification, and other drawings can be obtained by those skilled in the art without inventive labor.
Fig. 1 is a schematic view of a scenario in which a client interacts with a server in an example scenario provided in an embodiment of the present specification;
fig. 2 is a flowchart of a method for implementing a service function according to an embodiment of the present disclosure;
fig. 3 is a functional schematic diagram of a service function implementation method provided in an embodiment of the present specification;
fig. 4 is a flowchart of a method for implementing a service function according to an embodiment of the present disclosure;
fig. 5 is a functional schematic diagram of a service function implementation method provided in an embodiment of the present specification;
fig. 6 is a flowchart of a method for implementing a service function according to an embodiment of the present disclosure;
fig. 7 is a functional schematic diagram of a service function implementation method provided in an embodiment of this specification.
Detailed Description
In order to make the technical solutions in the present specification better understood, the technical solutions in the embodiments of the present specification will be clearly and completely described below with reference to the drawings in the embodiments of the present specification, and it is obvious that the described embodiments are only a part of the embodiments of the present specification, but not all embodiments. All other embodiments obtained by a person of ordinary skill in the art without any inventive work based on the embodiments in the present specification shall fall within the protection scope of the present specification.
Please refer to fig. 1. In a specific scenario example, a user accesses a page having a commodity search function. The page has a website chart display example and a search function example.
In this scenario example, a user sends an access request to an access address of the page using a client. Two sets of parameters may be appended to the access request. Assume that the access address is "www.xyz.com/lgo & aa ═ 1& ab ═ 3/sch & ba ═ 5 ═ 3& bd ═ 0". Wherein lgo & aa ═ 1& ab ═ 3 and sch & ba ═ 5 ═ 3& bd ═ 0, can be two sets of parameters. lgo are names of the first set of parameters, including aa and ab, and corresponding values. sch is the name of the second set of parameters, including parameters ba and bb, and the corresponding values.
In this scenario example, after receiving the access request, the server may determine a service function to be implemented according to a parameter attached to the access request. A plurality of functional modules can be preset in the server, and can be divided into at least two groups, namely an image processing group and a search service group. The image processing group may have 3 functional modules, and the search service group may have 2 functional modules.
In the present scenario example, the 3 functional modules of the image processing group may be a first functional module, a second functional module and a third functional module, respectively. The first functional module can be used for showing advertisement positions, the second functional module can be used for showing news pictures, and the third functional module can be used for showing website identifications. The execution conditions of the 3 functional modules are "aa ═ 0& ab ═ 1", "aa ═ 1& ab ═ 6", and "aa ═ 1& ab ═ 3", respectively. And matching the parameters in the first group in the access request with the execution conditions of the functional modules of the image processing group respectively to obtain that the execution conditions of the third functional module are the same as the parameters in the first group in the access request, and considering that the matching of the parameters in the first group and the execution conditions of the third functional module is successful. The name "third" of the third functional module is put into the execution link. third may be used to characterize the third functional module. The data structure of the execution chain may be an array.
In this scenario example, the 2 functional modules of the search service group may be the fourth functional module and the fifth functional module, respectively. The fourth functional module may perform a search operation based on a depth-first search algorithm, and the fifth functional module may perform a search operation based on a breadth-first search algorithm. The execution condition of the fourth function module in the search service group may be "ba ═ 2& bb ═ 3& bd ═ 1", and the execution condition of the fifth function module may be "ba ═ 5& bb ═ 3& bd ═ 2". And matching the second group of parameters in the access request with the execution conditions of the fourth functional module and the fifth functional module respectively.
In this scenario example, when the second group of parameters is matched with the execution conditions of the fourth functional module and the fifth functional module, the matching may be successful when the first group of parameters is the same as the identification parameters of the fourth functional module, or the highest-scoring execution condition may be considered as successful matching with the second group of parameters when the similarity scoring is performed. Specifically, the execution condition finds that there is a parameter with the same value as the second group of parameters, and 5 points can be obtained, which are different and do not score. Thus, the values of the parameter bb in the fourth functional module are the same, so that the similarity score of the fourth functional module is 5 points, and the values of the ba and bb of the fifth functional module are the same, so that the similarity score of the fifth functional module is 10 points. In this manner, the execution condition of the fifth functional module may be deemed to match the second set of parameters successfully. The name "fifth" of the fifth functional module is put into the execution link.
In the present scenario example, there may be three and five in the execution link, which are respectively used to characterize the corresponding functional module. Therefore, the page data fed back to the client side is obtained by operating the functional module represented in the execution link. And obtaining website identification data in the page by operating the third functional module characterized by third, and obtaining page data such as a search input box in the page by operating the fifth functional module characterized by fifth. Thus, the obtained page data can be fed back to the client.
In this scenario example, after receiving the page data, the client may perform processing such as rendering, and display the page data in a display.
Please refer to fig. 2 and fig. 3. The implementation mode of the specification provides a business function implementation method. The service function implementation method can be operated in a server. The method for realizing the service function can realize the dynamic realization of the corresponding function according to the service request.
Step S10: a service request is received.
In this embodiment, the service request may be directed to the service function. Receipt of a service request may indicate that there is a service requirement to run the service function to which it is directed. The service request may be sent by the client or by another server. The service request may conform to a network communication protocol, such as HTTP, TCP/IP, or the like.
In this embodiment, the business function may be the result of executing computer program instructions. The business functions may include certain processing of data, or the presentation of certain visual results, etc. Specifically, for example, the service function may be a presentation web page, and some controls for implementing a specified function may be provided in the web page, or the service function may be a search function for a material resource in a server, or may also be analysis processing for a data resource, and the like. The service function itself may include a plurality of sub-functions, so that the service function may meet the requirements of a certain service scenario.
In this embodiment, the service request may be accompanied by parameters, description information, or the like. In this way, the service request may have information that can characterize the corresponding service function. By analyzing the service request, or matching the service request with other conditions, etc., the obtained result and the corresponding service function may have relevance.
Step S12: matching in the execution condition set according to the service request to obtain an execution link of the functional module; wherein the execution condition set comprises execution conditions of a plurality of functional modules; the execution link is used for representing the functional module corresponding to the execution condition successfully matched with the service request.
Step S14: and executing the functional module for executing the link characterization to realize the service function.
In the present embodiment, the set of execution conditions is one data set. The specific data result may be a value, a queue, a stack, etc. Alternatively, the set of execution conditions may be simply a character string. Of course, the set of execution conditions is not limited to having a certain specific data structure, but may be merely representative of a plurality of execution conditions. Of course, the number of execution conditions in the execution condition set may be at least one, so that the execution conditions in the execution condition set are not limited to the case of a plurality of execution conditions.
In this embodiment, the execution condition is used to describe the execution requirement of the corresponding functional module. The execution condition may be used to restrict the case where the corresponding function module is applicable. In a used scene, the function module needs to meet some requirements of the function module itself, specifically, for example, whether the function module requires to be called has a parameter, and a value requirement of the parameter. These requirements constitute the execution requirements of the functional module. Under the condition that the service request is successfully matched with the execution condition, the functional module corresponding to the execution condition can be used, otherwise, the functional module cannot meet the requirement of the service request. The execution requirements of the functional module are described through the execution conditions, so that the functional module can run more robustly when being called to execute, and the error condition of the functional module is reduced. Specifically, for example, the execution condition of the functional module may be formed by a parameter and a corresponding value. For example, the execution condition of the default function module is that the value of the parameter ad is 17, and the value of the parameter af is 190. Alternatively, the execution condition for the functional module may be a data vector, named, for example, as a condition vector. The condition vector may be generated from text information describing the functional module, or may be generated from the code of the functional module itself. The method comprises the steps of converting a service request or parameters or description information in the service request into a demand vector, and calculating the similarity, distance and the like between the demand vector and a condition vector. And judging whether the service request is successfully matched with the execution condition.
In this embodiment, the execution link may be used to characterize the functional module corresponding to the execution condition successfully matched with the requirement information. Specifically, there may be a plurality of execution conditions that are successfully matched to the service request. For example, a plurality of sets of parameters, or a plurality of pieces of description information, etc. may be attached to the service request. Each set of parameters may be matched to an execution condition, or each piece of description information may be matched to an execution condition. Furthermore, the representation information of the function information corresponding to the successfully matched execution condition can be put into the execution link. The representation information may be a name of the function module, or a character string generated from the function module, or an access address of the function module, etc. Of course, the execution link may also be directly formed by the functional module corresponding to the successfully matched execution condition.
In the present embodiment, the execution conditions and the functional modules are not limited to one-to-one correspondence, and two or more functional modules may be associated with one execution condition. In this way, when the execution condition is successfully matched with the service request, the representation information of the functional module corresponding to the execution condition can be put into the execution link. Specifically, for example, the execution condition is a condition vector corresponding to 2 function modules, and the condition vector is used for displaying title characters and adding dynamic effects to the characters. It is assumed that the service request is accompanied by text description information "show title with dynamic effect", and a text vector is generated according to the text description information. And then analyzing the similarity between the condition vector and the text vector, or summing the two vectors after aligning, and putting the 2 function modules corresponding to the execution condition into an execution link under the condition that the two vectors are successfully matched.
In this embodiment, the execution chain may have a certain data structure. In particular, for example, the execution chain may be an array, a queue, a stack, and the like. In the object-oriented development language framework, the execution links may also be data containers defined by program instructions. The execution link may record the characterization information of the functional module, such as the name of the functional module, or the execution link may be directly placed in the functional module.
In this embodiment, the functional modules that execute the link characterization may operate independently of each other, and each implement a corresponding function. It is also possible that there is a certain association between a plurality of functional modules performing link characterization. Specifically, for example, one functional module is to display a picture, and the other functional module is to perform sharpening processing on the displayed picture.
In the present embodiment, the functional modules are programs that implement basic functions. The function module can realize a single function, and can realize a specific service logic. Therefore, the function module can be used as a particle in the whole system, and can be realized by the combination of the function modules when realizing a more complex service function. Furthermore, an execution link is obtained by matching the service request pointing to the service function with the execution condition of the function module, so that the service function is realized by the combined function module. Specifically, for example, the business function of the website home page may include a function module for displaying a title, a function module for displaying a picture identifier, and the like.
In this embodiment, the function module is used as a basic unit, and an execution link is obtained by matching the service request with the execution condition of the function module, so that the service function is realized by combining the function modules. Therefore, the business function can be quickly realized, and the repeated utilization rate of the codes is improved to a great extent. Thereby, reduction of repetitive work of developers is achieved.
Please refer to fig. 4 and 5. In an embodiment, the embodiment of the present specification further provides a service function implementation method. The method may include the following steps.
Step S21: receiving a service request; wherein the service request is directed to the service function.
Step S23: matching in the execution condition set according to the service request to obtain a target execution link successfully matched with the service request; wherein the set of execution conditions includes execution conditions of a plurality of execution links; the execution condition is used for describing the execution requirement of the corresponding execution link; the execution link is used for representing a plurality of functional modules for realizing the specified service function; the functional modules are programs that implement basic functions.
Step S25: and executing the functional module of the target execution link characterization to realize the service function.
In the present embodiment, a plurality of execution links may be provided in advance in the execution condition set. So that each execution link can implement a corresponding service function. The execution links may have execution conditions that may be used to describe usage requirements of the respective execution links. In this way, by matching the service request with the execution condition, when the matching is successful, the service function represented by the execution link is considered to be the same as or similar to the service function pointed by the service request.
In the present embodiment, the execution link that successfully matches the service request is used as the target execution link. And further operating the functional module for target execution link representation, thereby realizing the service function pointed by the service request. In this embodiment, specific contents of matching the service request in the execution condition set may refer to other embodiments for comparison and explanation, and are not described herein again.
In the embodiment, the execution link is preset to be matched with the service request, so that the operation amount is reduced and the overall operation speed can be improved to a certain extent compared with the embodiment in which the service request is respectively matched with the execution conditions of the function module.
Please refer to fig. 6 and 7. In one embodiment, the present specification further provides a service unit generation method. The method may include the following steps.
Step S31: receiving demand information; wherein the requirement information is used for describing the service unit.
Step S33: matching the requirement information in the execution condition set to obtain an execution link of the functional module; wherein the execution condition set comprises execution conditions of a plurality of functional modules; the execution condition is used for describing the use requirement of the corresponding functional module; the execution link is used for representing a functional module corresponding to an execution condition successfully matched with the demand information; the functional module is a program for realizing basic service functions.
Step S35: and generating the service unit according to the functional module for executing the link characterization.
In this embodiment, the service unit may be regarded as one program block. It may be a block formed by combining a plurality of functional modules. Which may implement a certain service function or functions.
In this embodiment, the service unit may be described by the requirement information. In particular, the requirements information may define business units from multiple dimensions. Specifically, for example, the requirement information may include an application scenario of the service unit, an input data condition, an output data requirement, a data processing requirement, an implementation function, an effect, and the like. Are not further enumerated here.
In this embodiment, specific contents of matching the requirement information in the execution condition set may refer to the comparison explanation of other embodiments in which the service request is matched with the execution condition, and are not described herein again.
In this embodiment, after the execution link is obtained, the functional modules that execute the link characterization may be combined and encapsulated to form a whole. In this manner, a business unit may be generated. Specifically, after the execution link is obtained, a program issuing function may be executed for a function module included in the execution link, and the function module represented by the execution link is integrally compiled and packaged to obtain a service unit. Therefore, the service unit can be used as an independent program to run and use in other electronic equipment to realize corresponding functions.
In one embodiment, the service request is accompanied by a requirement parameter; the step of obtaining the execution link of the functional module by matching in the execution condition set according to the service request may include: and matching the requirement parameters with the execution conditions in the execution condition set.
In this embodiment, the service request may include a requirement parameter to indicate a requirement of the service request for the service function. The finally executed service function is influenced by the requirement parameter, so that the association between the service function pointed by the service request and the finally obtained execution link is realized.
In this embodiment, the requirement parameter may include a parameter name and a value thereof. The parameter name may be used to correspond to the execution condition when the parameter name is matched with the execution condition, and the value may be used to further determine whether the parameter name is matched with the execution condition. For example, when the demand parameter and the corresponding parameter in the execution condition have the same value, it is considered that the demand parameter and the execution condition are successfully matched. Therefore, the function module can be accurately matched, and errors caused by the fact that the finally executed function module is not matched with the service function are reduced. In particular, for example, reference may be made to matching of a first set of parameters in a scenario example.
In the present embodiment, when a plurality of execution links are set in advance and execution conditions are set for the execution links, a method of matching the service request with the execution conditions in the present embodiment may be used.
In one embodiment, the step of matching the requirement parameter with the execution condition in the execution condition set may include: respectively scoring the matching degree of the demand parameters and a plurality of execution conditions; determining that the requirement parameters are successfully matched with the execution conditions with the scores higher than the specified scores; or, the requirement parameters are considered to be successfully matched with the execution conditions corresponding to the highest scores.
In this embodiment, the matching degree may be used to indicate a degree to which the function module corresponding to the execution condition can meet the requirement of the business function. The higher the matching degree is, the more the functional module is fit with the service function, and the lower the matching degree is, the less the functional module is suitable for the service function. The score can be used for representing the degree of matching, the larger the value of the score is, the higher the degree of matching is represented, and the smaller the value of the score is, the lower the degree of matching is represented.
In the present embodiment, when matching the demand parameter with the execution condition, a certain score may be calculated in a case where the demand parameter in the service request is considered to be the same as one of the execution conditions. And matching and accumulating the demand parameters with the execution conditions respectively to obtain a final score. In particular, for example, reference may be made to matching of the second set of parameters in the scenario example.
In this embodiment, the designated score may be a set score or a logically selected value. Specifically, for example, the assigned score may be a specific score, such as 10, and in the case that the matching degree score between the requirement parameter and the execution condition is greater than or equal to 10, it is determined that the requirement parameter and the execution condition are successfully matched. I.e. the service request is successfully matched with the execution condition. Of course, the designated score may not be a specific set score, and the designated score may be logically considered as the second largest score, that is, the second largest score, which is considered to be successful in matching the execution condition corresponding to the maximum score of the demand parameter and the plurality of execution conditions. Of course, it is also possible to directly assume that the service request matches the highest-scoring execution condition without considering the assigned score.
In this embodiment, matching between the service request and the execution condition can be flexibly achieved by means of matching score. The success rate of matching the service request to the execution condition is improved. Moreover, the system has better applicability as a whole. In the present embodiment, when a plurality of execution links are set in advance and execution conditions are set for the execution links, a method of matching the service request with the execution conditions in the present embodiment may be used.
In one embodiment, the service request is accompanied by a plurality of sets of requirement parameters; the step of obtaining the execution link of the functional module by matching in the execution condition set according to the service request may include: and respectively matching each group of demand parameters with the execution conditions in the execution condition set.
In this embodiment, multiple sets of requirement parameters may be attached to the service request. In this way, different sets of demand parameters can be used to match to obtain different functional modules. Different sets of requirement parameters can be successfully matched with different execution conditions, so that the obtained functional modules are different, and the final execution link comprises a plurality of functional modules to realize the service function pointed by the service request. Specifically, for example, the service request in the scenario example includes 2 sets of parameters.
In the present embodiment, when a plurality of execution links are set in advance and execution conditions are set for the execution links, a method of matching the service request with the execution conditions in the present embodiment may be used.
In one embodiment, the service request is accompanied by textual description information; the step of obtaining the execution link of the functional module by matching in the execution condition set according to the service request comprises the following steps: and matching the text description information with the execution conditions in the execution condition set.
In this embodiment, the textual description information may be used to express the business requirements. Alternatively, the textual description information is used to describe the content of the service function. The text description information may be several words, or a segment of text, etc. Specifically, for example, the text description information may be "a product search page implemented by using a neural network algorithm"; alternatively, the textual description information may be "neural network", "goods", "search", and "page".
In this embodiment, the corresponding execution condition may also be described in a text manner. In this way, in the process of matching, when the text description information of the service request and the execution condition are considered to have the same or similar semantics, the matching is considered to be successful. Or, in the case that the text description information of the service request and the execution condition have more same characters, the matching is considered to be successful. Specifically, for example, when the text description information of the service request and the execution condition have characters that are 80% or more identical, the matching is considered to be successful.
In the present embodiment, when a plurality of execution links are set in advance and execution conditions are set for the execution links, a method of matching the service request with the execution conditions in the present embodiment may be used.
In one embodiment, the step of matching the text description information with the execution conditions in the execution condition set may include: generating a text vector according to the text description information; calculating the similarity of the text vector and a condition vector representing an execution condition; confirming that the text description information is successfully matched with the execution condition corresponding to the highest similarity; or, the text description information is considered to be successfully matched with the execution condition with the similarity higher than the specified similarity.
In this embodiment, the text vector is used to characterize the text description information. It may be a vector with a specified number of bits obtained after the text vector is normalized. Each bit of data in the text vector may be a numeric value. Accordingly, a condition vector of execution conditions may also be used to represent the corresponding execution conditions. The condition vector may be generated according to a function module corresponding to the execution condition, or may be generated according to the execution condition of the text. The text vector and the condition vector may have the same number of bits. Of course, the number of bits may be different. Algorithms for generating text vectors may include neural networks, gradient boosting decision trees, and the like, and are not further listed.
In this embodiment, the similarity may be used to evaluate the matching degree of the service request and the execution condition corresponding to the text vector and the condition vector, respectively. In the case of a higher similarity between the text vector and the condition vector, the service request may be considered to have a higher degree of matching with the execution condition. Accordingly, in the case where the similarity between the text vector and the condition vector is low, the service request can be considered to have a low degree of matching with the execution condition. Specifically, the similarity may be calculated by subtracting the text vector and the condition vector from each other in terms of alignment and then summing them. Of course, there may be many other algorithms for calculating similarity, such as adding the text vector and the condition vector in terms of bits and then subtracting, or multiplying the bits and then subtracting, etc. Are not further enumerated here.
In the present embodiment, it can be considered that the matching of the text description information with the execution condition with the highest similarity is successful. Therefore, the finally executed service function realized by the execution link has better stability and robustness. Of course, a numerical value may be set as the specified similarity, and the text vector and the condition vector are considered to be successfully matched only when the similarity is higher than the specified similarity. At this time, there may be a plurality of condition vectors that match the text vector successfully. The service request may be considered to be successfully matched to the plurality of execution conditions.
In the present embodiment, when a plurality of execution links are set in advance and execution conditions are set for the execution links, a method of matching the service request with the execution conditions in the present embodiment may be used.
In one embodiment, the step of matching the text description information with the execution conditions in the execution condition set may include: performing word segmentation processing on the text description information to obtain a plurality of description words; respectively establishing a word vector of each descriptor; calculating the similarity of each word vector and a condition vector representing an execution condition; confirming that the descriptor is successfully matched with the execution condition corresponding to the highest similarity; or, the description words are considered to be successfully matched with the execution conditions with the similarity higher than the specified similarity.
In this embodiment, the word segmentation processing is performed on the text description information, and the text description information may be divided according to semantics. The words may be divided according to the principle of longest semantics. For example, when a word can be composed of a plurality of adjacent words, the words can be made into one word without being divided into a plurality of words. Of course, the principle of longest semantics may not be used. A word bank may be predefined, and adjacent words in the text description information are sequentially combined and matched with the word bank for query, so as to determine whether the combination constitutes a word. In the present embodiment, word vectors are constructed for descriptors, and the construction may be based on a neural network, a gradient boosting decision tree, or the like, and is not described.
In this embodiment, after the word vector of each descriptor is separately constructed, the word vector may be matched with the condition vector of the execution condition. Thus, the text description information can be successfully matched with a plurality of execution conditions finally. The specific matching manner can be explained by referring to the aforementioned embodiment. The embodiment has better operability. Namely, the user can obtain the corresponding service function by inputting the text information. The requirement of the user on the understanding degree of the program language is reduced, and the method is convenient to popularize and use.
In the present embodiment, when a plurality of execution links are set in advance and execution conditions are set for the execution links, a method of matching the service request with the execution conditions in the present embodiment may be used.
An embodiment of the present specification further provides a server, including: the receiving module is used for receiving the service request; the matching module is used for matching in the execution condition set according to the service request to obtain an execution link of the functional module; wherein the execution condition set comprises execution conditions of a plurality of functional modules; the execution link is used for representing a functional module corresponding to an execution condition successfully matched with the service request; and the execution module is used for executing the functional module for executing the link representation so as to realize the service function.
In this embodiment, the related terms may be interpreted in comparison with the content of the foregoing embodiments, and are not described in detail herein.
An embodiment of the present specification further provides a server, including: the receiving module is used for receiving the service request; the matching module is used for matching in the execution condition set according to the service request to obtain a target execution link successfully matched with the service request; wherein the set of execution conditions includes execution conditions of a plurality of execution links; the execution link is used for representing a plurality of functional modules for realizing the specified service function; and the execution module is used for executing the functional module of the target execution link representation so as to realize the service function.
In this embodiment, the related terms may be interpreted in comparison with the content of the foregoing embodiments, and are not described in detail herein.
An embodiment of the present specification further provides a server, including: the receiving module is used for receiving the demand information; wherein the requirement information is used for describing the service unit; the matching module is used for matching the requirement information in the execution condition set to obtain an execution link of the functional module; wherein the execution condition set comprises execution conditions of a plurality of functional modules; the execution link is used for representing a functional module corresponding to an execution condition successfully matched with the demand information; and the generating module is used for generating the service unit according to the functional module for executing the link representation.
In this embodiment, the related terms may be interpreted in comparison with the content of the foregoing embodiments, and are not described in detail herein.
An embodiment of the present specification further provides an electronic device, including: a processor and a network communication unit.
The network communication unit is used for receiving a service request.
The processor is used for matching in the execution condition set according to the service request to obtain an execution link of the functional module; wherein the execution condition set comprises execution conditions of a plurality of functional modules; the execution link is used for representing a functional module corresponding to an execution condition successfully matched with the service request; and executing the functional module for executing the link characterization to realize the service function.
In this embodiment, the network communication unit may be a virtual unit bound with different communication protocols so that different data can be transmitted or received. For example, the network communication unit may be a unit responsible for web data communication, FTP data communication, or mail data communication. Furthermore, the network communication unit may also be a communication interface or a communication chip of an entity. For example, it may be a wireless mobile network communication chip, such as GSM, CDMA, etc.; it can also be a Wifi chip, a bluetooth chip, etc.
In this embodiment, the processor may be implemented in any suitable manner. For example, the processor may take the form of, for example, a microprocessor or processor and a computer-readable medium that stores computer-readable program code (e.g., software or firmware) executable by the (micro) processor, logic gates, switches, an Application Specific Integrated Circuit (ASIC), a programmable logic controller, an embedded microcontroller, and so forth. The present application is not limited.
In this embodiment, the related terms may be interpreted in comparison with the content of the foregoing embodiments, and are not described in detail herein.
The embodiment of the specification also provides an electronic device which comprises a network communication unit and a processor.
The network communication unit is used for receiving a service request.
The processor is used for matching in the execution condition set according to the service request to obtain a target execution link successfully matched with the service request; wherein the set of execution conditions includes execution conditions of a plurality of execution links; the execution link is used for representing a plurality of functional modules for realizing the specified service function; and executing the functional module of the target execution link characterization to realize the service function.
In this embodiment, the related terms may be interpreted in comparison with the content of the foregoing embodiments, and are not described in detail herein.
The embodiment of the specification also provides an electronic device which comprises a network communication unit and a processor.
The network communication unit is used for receiving the demand information; wherein the requirement information is used for describing the service unit.
The processor is used for matching the requirement information in the execution condition set to obtain an execution link of the functional module; wherein the execution condition set comprises execution conditions of a plurality of functional modules; the execution link is used for representing a functional module corresponding to an execution condition successfully matched with the demand information; and generating the service unit according to the functional module for executing the link characterization.
In this embodiment, the related terms may be interpreted in comparison with the content of the foregoing embodiments, and are not described in detail herein.
Embodiments of the present description also provide a computer storage medium storing computer program instructions that, when executed, implement: receiving a service request; matching in the execution condition set according to the service request to obtain an execution link of the functional module; the execution condition is used for describing the execution requirement of the corresponding functional module; the execution link is used for representing a functional module corresponding to an execution condition successfully matched with the service request; and executing the functional module for executing the link characterization to realize the service function.
In this embodiment, the computer storage medium includes, but is not limited to, a Random Access Memory (RAM), a Read-Only Memory (ROM), a Cache (Cache), a Hard Disk Drive (HDD), or a Memory Card (Memory Card).
The functions and effects of the computer storage medium provided in the present embodiment, which are realized when the program instructions thereof are executed, can be explained with reference to other embodiments.
Embodiments of the present description also provide a computer storage medium storing computer program instructions that, when executed, implement: receiving a service request; matching in the execution condition set according to the service request to obtain a target execution link successfully matched with the service request; wherein the set of execution conditions includes execution conditions of a plurality of execution links; the execution link is used for representing a plurality of functional modules for realizing the specified service function; the functional module is a program for realizing basic functions; and executing the functional module of the target execution link characterization to realize the service function.
The functions and effects of the computer storage medium provided in the present embodiment, which are realized when the program instructions thereof are executed, can be explained with reference to other embodiments.
Embodiments of the present description also provide a computer storage medium storing computer program instructions that, when executed, implement: receiving demand information; wherein the requirement information is used for describing the service unit; matching the requirement information in the execution condition set to obtain an execution link of the functional module; wherein the execution condition set comprises execution conditions of a plurality of functional modules; the execution link is used for representing a functional module corresponding to an execution condition successfully matched with the demand information; and generating the service unit according to the functional module for executing the link characterization.
The functions and effects of the computer storage medium provided in the present embodiment, which are realized when the program instructions thereof are executed, can be explained with reference to other embodiments.
The embodiments in the specification are all described in a progressive mode, the same and similar parts among the embodiments can be referred to each other, and each embodiment focuses on the difference between the other embodiments.
The server in the embodiments of the present specification may be an electronic device having a certain arithmetic processing capability. Which may have network communication terminals, a processor, memory, etc. Of course, the server may also refer to software running in the electronic device. The server may be a distributed server, and may be a system having a plurality of processors, memories, network communication modules, and the like that cooperate with one another. The server can also adopt cloud computing technology or quantum computing technology.
In the 90 s of the 20 th century, improvements in a technology could clearly distinguish between improvements in hardware (e.g., improvements in circuit structures such as diodes, transistors, switches, etc.) and improvements in software (improvements in process flow). However, as technology advances, many of today's process flow improvements have been seen as direct improvements in hardware circuit architecture. Designers almost always obtain the corresponding hardware circuit structure by programming an improved method flow into the hardware circuit. Thus, it cannot be said that an improvement in the process flow cannot be realized by hardware physical modules. For example, a Programmable Logic Device (PLD), such as a Field Programmable Gate Array (FPGA), is an integrated circuit whose Logic functions are determined by programming the Device by a user. A digital system is "integrated" on a PLD by the designer's own programming without requiring the chip manufacturer to design and fabricate application-specific integrated circuit chips. Furthermore, nowadays, instead of manually making an integrated Circuit chip, such Programming is often implemented by "logic compiler" software, which is similar to a software compiler used in program development and writing, but the original code before compiling is also written by a specific Programming Language, which is called Hardware Description Language (HDL), and HDL is not only one but many, such as abel (advanced Boolean Expression Language), ahdl (alternate Language Description Language), traffic, pl (core unified Programming Language), HDCal, JHDL (Java Hardware Description Language), langue, Lola, HDL, laspam, hardsradware (Hardware Description Language), vhjhd (Hardware Description Language), and vhigh-Language, which are currently used in most popular applications. It will also be apparent to those skilled in the art that hardware circuitry that implements the logical method flows can be readily obtained by merely slightly programming the method flows into an integrated circuit using the hardware description languages described above.
Those skilled in the art will also appreciate that, in addition to implementing a client, server as pure computer readable program code, the same functionality can be implemented by logically programming method steps such that the client, server are in the form of logic gates, switches, application specific integrated circuits, programmable logic controllers, embedded microcontrollers and the like. Such a client, server may be considered as a hardware component, and the means included therein for implementing various functions may also be considered as a structure within the hardware component. Or even means for performing the functions may be regarded as being both a software module for performing the method and a structure within a hardware component.
From the above description of the embodiments, it is clear to those skilled in the art that the present specification can be implemented by software plus a necessary general hardware platform. Based on such understanding, the technical solutions of the present specification may be embodied in the form of a software product, which may be stored in a storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, or the like, and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute the method according to the embodiments or some parts of the embodiments of the present specification.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments can be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, embodiments of a server, a user client, a computer storage medium may be explained with reference to the introduction of embodiments of the aforementioned method.
This description may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
While the specification has been described with respect to the embodiments, those skilled in the art will appreciate that there are numerous variations and permutations of the specification that fall within the spirit and scope of the specification, and it is intended that the appended claims include such variations and modifications as fall within the spirit and scope of the specification.

Claims (31)

1. A method for implementing service function is characterized by comprising the following steps:
receiving a service request;
matching in the execution condition set according to the service request to obtain an execution link of the functional module; wherein the execution condition set comprises execution conditions of a plurality of functional modules; the execution link is used for representing a functional module corresponding to an execution condition successfully matched with the service request;
and executing the functional module for executing the link characterization to realize the service function.
2. The method of claim 1, wherein the service request is accompanied by a requirement parameter;
the step of obtaining the execution link of the functional module by matching in the execution condition set according to the service request comprises the following steps: and matching the requirement parameters with the execution conditions in the execution condition set.
3. The method of claim 2, wherein matching the demand parameters to the execution conditions in the set of execution conditions comprises: and under the condition that the corresponding parameters in the requirement parameters and the execution conditions have the same values, the requirement parameters and the execution conditions are considered to be successfully matched.
4. The method of claim 2, wherein matching the demand parameters to the execution conditions in the set of execution conditions comprises:
respectively scoring the matching degree of the demand parameters and a plurality of execution conditions;
determining that the requirement parameters are successfully matched with the execution conditions with the scores higher than the specified scores; or, the requirement parameters are considered to be successfully matched with the execution conditions corresponding to the highest scores.
5. The method of claim 2, wherein a plurality of sets of requirement parameters are appended to the service request; the step of obtaining the execution link of the functional module by matching in the execution condition set according to the service request comprises the following steps: and respectively matching each group of demand parameters with the execution conditions in the execution condition set.
6. The method of claim 1, wherein the service request is accompanied by textual description information; the step of obtaining the execution link of the functional module by matching in the execution condition set according to the service request comprises the following steps: and matching the text description information with the execution conditions in the execution condition set.
7. The method of claim 6, wherein matching the textual description information with the execution conditions in the set of execution conditions comprises:
generating a text vector according to the text description information;
calculating the similarity of the text vector and a condition vector representing an execution condition;
confirming that the text description information is successfully matched with the execution condition corresponding to the highest similarity; or, the text description information is considered to be successfully matched with the execution condition with the similarity higher than the specified similarity.
8. The method of claim 6, wherein matching the textual description information with the execution conditions in the set of execution conditions comprises:
performing word segmentation processing on the text description information to obtain a plurality of description words;
respectively establishing a word vector of each descriptor;
calculating the similarity of each word vector and a condition vector representing an execution condition;
confirming that the descriptor is successfully matched with the execution condition corresponding to the highest similarity; or, the description words are considered to be successfully matched with the execution conditions with the similarity higher than the specified similarity.
9. The method of claim 1, wherein the step of obtaining the execution link of the functional module according to the matching of the service request in the execution condition set comprises:
and adding the characterization information of the functional module corresponding to the execution condition into the execution link under the condition that the service request is successfully matched with the execution condition.
10. A server, comprising:
the receiving module is used for receiving the service request;
the matching module is used for matching in the execution condition set according to the service request to obtain an execution link of the functional module; wherein the execution condition set comprises execution conditions of a plurality of functional modules; the execution link is used for representing a functional module corresponding to an execution condition successfully matched with the service request; and the execution module is used for executing the functional module for executing the link representation so as to realize the service function.
11. An electronic device comprising a network communication unit and a processor;
the network communication unit is used for receiving a service request;
the processor is used for matching in the execution condition set according to the service request to obtain an execution link of the functional module; wherein the execution condition set comprises execution conditions of a plurality of functional modules; the execution link is used for representing a functional module corresponding to an execution condition successfully matched with the service request; and executing the functional module for executing the link characterization to realize the service function.
12. A computer storage medium having computer program instructions stored thereon that when executed implement: receiving a service request; matching in the execution condition set according to the service request to obtain an execution link of the functional module; wherein the execution condition set comprises execution conditions of a plurality of functional modules; the execution link is used for representing a functional module corresponding to an execution condition successfully matched with the service request; and executing the functional module for executing the link characterization to realize the service function.
13. A method for implementing service function is characterized by comprising the following steps:
receiving a service request;
matching in the execution condition set according to the service request to obtain a target execution link successfully matched with the service request; wherein the set of execution conditions includes execution conditions of a plurality of execution links; the execution link is used for representing a plurality of functional modules for realizing the specified service function;
and executing the functional module of the target execution link characterization to realize the service function.
14. The method of claim 13, wherein the service request is accompanied by a requirement parameter;
the step of obtaining the target execution link successfully matched with the service request by matching in the execution condition set according to the service request comprises the following steps: and matching the requirement parameters with the execution conditions in the execution condition set.
15. The method of claim 14, wherein matching the demand parameters to the execution conditions in the set of execution conditions comprises: and under the condition that the corresponding parameters in the requirement parameters and the execution conditions have the same values, the requirement parameters and the execution conditions are considered to be successfully matched.
16. The method of claim 14, wherein matching the demand parameters to the execution conditions in the set of execution conditions comprises:
respectively scoring the matching degree of the demand parameters and a plurality of execution conditions;
determining that the requirement parameters are successfully matched with the execution conditions with the scores higher than the specified scores; or, the requirement parameters are considered to be successfully matched with the execution conditions corresponding to the highest scores.
17. The method of claim 14, wherein a plurality of sets of requirement parameters are appended to the service request; the step of obtaining the target execution link successfully matched with the service request by matching in the execution condition set according to the service request comprises the following steps: and respectively matching each group of demand parameters with the execution conditions in the execution condition set.
18. The method of claim 13, wherein the service request is accompanied by textual description information; the step of obtaining the target execution link successfully matched with the service request by matching in the execution condition set according to the service request comprises the following steps: and matching the text description information with the execution conditions in the execution condition set.
19. The method of claim 18, wherein matching the textual description information with the set of execution conditions comprises:
generating a text vector according to the text description information;
calculating the similarity of the text vector and a condition vector representing an execution condition;
confirming that the text description information is successfully matched with the execution condition corresponding to the highest similarity; or, the text description information is considered to be successfully matched with the execution condition with the similarity higher than the specified similarity.
20. The method of claim 18, wherein matching the textual description information with the set of execution conditions comprises:
performing word segmentation processing on the text description information to obtain a plurality of description words;
respectively establishing a word vector of each descriptor;
calculating the similarity of each word vector and a condition vector representing an execution condition;
confirming that the descriptor is successfully matched with the execution condition corresponding to the highest similarity; or, the description words are considered to be successfully matched with the execution conditions with the similarity higher than the specified similarity.
21. A server, comprising:
the receiving module is used for receiving the service request;
the matching module is used for matching in the execution condition set according to the service request to obtain a target execution link successfully matched with the service request; wherein the set of execution conditions includes execution conditions of a plurality of execution links; the execution link is used for representing a plurality of functional modules for realizing the specified service function;
and the execution module is used for executing the functional module of the target execution link representation so as to realize the service function.
22. An electronic device comprising a network communication unit and a processor;
the network communication unit is used for receiving a service request;
the processor is used for matching in the execution condition set according to the service request to obtain a target execution link successfully matched with the service request; wherein the set of execution conditions includes execution conditions of a plurality of execution links; the execution link is used for representing a plurality of functional modules for realizing the specified service function; and executing the functional module of the target execution link characterization to realize the service function.
23. A computer storage medium having computer program instructions stored thereon that when executed implement: receiving a service request; matching in the execution condition set according to the service request to obtain a target execution link successfully matched with the service request; wherein the set of execution conditions includes execution conditions of a plurality of execution links; the execution link is used for representing a plurality of functional modules for realizing the specified service function; and executing the functional module of the target execution link characterization to realize the service function.
24. A method for generating a service element, comprising:
receiving demand information; wherein the requirement information is used for describing the service unit;
matching the requirement information in the execution condition set to obtain an execution link of the functional module; wherein the execution condition set comprises execution conditions of a plurality of functional modules; the execution link is used for representing a functional module corresponding to an execution condition successfully matched with the demand information;
and generating the service unit according to the functional module for executing the link characterization.
25. The method of claim 24, wherein the demand information is textual description information; the step of obtaining the execution link of the functional module by matching in the execution condition set according to the requirement information comprises the following steps: and matching the text description information with the execution conditions in the execution condition set.
26. The method of claim 25, wherein matching the textual description information with the set of execution conditions comprises:
generating a text vector according to the text description information;
calculating the similarity of the text vector and a condition vector representing an execution condition;
confirming that the text description information is successfully matched with the execution condition corresponding to the highest similarity; or, the text description information is considered to be successfully matched with the execution condition with the similarity higher than the specified similarity.
27. The method of claim 25, wherein matching the textual description information with the set of execution conditions comprises:
performing word segmentation processing on the text description information to obtain a plurality of description words;
respectively establishing a word vector of each descriptor;
calculating the similarity of each word vector and a condition vector representing an execution condition;
confirming that the descriptor is successfully matched with the execution condition corresponding to the highest similarity; or, the description words are considered to be successfully matched with the execution conditions with the similarity higher than the specified similarity.
28. The method of claim 24, wherein the step of obtaining the execution link of the functional module according to the matching of the requirement information in the execution condition set comprises:
and adding the characterization information of the functional module corresponding to the execution condition into the execution link under the condition that the service request is successfully matched with the execution condition.
29. A server, comprising:
the receiving module is used for receiving the demand information; the requirement information is used for describing service units;
the matching module is used for matching the requirement information in the execution condition set to obtain an execution link of the functional module; wherein the execution condition set comprises execution conditions of a plurality of functional modules; the execution link is used for representing a functional module corresponding to an execution condition successfully matched with the demand information;
and the generating module is used for generating the service unit according to the functional module for executing the link representation.
30. An electronic device comprising a network communication unit and a processor;
the network communication unit is used for receiving the demand information; the requirement information is used for describing service units;
the processor is used for matching the requirement information in the execution condition set to obtain an execution link of the functional module; wherein the execution condition set comprises execution conditions of a plurality of functional modules; the execution link is used for representing a functional module corresponding to an execution condition successfully matched with the demand information; and generating the service unit according to the functional module for executing the link characterization.
31. A computer storage medium having computer program instructions stored thereon that when executed implement: receiving demand information; the requirement information is used for describing service units; matching the requirement information in the execution condition set to obtain an execution link of the functional module; wherein the execution condition set comprises execution conditions of a plurality of functional modules; the execution link is used for representing a functional module corresponding to an execution condition successfully matched with the demand information; and generating the service unit according to the functional module for executing the link characterization.
CN201810723683.1A 2018-07-04 2018-07-04 Method for generating and realizing service function and unit, server, equipment and medium Pending CN110688119A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810723683.1A CN110688119A (en) 2018-07-04 2018-07-04 Method for generating and realizing service function and unit, server, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810723683.1A CN110688119A (en) 2018-07-04 2018-07-04 Method for generating and realizing service function and unit, server, equipment and medium

Publications (1)

Publication Number Publication Date
CN110688119A true CN110688119A (en) 2020-01-14

Family

ID=69106525

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810723683.1A Pending CN110688119A (en) 2018-07-04 2018-07-04 Method for generating and realizing service function and unit, server, equipment and medium

Country Status (1)

Country Link
CN (1) CN110688119A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120260233A1 (en) * 2011-04-07 2012-10-11 Infosys Technologies Limited Method and system for automating development and customization of business applications
CN106598556A (en) * 2015-10-15 2017-04-26 阿里巴巴集团控股有限公司 User interface generation method and device
CN106897072A (en) * 2017-02-28 2017-06-27 北京三快在线科技有限公司 Traffic engineered call method, device and electronic equipment
CN107038042A (en) * 2017-02-07 2017-08-11 阿里巴巴集团控股有限公司 The method and device that a kind of business is performed
CN107122183A (en) * 2017-04-17 2017-09-01 上海众开信息科技有限公司 Service code generation method and device
CN107819861A (en) * 2017-11-16 2018-03-20 中国银行股份有限公司 Business data processing method, apparatus and system
CN108170684A (en) * 2018-01-22 2018-06-15 京东方科技集团股份有限公司 Text similarity computing method and system, data query system and computer product

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120260233A1 (en) * 2011-04-07 2012-10-11 Infosys Technologies Limited Method and system for automating development and customization of business applications
CN106598556A (en) * 2015-10-15 2017-04-26 阿里巴巴集团控股有限公司 User interface generation method and device
CN107038042A (en) * 2017-02-07 2017-08-11 阿里巴巴集团控股有限公司 The method and device that a kind of business is performed
CN106897072A (en) * 2017-02-28 2017-06-27 北京三快在线科技有限公司 Traffic engineered call method, device and electronic equipment
CN107122183A (en) * 2017-04-17 2017-09-01 上海众开信息科技有限公司 Service code generation method and device
CN107819861A (en) * 2017-11-16 2018-03-20 中国银行股份有限公司 Business data processing method, apparatus and system
CN108170684A (en) * 2018-01-22 2018-06-15 京东方科技集团股份有限公司 Text similarity computing method and system, data query system and computer product

Similar Documents

Publication Publication Date Title
CN108628947B (en) Business rule matching processing method, device and processing equipment
CN109976761B (en) Software development kit generation method and device and terminal equipment
CN110245069B (en) Page version testing method and device and page display method and device
CN110737659A (en) Graph data storage and query method, device and computer readable storage medium
US10613844B2 (en) Using comments of a program to provide optimizations
CN113377373A (en) Page loading method and device based on analysis engine, computer equipment and medium
CN111198863A (en) Rule engine and implementation method thereof
CN110688096B (en) Method and device for constructing application program containing plug-in, medium and electronic equipment
CN114996619A (en) Page display method and device, computer equipment and storage medium
CN102693238B (en) Widget application process, system and multimedia terminal
CN114020846A (en) Processing method and device capable of changing NFT (network File transfer) works
CN112199416A (en) Data rule generation method and device
CN114327374A (en) Business process generation method and device and computer equipment
US11663245B2 (en) Initial loading of partial deferred object model
CN108470043A (en) A kind of acquisition methods and device of business result
CN110688119A (en) Method for generating and realizing service function and unit, server, equipment and medium
CN113687827B (en) Data list generation method, device and equipment based on widget and storage medium
CN114860295A (en) Resource file updating method, device, equipment and readable storage medium
CN109145084B (en) Data processing method, data processing device and server
CN114356379A (en) Backup-based service upgrading method, device, equipment and storage medium
CN110502483B (en) Data processing method, data processing device, computer equipment and storage medium
CN113468258A (en) Heterogeneous data conversion method and device and storage medium
CN112650502A (en) Batch processing task processing method and device, computer equipment and storage medium
CN102148755A (en) Mainframe injection component and method for manipulating data packets communicated between emulators and mainframes
CN107451050B (en) Function acquisition method and device and server

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200114