Service implementation method and device based on PaaS management system, electronic equipment and medium
By determining the business filtering expansion functions and the execution results of the business package in the PaaS management system, the problems of high maintenance costs and low system operation efficiency caused by complex business logic in the prior art are solved, and the isolation of business logic and on-demand loading of the system are realized, which improves the scalability and efficiency of business implementation.
Patent Information
- Application Number
- CN202311183967.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-13
- Publication Date
- 2025-03-14
AI Technical Summary
The existing technology has high maintenance costs when the business logic is complex, and cannot meet the needs of rapid iteration. The system operation efficiency is low, so it cannot realize the co-construction of the business recommendation system.
By determining the service filtering and expansion function in the PaaS management system, the service packet corresponding to the service identity is sent to the terminal with the service identity, and the execution result of the service packet is determined through the service filtering and expansion function, so as to achieve the isolation of business logic and the loading of the system on demand.
The modular PaaS management system is implemented, creating different business identities for different business parties, and supporting personalized services through expansion functions to realize plug-in expansion capabilities, improving the scalability and efficiency of business implementation, and forming a self-pickup recommendation system that can be co-constructed, efficient and platform-based.
Smart Images

Figure CN119622076A_ABST
Abstract
Description
Background Art
[0002] Currently, data is filtered by maintaining multiple business filters and site filters in the system, and each piece of logic is connected in series using a responsibility chain and executed sequentially.
[0003] In related technologies, when a business party proposes a new requirement, the system manager needs to add corresponding filters and recommendation algorithms to the code to implement the required functions.
[0004] However, as the business logic becomes more and more complex, the maintenance cost of the self-pickup recommendation system is high. When there are too many demands, it is unable to meet the rapid iteration of demands. All logic can only be developed by one team, and the communication cost between multiple business teams is very high, making it impossible to jointly build a management system.
[0005] In addition, the business system is a completely closed system, and the development of business forms has led to more and more personalized time-efficiency requirements, which are very difficult to achieve all by ourselves. Therefore, the business side has the demand for co-construction of the business recommendation system, but the current system level does not have this capability.
[0006] Finally, many business logics are mixed together, and each request must go through all the business logics, which seriously affects the operating efficiency of the system.
[0007] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present disclosure, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field. Summary of the invention
[0008] The purpose of the present disclosure is to provide a business implementation method, device, electronic device and medium based on a PaaS management system, which are used to overcome the problem of poor operating performance of business implementation solutions caused by limitations and defects of related technologies to at least a certain extent.
[0009] According to a first aspect of an embodiment of the present disclosure, a business implementation method based on a PaaS management system is provided, comprising: determining a business filtering extension function in the PaaS management system, wherein the business filtering extension function is configured to send a business package corresponding to a business identity to a terminal having the business identity; and determining an execution result of the business package through the business filtering extension function.
[0010] In an exemplary embodiment of the present disclosure, before determining the service filtering extension function in the PaaS management system, the method further includes:
[0011] A monitoring mechanism of a PaaS management system for implementing services is established, under which the PaaS management system can receive messages of service package updates.
[0012] In an exemplary embodiment of the present disclosure, before determining the service filtering extension function in the PaaS management system, the method further includes:
[0013] The business package corresponding to the business filtering extension function sent by the business party is loaded, and a proxy class corresponding to the business package is generated. Different business logics of the business package are isolated from each other, and the business package of the PaaS management system is configured to share underlying business data.
[0014] In an exemplary embodiment of the present disclosure, the isolation between the business logics is implemented based on at least one of classloader, OSGI and java9.
[0015] In an exemplary embodiment of the present disclosure, the application scenario of the PaaS management system includes a logistics self-pickup scenario, and the business implementation method based on the PaaS management system further includes:
[0016] Determine the site type filtering extension function of the PaaS management system, and the site type filtering extension function is configured to screen and determine corresponding logistics sites for logistics self-pickup scenarios.
[0017] In an exemplary embodiment of the present disclosure, the application scenario of the PaaS management system includes a logistics self-pickup scenario, and the business implementation method based on the PaaS management system further includes:
[0018] Determine the self-pickup point filtering extension function of the PaaS management system, and the self-pickup point filtering extension function is configured to filter and determine the corresponding self-pickup grid according to the logistics self-pickup scenario.
[0019] 11. In an exemplary embodiment of the present disclosure, determining the execution result of the service package through the service filtering extension function includes:
[0020] Determine the sorting result of the service filtering extension function according to the configuration file of the service package, and execute the service filtering extension function in series according to the sorting result, wherein the service filtering extension function supports a user-defined service logic;
[0021] Determine the execution result of the service package according to the execution result of the service filtering extension function
[0022] In an exemplary embodiment of the present disclosure, determining a ranking result of a service filtering extension function according to a configuration file of a service package, and serially executing the service filtering extension function according to the ranking result includes:
[0023] Determine the corresponding business identity scope according to the configuration file of the business package;
[0024] Determining a target service identity in the service identity range according to a preset service identity priority;
[0025] Sort the business filtering extension functions corresponding to the scenarios corresponding to the target business identities;
[0026] The sorted business filtering extension functions are executed in series.
[0027] According to a second aspect of an embodiment of the present disclosure, a service implementation device based on a PaaS management system is provided, including:
[0028] A determination module, configured to determine a service filtering extension function in the PaaS management system, wherein the service filtering extension function is configured to send a service package corresponding to a service identity to a terminal having the service identity;
[0029] The determination module is configured to determine the execution result of the service package through a service filtering extension function.
[0030] According to a third aspect of the present disclosure, there is provided an electronic device, comprising: a memory; and a processor coupled to the memory, wherein the processor is configured to execute any one of the methods described above based on instructions stored in the memory.
[0031] According to a fourth aspect of the present disclosure, a computer-readable storage medium is provided, on which a program is stored, and when the program is executed by a processor, the business implementation method based on the PaaS management system as described in any one of the above items is implemented.
[0032] The disclosed embodiment, by determining the business filtering extension function in the PaaS management system, the business filtering extension function is configured to send the business package corresponding to the business identity to the terminal with the business identity, and determine the execution result of the business package through the business filtering extension function. Different business identities can be created for different business parties through the modular PaaS management system, and the extension function is exposed to the outside, thereby realizing the transformation from closed service to PaaS service through business isolation of different identities and on-demand loading of the system, which can not only empower the business with general capabilities, but also support personalized business to realize plug-in extension capabilities through extension functions, thereby realizing a co-constructible, efficient, platform-based self-pickup recommendation system, and improving the scalability and efficiency of business implementation.
[0033] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] The accompanying drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the specification are used to explain the principles of the present disclosure. Obviously, the accompanying drawings described below are only some embodiments of the present disclosure, and for ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without creative work.
[0035] Figure 1 A schematic diagram showing an exemplary system architecture of a business implementation solution based on a PaaS management system to which an embodiment of the present invention can be applied;
[0036] Figure 2 is a flow chart of a business implementation method based on a PaaS management system in an exemplary embodiment of the present disclosure;
[0037] Figure 3 is a flow chart of another method for implementing a business based on a PaaS management system in an exemplary embodiment of the present disclosure;
[0038] Figure 4 is a flow chart of another method for implementing a business based on a PaaS management system in an exemplary embodiment of the present disclosure;
[0039] Figure 5 is a flow chart of another method for implementing a business based on a PaaS management system in an exemplary embodiment of the present disclosure;
[0040] Figure 6 is a flow chart of another method for implementing a business based on a PaaS management system in an exemplary embodiment of the present disclosure;
[0041] Figure 7 is a flow chart of another method for implementing a business based on a PaaS management system in an exemplary embodiment of the present disclosure;
[0042] Figure 8 It is a logical schematic diagram of a business implementation solution based on a PaaS management system in an exemplary embodiment of the present disclosure;
[0043] Fig. 9 It is a logical schematic diagram of another business implementation solution based on the PaaS management system in an exemplary embodiment of the present disclosure;
[0044] Fig.10 It is a logical schematic diagram of another business implementation solution based on the PaaS management system in an exemplary embodiment of the present disclosure;
[0045] Fig.11 It is a logical schematic diagram of another business implementation solution based on the PaaS management system in an exemplary embodiment of the present disclosure;
[0046] Fig.12 It is a logical schematic diagram of another business implementation solution based on the PaaS management system in an exemplary embodiment of the present disclosure;
[0047] Fig.13 It is a logical schematic diagram of another business implementation solution based on the PaaS management system in an exemplary embodiment of the present disclosure;
[0048] Fig.14 It is a logical schematic diagram of another business implementation solution based on the PaaS management system in an exemplary embodiment of the present disclosure;
[0049] Fig.15 is an architecture diagram of another business implementation system based on the PaaS management system in an exemplary embodiment of the present disclosure;
[0050] Fig.16 is a block diagram of a service implementation device based on a PaaS management system in an exemplary embodiment of the present disclosure;
[0051] Fig.17 is a block diagram of an electronic device in an exemplary embodiment of the present disclosure. DETAILED DESCRIPTION
[0052] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as being limited to the examples set forth herein; on the contrary, these embodiments are provided so that the present disclosure will be more comprehensive and complete, and the concepts of the example embodiments are fully conveyed to those skilled in the art. The described features, structures, or characteristics may be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure may be practiced while omitting one or more of the specific details, or other methods, components, devices, steps, etc. may be adopted. In other cases, known technical solutions are not shown or described in detail to avoid obscuring various aspects of the present disclosure.
[0053] In addition, the accompanying drawings are only schematic diagrams of the present disclosure, and the same reference numerals in the drawings represent the same or similar parts, so their repeated description will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities, which do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software form, or implemented in one or more hardware modules or integrated circuits, or implemented in different networks and / or processor devices and / or microcontroller devices.
[0054] Figure 1A schematic diagram of an exemplary system architecture of a business implementation solution based on a PaaS management system to which an embodiment of the present invention can be applied is shown.
[0055] like Figure 1 As shown, the system architecture 100 may include one or more of terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 is used to provide a medium for communication links between the terminal devices 101, 102, 103 and the server 105. The network 104 may include various connection types, such as wired, wireless communication links, or optical fiber cables, etc.
[0056] It should be understood that Figure 1 The number of terminal devices, networks and servers in the embodiment is only for illustration. According to the implementation requirements, there may be any number of terminal devices, networks and servers. For example, the server 105 may be a server cluster composed of multiple servers.
[0057] Users can use terminal devices 101, 102, 103 to interact with server 105 through network 104 to receive or send messages, etc. Terminal devices 101, 102, 103 can be various electronic devices with display screens, including but not limited to smart phones, tablet computers, portable computers, desktop computers, etc.
[0058] In some embodiments, the service implementation method based on the PaaS management system provided in the embodiments of the present invention is generally executed by the server 105. Accordingly, the service implementation device based on the PaaS management system is generally set in the terminal device 103 (which may also be the terminal device 101 or 102). In other embodiments, some terminals may have functions similar to those of the server device to execute the present method.
[0059] The exemplary embodiments of the present disclosure are described in detail below with reference to the accompanying drawings.
[0060] Figure 2 It is a flow chart of a service implementation method based on a PaaS management system in an exemplary embodiment of the present disclosure.
[0061] refer to Figure 2 , the business implementation methods based on the PaaS management system may include:
[0062] Step S204: determining a service filtering extension function in the PaaS management system, wherein the service filtering extension function is configured to send a service package corresponding to a service identity to a terminal having the service identity.
[0063] Step S206: determining the execution result of the service package through the service filtering extension function.
[0064] The disclosed embodiment, by determining the business filtering extension function in the PaaS management system, the business filtering extension function is configured to send the business package corresponding to the business identity to the terminal with the business identity, and determine the execution result of the business package through the business filtering extension function. Different business identities can be created for different business parties through the modular PaaS management system, and the extension function is exposed to the outside, thereby realizing the transformation from closed service to PaaS service through business isolation of different identities and on-demand loading of the system, which can not only empower the business with general capabilities, but also support personalized business to realize plug-in extension capabilities through extension functions, thereby realizing a co-constructible, efficient, platform-based self-pickup recommendation system, and improving the scalability and efficiency of business implementation.
[0065] Furthermore, the PaaS system of the disclosed embodiment integrates core engine components in multiple areas of the platform, integrates core area service capabilities, and forms a highly aggregated core capability engine, enabling users to integrate the business capability engine with the distributed architecture platform, shielding the technical complexity of the platform downward and supporting customer operations and service innovation needs upward, with standardized and reusable core area service capabilities.
[0066] Furthermore, the working mode of the PaaS management system of the embodiment of the present disclosure includes a service mode that empowers users, the core of which is to precipitate the common and common business functions in the business to form capabilities, avoid repeated construction and maintenance of functions, and make more reasonable use of technical resources. With very powerful programmable, combinable, configurable, and scalable technical service capabilities, it supports the rapid agility and flexibility of the business.
[0067] Next, each step of the service implementation method based on the PaaS management system is described in detail.
[0068] In an exemplary embodiment of the present disclosure, Figure 3 As shown, before determining the service filtering extension function in the PaaS management system, the process also includes:
[0069] Step S302: Establish a monitoring mechanism of the PaaS management system for implementing the service, under which the PaaS management system can receive a message of a service package update.
[0070] In the above embodiment, a monitoring mechanism is established to timely respond to the service package update message, thereby timely updating the performance and operation efficiency of the PaaS management system.
[0071] In an exemplary embodiment of the present disclosure, Figure 4 As shown, before determining the service filtering extension function in the PaaS management system, the process also includes:
[0072] Step S402, load the business package corresponding to the business filtering extension function sent by the business party, and generate a proxy class corresponding to the business package, the different business logics of the business package are isolated from each other, and the business package of the PaaS management system is configured to share underlying business data.
[0073] In the above embodiment, by loading the business package corresponding to the business filtering extension function sent by the business party and generating a proxy class corresponding to the business package, the different business logics of the business package are isolated from each other, and the business package of the PaaS management system is configured to share the underlying business data. On the one hand, different business identities are created for different business parties, and their corresponding extension functions are exposed. On the other hand, through the business isolation of different identities and the on-demand loading of the system, the transformation from closed service to PaaS service is realized, which can not only empower the business with general capabilities, but also support personalized business through extension points to realize plug-in extension capabilities to complete a co-build, efficient, and platform-based business recommendation system, and recommend the best business implementation plan to users.
[0074] In an exemplary embodiment of the present disclosure, the isolation between the business logics is implemented based on at least one of classloader (class loading classification), OSGI (Open Service Gateway Initiative, a dynamic model system for Java) and java9.
[0075] In an exemplary embodiment of the present disclosure, Figure 5 As shown, the application scenario of the PaaS management system includes a logistics self-pickup scenario, and the business implementation method based on the PaaS management system also includes:
[0076] Step S502, determining the site type filtering extension function of the PaaS management system, wherein the site type filtering extension function is configured to filter and determine corresponding logistics sites for logistics self-pickup scenarios.
[0077] In an exemplary embodiment of the present disclosure, Figure 6 As shown, the application scenario of the PaaS management system includes a logistics self-pickup scenario, and the business implementation method based on the PaaS management system also includes:
[0078] Step S602, determining the self-pickup point filtering extension function of the PaaS management system, wherein the self-pickup point filtering extension function is configured to filter and determine the corresponding self-pickup slots according to the logistics self-pickup scenario.
[0079] In an exemplary embodiment of the present disclosure, Figure 7 As shown, determining the execution result of the service package through the service filtering extension function includes:
[0080] Step S702, determining a ranking result of the service filtering extension function according to the configuration file of the service package, and executing the service filtering extension function in series according to the ranking result, wherein the service filtering extension function supports a user-defined service logic;
[0081] Step S704: determining the execution result of the service package according to the execution result of the service filtering extension function.
[0082] In an exemplary embodiment of the present disclosure, step S702 determines the execution result of the service package through the service filtering extension function, including:
[0083] The corresponding business identity scope is determined according to the configuration file of the business package.
[0084] The target service identity in the service identity range is determined according to the preset service identity priority.
[0085] The service filtering extension functions corresponding to the scenarios corresponding to the target service identities are sorted.
[0086] The sorted business filtering extension functions are executed in series.
[0087] In the above embodiment, the first hit business identity is traversed according to the business identity priority. The business identity priorities are sorted in reverse order. Only one vertical business identity can be executed at a time. The business identities that need to be executed and the execution order (priority) of the business identities are determined according to the configuration file in the hit business package. The vertical business identity and the horizontal business identity can be superimposed, but the horizontal business vertical and the vertical business identity cannot be superimposed. Based on the constraints between the horizontal business vertical and the vertical business identity, the extension point (i.e., the point corresponding to the extended function) of the corresponding scene under the corresponding business identity is found.
[0088] In the above embodiment, if multiple scenario extension points are hit under the same business identity, the default extension points are sorted in reverse order by scenario name, and the scenario names are the same and sorted in reverse order by priority. Custom sorting is also supported, and the sorted extension points are executed serially. The extension point execution supports short circuiting, that is, it supports custom processing logic, and the results of the extension point operation are processed and returned (supporting custom processing logic).
[0089] Combine the following Figures 8 to 15 The specific implementation example of the PaaS management system disclosed in the present invention in the self-collection business is described.
[0090] like Figure 8 As shown in the figure, the implementation steps of the PaaS management system in the self-collection business include:
[0091] Step S802, determine whether the self-pickup service is downgraded, if so, end, if not, execute step S804.
[0092] Step S804, determine whether the city service is downgraded, if so, execute step S840, if not, execute step S806.
[0093] Step S806, determine the validity of the verification parameters, if yes, execute step S808, if no, execute step S840.
[0094] Step S808: business logic filtering.
[0095] Step S810, expose business filtering extension points: product grouping, fresh food, sop, omni-channel, energy-saving subsidies, auto aftermarket, flowers and other businesses, and the business party independently implements the extension points.
[0096] Step S812: After the business logic is processed, the ftResult object is returned.
[0097] Step S814, determine whether ftResult.getMsgCode<0 is established, if so, execute step S840, if not, execute step S816.
[0098] Step S816, initialize the self-pickup point type information.
[0099] Step S818, organize data List according to information <fws>Ops.
[0100] Step S820, filtering by pick-up point type.
[0101] Step S822, expose the site type filtering extension points: Aihuishou, overseas self-pickup, site basic attribute filtering, whether the sop product is contracted for self-pickup and other services, and the business party will independently implement the extension points.
[0102] Step S824, organize the data List according to the corresponding logic <fws>Ops.
[0103] Step S826, initialize the self-pickup point information.
[0104] Step S828, filtering by pick-up point.
[0105] Step S830, expose the self-pickup point filtering extension point: whether fresh food is supported, whether the compartment is full, whether there is keyword blocking and other logic, and the business party independently implements the extension point.
[0106] Step S832, assemble List <fws>Ops.
[0107] Step S834, sorting business rules.
[0108] Step S836, expose the sorting extension point: for sites that meet the above conditions, the business party can independently define the sorting rules and priorities to maximize the benefits of the operation.
[0109] Step S838, recommend labeling at the pick-up point.
[0110] Step S840, Response data.
[0111] like Fig. 9 As shown, based on the embodiment of the present disclosure, the implementation steps of the PaaS management system in the self-collection business include:
[0112] Step S900, CallerInfo[]infosUMP monitors.
[0113] Step S902, determine whether the self-pickup service is downgraded, if so, end, if not, execute step S904.
[0114] Step S904, determine whether the city service is downgraded, if so, execute step S940, if not, execute step S906.
[0115] Step S906, determine the validity of the verification parameters, if yes, execute step S908, if no, execute step S940.
[0116] Step S908: business logic filtering.
[0117] Step S910, product set-business filtering.
[0118] Step S912: After the business logic is processed, the ftResult object is returned.
[0119] Step S914, determine whether ftResult.getMsgCode<0 is established, if so, execute step S940, if not, execute step S916.
[0120] Step S916, initialize the self-pickup point type information.
[0121] Step S918, organize data List according to information <fws>Ops.
[0122] Step S920, filtering by pick-up point type.
[0123] Step S922: site type-service filtering.
[0124] Step S924, organize the data List according to the corresponding logic <fws>Ops.
[0125] Step S926, initialize the self-pickup point information.
[0126] Step S928, filtering by pick-up point.
[0127] Step S930, assemble List <fws>Ops.
[0128] Step S932: sorting business rules.
[0129] Step S934: distance sorting.
[0130] Step S936, keyword sorting.
[0131] Step S938, recommend labeling at the pick-up point.
[0132] Step S940, Response data.
[0133] Fig.10 The process 1000 of commodity set-business filtering in step S910 specifically includes:
[0134] 1. PreGroupByExtendedFilter: Product collection - deduplication and grouping (main, gift, extended).
[0135] 2. BizVenderTypeFilter: Product collection - merchant type filtering: omni-channel business filtering (survival of the fittest) and home delivery integration.
[0136] 3. v4bizStockStateFilter: Product collection - mobile warehouse business filtering.
[0137] 4. v4bizJNBTFilter: Product collection - energy-saving subsidy filtering.
[0138] 5. BizDraftBeerFilter: Product collection - draft beer SKUID filtering.
[0139] 6. BizColdChainSkuFilter: Product collection - fresh cold chain blacklist filtering.
[0140] 7. BizValentineActivityFilter: Product collection - flower express delivery filter.
[0141] 8. BizSOPSkuFilter: Product collection - whether SOP products support self-pickup filtering
[0142] (Does not affect self-operated products).
[0143] Fig.11 The processing process 1100 of step S922 site type-service filtering specifically includes:
[0144] 1. siteTypeAihuishouFilter: site type, XXX business filtering (only supports XXX store 1604).
[0145] 2. siteTypeAcceptReturnFilter: Filtering of the pickup site type.
[0146] 3. siteTypeRequestSiteTypeFilter: Filter according to the input site type.
[0147] 4. siteTypeOverseaAddressFilter: Overseas supports self-pickup site type filtering.
[0148] 5. siteTypeSOPProductFilterSOP: Products support self-pickup filtering (SOPZT, sop three-level categories, merchants sign self-pickup agreements-Phase I / Phase II).
[0149] 6. siteTypeQulificationFilter: Filtering of site type restrictions (site type).
[0150] 7. siteTypeAttributeFilter: Basic attribute filtering of site type (site type).
[0151] 8. siteTypeSkuNumberMaxFilter: Get the site category (site type) with the maximum number of self-pickup SKUs under the site type.
[0152] Fig.12 The processing process 1200 of the self-pickup point filtering in step S928 shown specifically includes:
[0153] 1. siteSelfFreshOrderFilter: Determine whether there are fresh products and whether each site supports self-pickup of fresh products (filter sites).
[0154] 2. siteSelfSpecialRemarkLimitFilter: Under site type, filter according to whether each site is "limited to keyword orders" (site).
[0155] 3. siteSelfCabinetAvailableFilter: For the specified types of sites, compare the cache query to see if each site is full or not - filter (site).
[0156] Fig.13 The processing process 1300 of the self-pickup point filtering in step S934 specifically includes:
[0157] 1. UserSelectSiteSorter: Sort by the pickup point selected by the user last time (request.userSelectSiteId).
[0158] 2. UserUsedSiteSorter: Sort by the pick-up point most recently used by the user (request.getUsedSiteIds).
[0159] 3. LocationDistanceSorter: Sorts the sites based on the distance between their longitude and latitude and the longitude in the request parameters.
[0160] Fig.14 The processing process 1400 of the self-pickup point filtering in step S936 shown specifically includes:
[0161] 1. SiteTypePrioritySorter: Sort by site type and priority.
[0162] 2. UserSelectSiteSorter: Sort by the pickup point selected by the user last time (request.userSelectSiteId).
[0163] 3. UserHistorySiteSorter: Sort the user's previous pick-up points.
[0164] 4. LastAddressKeywordMatchSorter: Sorts based on the match between the last address (townId or countyId) of the request and the site, and the match between the site keywords and the addressContent of the request.
[0165] 5. PenultAddressKeywordMatchSorter: Sorts based on the match between the request's secondary address (countyId or cityId) and the site, and the match between the site's keywords and the request's addressContent.
[0166] 6. LastAddressMatchSorter: Sorts based on the last address (townId or countyId) of the request and the site match.
[0167] 7. PenultAddressMatchSorter: Sorts based on the request's secondary address (countyId or cityId) and site match.
[0168] like Fig.15 As shown, a business implementation architecture 1500 based on a PaaS management system in an exemplary embodiment of the present disclosure includes core modules such as business identity identification, business filtering extension points, site filtering extension points, and data in memory. The processing steps of multiple modules working together include:
[0169] 1. The planning and construction of the core domain and common domain of the recommendation system, system downgrade, parameter verification, etc. are used as the framework and common functions of the system. When the self-provisioning system is started, MQ will be sent to the PaaS management system to establish a monitoring mechanism (the purpose is to obtain notification messages about business jar updates).
[0170] 2. Define and expose business filtering extension points. Many businesses have special timeliness requirements (such as flowers and fresh produce). Different business scopes (such as sop, global sales, and auto aftermarket) and special business scenarios cannot support the self-pickup method. The business party customizes the implementation (filtering sites that do not meet the requirements, retaining qualified sites and other logic); after the business party completes the development, it is packaged into a third-party business jar package, and the business party uploads the implementation jar to the Maven warehouse. The paas management system (which stores information about business identity, system, and business package) has a notification mechanism, which will notify the self-pickup system to obtain the new jar package corresponding to the business identity locally. The system loads the jar into the JVM through the custom classLoader corresponding to the business identity to achieve business isolation. The self-pickup system identifies different business identity identifiers in the request, and goes to different extension point implementation logic through the proxy class generated by the system.
[0171] 3. After passing the business filtering, initialize the site information.
[0172] 4. Define site type filtering extension points. There are many types of sites in the self-pickup system. Different sites support different product attributes, such as luxury goods, overseas sites, unmanned vehicles, etc. Different business scenarios require the screening of corresponding sites. The business party can customize the extension points to meet business requirements such as displaying and shielding specific businesses.
[0173] 5. Define the self-pickup point filter extension x points, which can be customized by the business party. For example, some sites have a slot status, and if the slot is full, it cannot be used.
[0174] 6. Define the site sorting extension point after processing is completed. The default implementation is to sort the distance from near to far. At the same time, it provides the ability to implement custom algorithms to continuously optimize the recommendation results.
[0175] 7. Recommend the list of self-pickup sites to users.
[0176] Specifically, different business parties (bizBU1, bizBU2, bizBU3...) implement their own personalized extension point ext (business filtering extension point, site filtering extension point...) logic encapsulation into jar packages (bizBU1.jar, bizBU2.jar, bizBU3.jar...), users upload the business jar package to the private server, the PaaS management system pushes the message to the system, and the self-collection system identifies the push and obtains the business identity jar package. Use different classLoaders (class loaders) to load the custom implementation jar packages of different business parties and generate corresponding proxy classes. Different business logics are isolated from each other by different classLoaders, and the system shares a copy of the underlying business data. The above completes the process of different business requests entering the corresponding business implementation logic proxy class through business identity identification, and implementing the important part of business logic processing by performing data in memory.
[0177] In addition, if Fig.15 The vertical identity business jar package isolation implementation shown uses a custom classLoader method, which is easy to understand and implement. It can also be implemented using OSGI, Java9 modularization, etc., which will increase some complexity and learning costs.
[0178] Corresponding to the above method embodiments, the present disclosure also provides a business implementation device based on a PaaS management system, which can be used to execute the above method embodiments.
[0179] Fig.16 It is a block diagram of a service implementation device based on a PaaS management system in an exemplary embodiment of the present disclosure.
[0180] refer to Fig.16 The service implementation device 1600 based on the PaaS management system may include:
[0181] The determination module 1602 is configured to determine a service filtering extension function in the PaaS management system, where the service filtering extension function is configured to send a service package corresponding to a service identity to a terminal having the service identity.
[0182] The determination module 1602 is configured to determine the execution result of the service package through a service filtering extension function.
[0183] In an exemplary embodiment of the present disclosure, the determination module 1602 is further configured to: establish a monitoring mechanism for the PaaS management system for implementing the service, under which the PaaS management system can receive a message of a service package update.
[0184] In an exemplary embodiment of the present disclosure, before determining the business filtering extension function in the PaaS management system, the business implementation device 1600 based on the PaaS management system is also used to: load the business package corresponding to the business filtering extension function sent by the business party, and generate a proxy class corresponding to the business package, the different business logics of the business package are isolated from each other, and the business package of the PaaS management system is configured to share underlying business data.
[0185] In an exemplary embodiment of the present disclosure, the isolation between the business logics is implemented based on at least one of classloader, OSGI and java9.
[0186] In an exemplary embodiment of the present disclosure, the application scenario of the PaaS management system includes a logistics self-pickup scenario, and the determination module 1602 is also configured to: determine the site type filtering extension function of the PaaS management system, and the site type filtering extension function is configured to filter and determine the corresponding logistics site for the logistics self-pickup scenario.
[0187] In an exemplary embodiment of the present disclosure, the application scenario of the PaaS management system includes a logistics self-pickup scenario, and the determination module 1602 is also configured to: determine the self-pickup point filtering extension function of the PaaS management system, and the self-pickup point filtering extension function is configured to filter and determine the corresponding self-pickup grid for the logistics self-pickup scenario.
[0188] In an exemplary embodiment of the present disclosure, the determination module 1602 is further configured to: determine a ranking result of the service filtering extension function according to the configuration file of the service package, and execute the service filtering extension function in series according to the ranking result, wherein the service filtering extension function supports a custom service logic;
[0189] The execution result of the service package is determined according to the execution result of the service filtering extension function.
[0190] In an exemplary embodiment of the present disclosure, the determination module 1602 is also configured to: determine the corresponding business identity range according to the configuration file of the business package; determine the target business identity in the business identity range according to the priority of the preset business identity; sort the business filtering extension functions corresponding to the scenarios corresponding to the target business identity; and execute the sorted business filtering extension functions in series.
[0191] Since the functions of the service implementation device 1600 based on the PaaS management system have been described in detail in the corresponding method embodiments, the present disclosure will not elaborate on them here.
[0192] It should be noted that, although several modules or units of the device for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into multiple modules or units to be embodied.
[0193] In an exemplary embodiment of the present disclosure, an electronic device capable of implementing the above method is also provided.
[0194] Those skilled in the art will appreciate that various aspects of the present invention may be implemented as systems, methods or program products. Therefore, various aspects of the present invention may be specifically implemented in the following forms, namely: a complete hardware implementation, a complete software implementation (including firmware, microcode, etc.), or a combination of hardware and software implementations, which may be collectively referred to herein as "circuits", "modules" or "systems".
[0195] Refer to the following Fig.17 1700 according to this embodiment of the present invention will be described. Fig.17 The electronic device 1700 shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.
[0196] like Fig.17 As shown, the electronic device 1700 is in the form of a general computing device. The components of the electronic device 1700 may include but are not limited to: at least one processing unit 1710, at least one storage unit 1720, and a bus 1730 connecting different system components (including the storage unit 1720 and the processing unit 1710).
[0197] The storage unit stores a program code, which can be executed by the processing unit 1710, so that the processing unit 1710 performs the steps according to various exemplary embodiments of the present invention described in the above "Exemplary Method" section of this specification. For example, the processing unit 1710 can perform the method shown in the embodiment of the present disclosure.
[0198] The storage unit 1720 may include a readable medium in the form of a volatile storage unit, such as a random access storage unit (RAM) 17201 and / or a cache storage unit 17202 , and may further include a read-only storage unit (ROM) 17203 .
[0199] The storage unit 1720 may also include a program / utility 17204 having a set (at least one) of program modules 17205, such program modules 17205 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.
[0200] Bus 1730 may represent one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
[0201] The electronic device 1700 may also communicate with one or more external devices 1740 (e.g., keyboards, pointing devices, Bluetooth devices, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device 1700, and / or communicate with any device that enables the electronic device 1700 to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication may be performed via an input / output (I / O) interface 1750. Furthermore, the electronic device 1700 may also communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs), and / or public networks, such as the Internet) via a network adapter 1760. As shown, the network adapter 1760 communicates with other modules of the electronic device 1700 via a bus 1730. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 1700, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.
[0202] Through the description of the above implementation, it is easy for those skilled in the art to understand that the example implementation described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the implementation of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, including several instructions to enable a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the implementation of the present disclosure.
[0203] In an exemplary embodiment of the present disclosure, a computer-readable storage medium is also provided, on which a program product capable of implementing the above method of the present specification is stored. In some possible implementations, various aspects of the present invention may also be implemented in the form of a program product, which includes a program code, and when the program product is run on a terminal device, the program code is used to enable the terminal device to execute the steps according to various exemplary implementations of the present invention described in the above "Exemplary Method" section of the present specification.
[0204] The program product for implementing the above method according to an embodiment of the present invention can adopt a portable compact disk read-only memory (CD-ROM) and include program code, and can be run on a terminal device, such as a personal computer. However, the program product of the present invention is not limited thereto, and in this document, a readable storage medium can be any tangible medium containing or storing a program, which can be used by or in combination with an instruction execution system, an apparatus or a device.
[0205] The program product may use any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
[0206] Computer readable signal media may include data signals propagated in baseband or as part of a carrier wave, in which readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Readable signal media may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0207] The program code embodied on the readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the foregoing.
[0208] Program code for performing the operations of the present invention may be written in any combination of one or more programming languages, including object-oriented programming languages such as Java, C++, etc., and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., through the Internet using an Internet service provider).
[0209] In addition, the above-mentioned figures are only schematic illustrations of the processes included in the method according to an exemplary embodiment of the present invention, and are not intended to be limiting. It is easy to understand that the processes shown in the above-mentioned figures do not indicate or limit the time sequence of these processes. In addition, it is also easy to understand that these processes can be performed synchronously or asynchronously, for example, in multiple modules.
[0210] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The specification and examples are to be considered exemplary only, and the true scope and concept of the present disclosure are indicated by the claims.< / fws> < / fws> < / fws> < / fws> < / fws> < / fws>
Claims
1. A business implementation method based on PaaS management system, characterized in that: include: Determining a service filtering extension function in the PaaS management system, wherein the service filtering extension function is configured to send a service package corresponding to a service identity to a terminal having the service identity; The execution result of the service package is determined through the service filtering extension function.
2. The service implementation method based on PaaS management system according to claim 1, characterized in that: Before determining the service filtering extension function in the PaaS management system, the method further includes: A monitoring mechanism of a PaaS management system for implementing services is established, under which the PaaS management system can receive messages of service package updates.
3. The service implementation method based on PaaS management system according to claim 1, characterized in that: Before determining the service filtering extension function in the PaaS management system, the method further includes: The business package corresponding to the business filtering extension function sent by the business party is loaded, and a proxy class corresponding to the business package is generated. Different business logics of the business package are isolated from each other, and the business package of the PaaS management system is configured to share underlying business data.
4. The service implementation method based on PaaS management system according to any one of claims 1 to 3, characterized in that: The application scenario of the PaaS management system includes a logistics self-pickup scenario, and the business implementation method based on the PaaS management system also includes: Determine the site type filtering extension function of the PaaS management system, and the site type filtering extension function is configured to screen and determine corresponding logistics sites for logistics self-pickup scenarios.
5. The service implementation method based on PaaS management system according to any one of claims 1 to 3, characterized in that: The application scenario of the PaaS management system includes a logistics self-pickup scenario, and the business implementation method based on the PaaS management system also includes: Determine the self-pickup point filtering extension function of the PaaS management system, and the self-pickup point filtering extension function is configured to filter and determine the corresponding self-pickup grid according to the logistics self-pickup scenario.
6. The service implementation method based on PaaS management system according to any one of claims 1 to 3, characterized in that: Determining the execution result of the service package through the service filtering extension function includes: Determine the sorting result of the service filtering extension function according to the configuration file of the service package, and execute the service filtering extension function in series according to the sorting result, wherein the service filtering extension function supports a user-defined service logic; The execution result of the service package is determined according to the execution result of the service filtering extension function.
7. The service implementation method based on PaaS management system according to claim 6, characterized in that: Determining the sorting result of the service filtering extension function according to the configuration file of the service package, and executing the service filtering extension function in series according to the sorting result includes: Determine the corresponding business identity scope according to the configuration file of the business package; Determining a target service identity in the service identity range according to a preset service identity priority; Sort the business filtering extension functions corresponding to the scenarios corresponding to the target business identities; The sorted business filtering extension functions are executed in series.
8. A business implementation device based on PaaS management system, characterized in that: include: A determination module, configured to determine a service filtering extension function in the PaaS management system, wherein the service filtering extension function is configured to send a service package corresponding to a service identity to a terminal having the service identity; The determination module is configured to determine the execution result of the service package through a service filtering extension function.
9. An electronic device, characterized in that: include: Memory; as well as A processor coupled to the memory, the processor being configured to execute the business implementation method based on the PaaS management system according to any one of claims 1 to 7 based on instructions stored in the memory.
10. A computer-readable storage medium having a program stored thereon, wherein when the program is executed by a processor, the business implementation method based on the PaaS management system according to any one of claims 1 to 7 is implemented.