A method, device, equipment and machine-readable medium for processing service objects
By providing the workbench with development tools and service code association, the problem of open platforms being unable to meet personalized service needs is solved, and customized service objects and service capability expansion are achieved.
Patent Information
- Application Number
- CN202011376584.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-11-30
- Publication Date
- 2025-09-19
- Estimated Expiration
- 2040-11-30
AI Technical Summary
The service capabilities provided by existing open platforms are relatively standard and cannot meet the personalized service needs of different enterprises, especially the customization needs in terms of page or service system interactions.
Provide development tools corresponding to the workbench, determine the service code that matches the development tool, and associate the service code with the service provider to implement customized service processes and workbench.
It realizes personalized customization of service objects, expands service capabilities, and improves the customization efficiency of service objects and the provision of personalized services.
Smart Images

Figure CN113296740B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to a method for processing a service object, a device for processing a service object, a device, and a machine-readable medium. Background Art
[0002] With the development of communication technology, in order to manage the relationship between enterprises and users, enterprises usually provide services to users through the Internet, such as marketing, technical support, dispute-related services, etc.
[0003] To support enterprises in developing third-party applications for user services, current open platforms offer APIs (Application Programming Interfaces) for enterprises to access. Enterprises can apply the service capabilities exposed by open platforms to their own integrated environments to provide services to users.
[0004] While implementing the embodiments of this application, the inventors discovered that the service capabilities exposed by the open platform are relatively standardized, which allows third-party applications to provide relatively general services and fail to meet personalized service needs. However, in order to improve service efficiency, different companies often have different service requirements. For example, different companies have different requirements for pages or page elements. Alternatively, companies need to interact with their own service systems to provide service information such as membership information and order information. Summary of the Invention
[0005] The technical problem to be solved by the embodiments of the present application is to provide a method for processing service objects, which can realize the expansion of the service process of the workstation where the service party is located, and can realize the customization of service objects in the service process, thereby realizing personalized customization needs and further realizing the expansion of service capabilities.
[0006] Correspondingly, the embodiments of the present application also provide a service object processing device, a device, and a machine-readable medium to ensure the implementation and application of the above method.
[0007] In order to solve the above problems, the present application discloses a method for processing a service object, including:
[0008] Provide development tools for the service objects corresponding to the workbench;
[0009] determining a service code that matches the development tool;
[0010] The service code is associated with a corresponding service provider to customize the workbench of the service provider.
[0011] In order to solve the above problems, the present application discloses a method for processing a service object, including:
[0012] Receiving a use request for a service object corresponding to the workstation; the service code of the service object is associated with the corresponding service provider;
[0013] The service code of the service object is called according to the usage request.
[0014] On the other hand, the embodiment of the present application further discloses a method for processing a service object, including:
[0015] Provide development tools for the corresponding pages of the workbench;
[0016] determining a service code that matches the development tool;
[0017] The service code is associated with a corresponding service provider to customize the workbench of the service provider.
[0018] On the other hand, the embodiment of the present application further discloses a method for processing a service object, including:
[0019] Provide development tools for the workbench corresponding to the service catalog;
[0020] determining a service code that matches the development tool;
[0021] The service code is associated with a corresponding service provider to customize the workbench of the service provider.
[0022] On the other hand, the embodiment of the present application further discloses a method for processing a service object, including:
[0023] Register the service corresponding to the service code in the service directory; the service code is obtained based on the development tool of the corresponding service object of the workbench;
[0024] Establish a mapping relationship between services and service providers in the service catalog;
[0025] Receiving a service request; the service request includes: a service requesting party;
[0026] If the service requesting party matches the service provider in the mapping relationship, the service code of the service corresponding to the service requesting party is called in the service process of the workstation corresponding to the service requesting party.
[0027] On the other hand, the embodiment of the present application further discloses a method for processing a service object, including:
[0028] Register the service corresponding to the service code in the service directory; the service code is obtained based on the development tool of the corresponding service object of the workbench;
[0029] Establish a mapping relationship between services and service providers in the service catalog;
[0030] Receiving a service request; the service request includes: a service requesting party;
[0031] If the service requesting party matches the service party in the mapping relationship, an access address of a service code corresponding to the service of the service requesting party is determined, so as to call the service code according to the access address.
[0032] On the other hand, the embodiment of the present application further discloses a method for processing a service object, including:
[0033] Calling the service code in the service process of the corresponding workstation of the service provider; the service code is obtained based on the development tool of the corresponding service object of the workstation;
[0034] The service provider is charged based on the calling information of the service code.
[0035] On the other hand, the embodiment of the present application further discloses a method for processing a service object, including:
[0036] Calling the service code in the service process of the corresponding workstation of the service provider; the service code is obtained based on the development tool of the corresponding service object of the workstation;
[0037] The service provider is charged according to the resources consumed by the execution of the service code.
[0038] On the other hand, the embodiment of the present application further discloses a method for processing a service object, including:
[0039] Providing a workbench interface; the interface includes: at least one window; the window includes: at least one government affairs object;
[0040] According to the user's triggering operation on the target government object, a usage request corresponding to the target government object is sent to provide the user with the service corresponding to the target government object; wherein the service code is obtained based on the development tool of the target government object.
[0041] On the other hand, the embodiment of the present application further discloses a method for processing a service object, including:
[0042] Receive usage requests corresponding to target government affairs objects in the workbench;
[0043] Calling a service code corresponding to the target government object; wherein the service code is obtained based on a development tool of the target government object.
[0044] On the other hand, the embodiment of the present application further discloses a service object processing device, including:
[0045] Provide modules to provide development tools for corresponding service objects of the workbench;
[0046] A determination module, configured to determine a service code that matches the development tool;
[0047] The association module is used to associate the service code with the corresponding service provider so as to call the service code in the service process of the service provider.
[0048] On the other hand, the embodiment of the present application further discloses a service object processing device, including:
[0049] A request receiving module, configured to receive a request for use of a service object; the service code of the service object is associated with a service process of a corresponding workstation of the service provider;
[0050] The code calling module is used to call the service code of the service object according to the use request.
[0051] On the other hand, the embodiments of the present application further disclose a device, comprising:
[0052] one or more processors; and
[0053] One or more machine-readable media having instructions stored thereon, when executed by the one or more processors, cause the device to perform one or more of the aforementioned methods.
[0054] On the other hand, embodiments of the present application disclose one or more machine-readable media having instructions stored thereon, which, when executed by one or more processors, enable a device to perform one or more of the aforementioned methods.
[0055] The embodiments of the present application include the following advantages:
[0056] The development tools provided in the embodiments of the present application can be used to develop service objects corresponding to the workbench to obtain service codes that match the development tools. The service codes can be used to implement customized service objects. The embodiments of the present application associate the service codes with corresponding service providers, thereby providing customized workbenches for the service providers. Because the service provider's workbench includes customized service objects, the customization requirements of the service objects can be met, thereby expanding service capabilities. BRIEF DESCRIPTION OF THE DRAWINGS
[0057] Figure 1 This is a schematic diagram of a customer service page in an embodiment of the present application;
[0058] Figure 2This is a flowchart of the steps of Example 1 of a method for processing a service object of the present application;
[0059] Figure 3 This is a schematic diagram of an application environment of a method for processing a service object in an embodiment of the present application;
[0060] Figure 4 This is a schematic diagram of processing service objects based on micro-applications in this application;
[0061] Figure 5 This is a schematic diagram of a micro-application processing process in an embodiment of the present application;
[0062] Figure 6 This is a schematic diagram of a service processing flow in an embodiment of the present application;
[0063] Figure 7 This is a schematic diagram of the structure of a processing system for a service object according to an embodiment of the present application;
[0064] Figure 8 This is a schematic diagram of a health monitoring process in an embodiment of the present application;
[0065] Figure 9 This is a schematic diagram of the processing flow of a micro-application of a page type in an embodiment of the present application;
[0066] Figure 10 This is a schematic diagram of the processing flow of a plug-in type micro-application in an embodiment of the present application;
[0067] Figure 11 This is a flowchart of the steps of Example 3 of a method for processing a service object of the present application;
[0068] Figure 12 This is a schematic diagram of the structure of an operating engine according to an embodiment of the present application;
[0069] Figure 13 This is a flowchart of the steps of Example 4 of a method for processing a service object of the present application;
[0070] Figure 14 This is a flowchart of the steps of Example 5 of a method for processing a service object of the present application;
[0071] Figure 15 This is a flowchart of the steps of Example 6 of a method for processing a service object of the present application;
[0072] Figure 16 This is a flowchart of the steps of Embodiment 7 of a method for processing a service object of the present application;
[0073] Figure 17 This is a flowchart of the steps of Embodiment 8 of a method for processing a service object of the present application;
[0074] Figure 18 This is a flowchart of the steps of Embodiment 9 of a method for processing a service object of the present application;
[0075] Figure 19 This is a structural block diagram of an embodiment of a processing device for a service object of the present application;
[0076] Figure 20 This is a structural block diagram of an embodiment of a processing device for a service object of the present application;
[0077] Figure 21 is an exemplary device 2500 that can be used to implement the various embodiments described above in this application;
[0078] Figure 22 This is a flowchart of the steps of Embodiment 10 of a method for processing a service object of the present application;
[0079] Figure 23 is a schematic diagram of a window in an embodiment of the present application; and
[0080] Figure 24 This is a flowchart of the steps of Example 11 of a method for processing a service object of the present application;. DETAILED DESCRIPTION
[0081] In order to make the above-mentioned purposes, features and advantages of the present application more obvious and easy to understand, the present application is further described in detail below with reference to the accompanying drawings and specific implementation methods.
[0082] The following will be combined with the accompanying drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field are within the scope of protection of this application.
[0083] The concepts of the present application are susceptible to various modifications and alternative forms, specific embodiments of which have been illustrated in the accompanying drawings and will be described in detail herein. However, it should be understood that the foregoing is not intended to limit the concepts of the present application to the specific forms disclosed. On the contrary, the specification and claims of this application are intended to cover all modifications, equivalents and alternative forms.
[0084] Throughout this specification, references to "one embodiment," "an embodiment," "a specific embodiment," and the like indicate that the described embodiment may include a particular feature, structure, or characteristic, but that each embodiment may or may not necessarily include the particular feature, structure, or characteristic. Furthermore, such phrases do not necessarily refer to the same embodiment. Furthermore, when a particular feature, structure, or characteristic is described in connection with one embodiment, it is understood that such feature, structure, or characteristic also applies to other embodiments, whether or not explicitly described. Furthermore, it should be understood that a list of items in the form "at least one of A, B, and C" may include the following possible items: (A); (B); (C); (A and B); (A and C); (B and C); or (A, B, and C). Similarly, a list of items in the form "at least one of A, B, or C" may mean (A); (B); (C); (A and B); (A and C); (B and C); or (A, B, and C).
[0085] In some cases, the disclosed embodiments may be implemented as hardware, firmware, software, or any combination thereof. The disclosed embodiments may also be implemented as instructions carried or stored in one or more temporary or non-temporary machine-readable (e.g., computer-readable) storage media, which may be executed by one or more processors. A machine-readable storage medium may be implemented as a storage device, mechanism, or other physical structure (e.g., volatile or non-volatile memory, a media disk, or other media other physical structure device) for storing or transmitting information in a form that can be read by a machine.
[0086] In the accompanying drawings, some structural or method features may be shown in a specific arrangement and / or order. However, preferably, such a specific arrangement and / or order is not required. On the contrary, in some embodiments, such features may be arranged in a different manner and / or order than shown in the accompanying drawings. In addition, the inclusion of structural or method features in a particular drawing is not meant to imply that such features are required in all embodiments, and in some embodiments, such features may not be included, or may be combined with other features.
[0087] In the embodiments of the present application, a workbench may represent a platform that provides services. A service object may represent an independent tool object used by a workbench in the process of providing services. A workbench may correspond to multiple service objects. Different service objects may correspond to different service requirements.
[0088] The service object may be related to the provided page content, or the service object may be related to the provided function. The service object of the embodiment of the present application may include but is not limited to: page, plug-in, plug-in view, service directory and callback object, etc.
[0089] Conventional technologies can provide standard or universal workbenches for different service providers. However, embodiments of the present application can support service providers in customizing the workbenches to the corresponding service objects and associating the customized service objects with the service provider's workbenches, thereby providing personalized service capabilities based on the customized service objects in the service process of the service provider.
[0090] The page may represent a window, which may be a large window or a small window within a large window.
[0091] Reference Figure 1 , shows a schematic diagram of a customer service page of an embodiment of the present application, which may specifically include: navigation, member list, conversation information, input area, plug-in and other page contents.
[0092] The pages of the embodiment of the present application may correspond to Figure 1 The corresponding entire customer service page, or, can correspond to Figure 1 The customized page corresponding to the navigation part.
[0093] The page can be a left navigation page in a customer service workbench, which can include at least one front-end component; or, it can include: at least one front-end component on the left and a plug-in on the right, wherein the plug-in area on the right can be called a plug-in area.
[0094] The embodiment of the present application can support the service provider to customize the page to provide users with more information related to the service provider. For example, the page can be the homepage of the service provider's corresponding platform, etc. It is understood that the service provider can determine the specific content of the page according to actual application needs.
[0095] A plug-in is a program written using a specific API. It can be a front-end component supported by the Customer Service Workbench framework and dynamically loaded into the plug-in area of a page.
[0096] like Figure 1 As shown, the plug-in part can include: general plug-ins and customized plug-ins. The service provider can interact with its own service system based on the customized plug-in to provide service information such as member information and order information.
[0097] The plugin view represents the plugin's display style. This display style can include graphics, text, and other information. The service provider can determine the specific display style of the plugin based on actual application requirements.
[0098] The service catalog provides customized services in the form of services. The service catalog may include: service objects provided by facilities. These facilities may be software facilities with processing capabilities, and may include but are not limited to: SMS facilities, robotic facilities, quality inspection facilities, and voice navigation facilities. SMS facilities can be used to send text messages to users, robotic facilities can be used for intelligent interaction with users, quality inspection facilities can be used to test the quality of manual services, and voice navigation facilities can provide voice guidance for user operations.
[0099] In a general service process, the workbench can provide general services based on general facilities. For example, it can use a general robot facility (called the first robot facility) to intelligently interact with the user.
[0100] The embodiments of the present application can provide a personalized service catalog based on the service provider's data. For example, service provider A can use its own user data to train a robot facility (referred to as a second robot facility) that better matches its own application scenario. The second robot facility has higher intelligent interaction performance, so service provider A can customize the second robot facility and apply it to a common service process.
[0101] The embodiments of the present application can provide personalized voice navigation services. According to one embodiment, different voice navigation services can be provided based on the user's identity. For example, a member's identity corresponds to voice navigation service 1, a non-member's identity corresponds to voice navigation service 2, and so on.
[0102] According to one embodiment, voice navigation services in different target languages can be provided based on the user's geographic location. The target language can be matched to the geographic location. For example, if the geographic location corresponds to China, the target language may be Chinese; or if the geographic location corresponds to the United Kingdom, the target language may be English, etc.
[0103] The callback object can call back system event messages to the service provider. For example, calling back the event message of a user closing a work order can meet the service provider's need to obtain system events.
[0104] An embodiment of the present application provides a processing solution for a service object, which specifically includes: providing a development tool for the service object; determining a service code that matches the development tool; and associating the service code with a corresponding service provider to customize the service provider's workstation.
[0105] The development tools provided in the embodiments of the present application can be used to develop service objects to obtain service codes that match the development tools. The service codes can be used to implement customized service objects. The embodiments of the present application associate the service codes with corresponding service providers to implement a customized workbench. Because the service provider's workbench includes customized service objects, the customization requirements of the service objects can be met, thereby enabling the expansion of service capabilities.
[0106] The developers of the embodiments of the present application can be service providers, or independent software developers (ISVs). Developers can focus on writing service code and not on the operational information of the service code, thereby improving the customization efficiency of the service object. The operational information may include: operational mode and operational stability, etc.
[0107] The embodiments of the present application do not restrict the method or entity that provides the general service processes in the workbench. For example, the processing platform of the embodiments of the present application can provide general service processes to provide general service capabilities. Alternatively, the processing platform of the embodiments of the present application can open an API for service providers to call, and the service providers can apply the service capabilities exposed by the processing platform in their own integrated environment to provide general service processes.
[0108] The service provider in the embodiments of the present application can represent the service provider. Different service scenarios can correspond to different service providers. Application scenarios may include: e-commerce scenarios, social scenarios, instant messaging scenarios, search scenarios, question-and-answer scenarios, etc. The service provider can customize the service object based on the characteristics of the application scenario to meet personalized customization needs. For example, a service provider in an e-commerce scenario can use a customized workbench to provide customized services to users.
[0109] For example, a service provider can provide membership services. Membership service information in e-commerce scenarios may include: member ID, member level, member's historical order information, etc. In social scenarios, member service information may include: member ID, member level, member's historical posting information, etc.
[0110] The processing platform of the embodiment of the present application can define development tools corresponding to service objects. For example, the service provider of an enterprise can use the development tools to develop service codes corresponding to the service objects and register the service codes with the service provider's corresponding service processes, thereby realizing customization of the service provider's workstation. During the use process of enterprise users, services are provided to users through instances of the service objects developed by the enterprise.
[0111] The embodiment of the present application abstracts the service objects in the workbench and customizes them based on the service objects, which can meet the customization requirements of different service parties for different service objects.
[0112] Method Example 1
[0113] Reference Figure 2 , shows a flowchart of the steps of a first embodiment of a method for processing a service object of the present application, which may specifically include the following steps:
[0114] Step 201: Provide a development tool for the workbench corresponding to the service object;
[0115] Step 202: Determine the service code that matches the development tool.
[0116] Step 203: associate the service code with the corresponding service provider to customize the workstation of the service provider.
[0117] The method of the embodiment of the present application can be used to customize service objects and workstations. At least one step included in the method of the embodiment of the present application can be performed by a processing platform. The processing platform can provide customized service objects and workstations for the service provider. It is understood that the embodiment of the present application does not limit the specific execution entity of the method.
[0118] Reference Figure 3 , which illustrates an application environment for a method for processing a service object according to an embodiment of the present application. The processing platform can provide a development tool for a workbench corresponding to the service object. The service provider can develop service code based on the development tool. The processing platform can also associate the service code with the corresponding service provider to customize the service provider's workbench. Thus, when a user uses the service provider's service flow, the processing platform can call the service provider's customized service code to provide the user with personalized services corresponding to the service object.
[0119] In step 201, a development tool may be used to develop a service object.
[0120] Optionally, the above-mentioned development tools may include but are not limited to: command line tools, integrated development environment (IDE) plug-ins, software development kits (SDK, Software Development Kit) and other development kits. It can be understood that the embodiments of the present application do not limit the specific form of the development tools.
[0121] In an optional embodiment of the present application, an interface corresponding to the service object may also be provided. The interface may define a protocol corresponding to the service object to implement communication interaction during the implementation of the service object.
[0122] Different types of service objects can correspond to different interfaces. Service object types can include: pages, plug-ins, plug-in views, service catalogs, and callback objects.
[0123] The interface of the service object may include: functions of the service object, and the above functions may be defined so that the service party can supplement the specific implementation of the function.
[0124] Optionally, the above interface may include an interface corresponding to the service provider's data, so that the service provider's data can be utilized in the service code. The service provider's data may include order data, membership data, or user behavior data, so that the service code can provide personalized services based on the service provider's data.
[0125] Optionally, the service provider's data information can be used as an interface parameter. Taking the member object as an example, its corresponding interface may include: input parameters, output parameters, and service methods, so that the service provider can specify the input parameters, output parameters, and service methods. For example, the service corresponding to the member object is membership service, and the input parameter can be a member identifier such as a mobile phone number. Different service providers can use different service methods to obtain different types of member information. Different service methods may include: accessing different member databases. Different types of member information may include: member level, member's historical orders, different information in member's historical posts, etc.
[0126] The embodiment of the present application can provide a development tool for the service object in response to a customization request of the service object. The customization request may include information such as the type of the service object, and the embodiment of the present application can provide a development tool corresponding to the type.
[0127] In step 202, the service code can be used to implement the processing logic of the service object. The processing logic may include: loading logic and response logic of pages, plug-ins or service directories, processing logic of member objects, or triggering logic and calling methods of callback objects.
[0128] Optionally, embodiments of the present application may provide code templates, such as Java open source framework code templates, or JavaScript (an interpreted or just-in-time compiled high-level programming language) runtime framework code templates, etc. The above code templates can help users write service codes, thereby improving the efficiency of writing service codes and further improving the efficiency of customizing service objects.
[0129] In an optional embodiment of the present application, determining the service code of the service object specifically includes: providing a code template corresponding to the development tool; and receiving a service code that matches the code template. Of course, the service code can be determined without providing a code template, and the present embodiment does not limit the specific method for determining the service code.
[0130] In step 203, the service code is associated with the corresponding service provider to achieve customization of the service provider's workstation. Specifically, the service code can be integrated into the service process of the service provider's workstation to provide customized services to users by running the service code.
[0131] After the above service code is integrated into the service process of the corresponding service provider, the operation of the above service code can be triggered according to the trigger request of the user in the service process or the preset event in the service process.
[0132] Taking the customer service process as an example, after a user opens the customer service task, a page load request is triggered, which can trigger the execution of the corresponding service code on the page. A plug-in is part of the page, and a page load request can also trigger the execution of the corresponding service code of the plug-in. When a preset event occurs, the execution of the corresponding service code of the callback object is triggered. Alternatively, if a service entry is provided on the page, the trigger request of the service entry can trigger the execution of the corresponding service code.
[0133] The embodiment of the present application can provide the following technical solution for associating the service code with the corresponding service provider:
[0134] Technical solution 1,
[0135] In technical solution 1, the above-mentioned associating the service code with the corresponding service provider specifically includes: associating the information corresponding to the service code and the service object with the corresponding service provider, so as to call the service code according to the information in the service process of the service provider and provide the user with the service corresponding to the service object.
[0136] The information may be characteristic information of the service object, may serve as an extension of the service code, and may serve as implementation information for the service object. For example, if the service object includes a plug-in, the information may specifically include a plug-in identifier and page information corresponding to the plug-in. The plug-in identifier may be the plug-in name. The page information corresponding to the plug-in may include information about the page to which the plug-in belongs and information about the plug-in's location within the page.
[0137] In the embodiment of the present application, the processing logic of the plug-in can be encapsulated by the service code, and the service code can be combined with different information to obtain plug-ins with different plug-in properties.
[0138] In practical applications, an input interface may be provided to collect information corresponding to the service object input by the service provider through the input interface.
[0139] Of course, the above-mentioned use of service code and information as implementation information of the service object is only an optional embodiment. In fact, those skilled in the art can carry the plug-in attributes corresponding to the above-mentioned information in the service code according to actual application requirements. For example, plug-in attributes such as plug-in name and page information can be carried in the service code.
[0140] Technical Solution 2,
[0141] In Technical Solution 2, the above-mentioned associating the service code with the corresponding service provider specifically includes: publishing the micro-application corresponding to the service code; associating the micro-application with the corresponding service provider based on the service provider's selection request for the micro-application, so as to call the service code corresponding to the micro-application in the service process of the service provider.
[0142] The embodiment of the present application can process the service object through micro-applications.
[0143] Micro-applications fall under the category of micro-services. Micro-services are an emerging software architecture that breaks down a large single application or service into dozens of micro-services. For example, a service can be split into several micro-services based on service attributes, application lightweightness, loose coupling, independence, or volume. Micro-services can independently process logic. The service object of the embodiments of the present application can be a type of micro-service.
[0144] The micro application of the embodiment of the present application can be used to implement the processing logic corresponding to the service object. The embodiment of the present application can process the service object in the form of a micro application.
[0145] The above-mentioned processing of service objects may specifically include: creation of micro-applications, development of micro-applications, association between micro-applications and service processes of main applications, and operation of micro-applications.
[0146] For developers, they can focus on writing service code without paying attention to information such as the operation information of the service code, thereby improving the customization efficiency of service objects. The above-mentioned operation information may include: operation mode and operation stability, etc.
[0147] The embodiment of the present application can provide a development tool for a service object in response to a creation request for a micro-application, and determine a service code that matches the development tool.
[0148] After determining the service code, the micro-application corresponding to the service code can be published for selection by the service provider; and, based on the service provider's selection request for the micro-application, the micro-application can be associated with the corresponding service provider to call the service code corresponding to the micro-application in the service process of the service provider.
[0149] Technical solution 3,
[0150] In Technical Solution 3, the above-mentioned associating the service code with the corresponding service provider specifically includes: providing multiple service codes corresponding to the service code; associating the service code corresponding to the service option selected by the service provider with the corresponding service provider, so as to provide corresponding services to the user according to the service request.
[0151] The embodiment of the present application can provide multiple service options corresponding to the service code for the service provider to choose from. If the service provider selects a target service option, the service code corresponding to the target service option can be associated with the corresponding service provider. Alternatively, corresponding service options can be provided for each of the multiple service catalogs for selection.
[0152] Technical solution 4,
[0153] In Technical Solution 4, the above-mentioned associating the service code with the corresponding service provider specifically includes: recording the service provider information corresponding to the service code, and the access address information of the service provided by the service code.
[0154] The service code provides access address information of the service, which can be used to locate the specific service code in the service process.
[0155] The embodiment of the present application can save a first mapping relationship between service provider information and access address information of services provided by the service code. The first mapping relationship can be used to discover services in the service process to trigger the execution of the corresponding service code.
[0156] In an optional embodiment of the present application, the method may further include: after associating the service code with the corresponding service provider, setting the status of the service object corresponding to the service code on the service provider to an enabled state. The enabled state may indicate that the service object is available to the service provider.
[0157] In the embodiment of the present application, a service object in an inactive state is invisible to the user. For example, if the service provider customizes plug-in A in page A, then when plug-in A is in an inactive state, plug-in A is invisible to the user. When plug-in A is in an active state, plug-in A is visible to the user.
[0158] In another optional embodiment of the present application, the above method may further include: saving the service code to a code space corresponding to the above service object; and updating the code of the code space according to the update of the above service code.
[0159] The embodiments of the present application can host the service code through the code space. Optionally, the service code can be hosted using a code hosting device. It should be noted that in the case of an update of the service code, the embodiments of the present application can update the code stored in the code space to apply the updated service code to the service process.
[0160] In another optional embodiment of the present application, the above method may further include: building a container image corresponding to the service object to run the service code based on an instance of the container image.
[0161] Containers implement virtualization at the operating system level and can provide a running environment for container images. Containers have the advantages of easy deployment, secure deployment, good isolation, and low cost.
[0162] It is understood that the above-mentioned execution of the service code based on the instance of the container image is merely an optional embodiment, and other methods can actually be used to execute the service code, for example, packaging the service code into a JAR (Java Archive) file and executing the JAR file on a virtual machine. It is understood that the embodiments of the present application do not limit the specific execution method of the service code.
[0163] In another optional embodiment of the present application, the method may further include: constructing a runtime engine corresponding to the service object; the runtime engine specifically includes: a container unit and a container image unit;
[0164] The container image unit is used to store the container image corresponding to the service object; and the container unit is used to run the instance corresponding to the container image.
[0165] The container unit can be an Elastic Container Instance (ECI) unit, which provides containerized elastic computing services. It can run containers based on packaged images and bill the service provider based on the resources actually consumed by the container operation.
[0166] The container image unit can provide basic container image services, including secure application image hosting capabilities, accurate image security scanning functions, stable image building services, and convenient image authorization functions, thereby facilitating image lifecycle management.
[0167] In summary, the method for processing service objects in the embodiment of the present application provides a development tool that can be used to develop service objects to obtain a service code that matches the development tool. The service code can be used to implement customized service objects. The embodiment of the present application associates the service code with the corresponding service provider and can provide a customized workbench for the service provider. Since the service provider's workbench includes customized service objects, the customization requirements of the service objects can be met, thereby enabling the expansion of service capabilities.
[0168] Method Example 2
[0169] The embodiment of the present application can process the service object through micro-applications.
[0170] Reference Figure 4 , which shows a schematic diagram of processing service objects based on micro-applications in this application, wherein the service provider, processing platform and independent software developer can process micro-applications based on data interaction.
[0171] The processing platform can create microapps based on service provider creation requests. Before creating an app, you can create a project space. The project space can include a code space for storing service code and an image space for storing container images. After creating the project space, you can create microapps.
[0172] Figure 4 In the project space, a service provider can authorize a project space, allowing authorized parties to create and develop micro-applications within the corresponding project space. For example, the authorizer could be an independent software developer (ISD). Micro-applications developed by ISDs can be used by one or more service providers, providing reusable application capabilities. Service providers can also develop their own micro-applications.
[0173] In the embodiments of the present application, the service provider can add cloud resources. The added cloud resources can be cloud resources owned by the service provider on the network. For example, the service provider can obtain cloud resources through leasing, etc., wherein the leasing method can pay corresponding fees.
[0174] The cloud resources can be used to run the micro-applications of the service provider. For example, the cloud resources can include at least one of a gateway unit, a load balancing unit, a private network unit, a container unit, and a container image unit.
[0175] The embodiment of the present application can authorize the service provider to use the corresponding cloud resources. In this way, the service provider can understand the consumption information of the micro-application for cloud resources, which facilitates the service provider to manage the running status of its own micro-application and the corresponding cloud resources.
[0176] In the embodiment of the present application, the release of the micro application may include: pre-release or online release (formal release). After the micro application is released, a container image corresponding to the micro application may be constructed, and the micro application may be associated with the service process of the corresponding service provider.
[0177] The processing platform of the embodiment of the present application can follow the principle of simplicity and transparency in development, shield the operational details of code hosting and container images, and help developers improve development efficiency.
[0178] Reference Figure 5 , shows a schematic diagram of the processing process of a micro-application in an embodiment of the present application. The service provider can create a project space on the micro-application platform and bind the container image service. The container image service can provide services such as storage, pulling and management of images. The container image service can create one or more namespaces for image repositories, and each namespace can provide one or more image repositories. In other words, one image instance can correspond to n namespaces, one namespace can correspond to n image repositories, and one image repositories can correspond to n image versions.
[0179] A project space can include a namespace and a code group. You can create n project spaces under the processing platform. One project space can correspond to n microapps, where n can be a natural number greater than 0.
[0180] After creating a microapp in a project space, you can create a corresponding code project and image repository for the microapp. The code project is used to store service code, and the image repository is used to store the image instance corresponding to the service code.
[0181] After successfully creating a microapp, you can create microapp versions. There can be n microapp versions. In other words, one microapp can correspond to n microapp versions. A microapp version corresponds to a branch under the code project. When deploying the microapp, an image version is built and pushed to the image repository. After the microapp is successfully published, the branch of the project instance is merged into the main branch of the project and the original branch is deleted. The service code of the main branch is used to provide services. One code group corresponds to n code groups, one code group corresponds to n code projects, and one code project corresponds to a branch.
[0182] After publishing a micro-application, the embodiment of the present application can determine the service corresponding to the micro-application and provide the service through a service list. The service proxy can provide the specific implementation of the service. The service proxy can be used to decouple the external dependencies of the service workbench, such as SMS facilities, robot facilities, membership centers, product centers, order centers, etc. of external systems.
[0183] Reference Figure 6 , which shows a schematic diagram of a processing flow of a service in an embodiment of the present application, and the process may specifically include:
[0184] Step 1: Service developers develop services corresponding to the workbench through micro-applications. The service agent integrates the above services, and the service agent's interface is published through the gateway.
[0185] The service developer may be a service provider or an independent software developer. For example, the service catalog includes: service 1, service 2, ..., service m (m may be a natural number greater than 1), etc.
[0186] Step 2: The service agent uses registration to establish a binding relationship between the service and the service provider.
[0187] For example, you can bind services developed by a service provider and an independent software developer. Or you can bind services developed by service provider B and service provider A.
[0188] Step 3: When the service user uses the service provider's workstation, the service provider's workstation sends a service request to request the use of the bound service.
[0189] Step 4: Routing the service request according to the binding relationship, forwarding the service request to the corresponding service agent so that the service agent can provide the service.
[0190] Reference Figure 7 , shows a structural diagram of a processing system for a service object in an embodiment of the present application, which may specifically include: a service provider, a processing platform, a development end, and a user end.
[0191] Among them, the service provider can create a micro application to the processing platform to create a micro application on the processing platform.
[0192] The processing platform can provide a development stack for the development and operation of micro-applications. The development stack can include: a distributed service framework that can provide a development environment and an operating environment for micro-applications.
[0193] The development side can provide the service code of the micro-application, submit the service code to the processing platform, and trigger the release of the micro-application.
[0194] The functions of the processing platform may include at least one of the following: project space management, application management, version management, cloud resource management, code template management, container health management, application log management, authentication management, association between application and service processes, code hosting, image management, etc.
[0195] Project space management is used to manage project spaces. You can create project spaces for service providers within the processing platform. Project spaces can include namespaces and code groups. You can create up to n project spaces within the processing platform. One project space can correspond to n microapps.
[0196] Application management can be used to manage microapps.
[0197] Version management can be used to manage the version of micro-applications. The version can be updated according to the update of the corresponding service code.
[0198] Cloud resource management can be used to associate the cloud resources corresponding to the service provider with the micro application to utilize the cloud resources corresponding to the service provider to run the micro application. The embodiment of the present application can record the cloud resource information consumed by the operation of the micro application for the service provider to view.
[0199] Code template management can be used to provide code templates corresponding to micro-applications. The code templates can be used for the development of micro-applications. The code templates can serve as the standard for service codes and improve the efficiency of determining service codes.
[0200] Container health management can be used to monitor the health of the instance corresponding to the container image. The above health monitoring can include resource monitoring and / or availability monitoring to improve the health of the micro-application's running container, thereby improving the stability of the micro-application's operation.
[0201] In an optional embodiment of the present application, a monitoring module and an execution module can be set up in the container unit in the form of a companion container. The monitoring module can periodically (e.g., every minute) determine the resource information of the container corresponding to the instance, check whether the application is available, and synchronize the monitoring results to the execution module, which then takes the next action.
[0202] Reference Figure 8 , shows a schematic diagram of a health monitoring process of an embodiment of the present application, wherein a monitoring module can be set in a health management unit, such as a Pod, and the monitoring module can perform health monitoring on the mirror instance in the health management unit and send the monitoring results to the execution module.
[0203] The monitoring module can monitor the health of the image instances in the health management unit, including:
[0204] A) Resource monitoring.
[0205] The monitoring module periodically queries the image instance's CPU utilization, memory utilization, load, and other resource information, and sends the collected resource information to the execution module. The execution module determines whether to scale the image instance down or up based on the set thresholds and the resource information.
[0206] If capacity expansion is required, the container expansion action can be executed, and the expansion ratio can be obtained according to the algorithm or configuration. If capacity reduction is required, the container deletion action can be executed, and the reduction ratio can be obtained according to the algorithm or configuration.
[0207] B) Availability monitoring.
[0208] The monitoring module can detect whether the container corresponding to the mirror instance has a preset port open. If the preset port is open, the mirror instance is considered to be running; otherwise, the mirror instance can be considered abnormal. The preset port can be the port corresponding to the communication protocol of the embodiment of the present application. For example, if the communication protocol is Hypertext Transfer Protocol (HTTP), the preset port can be port 80. It will be understood that the embodiment of the present application is not limited to the specific preset port.
[0209] If an image instance fails, the execution module can send a restart command to restart the container. If the image instance fails after the application restarts, the execution module can delete the corresponding container and use the expanded container to run the corresponding image instance.
[0210] Application log management can be used to record events or information that occur during the operation of micro-applications.
[0211] The association between the application and the service process can be used to determine the target service provider that has selected or subscribed to the micro application and maintain the corresponding relationship between the micro application and the service process of the target service provider.
[0212] Authentication management can be used to authenticate the service provider based on the above correspondence to determine the target service provider that has selected or subscribed to the micro application and apply the micro application in the service process of the target service provider.
[0213] Code hosting: You can use the code hosting device to host the service code.
[0214] Image management can provide security management and lifecycle management of images.
[0215] In an embodiment of the present application, the type of micro-application may include at least one of: a page, a plug-in, a plug-in view, a service directory, and a callback.
[0216] Reference Figure 9 , shows a schematic diagram of the processing flow of a page-type micro-application in an embodiment of the present application. The micro-application processing flow can be used to create a page of the page type and determine whether the page contains a plug-in area. If so, the plug-in area is created in the page and the cache is refreshed after the page is saved. The micro-application processing flow can include: micro-application creation, micro-application development, and micro-application publishing.
[0217] It should be noted that after a page is created, its status on the corresponding service provider may be in an inactive state, in which case it may not be visible to the user. After a page is associated with a service flow on the corresponding service provider, its status on the corresponding service provider may be in an active state.
[0218] Reference Figure 10 , which shows a schematic diagram of the processing flow of a plug-in type micro-application in an embodiment of the present application, wherein the processing flow of the micro-application can be used to create a plug-in type plug-in, publish the plug-in, receive a subscription request for the plug-in from the service party, and according to the above subscription request, set the status of the plug-in in the corresponding service party to an enabled state, and save the plug-in and its corresponding state.
[0219] For plug-in view, service catalog, and callback type micro-applications, since their processing flow is similar to that of page type or plug-in type micro-applications, they will not be described here in detail and can be referenced by each other.
[0220] In summary, the service object processing method of the embodiment of the present application supports the customization of service objects (pages, plug-ins, plug-in views, service directories, callbacks, etc.), and opens development tools, which allows the development end to focus on writing service codes without paying attention to operating information such as the operating mode and operating stability of the service objects, thereby improving the customization efficiency of service objects.
[0221] The embodiments of the present application can meet the needs of service providers to customize service objects on their own, or can meet the needs of ISVs to customize reproducible service objects within the field.
[0222] The service objects provided by the technical solutions of the embodiments of the present application are not restricted by the platform and can be applied to any platform, thereby achieving cross-platform reuse.
[0223] Furthermore, the embodiments of the present application can associate the service code with the cloud resources of the service provider so that the service code of the service provider runs in its own cloud resource environment, which can improve the security and standardization of the code operation.
[0224] Method Example 3
[0225] Reference Figure 11 , shows a flowchart of the steps of Example 3 of a method for processing a service object of the present application, which may specifically include the following steps:
[0226] Step 1101: Receive a request for using a service object corresponding to a workstation; the service code of the service object may be associated with the corresponding service provider;
[0227] Step 1102: Based on the usage request, call the service code of the service object.
[0228] The method of the embodiment of the present application can be used to execute the service code of the service object in the service process of the service provider to provide customized services corresponding to the service object based on the service process. At least one step included in the method of the embodiment of the present application can be executed by the processing platform. It is understood that the embodiment of the present application does not limit the specific execution entity of the method.
[0229] In step 1101, the use request may be triggered based on a trigger request from a user in the service process or a preset event in the service process.
[0230] Taking the customer service process as an example, after a user opens the customer service task, a page load request is triggered, which can trigger the aforementioned usage request. A plug-in is part of a page, and a page load request can also trigger the aforementioned usage request. When a preset event occurs, the usage request corresponding to the callback object is triggered. Alternatively, if a service entry is provided on the page, the triggering request of the service entry can trigger the usage request corresponding to the service catalog.
[0231] In step 1102, the service code of the service object may be called and executed according to the usage request to provide the user with the service corresponding to the service object.
[0232] In an optional embodiment of the present application, the calling of the service code of the service object specifically includes: determining a container image corresponding to the service code of the service object; and running an instance corresponding to the container image.
[0233] It is understood that the above-mentioned execution of the service code based on the instance of the container image is merely an optional embodiment, and other methods can actually be used to execute the service code, for example, packaging the service code into a JAR (Java Archive) file and executing the JAR file on a virtual machine. It is understood that the embodiments of the present application do not limit the specific execution method of the service code.
[0234] Optionally, the method may further include: performing health monitoring on the instance corresponding to the container image.
[0235] This health monitoring system monitors the resource information corresponding to the instance and determines whether to scale the image instance down or up based on the set threshold and the resource information. This improves instance utilization based on real-time resource information.
[0236] Alternatively, the health monitoring may monitor the availability of the corresponding instance, so as to repair or replace the instance when the instance is unavailable, thereby improving the stability of the operation of the service code.
[0237] In another optional embodiment of the present application, the aforementioned calling of the service code of the service object specifically includes: performing load balancing on the aforementioned use request across container units to obtain a target container unit corresponding to the aforementioned use request; and utilizing the target container unit to run an instance of the container image corresponding to the service code of the service object. This embodiment of the present application can distribute the use request across multiple container units based on load balancing technology. Since the load balancing of multiple container units can be controlled, the stability of the service code operation can be improved.
[0238] In another optional embodiment of the present application, the above method is applied to a runtime engine, which is used to run the service code. The cloud resources used by the runtime engine specifically include: cloud resources corresponding to the service provider.
[0239] The cloud resources can be used to run the service code corresponding to the service object of the service provider. For example, the cloud resources can include at least one of a gateway unit, a load balancing unit, a private network unit, a container unit, and a container image unit.
[0240] The embodiment of the present application can authorize the service provider to use the corresponding cloud resources. In this way, the service provider can understand the consumption information of the micro-application for cloud resources, which facilitates the service provider to manage the running status of its own micro-application and the corresponding cloud resources.
[0241] According to one embodiment, the runtime engine specifically includes: a container unit and a container image unit;
[0242] The container image unit is used to store the container image corresponding to the service object; and the container unit is used to run the instance corresponding to the container image.
[0243] According to another embodiment, the execution engine may further include: a gateway unit configured to receive a usage request for a service object.
[0244] According to yet another embodiment, the execution engine may further include: a dedicated network unit configured to provide a network environment for the container unit and the container image unit.
[0245] Reference Figure 12 , shows a structural diagram of a running engine of an embodiment of the present application, which specifically includes: a gateway unit, a proprietary network unit, a load balancing unit, a container unit and a container image unit.
[0246] The gateway unit provides an external access address and supports authentication mechanisms to authenticate the service provider. Supported authentication mechanisms include OpenID (an open digital identity management and authentication framework) connections and application authentication. The gateway unit provides a public domain name address by default, and users can also bind their own domain name.
[0247] The private network unit can be a VPC (Virtual Private Cloud) network. It can build a local area network for running micro-applications through VPC to connect load balancing units, container units, and container image units.
[0248] The load balancing unit can reverse proxy the usage request to the mounted container unit.
[0249] The container unit supports deploying the container image corresponding to the usage request on the container unit.
[0250] After associating the service code with the service process, the container image corresponding to the service code can be stored in the container image unit. The container image can be loaded in a manner such that the container unit reads the container image from the container image unit according to the access address of the container image unit.
[0251] In summary, the method for processing the service object of the embodiment of the present application, the development tool provided can be used to develop the service object to obtain a service code that matches the above-mentioned development tool. The above-mentioned service code can be used to implement a customized service object. The embodiment of the present application associates the above-mentioned service code with the corresponding service party, and the above-mentioned service code can be integrated into the service process of the corresponding service party to provide customized services to users by running the above-mentioned service code. In this way, the expansion of the service process can be achieved, and the customization of the service object can be achieved in the service process, so that the customization requirements of the service object can be met, and then the expansion of the service capability can be achieved.
[0252] Method Example 4
[0253] Reference Figure 13 , shows a flowchart of the steps of a fourth embodiment of a method for processing a service object of the present application, which may specifically include the following steps:
[0254] Step 1301: Provide a development tool for the corresponding page of the workbench;
[0255] Step 1302: Determine the service code that matches the development tool.
[0256] Step 1303: associate the service code with the corresponding service provider to customize the workstation of the service provider.
[0257] The embodiment of the present application can provide development tools for pages for development to obtain service codes that match the development tools; and the above service codes can be associated with corresponding service providers to call the above service codes in the service process of the above service providers to realize the customization of pages in the workbench.
[0258] A page may include page elements and / or the layout of page elements. Page elements may include text, images, components, etc.
[0259] Different service providers can customize different pages. For example, service provider A can customize image A (such as service provider A's corporate logo) in the first position, while service provider B can customize image B (such as service provider B's corporate logo) in the second position. The first position and the second position can correspond to the same or different locations.
[0260] Method Example 5
[0261] Reference Figure 14 , shows a flowchart of the steps of a fifth embodiment of a method for processing a service object of the present application, which may specifically include the following steps:
[0262] Step 1401: Provide a development tool for the workbench corresponding to the service catalog;
[0263] Step 1402: Determine the service code that matches the development tool.
[0264] Step 1403: associate the service code with the corresponding service provider to customize the workstation of the service provider.
[0265] The embodiment of the present application can provide development tools for development of a service catalog to obtain a service code that matches the development tool; and the above-mentioned service code can be associated with the corresponding service provider so as to call the above-mentioned service code in the service process of the above-mentioned service provider to realize the customization of the corresponding service of the service catalog.
[0266] Optionally, an interface corresponding to the service directory can also be provided. The interface corresponding to the service object may include: input parameters, output parameters, and service methods, so that the service provider can specify the input parameters, output parameters, and service methods. For example, the service corresponding to the service object is membership service, and the input parameter can be a member identifier such as a mobile phone number. Different service providers can use different service methods to obtain different types of member information. Different service methods may include: accessing different member databases. Different types of member information may include: member level, member's historical orders, different information in member's historical posts, etc.
[0267] Method Example 6
[0268] Reference Figure 15 , shows a flowchart of the steps of Example 6 of a method for processing a service object of the present application, which may specifically include the following steps:
[0269] Step 1501: Register the service corresponding to the service code in the service directory; the service code can be obtained by using a development tool corresponding to the service object on the workbench;
[0270] Step 1502: Establish a mapping relationship between services in the service catalog and service providers;
[0271] Step 1503: Receive a service request. The service request may include: requesting service provider;
[0272] Step 1504: If the service requester matches the service provider in the mapping relationship, the service code of the service corresponding to the service requester is called in the service process of the workstation corresponding to the service requester.
[0273] This embodiment can play the role of a service agent, which can register the service corresponding to the service code, bind the service to the service provider, and route the service request to the corresponding service.
[0274] Assuming that service provider A is bound to service A, and service provider B is bound to service B, when the requested service provider is service provider A, the service code of service A can be called in the service process of service provider A; or, when the requested service provider is service provider B, the service code of service B can be called in the service process of service provider B.
[0275] Method Example 7
[0276] Reference Figure 16 , shows a flowchart of the steps of Embodiment 7 of a method for processing a service object of the present application, which may specifically include the following steps:
[0277] Step 1601: Register the service corresponding to the service code in the service directory; the service code can be obtained by using a development tool corresponding to the service object on the workbench;
[0278] Step 1602: Establish a mapping relationship between services in the service catalog and service providers;
[0279] Step 1603: Receive a service request. The service request may include: requesting service provider;
[0280] Step 1604: If the service requester matches the service provider in the mapping relationship, the access address of the service code corresponding to the service requester is determined to call the service code according to the access address.
[0281] This embodiment can act as a service agent, which can register the service corresponding to the service code, bind the service to the service provider, and route the service request to the access address corresponding to the service code.
[0282] The access address can be used to point to the corresponding service code, thereby enabling access to the service code. Alternatively, the access address can be an HTTP address. Assuming that service provider A is bound to service A, and the access address for the service code corresponding to service A is address A, then if the service requester is service provider A, address A can be determined to call the service code corresponding to address A within service provider A's service process.
[0283] Method Example 8
[0284] Reference Figure 17 , shows a flowchart of the steps of Embodiment 8 of a method for processing a service object of the present application, which may specifically include the following steps:
[0285] Step 1701: Call the service code in the service process of the corresponding workstation of the service provider; the service code can be obtained by using the development tool of the corresponding service object of the workstation;
[0286] Step 1702: Bill the service provider based on the calling information of the service code.
[0287] In this embodiment of the application, the service provider is billed based on the service code call information. The corresponding billing results can reflect the utilization rate of the service code and the cost-effectiveness of the service code. The service provider can pay the fee corresponding to the billing result to the processor corresponding to the processing platform. This fee can be used to process the service code to improve the processing efficiency and quality of the service code.
[0288] According to an embodiment, the call information may include: the number of calls, and a corresponding first preset fee may be set for one call, thereby charging the service provider based on the number of calls and the first preset fee.
[0289] According to another embodiment, the call information may include: the running time after the call, and a corresponding second preset fee may be set for unit time, so that the service provider can be billed based on the running time and the second preset fee.
[0290] Method Example 9
[0291] Reference Figure 18 , shows a flowchart of a ninth embodiment of a method for processing a service object of the present application, which may specifically include the following steps:
[0292] Step 1801: Call the service code in the service process of the corresponding workstation of the service provider; the service code can be obtained by using the development tool of the corresponding service object of the workstation;
[0293] Step 1802: The service provider is charged based on the resources consumed by the operation of the service code.
[0294] In this embodiment of the present application, the service provider is charged based on the resources consumed by the operation of the service code. The corresponding billing results can reflect the utilization rate of the service code and the cost-effectiveness of the service code. The service provider can pay the corresponding fee to the processor of the processing platform, which can be used to process the service code to improve the processing efficiency and quality of the service code.
[0295] The resources consumed by the operation of the service code may include: at least one of a gateway unit, a load balancing unit, a private network unit, a container unit, and a container image unit.
[0296] According to one embodiment, the embodiment of the present application can count the resources consumed by the operation of the service code and bill the service provider based on the statistical results.
[0297] According to another embodiment, the service provider can obtain cloud resources through leasing or other means, wherein the leasing method can pay corresponding fees; thus, the service provider's cloud resources can be deducted based on the resources consumed by the operation of the service code. In this way, the service provider can understand the cloud resource consumption information of the service code.
[0298] Method Example 10
[0299] Reference Figure 22 , shows a flowchart of the steps of Embodiment 10 of a method for processing a service object of the present application, which may specifically include the following steps:
[0300] Step 2201: Provide a workbench interface; the interface may include: at least one window; the window may include: at least one government affairs object;
[0301] Step 2202: Based on the user's triggering operation on the target government object, a usage request corresponding to the target government object is sent to provide the user with the service corresponding to the target government object; wherein the service code can be obtained based on the development tool of the target government object.
[0302] The method of the embodiment of the present application can be applied in the context of government service. Government affairs can refer to the routine work of an administrative agency. Government agencies can apply the method of the embodiment of the present application to provide government services to users.
[0303] In an embodiment of the present application, a workbench may be a platform for providing government services. A government object may be a service object. The interface provided by the workbench may include: at least one window. The window may be a window container that can host controls.
[0304] Those skilled in the art can determine the type of government affairs objects included in the window according to actual application requirements.
[0305] Optionally, the types of the above-mentioned government affairs objects may specifically include at least one of the following types: announcements, pictures, applications, information, data, and schedules.
[0306] Those skilled in the art can arrange at least one type of government affairs object in a window based on actual application requirements. Alternatively, a window editing interface can be provided to allow the addition and deletion of government affairs objects in the window, as well as the adjustment of the position of government affairs objects in the window. Alternatively, a second window can be set within the first window.
[0307] Reference Figure 23 , shows a schematic diagram of a window in an embodiment of the present application, which specifically includes: announcement 2301, window 2302 corresponding to common applications, picture 2303, application 1 (2304), and application 2 (2305). It is understood that those skilled in the art can set the required government affairs objects in the window according to actual application requirements.
[0308] Those skilled in the art can determine the functions corresponding to government affairs objects based on actual application requirements. Examples of functions corresponding to government affairs objects may include: health code processing, epidemic management, government affairs, personnel affairs, branch services, news information, etc. It is understood that the embodiments of this application do not limit the specific functions corresponding to government affairs objects.
[0309] In the embodiment of the present application, a development tool for government affairs objects can be provided, and corresponding service codes can be developed based on the development tool. Different government affairs objects can be developed by the same or different developers.
[0310] The method of the embodiment of the present application can be executed by a workstation, which can provide an interface for receiving a user's trigger operation and, based on the trigger operation, sending a usage request corresponding to the target government object. The recipient of the usage request can be a related entity of the service code corresponding to the target government object, such as the aforementioned processing platform or service provider.
[0311] In an embodiment of the present application, sending a usage request corresponding to a target government affairs object can be used to request calling a service code corresponding to the target government affairs object to provide the user with the service corresponding to the target government affairs object.
[0312] In summary, the service object processing method of the embodiment of the present application sets a government affairs object in the window of the interface, and sends a usage request corresponding to the above-mentioned target government affairs object based on the user's trigger operation on the target government affairs object, so as to provide the user with the service corresponding to the above-mentioned target government affairs object based on the use of the corresponding service code.
[0313] Method Example 11
[0314] Reference Figure 24 , shows a flowchart of the steps of an eleventh embodiment of a method for processing a service object of the present application, which may specifically include the following steps:
[0315] Step 2401: Receive a usage request corresponding to a target government affairs object in the workbench;
[0316] Step 2402: Call the service code corresponding to the target government object to provide the user with the service corresponding to the target government object; wherein the service code can be obtained based on the development tool of the target government object.
[0317] The above usage request may be used to request to call the service code corresponding to the target government affairs object, so as to provide the user with the service corresponding to the above target government affairs object.
[0318] After receiving a use request, the embodiment of the present application can call the service code corresponding to the above-mentioned target government affairs object to provide the user with the service corresponding to the above-mentioned target government affairs object.
[0319] Optionally, after calling the service code corresponding to the target government object, you can jump to the corresponding service interface. Different target government objects can correspond to different service interfaces. For example, if the target government object includes: Application 1 or Application 2, then after calling the service code corresponding to Application 1, you can jump to the service interface of Application 1; or after calling the service code corresponding to Application 2, you can jump to the service interface of Application 2.
[0320] It should be noted that for the method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the embodiments of the present application are not limited by the order of the actions described, because according to the embodiments of the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present application.
[0321] The embodiment of the present application also provides a device for processing a service object.
[0322] Reference Figure 19, shows a structural block diagram of an embodiment of a processing device for a service object of the present application, which may specifically include the following modules:
[0323] Providing module 1901, for providing development tools for service objects corresponding to the workbench;
[0324] Determining module 1902, used to determine the service code that matches the development tool;
[0325] The association module 1903 is used to associate the above service code with the corresponding service provider to customize the workbench of the above service provider.
[0326] Optionally, the determining module 1902 may include:
[0327] The code template providing module is used to provide code templates corresponding to the above development tools;
[0328] The code receiving module is used to receive the service code that matches the above code template.
[0329] Optionally, the association module 1903 is specifically configured to associate the service code and the information corresponding to the service object with the corresponding service provider.
[0330] Optionally, the service object may include a plug-in; the information may include: a plug-in identifier and page information corresponding to the plug-in.
[0331] Optionally, the association module 1903 may include:
[0332] The publishing module is used to publish the micro-application corresponding to the above service code;
[0333] The first association module is used to associate the above micro-application with the corresponding service provider based on the service provider's selection request for the above micro-application, so as to call the service code corresponding to the above micro-application in the service process of the above service provider.
[0334] Optionally, the association module 1903 may include:
[0335] A service option providing module is used to provide a variety of service options corresponding to the above service codes;
[0336] The second associating module is used to associate the service code corresponding to the service option selected by the service provider with the corresponding service provider, so as to provide the corresponding service to the user according to the service request.
[0337] Optionally, the association module 1903 may include:
[0338] The recording module is used to record the service provider information corresponding to the above service code and the access address information of the service provided by the above service code.
[0339] Optionally, the above device may further include:
[0340] The state processing module is used to set the state of the service object corresponding to the service code in the above service party to an enabled state after associating the above service code with the corresponding service party.
[0341] Optionally, the above device may further include:
[0342] A saving module, used to save the above service code to the code space corresponding to the above service object;
[0343] The update module is used to update the code of the code space according to the update of the service code.
[0344] Optionally, the above device may further include:
[0345] The container image processing module is used to build a container image corresponding to the above service object to run the above service code based on the instance of the above container image.
[0346] Optionally, the above device may further include:
[0347] An engine construction module is used to construct a runtime engine corresponding to the above service object; the above runtime engine may include: a container unit and a container image unit;
[0348] The container image unit is used to store the container image corresponding to the service object; and the container unit is used to run the instance corresponding to the container image.
[0349] Optionally, the service object may include at least one of the following objects:
[0350] Pages, plugins, plugin views, service catalogs, and callback objects.
[0351] Optionally, there may be multiple service providers; a mapping relationship between personnel attributes and encryption and decryption methods is saved for the service providers.
[0352] Reference Figure 20 , shows a structural block diagram of an embodiment of a processing device for a service object of the present application, which may specifically include the following modules:
[0353] The request receiving module 2001 is used to receive a request for use of a service object corresponding to the workstation; the service code of the service object is associated with the corresponding service provider;
[0354] The code calling module 2002 is used to call the service code of the service object according to the usage request.
[0355] Optionally, the calling module 2002 may include:
[0356] A container image determination module, used to determine the container image corresponding to the service code of the above service object;
[0357] The first instance running module is used to run the instance corresponding to the above container image.
[0358] Optionally, the above device may further include:
[0359] The billing module is used to bill the service provider based on the resources consumed by the instance of the container image.
[0360] Optionally, the above device may further include:
[0361] The health monitoring module is used to monitor the health of the instances corresponding to the above container images.
[0362] Optionally, the calling module 2002 may include:
[0363] A load balancing module, configured to perform load balancing of container units on the usage request to obtain a target container unit corresponding to the usage request;
[0364] The second instance running module is used to use the target container unit to run the instance of the container image corresponding to the service code of the service object.
[0365] Optionally, the above-mentioned device is applied to a running engine, and the cloud resources used by the running engine may include: cloud resources corresponding to the above-mentioned service provider.
[0366] Optionally, the above-mentioned runtime engine may include: a container unit and a container image unit;
[0367] The container image unit is used to store the container image corresponding to the service object; and the container unit is used to run the instance corresponding to the container image.
[0368] Optionally, the execution engine may further include: a gateway unit configured to receive a usage request for a service object.
[0369] Optionally, the above-mentioned execution engine may further include: a dedicated network unit, configured to provide a network environment for the above-mentioned container unit and container image unit.
[0370] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.
[0371] Regarding the apparatus in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0372] The embodiments of the present application may be implemented as a system or device using any appropriate hardware and / or software to perform a desired configuration. Figure 21 An exemplary device 2500 that can be used to implement various embodiments described in this application is schematically illustrated.
[0373] For one embodiment, Figure 21 An exemplary device 2500 is shown and may include one or more processors 2502, a system control module (chipset) 2504 coupled to at least one of the processors 2502, a system memory 2506 coupled to the system control module 2504, a non-volatile memory (NVM) / storage device 2508 coupled to the system control module 2504, one or more input / output devices 2510 coupled to the system control module 2504, and a network interface 2512 coupled to the system control module 2506. The system memory 2506 may include instructions 2562 that are executable by the one or more processors 2502.
[0374] Processor 2502 may include one or more single-core or multi-core processors, and may include any combination of general-purpose processors or dedicated processors (e.g., graphics processors, application processors, baseband processors, etc.). In some embodiments, device 2500 can function as a server, target device, wireless device, etc. as described in the embodiments of this application.
[0375] In some embodiments, the device 2500 may include one or more machine-readable media (e.g., system memory 2506 or NVM / storage device 2508) having instructions and one or more processors 2502 configured to execute instructions in combination with the one or more machine-readable media to implement the modules included in the aforementioned device, thereby performing the actions described in the embodiments of the present application.
[0376] The system control module 2504 for one embodiment may include any suitable interface controller for providing any suitable interface to at least one of the processors 2502 and / or any suitable device or component in communication with the system control module 2504 .
[0377] For one embodiment, the system control module 2504 may include one or more memory controllers for providing an interface to the system memory 2506. The memory controller may be a hardware module, a software module, and / or a firmware module.
[0378] System memory 2506 of one embodiment may be used to load and store data and / or instructions 2562. For one embodiment, system memory 2506 may include any suitable volatile memory, such as suitable DRAM (Dynamic Random Access Memory). In some embodiments, system memory 2506 may include double data rate type four synchronous dynamic random access memory (DDR4 SDRAM).
[0379] System control module 2504 for one embodiment may include one or more input / output controllers to provide interfaces to NVM / storage 2508 and input / output device(s) 2510 .
[0380] NVM / storage 2508 of one embodiment may be used to store data and / or instructions 2582. NVM / storage 2508 may include any suitable non-volatile memory (e.g., flash memory, etc.) and / or may include any suitable non-volatile storage device(s), such as one or more hard disk drives (HDDs), one or more compact disk (CD) drives, and / or one or more digital versatile disk (DVD) drives.
[0381] NVM / storage 2508 may include storage resources that are physically part of the device on which apparatus 2500 is installed, or that may be accessible to the device without being part of the device. For example, NVM / storage 2508 may be accessible over a network via network interface 2512 and / or through input / output devices 2510.
[0382] The input / output device(s) 2510 of one embodiment may provide an interface for the device 2500 to communicate with any other appropriate device and may include a communication component, an audio component, a sensor component, and the like.
[0383] The network interface 2512 of one embodiment may provide an interface for the device 2500 to communicate through one or more networks and / or with any other suitable device. The device 2500 may wirelessly communicate with one or more components of a wireless network according to any of one or more wireless network standards and / or protocols, for example, accessing a wireless network based on a communication standard such as WiFi (Wireless Fidelity), 2G or 3G or 4G or 5G, or a combination thereof for wireless communication.
[0384] In one embodiment, at least one of the processors 2502 may be packaged together with the logic of one or more controllers (e.g., a memory controller) of the system control module 2504. In one embodiment, at least one of the processors 2502 may be packaged together with the logic of one or more controllers of the system control module 2504 to form a system in a package (SiP). In one embodiment, at least one of the processors 2502 may be integrated with the logic of one or more controllers of the system control module 2504 on the same product. In one embodiment, at least one of the processors 2502 may be integrated with the logic of one or more controllers of the system control module 2504 on the same chip to form a system on chip (SoC).
[0385] In various embodiments, device 2500 may include, but is not limited to, a computing device such as a desktop computing device or a mobile computing device (e.g., a laptop computing device, a handheld computing device, a tablet computer, a netbook, etc.). In various embodiments, device 2500 may have more or fewer components and / or a different architecture. For example, in some embodiments, device 2500 may include one or more cameras, a keyboard, a liquid crystal display (LCD) screen (including a touch screen display), a non-volatile memory port, multiple antennas, a graphics chip, an application-specific integrated circuit (ASIC), and a speaker.
[0386] If the display includes a touch panel, the display screen can be implemented as a touch screen display to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, slides, and gestures on the touch panel. The touch sensors can not only sense the boundaries of a touch or slide action, but also detect the duration and pressure associated with the touch or slide action.
[0387] An embodiment of the present application further provides a non-volatile readable storage medium, which stores one or more modules (programs). When the one or more modules are applied to a device, the device can execute instructions (instructions) of each method in the embodiment of the present application.
[0388] In one example, a device is provided, including: one or more processors; and instructions stored in one or more machine-readable media, which, when executed by the one or more processors, cause the device to perform a method as described in an embodiment of the present application. The method may include: Figures 1 to 11 Any of the methods shown in .
[0389] In one example, one or more machine-readable media are provided, on which instructions are stored. When executed by one or more processors, the apparatus performs a method as in an embodiment of the present application. The method may include: Figures 1 to 11 Any of the methods shown in .
[0390] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here. For relevant details, please refer to the partial description of the method embodiment.
[0391] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.
[0392] The embodiments of the present application are described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable service object processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable service object processing device generate instructions for implementing the process in the flowchart and / or block diagram. Figure 1 a process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0393] These computer program instructions may also be stored in a computer readable memory that can direct a computer or other programmable service object's processing device to work in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 a process or multiple processes and / or boxes Figure 1 The function specified in one or more boxes.
[0394] These computer program instructions can also be loaded onto a processing device of a computer or other programmable server object so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 a process or multiple processes and / or boxes Figure 1 The steps for the function specified in one or more boxes.
[0395] Although preferred embodiments of the present invention have been described, those skilled in the art may make additional changes and modifications to these embodiments once they become aware of the basic inventive concepts. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present invention.
[0396] Finally, it should be noted that, in this document, relational terms such as first and second, etc., are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the terms "comprises," "comprising," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, logistic object, or apparatus comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, logistic object, or apparatus. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of additional identical elements in the process, method, logistic object, or apparatus comprising the element.
[0397] The above is a detailed introduction to a service object processing method, a service object processing device, a device, and a machine-readable medium provided by this application. Specific examples are used in this article to illustrate the principles and implementation methods of this application. The description of the above embodiments is only used to help understand the method of this application and its core idea; at the same time, for general technical personnel in this field, based on the ideas of this application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on this application.
Claims
1. A method for processing a service object, characterized in that: The method comprises: Providing development tools for the service objects corresponding to a workbench; the workbench is a customer service workbench, and the service objects are related to the page content provided by the customer service workbench; the development tools include: a development kit and a development stack; the page content includes: page elements and the layout of page elements; determining a service code that matches the development tool; The service code is associated with the corresponding service provider to customize the service provider's workbench, and the service objects in the workbench are abstracted and customized based on the service objects; the cloud resources corresponding to the service provider are associated with the service code, and the service code is run using the cloud resources corresponding to the service provider; information on the cloud resources consumed by the operation of the service code is recorded for the service provider to view; after the service code is associated with the corresponding service provider, the status of the service object corresponding to the service code on the service provider is set to enabled; the service object in enabled state is visible to the user; the service object in disabled state is invisible to the user; Among them, a running engine corresponding to the service object is constructed; the running engine includes: a container unit and a container image unit; the container image unit is used to store the container image corresponding to the service object; the container unit is used to run the instance corresponding to the container image; the container unit runs the container for the packaged container image, and bills the service provider based on the cloud resources consumed by the actual operation of the container; the cloud resources are the resources rented by the service provider on the network.
2. The method according to claim 1, characterized in that The determining of the service code of the service object includes: Providing code templates corresponding to the development tools; A service code matching the code template is received.
3. The method according to claim 1, characterized in that Associating the service code with the corresponding service provider includes: The service code and the information corresponding to the service object are associated with the corresponding service provider.
4. The method according to claim 3, characterized in that The service object includes a plug-in; the information includes: a plug-in identifier and page information corresponding to the plug-in.
5. The method according to claim 1, wherein Associating the service code with the corresponding service provider includes: Publishing the micro-application corresponding to the service code; According to the service provider's selection request for the micro-application, the micro-application is associated with the corresponding service provider, so as to call the service code corresponding to the micro-application in the service process of the service provider.
6. The method according to claim 1, characterized in that Associating the service code with the corresponding service provider includes: Providing multiple service options corresponding to the service code; The service code corresponding to the service option selected by the service provider is associated with the corresponding service provider to provide the corresponding service to the user according to the service request.
7. The method according to claim 1, characterized in that Associating the service code with the corresponding service provider includes: Record the service provider information corresponding to the service code and the access address information of the service provided by the service code.
8. The method according to claim 1, characterized in that The method further comprises: After the service code is associated with the corresponding service provider, the status of the service object corresponding to the service code on the service provider is set to an enabled state.
9. The method according to claim 1, characterized in that The method further comprises: Saving the service code to the code space corresponding to the service object; According to the update of the service code, the code of the code space is updated.
10. The method according to claim 1, characterized in that The method further comprises: A container image corresponding to the service object is constructed to run the service code based on an instance of the container image.
11. The method according to claim 1 or 2 or 3 or 5 or 6 or 7 or 8 or 9 or 10, characterized in that The service object includes at least one of the following objects: Plugin, plugin view, and callback objects.
12. The method according to any one of claims 1 to 10, characterized in that There are multiple service providers; a mapping relationship between personnel attributes and encryption and decryption methods is saved for each service provider.
13. A method for processing a service object, characterized in that: The method comprises: Receive a use request for a service object corresponding to a workbench; associate the service code of the service object with the corresponding service provider, abstract the service object in the workbench, and customize it based on the service object; provide a development tool for the service object corresponding to the workbench; the workbench is a customer service workbench, and the service object is related to the page content provided by the customer service workbench; the development tool includes: a development kit and a development stack; determine a service code that matches the development tool; associate the cloud resources corresponding to the service provider with the service code, and use the cloud resources corresponding to the service provider to run the service code; record the cloud resource information consumed by the operation of the service code for the service provider to view; after associating the service code with the corresponding service provider, set the status of the service object corresponding to the service code on the service provider to an enabled state; the service object in the enabled state is visible to the user; the service object in the disabled state is invisible to the user; the page content includes: page elements and the layout of page elements; Based on the usage request, the service code of the service object is called; a runtime engine corresponding to the service object is constructed; the runtime engine includes: a container unit and a container image unit; the container image unit is used to store the container image corresponding to the service object; the container unit is used to run the instance corresponding to the container image; the container unit runs the container for the packaged container image, and bills the service provider based on the cloud resources actually consumed by the container operation; the cloud resources are resources rented by the service provider on the network.
14. The method according to claim 13, characterized in that The service code for calling the service object includes: Determine the container image corresponding to the service code of the service object; Run the instance corresponding to the container image.
15. The method according to claim 13, characterized in that The method further comprises: Perform health monitoring on the instance corresponding to the container image.
16. The method according to claim 13, characterized in that The service code for calling the service object includes: Performing load balancing of container units on the usage request to obtain a target container unit corresponding to the usage request; The target container unit is used to run an instance of the container image corresponding to the service code of the service object.
17. The method according to claim 13, wherein The execution engine further includes: a gateway unit configured to receive a usage request for a service object.
18. The method according to claim 13, wherein The execution engine further includes: a dedicated network unit, configured to provide a network environment for the container unit and the container image unit.
19. A method for processing a service object, characterized in that: The method comprises: Provide development tools for the corresponding pages of the workbench; determining a service code that matches the development tool; The service code is associated with the corresponding service provider to customize the workbench of the service provider, and the service objects in the workbench are abstracted and customized based on the service objects; the workbench is a customer service workbench, and the service objects are related to the page content provided by the customer service workbench; the page content includes: page elements and the layout of page elements; the development tools include: development kits and development stacks; determine the service code that matches the development tools; associate the cloud resources corresponding to the service provider with the service code, and use the cloud resources corresponding to the service provider to run the service code; record the cloud resource information consumed by the operation of the service code for the service provider to view; when the service code is associated with the service provider, the service code is associated with the service code, and the cloud resources consumed by the operation of the service code is recorded ... After associating with the corresponding service provider, the status of the service object corresponding to the service code on the service provider is set to enabled; the service object in enabled state is visible to the user; the service object in non-enabled state is invisible to the user; wherein, a running engine corresponding to the service object is constructed; the running engine includes: a container unit and a container image unit; the container image unit is used to store the container image corresponding to the service object; the container unit is used to run the instance corresponding to the container image; the container unit runs the container for the packaged container image, and charges the service provider based on the cloud resources consumed by the actual operation of the container; the cloud resources are resources rented by the service provider on the network.
20. A method for processing a service object, characterized in that: The method comprises: Provide development tools for the workbench corresponding to the service catalog; determining a service code that matches the development tool; The service code is associated with the corresponding service provider to customize the workbench of the service provider; the workbench is a customer service workbench, and the service object is related to the page content provided by the customer service workbench. The service object in the workbench is abstracted and customized based on the service object; the page content includes: page elements and the layout of page elements; the development tool includes: a development kit and a development stack; determine the service code that matches the development tool; associate the cloud resources corresponding to the service provider with the service code, and use the cloud resources corresponding to the service provider to run the service code; record the cloud resource information consumed by the operation of the service code for the service provider to view; after associating the service code with the service provider, the service code is run. After associating with the corresponding service provider, the status of the service object corresponding to the service code on the service provider is set to enabled; the service object in enabled state is visible to the user; the service object in non-enabled state is invisible to the user; wherein, a running engine corresponding to the service object is constructed; the running engine includes: a container unit and a container image unit; the container image unit is used to store the container image corresponding to the service object; the container unit is used to run the instance corresponding to the container image; the container unit runs the container for the packaged container image, and charges the service provider based on the cloud resources consumed by the actual operation of the container; the cloud resources are resources rented by the service provider on the network.
21. A method for processing a service object, characterized in that: The method comprises: Registering a service corresponding to a service code in a service directory; the service code is obtained using a development tool corresponding to a service object on a workbench; the workbench is a customer service workbench, and the service object is related to the page content provided by the customer service workbench. The service object in the workbench is abstracted and customized based on the service object; the page content includes page elements and their layout; the development tool includes a development kit and a development stack; determining a service code that matches the development tool; associating the service provider's cloud resources with the service code, and running the service code using the service provider's cloud resources; and recording information about the cloud resources consumed by running the service code for review by the service provider. Establish a mapping relationship between services and service providers in the service catalog; Receiving a service request; the service request includes: a service requesting party; If the requesting service party matches the service party in the mapping relationship, the service code of the corresponding service of the requesting service party is called in the service process of the corresponding workbench of the requesting service party; after the service code is associated with the corresponding service party, the status of the service object corresponding to the service code on the service party is set to enabled; the service object in the enabled state is visible to the user; the service object in the non-enabled state is invisible to the user; wherein, a running engine corresponding to the service object is constructed; the running engine includes: a container unit and a container image unit; the container image unit is used to store the container image corresponding to the service object; the container unit is used to run the instance corresponding to the container image; the container unit runs the container for the packaged container image, and bills the service party according to the cloud resources consumed by the actual operation of the container; the cloud resources are resources rented by the service party on the network.
22. A method for processing a service object, characterized in that: The method comprises: Register the service corresponding to the service code in the service directory; the service code is obtained based on the development tool of the corresponding service object of the workbench; Establish a mapping relationship between services in the service catalog and service providers; the workbench is a customer service workbench, and the service objects are related to the page content provided by the customer service workbench. The service objects in the workbench are abstracted and customized based on the service objects; the page content includes: page elements and the layout of page elements; the development tools include: development kits and development stacks; determine the service code that matches the development tools; associate the cloud resources corresponding to the service provider with the service code, and use the cloud resources corresponding to the service provider to run the service code; record the cloud resource information consumed by the operation of the service code for the service provider to view; after associating the service code with the corresponding service provider, After the association is made, the service object corresponding to the service code is set to an enabled state on the service provider; the service object in the enabled state is visible to the user; the service object in the disabled state is invisible to the user; wherein, a runtime engine corresponding to the service object is constructed; the runtime engine includes: a container unit and a container image unit; the container image unit is used to store the container image corresponding to the service object; the container unit is used to run the instance corresponding to the container image; the container unit runs the container for the packaged container image, and bills the service provider based on the cloud resources actually consumed by the container operation; the cloud resources are the resources rented by the service provider on the network; Receiving a service request; the service request includes: a service requesting party; If the service requesting party matches the service party in the mapping relationship, an access address of a service code corresponding to the service of the service requesting party is determined, so as to call the service code according to the access address.
23. A method for processing a service object, characterized in that: The method comprises: The service code is called in the service process of the workbench corresponding to the service party; the service code is obtained based on the development tool of the service object corresponding to the workbench; the workbench is a customer service workbench, and the service object is related to the page content provided by the customer service workbench. The service object in the workbench is abstracted and customized based on the service object; the page content includes: page elements and the layout of page elements; the development tool includes: a development kit and a development stack; the service code that matches the development tool is determined; the cloud resources corresponding to the service party are associated with the service code, and the service code is run using the cloud resources corresponding to the service party; the cloud resource information consumed by the operation of the service code is recorded for the service party to view; after the service code is associated with the corresponding service party, the status of the service object corresponding to the service code on the service party is set to an enabled state; the service object in the enabled state is visible to the user; the service object in the disabled state is invisible to the user; wherein, a running engine corresponding to the service object is constructed; the running engine includes: a container unit and a container image unit; the container image unit is used to store the container image corresponding to the service object; the container unit is used to run the instance corresponding to the container image; the container unit runs the container for the packaged container image; The service provider is charged based on the calling information of the service code.
24. A method for processing a service object, characterized in that: The method comprises: The service code is called in the service process of the workbench corresponding to the service party; the service code is obtained based on the development tool of the service object corresponding to the workbench; the workbench is a customer service workbench, and the service object is related to the page content provided by the customer service workbench. The service object in the workbench is abstracted and customized based on the service object; the page content includes: page elements and the layout of page elements; the development tool includes: a development kit and a development stack; the service code that matches the development tool is determined; the cloud resources corresponding to the service party are associated with the service code, and the service code is run using the cloud resources corresponding to the service party; the cloud resource information consumed by the operation of the service code is recorded for the service party to view; after the service code is associated with the corresponding service party, the status of the service object corresponding to the service code on the service party is set to an enabled state; the service object in the enabled state is visible to the user; the service object in the disabled state is invisible to the user; wherein, a running engine corresponding to the service object is constructed; the running engine includes: a container unit and a container image unit; the container image unit is used to store the container image corresponding to the service object; the container unit is used to run the instance corresponding to the container image; the container unit runs the container for the packaged container image; The service provider is billed based on the resources consumed by the operation of the service code; the resources consumed by the operation of the service code include: cloud resources consumed by the actual operation of the container; the cloud resources are resources rented by the service provider on the network.
25. A device for processing a service object, characterized in that: The device comprises: Provide modules to provide development tools for corresponding service objects of the workbench; A determination module, configured to determine a service code that matches the development tool; An association module is used to associate the service code with the corresponding service party so as to call the service code in the service process of the service party; the workbench is a customer service workbench, and the service object is related to the page content provided by the customer service workbench. The service object in the workbench is abstracted and customized based on the service object; the page content includes: page elements and the layout of page elements; the development tool includes: a development kit and a development stack; determine the service code that matches the development tool; associate the cloud resources corresponding to the service party with the service code, and use the cloud resources corresponding to the service party to run the service code; record the cloud resource information consumed by the operation of the service code for the service party to view; After the service code is associated with the corresponding service provider, the status of the service object corresponding to the service code on the service provider is set to an enabled state; the service object in the enabled state is visible to the user; the service object in the non-enabled state is invisible to the user; wherein, a running engine corresponding to the service object is constructed; the running engine includes: a container unit and a container image unit; the container image unit is used to store the container image corresponding to the service object; the container unit is used to run the instance corresponding to the container image; the container unit runs the container for the packaged container image, and bills the service provider based on the cloud resources consumed by the actual operation of the container; the cloud resources are resources rented by the service provider on the network.
26. A device for processing a service object, characterized in that: The device comprises: The request receiving module is used to receive a request for use of a service object; the service code of the service object is associated with the service process of the corresponding workbench of the service provider; the workbench is a customer service workbench, and the service object is related to the page content provided by the customer service workbench. The service object in the workbench is abstracted and customized based on the service object; the page content includes: page elements and the layout of page elements; the service code is obtained based on the development tool of the service object corresponding to the workbench; the development tool includes: development kit and development stack; determine the service code that matches the development tool; associate the cloud resources corresponding to the service provider with the service code, and use the cloud resources corresponding to the service provider to run the service code; record the cloud resources consumed by the operation of the service code Resource information is provided for the service provider to view; after associating the service code with the corresponding service provider, the status of the service object corresponding to the service code on the service provider is set to enabled; the service object in enabled state is visible to the user; the service object in disabled state is invisible to the user; wherein, a running engine corresponding to the service object is constructed; the running engine includes: a container unit and a container image unit; the container image unit is used to store the container image corresponding to the service object; the container unit is used to run the instance corresponding to the container image; the container unit runs the container for the packaged container image, and charges the service provider based on the cloud resources actually consumed by the container operation; the cloud resources are the resources rented by the service provider on the network; The code calling module is used to call the service code of the service object according to the use request.
27. A device, characterized in that include: one or more processors; and One or more machine-readable media having instructions stored thereon, which, when executed by the one or more processors, cause the apparatus to perform the method of one or more of claims 1-13.
28. One or more machine-readable media having instructions stored thereon that, when executed by one or more processors, cause a device to perform the method of one or more of claims 1-13.
29. A method for processing a service object, characterized in that: include: Provides the interface of the workbench; The interface includes: at least one window; the window includes: at least one government affairs object; According to the user's triggering operation on the target government object, a usage request corresponding to the target government object is sent to provide the user with the service corresponding to the target government object; wherein, the service code is obtained based on the development tool of the target government object, the service object in the workbench is abstracted, and customized based on the service object; the development tool includes: a development kit and a development stack; determining the service code that matches the development tool; associating the cloud resources corresponding to the service party with the service code, and using the cloud resources corresponding to the service party to run the service code; recording the cloud resource information consumed by the operation of the service code for the service party to view; after associating the service code with the corresponding After the service provider makes the association, the status of the service object corresponding to the service code on the service provider is set to enabled; the service object in enabled state is visible to the user; the service object in non-enabled state is invisible to the user; wherein, a running engine corresponding to the service object is constructed; the running engine includes: a container unit and a container image unit; the container image unit is used to store the container image corresponding to the service object; the container unit is used to run the instance corresponding to the container image; the container unit runs the container for the packaged container image, and bills the service provider based on the cloud resources actually consumed by the container operation; the cloud resources are the resources rented by the service provider on the network.
30. The method according to claim 29, wherein The type of the government affairs object includes at least one of the following types: Announcements, images, apps, news, data, and schedules.
31. A method for processing a service object, characterized in that: include: Receive a usage request corresponding to a target government object in a workbench; wherein, the service code is obtained based on a development tool of the target government object, abstract the service object in the workbench, and customize it based on the service object; the development tool includes: a development kit and a development stack; determine the service code that matches the development tool; associate the cloud resources corresponding to the service party with the service code, and use the cloud resources corresponding to the service party to run the service code; record the cloud resource information consumed by the operation of the service code for the service party to view; after associating the service code with the corresponding service party, set the status of the service object corresponding to the service code on the service party to an enabled state; the enabled service object is visible to the user; the non-enabled service object is invisible to the user; wherein, build a running engine corresponding to the service object; the running engine includes: a container unit and a container image unit; the container image unit is used to store the container image corresponding to the service object; the container unit is used to run the instance corresponding to the container image; the container unit runs the container for the packaged container image, and bills the service party based on the cloud resources actually consumed by the container operation; the cloud resources are resources rented by the service party on the network; Call the service code corresponding to the target government affairs object.
Citation Information
Patent Citations
Data processing method, device and system for micro-service arrangement
CN110532020A
Service publishing method and device
CN110780914A
Service code development processing method and device
CN111258567A
Application development system, operation method, equipment and storage medium
CN111831269A