CN113326038B - Method, apparatus, device, storage medium and program product for providing service - Google Patents

Method, apparatus, device, storage medium and program product for providing service Download PDF

Info

Publication number
CN113326038B
CN113326038B CN202110655404.4A CN202110655404A CN113326038B CN 113326038 B CN113326038 B CN 113326038B CN 202110655404 A CN202110655404 A CN 202110655404A CN 113326038 B CN113326038 B CN 113326038B
Authority
CN
China
Prior art keywords
target
software development
development kit
target application
function
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110655404.4A
Other languages
Chinese (zh)
Other versions
CN113326038A (en
Inventor
付强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN202110655404.4A priority Critical patent/CN113326038B/en
Publication of CN113326038A publication Critical patent/CN113326038A/en
Application granted granted Critical
Publication of CN113326038B publication Critical patent/CN113326038B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The disclosure provides a method, a device, electronic equipment, a storage medium and a computer program product for providing services, and relates to the technical field of media clouds. One embodiment of the method comprises the following steps: determining at least one function module corresponding to a target service required by a target terminal in a target application, wherein the target application is decoupled into a plurality of function modules based on the provided function; obtaining a target software development kit based on at least one software development kit corresponding to at least one functional module; a target software development kit is provided to the target terminal to provide the target service. The method reduces the access cost of the user and the delivery workload of the service side; and the service expansion and the service clipping can be flexibly carried out on the service required by the client.

Description

Method, apparatus, device, storage medium and program product for providing service
Technical Field
The present disclosure relates to the field of cloud computing technology, and more particularly to a method, an apparatus, an electronic device, a storage medium, and a computer program product for providing services.
Background
Engineering optimization for B-end (representing enterprise user merchant) users is to refer to users served by target applications, and aims to facilitate access of clients in the aspects of code structure, interface design, capability output, function authentication and the like, facilitate use of clients and reduce access cost of users. At present, the following two modes are mainly adopted: (1) Providing an SDK (Software Development Kit ) for each function required by the customer, and providing a plurality of SDKs for the customer when delivering the customer, which increases the access cost of the customer and the delivery workload; (2) And putting codes corresponding to functions required by the user into a module to deliver an SDK to the user, wherein the mode is not beneficial to service expansion and service cutting of services required by the client.
Disclosure of Invention
The present disclosure provides a method, apparatus, electronic device, storage medium, and computer program product for providing services.
According to a first aspect, there is provided a method for providing a service, comprising: determining at least one function module corresponding to a target service required by a target terminal in a target application, wherein the target application is decoupled into a plurality of function modules based on the provided function; obtaining a target software development kit based on at least one software development kit corresponding to at least one functional module; a target software development kit is provided to the target terminal to provide the target service.
According to a second aspect, there is provided an apparatus for providing a service, comprising: a determining unit configured to determine at least one function module corresponding to a target service required by the target terminal in the target application, wherein the target application is decoupled into a plurality of function modules based on the provided function; the obtaining unit is configured to obtain a target software development kit based on at least one software development kit corresponding to the at least one functional module; and a providing unit configured to provide the target software development kit to the target terminal to provide the target service.
According to a third aspect, there is provided an electronic device comprising: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform a method as described in any one of the implementations of the first aspect.
According to a fourth aspect, there is provided a non-transitory computer readable storage medium storing computer instructions for causing a computer to perform a method as described in any implementation of the first aspect.
According to a fifth aspect, there is provided a computer program product comprising: a computer program which, when executed by a processor, implements a method as described in any of the implementations of the first aspect.
According to the technology disclosed by the invention, a target software development kit is generated and provided for a user according to the software development kit of at least one functional module required by the user, and the user only needs to access one software development kit, so that the access cost of the user and the delivery workload of a service side are reduced; moreover, as the target application is decoupled into a plurality of functional modules, service expansion and service cutting can be flexibly performed on the service required by the client according to the functional modules selected by the user.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the disclosure, nor is it intended to be used to limit the scope of the disclosure. Other features of the present disclosure will become apparent from the following specification.
Drawings
The drawings are for a better understanding of the present solution and are not to be construed as limiting the present disclosure. Wherein:
FIG. 1 is an exemplary system architecture diagram to which an embodiment according to the present disclosure may be applied;
FIG. 2 is a flow chart of one embodiment of a method for providing a service according to the present disclosure;
fig. 3 is a schematic diagram of an application scenario of a method for providing a service according to the present embodiment;
FIG. 4 is a flow chart of yet another embodiment of a method for providing a service according to the present disclosure;
FIG. 5 is a schematic structural diagram of yet another embodiment of a method for providing services according to the present disclosure;
FIG. 6 is a block diagram of one embodiment of an apparatus for providing services according to the present disclosure;
FIG. 7 is a schematic diagram of a computer system suitable for use in implementing embodiments of the present disclosure.
Detailed Description
Exemplary embodiments of the present disclosure are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present disclosure to facilitate understanding, and should be considered as merely exemplary. Accordingly, one of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present disclosure. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
In the technical scheme of the disclosure, the acquisition, storage, application and the like of the related personal information of the user accord with the regulations of related laws and regulations, necessary security measures are taken, and the public order harmony is not violated.
Fig. 1 illustrates an exemplary architecture 100 to which the methods and apparatus for providing services of the present disclosure may be applied.
As shown in fig. 1, a system architecture 100 may include terminal devices 101, 102, 103, a network 104, and a server 105. The communication connection between the terminal devices 101, 102, 103 constitutes a topology network, the network 104 being the medium for providing the communication link between the terminal devices 101, 102, 103 and the server 105. The network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, among others.
The terminal devices 101, 102, 103 may be hardware devices or software supporting network connections for data interaction and data processing. When the terminal device 101, 102, 103 is hardware, it may be various electronic devices supporting network connection, information acquisition, interaction, display, processing, etc., including but not limited to smartphones, tablet computers, electronic book readers, laptop and desktop computers, etc. When the terminal devices 101, 102, 103 are software, they can be installed in the above-listed electronic devices. It may be implemented as a plurality of software or software modules, for example, for providing distributed services, or as a single software or software module. The present invention is not particularly limited herein.
The server 105 may be a server providing various services, such as a background server provided with a decoupled target application, generating and providing a target software development kit to the user according to a software development kit of at least one functional module required by the user. As an example, the server 105 may be a cloud server. The target application may be various types of applications.
The server may be hardware or software. When the server is hardware, the server may be implemented as a distributed server cluster formed by a plurality of servers, or may be implemented as a single server. When the server is software, it may be implemented as a plurality of software or software modules (e.g., software or software modules for providing distributed services), or as a single software or software module. The present invention is not particularly limited herein.
It should also be noted that, the method for providing a service provided by the embodiments of the present disclosure may be performed by a server, may be performed by a terminal device, or may be performed by the server and the terminal device in cooperation with each other. Accordingly, each part (for example, each unit) included in the apparatus for providing a service may be provided in the server, may be provided in the terminal device, or may be provided in the server and the terminal device, respectively.
It should be understood that the number of terminal devices, networks and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation. When the electronic device on which the method for providing a service is run does not need to perform data transmission with other electronic devices, the system architecture may include only the electronic device (e.g., server or terminal device) on which the method for providing a service is run.
Referring to fig. 2, fig. 2 is a flowchart of a method for providing a service according to an embodiment of the disclosure, wherein the flowchart 200 includes the following steps:
step 201, determining at least one function module corresponding to a target service required by a target terminal in a target application.
In this embodiment, the execution body (for example, the terminal device or the server in fig. 1) of the method for providing the service may determine at least one functional module corresponding to the target service in the target application. The target service may be a service requested by the user through the target terminal.
The target application may be an application that provides various types of services to a user, and typically has a plurality of functions that are decoupled into a plurality of functional modules based on the provided functions. Taking hundred-degree intelligent cloud as an example, the target application aims to provide global leading artificial intelligence, big data and cloud computing service for clients, and has the functions of authentication, shooting, editing, AR (Augmented Reality ), live broadcasting, RTC (Real-time communication ), player and the like. Based on the above functions, the hundred-degree intelligent cloud can be decoupled to obtain an authentication module, a shooting module, an editing module, an AR module, a live broadcast module, an RTC module, a player module and a general core module. The general core module is a basic module shared by all functional modules in the target application.
Based on the decoupling of the target application, the software development kit corresponding to the target application may be divided into a plurality of software development kits corresponding to a plurality of functional modules, each functional module corresponding to one software development kit.
As an example, the execution body may present each function module of the target application to the user, and determine at least one function module corresponding to the service required by the user based on the selection operation of the function module by the user.
As yet another example, the executing entity may receive target information characterizing a service desired by the user, and identify the target information, and determine at least one functional module that may provide the service desired by the user. Wherein the target information includes, but is not limited to, information in text, voice form.
Step 202, obtaining a target software development kit based on at least one software development kit corresponding to at least one functional module.
In this embodiment, the execution body may obtain the target software development kit based on at least one software development kit corresponding to at least one functional module.
As an example, the execution body may first integrate at least one software development kit together to obtain all files in the at least one software development kit corresponding to the service required by the user; and then, fusing the files of the same type according to the file types to obtain fused files corresponding to various types, and taking the fused files as a target software development kit.
Step 204, providing the target software development kit to the target terminal to provide the target service.
In this embodiment, the execution body may provide the target software development kit to the target terminal to provide the target service.
The target software development kit may provide the desired services to the user. And after the target software development kit is obtained, delivering the target software development kit to terminal equipment corresponding to the target user, so that the terminal equipment is accessed into the target software development kit, and providing target service for the user through the target software development kit.
With continued reference to fig. 3, fig. 3 is a schematic diagram 300 of an application scenario of a method for providing services according to the present embodiment. In the application scenario of fig. 3, a decoupled target application 302 is provided in the server 301, and the target application 302 is decoupled into six functional modules, namely, a first functional module 3021, a second functional module 3022, a third functional module 3023, a fourth functional module 3024, a fifth functional module 3025 and a sixth functional module 3026, based on the provided functionality. The six functional modules are in one-to-one correspondence with SDKs 3031, 3032, 3033, 3034, 3035 and 3036. The user 304 sends a service acquisition request characterizing a desired target service to the server 301 via the terminal device 305. The server determines that functional modules corresponding to target services required by a user in the target application according to the service acquisition request comprise 3021, 3023 and 3024; then, the server 301 obtains the target software development kit 306 based on the software development kits 3031, 3033, 3034 corresponding to the at least one functional module 3021, 3023, 3024. Finally, the server 301 provides the target software development kit 306 to the terminal device 305 of the user 304 to provide the target service.
In the embodiment, a target software development kit is generated and provided for the user according to the software development kit of at least one functional module required by the user, and the user only needs to access one software development kit, so that the access cost of the user and the delivery workload of a service side are reduced; moreover, as the target application is decoupled into a plurality of functional modules, service expansion and service cutting can be flexibly performed on the service required by the client according to the functional modules selected by the user.
In some optional implementations of this embodiment, the executing body may execute the step 202 as follows:
firstly, the files in at least one software development kit are subjected to duplication removal, and the duplicated files are obtained. And then merging the files after the duplication removal to obtain the target software development kit.
For each of the at least one function module, the execution body packages a software development kit of the function module to obtain a target format file; then, decompressing the target format file corresponding to at least one functional module one by one under the newly created library module to obtain a decompressed file; then, de-duplicating the decompressed file to obtain a de-duplicated file; and finally, merging the files after duplication removal to obtain the target software development kit.
Specific: (1) Each library module required by a user is respectively packaged through a script gradle assembleRelease in the Android system, and a file with a suffix of aar (Android Archive) is generated after each library module is packaged, wherein the file path is as follows: module name/build/outputs/aar/.
(2) A library module for de-duplication is created (for convenience of description below, named module x) without any service codes.
(3) Copying aar file generated in step (1) to a moduleX/libs directory (if there is no libs directory under moduleX, the directory needs to be newly created).
(4) Decompressing each aar file, wherein the decompressed file catalogue comprises: class. Jar: class file, res directory: resource files, assets directories: static resource files, jni directory: storing a file with a suffix of so (the so file is a file generated by C/C++ construction in Android), and an Android management file: android profile, r.txt: r file (resource index ID file generated during Android package).
(5) For each type of decompressed file, performing deduplication on the decompressed file under the type to obtain a decompressed file under the type; merging the deduplicated files under the type. And finally, taking the obtained files after the duplicate removal of each type as a target software development kit.
In the implementation manner, a manner of obtaining the target software development kit based on a merging and deduplication manner is provided, so that the target software development kit can be obtained conveniently.
In some optional implementations of this embodiment, the executing entity may perform deduplication on the file in the at least one software development kit through a script controller (Script controller) to obtain a deduplicated file, and combine the deduplicated files to obtain the target software development kit.
In the implementation mode, the target software development kit is obtained through the script controller, and the obtaining efficiency of the target software development kit is improved.
In some optional implementations of this embodiment, the execution body has a function of decoupling the target application. Specifically, for the target application, the execution body may decouple the target application in advance based on the function provided by the target application, to obtain a plurality of functional modules.
As an example, in an android system, a target application may be decoupled into multiple functional modules using a pattern of multiple library modules.
In this implementation manner, the execution body has a function of decoupling the target application, and can decouple the target application into a plurality of functional modules, so as to provide a basis for flexibly performing service expansion and service clipping on services required by clients.
In some optional implementations of this embodiment, the executing body decouples the target application based on the function provided by the target application, so as to obtain a plurality of function modules, and sets a unified interface for information interaction between the function modules for each function module.
In the implementation mode, the unified interfaces are arranged among the functional modules, so that interface intersection is avoided, and convenience is provided for upper-layer service access and use.
With continued reference to fig. 4, there is shown a schematic flow 400 of one method embodiment for providing a service according to the methods of the present disclosure, including the steps of:
step 401, decoupling the target application based on the function provided by the target application, obtaining a plurality of function modules, and setting a unified interface for information interaction between the function modules for each function module.
Step 402, determining at least one function module corresponding to a target service required by a target terminal in a target application.
And step 403, performing deduplication on the file in at least one software development kit to obtain a deduplicated file.
And step 404, merging the files after duplication removal to obtain the target software development kit.
Step 405 provides a target software development kit to a target terminal to provide a target service.
With continued reference to fig. 5, a structural diagram 500 of one embodiment of a method for providing a service is shown. First, the script controller 501 determines a software development kit of at least one function module required by a user; then, determining a software development kit of at least one function module required by a user from a plurality of function modules of the target application, and packaging library modules corresponding to the at least one function module required to obtain an AAR file; then, a library module 502 is newly created, named as a module X, and the determined aar file is copied to a module X/libs directory; then, the AAR files under the moduleX/libs directory are decompressed through the gradle script 503 to obtain decompressed files, and the target software development kit is obtained through the modes of de-duplication, merging and the like.
As can be seen from this embodiment, compared with the embodiment corresponding to fig. 2, the flowchart 400 of the method for providing services in this embodiment specifically illustrates the decoupling process of the target application, and the process of obtaining the target software development kit based on the duplication removal and merging modes, so as to ensure low coupling of codes between the functional modules of the target application; through the script controller, the service side can quickly construct and provide the SDK for the user only by designating certain functional modules; the disassembly and the combination of the functional modules are realized, the expansibility of the SDK is increased, and the reusability of the functional modules is improved; moreover, the interfaces of the functional modules are unified, interface intersection is avoided, and convenience is provided for access and use of upper-layer services.
The embodiment is suitable for the B-end user, only a single SDK needs to be delivered to the user, the access cost of the client is greatly reduced, and if the user changes the requirement, the required functional modules can be quickly determined again, the delivery is repacked, and the delivery workload is reduced. Meanwhile, the method is also suitable for C-terminal users (representing consumer users), codes of the functions of the target application are placed in the SDKs, engineering expansion and engineering cutting are facilitated, and the method is suitable for rapid iteration requirements of products.
With continued reference to fig. 6, as an implementation of the method illustrated in the foregoing figures, the present disclosure provides an embodiment of an apparatus for providing services, which corresponds to the method embodiment illustrated in fig. 2, and which is particularly applicable to various electronic devices.
As shown in fig. 6, the apparatus for providing a service includes: a determining unit 601 configured to determine at least one function module corresponding to a target service required by a target terminal in a target application, wherein the target application is decoupled into a plurality of function modules based on the provided function; an obtaining unit 602, configured to obtain a target software development kit based on at least one software development kit corresponding to at least one functional module; the providing unit 603 is configured to provide a target software development kit to the target terminal to provide a target service.
In some optional implementations of the present embodiment, the deriving unit 602 is further configured to: performing deduplication on the files in at least one software development kit to obtain deduplicated files; and merging the files after the duplication removal to obtain the target software development kit.
In some optional implementations of the present embodiment, the deriving unit 602 is further configured to: and carrying out de-duplication on the files in at least one software development kit through the script controller to obtain de-duplicated files, and merging the de-duplicated files to obtain the target software development kit.
In some optional implementations of this embodiment, the executing body further includes: a decoupling unit (not shown in the figure) is configured to decouple the target application based on the function provided by the target application, resulting in a plurality of functional modules.
In some optional implementations of the present embodiment, a decoupling unit (not shown in the figures) is further configured to: based on the functions provided by the target application, decoupling the target application to obtain a plurality of function modules, and setting a unified interface for information interaction between the function modules for each function module.
In the embodiment, a target software development kit is generated and provided for the user according to the software development kit of at least one functional module required by the user, and the user only needs to access one software development kit, so that the access cost of the user and the delivery workload of a service side are reduced; moreover, as the target application is decoupled into a plurality of functional modules, service expansion and service cutting can be flexibly performed on the service required by the client according to the functional modules selected by the user. .
According to an embodiment of the present disclosure, the present disclosure further provides an electronic device including: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to implement the method for providing services described in any of the embodiments above when executed.
According to an embodiment of the present disclosure, there is also provided a readable storage medium storing computer instructions for enabling a computer to implement the method for providing services described in any of the above embodiments when executed.
The disclosed embodiments provide a computer program product which, when executed by a processor, enables the method for providing services described in any of the above embodiments.
Fig. 7 illustrates a schematic block diagram of an example electronic device 700 that may be used to implement embodiments of the present disclosure. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the disclosure described and/or claimed herein.
As shown in fig. 7, the apparatus 700 includes a computing unit 701 that can perform various appropriate actions and processes according to a computer program stored in a Read Only Memory (ROM) 702 or a computer program loaded from a storage unit 708 into a Random Access Memory (RAM) 703. In the RAM 703, various programs and data required for the operation of the device 700 may also be stored. The computing unit 701, the ROM 702, and the RAM 703 are connected to each other through a bus 704. An input/output (I/O) interface 705 is also connected to bus 704.
Various components in device 700 are connected to I/O interface 705, including: an input unit 706 such as a keyboard, a mouse, etc.; an output unit 707 such as various types of displays, speakers, and the like; a storage unit 708 such as a magnetic disk, an optical disk, or the like; and a communication unit 709 such as a network card, modem, wireless communication transceiver, etc. The communication unit 709 allows the device 700 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunication networks.
The computing unit 701 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of computing unit 701 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various computing units running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 701 performs the respective methods and processes described above, for example, a method for providing a service. For example, in some embodiments, the method for providing a service may be implemented as a computer software program tangibly embodied on a machine-readable medium, such as storage unit 708. In some embodiments, part or all of the computer program may be loaded and/or installed onto device 700 via ROM 702 and/or communication unit 709. When a computer program is loaded into RAM 703 and executed by computing unit 701, one or more steps of the method for providing a service described above may be performed. Alternatively, in other embodiments, the computing unit 701 may be configured to perform the method for providing services by any other suitable means (e.g. by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuit systems, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems On Chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for carrying out methods of the present disclosure may be written in any combination of one or more programming languages. These program code may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus such that the program code, when executed by the processor or controller, causes the functions/operations specified in the flowchart and/or block diagram to be implemented. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. The machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and pointing device (e.g., a mouse or trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), and the internet.
The computer system may include a client and a server. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so as to solve the defects of large management difficulty and weak service expansibility in the traditional physical host and virtual private server (VPS, virtual Private Server) service.
According to the technical scheme of the embodiment of the disclosure, a target software development kit is generated and provided for the user according to the software development kit of at least one functional module required by the user, and the user only needs to access one software development kit, so that the access cost of the user and the delivery workload of a service side are reduced; moreover, as the target application is decoupled into a plurality of functional modules, service expansion and service cutting can be flexibly performed on the service required by the client according to the functional modules selected by the user.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps recited in the present disclosure may be performed in parallel, sequentially, or in a different order, provided that the desired results of the technical solutions provided by the present disclosure are achieved, and are not limited herein.
The above detailed description should not be taken as limiting the scope of the present disclosure. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present disclosure are intended to be included within the scope of the present disclosure.

Claims (10)

1. A method for providing services, comprising:
determining at least one functional module corresponding to a target service required by a target terminal in a target application, wherein the target application is decoupled into a plurality of functional modules based on the provided function;
obtaining a target software development kit based on at least one software development kit corresponding to the at least one functional module, wherein the target software development kit comprises: the files in the at least one software development kit are subjected to duplication removal to obtain duplicated files, wherein one functional module corresponds to one software development kit; merging the files after the duplication removal to obtain the target software development kit;
and providing the target software development kit for the target terminal to provide the target service.
2. The method of claim 1, wherein the deduplicating the file in the at least one software development kit results in a deduplicated file; merging the files after the duplication removal to obtain the target software development kit, wherein the method comprises the following steps:
and carrying out de-duplication on the files in the at least one software development kit through a script controller to obtain de-duplicated files, and merging the de-duplicated files to obtain the target software development kit.
3. The method of claim 1, wherein before the determining the at least one function module corresponding to the target service required by the target terminal in the target application, further comprises:
and decoupling the target application based on the function provided by the target application to obtain a plurality of functional modules.
4. A method according to claim 3, wherein said decoupling the target application based on the functionality provided by the target application results in a plurality of functional modules, comprising:
and decoupling the target application based on the function provided by the target application to obtain a plurality of function modules, and setting a unified interface for information interaction between the function modules for each function module.
5. An apparatus for providing services, comprising:
a determining unit configured to determine at least one function module corresponding to a target service required by a target terminal in a target application, wherein the target application is decoupled into a plurality of function modules based on the provided function;
an obtaining unit configured to obtain a target software development kit based on at least one software development kit corresponding to the at least one functional module, including: the files in the at least one software development kit are subjected to duplication removal to obtain duplicated files, wherein one functional module corresponds to one software development kit; merging the files after the duplication removal to obtain the target software development kit;
and a providing unit configured to provide the target software development kit to a target terminal to provide the target service.
6. The apparatus of claim 5, wherein the deriving unit is further configured to:
and carrying out de-duplication on the files in the at least one software development kit through a script controller to obtain de-duplicated files, and merging the de-duplicated files to obtain the target software development kit.
7. The apparatus of claim 5, further comprising:
and the decoupling unit is configured to decouple the target application based on the function provided by the target application to obtain a plurality of functional modules.
8. The apparatus of claim 7, wherein the decoupling unit is further configured to:
and decoupling the target application based on the function provided by the target application to obtain a plurality of function modules, and setting a unified interface for information interaction between the function modules for each function module.
9. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-4.
10. A non-transitory computer readable storage medium storing computer instructions for causing the computer to perform the method of any one of claims 1-4.
CN202110655404.4A 2021-06-11 2021-06-11 Method, apparatus, device, storage medium and program product for providing service Active CN113326038B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110655404.4A CN113326038B (en) 2021-06-11 2021-06-11 Method, apparatus, device, storage medium and program product for providing service

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110655404.4A CN113326038B (en) 2021-06-11 2021-06-11 Method, apparatus, device, storage medium and program product for providing service

Publications (2)

Publication Number Publication Date
CN113326038A CN113326038A (en) 2021-08-31
CN113326038B true CN113326038B (en) 2023-11-10

Family

ID=77420598

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110655404.4A Active CN113326038B (en) 2021-06-11 2021-06-11 Method, apparatus, device, storage medium and program product for providing service

Country Status (1)

Country Link
CN (1) CN113326038B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113905040B (en) * 2021-09-30 2024-04-02 北京百度网讯科技有限公司 File transmission method, device, system, equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102750144A (en) * 2012-05-31 2012-10-24 华亚微电子(上海)有限公司 Generating tool of function module
CN105049532A (en) * 2015-08-28 2015-11-11 北京奇艺世纪科技有限公司 Method and device for packaging SDK package, and method and device for downloading SDK package
CN107066291A (en) * 2017-02-09 2017-08-18 阿里巴巴集团控股有限公司 Packaging method, device and the equipment of SDK, computer-readable recording medium
CN109146251A (en) * 2018-07-24 2019-01-04 武汉空心科技有限公司 Component- based development method and system
CN110795143A (en) * 2019-10-22 2020-02-14 中国工商银行股份有限公司 Method, apparatus, computing device, and medium for processing functional module
CN112612472A (en) * 2020-12-11 2021-04-06 北京旷视科技有限公司 Embedded model SDK development method and development platform
CN112650487A (en) * 2020-12-31 2021-04-13 南方电网数字电网研究院有限公司 Hybrid application development method, system, computer device and storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW518513B (en) * 2001-03-28 2003-01-21 Synq Technology Inc System and method to update an executing application software by modular way
KR100633478B1 (en) * 2006-01-02 2006-10-16 김길웅 System and its method for developing software based on business operating system
US10574736B2 (en) * 2017-01-09 2020-02-25 International Business Machines Corporation Local microservice development for remote deployment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102750144A (en) * 2012-05-31 2012-10-24 华亚微电子(上海)有限公司 Generating tool of function module
CN105049532A (en) * 2015-08-28 2015-11-11 北京奇艺世纪科技有限公司 Method and device for packaging SDK package, and method and device for downloading SDK package
CN107066291A (en) * 2017-02-09 2017-08-18 阿里巴巴集团控股有限公司 Packaging method, device and the equipment of SDK, computer-readable recording medium
CN109146251A (en) * 2018-07-24 2019-01-04 武汉空心科技有限公司 Component- based development method and system
CN110795143A (en) * 2019-10-22 2020-02-14 中国工商银行股份有限公司 Method, apparatus, computing device, and medium for processing functional module
CN112612472A (en) * 2020-12-11 2021-04-06 北京旷视科技有限公司 Embedded model SDK development method and development platform
CN112650487A (en) * 2020-12-31 2021-04-13 南方电网数字电网研究院有限公司 Hybrid application development method, system, computer device and storage medium

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
OPC服务器开发工具包软件的设计与实现;王平;李大庆;王;;计算机工程(22);281-283 *
软件开发项目人工成本控制流程设计与应用;牛玉贞;穆京丽;陈颖;孙丽;;电子技术与软件工程(12);62-63 *
面向Android的工业设备远程监控系统设计;赵炯;周影;;机电工程(12);97-102 *

Also Published As

Publication number Publication date
CN113326038A (en) 2021-08-31

Similar Documents

Publication Publication Date Title
US20190095284A1 (en) Enhanced application write performance
CN105530272A (en) Method and device for application data synchronization
CN112905537B (en) File processing method and device, electronic equipment and storage medium
CN112597126A (en) Data migration method and device
CN113806300A (en) Data storage method, system, device, equipment and storage medium
CN113326038B (en) Method, apparatus, device, storage medium and program product for providing service
CN115631273A (en) Big data duplicate removal method, device, equipment and medium
CN111444148A (en) Data transmission method and device based on MapReduce
CN112860796B (en) Method, apparatus, device and storage medium for synchronizing data
US20220269659A1 (en) Method, device and storage medium for deduplicating entity nodes in graph database
CN113076175B (en) Memory sharing method and device for virtual machine
CN112714163B (en) Data transmission method, device, electronic equipment and medium
CN115454971A (en) Data migration method and device, electronic equipment and storage medium
CN112711572A (en) Online capacity expansion method and device suitable for sub-warehouse and sub-meter
US10037241B2 (en) Category dependent pre-processor for batch commands
CN113590219B (en) Data processing method and device, electronic equipment and storage medium
KR102370857B1 (en) Method and system for selective transfer of organizational data in case of divestiture
US11656950B2 (en) Method, electronic device and computer program product for storage management
CN114745438B (en) Cache data processing method, device and system of multi-data center and electronic equipment
CN113569144B (en) Method, device, equipment, storage medium and program product for searching promotion content
US20230132173A1 (en) Data reading method, device and storage medium
CN109446183B (en) Global anti-duplication method and device
CN114896334A (en) Database change and distribution method and device
CN115904536A (en) Applet configuration method, device, equipment and storage medium
CN114090524A (en) Excel file distributed exporting method and device

Legal Events

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