CN113326038A - 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
CN113326038A
CN113326038A CN202110655404.4A CN202110655404A CN113326038A CN 113326038 A CN113326038 A CN 113326038A CN 202110655404 A CN202110655404 A CN 202110655404A CN 113326038 A CN113326038 A CN 113326038A
Authority
CN
China
Prior art keywords
target
software development
development kit
service
target application
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.)
Granted
Application number
CN202110655404.4A
Other languages
Chinese (zh)
Other versions
CN113326038B (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

Images

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

Landscapes

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

Abstract

The disclosure provides a method, an apparatus, an electronic device, a storage medium and a computer program product for providing a service, and relates to the technical field of media cloud. One embodiment of the method comprises: 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 functions; obtaining a target software development kit based on at least one software development kit corresponding to at least one functional module; and providing the target terminal with a target software development kit to provide the target service. The method and the system reduce the access cost of the user and the delivery workload of the service party; moreover, service extension and service cutting can be flexibly performed 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 technologies, and further relates to the field of media cloud technologies, and in particular, to a method, an apparatus, an electronic device, a storage medium, and a computer program product for providing a service.
Background
The engineering optimization aiming at the user at the B terminal (representing an enterprise user merchant) is aimed at the user served by the target application, and aims to facilitate the customer access in the aspects of code structure, interface design, capability output, function authentication and the like, facilitate the customer use and reduce the access cost of the user. At present, the following two methods are mainly adopted: (1) the method provides one SDK (Software Development Kit) for each function required by the client, and provides a plurality of SDKs for the client when delivering the client, thereby improving the access cost of the user and increasing the delivery workload; (2) and putting the code corresponding to the function required by the user into a module, and delivering an SDK to the user, wherein the mode is not beneficial to service expansion and service cutting of the service required by the client.
Disclosure of Invention
The present disclosure provides a method, an apparatus, an electronic device, a storage medium, and a computer program product for providing a service.
According to a first aspect, there is provided a method for providing a service, 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 functions; obtaining a target software development kit based on at least one software development kit corresponding to at least one functional module; and providing the target terminal with a target software development kit 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 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 a provided function; the obtaining unit is configured to obtain a target software development kit based on at least one software development kit corresponding to at least one functional module; 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 the 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 having stored thereon computer instructions for causing a computer to perform a method as described in any one of the implementations of the first aspect.
According to a fifth aspect, there is provided a computer program product comprising: computer program which, when being executed by a processor, carries out the 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 party are reduced; moreover, because the target application is decoupled into a plurality of functional modules, service expansion and service cutting can be flexibly carried out on the service required by the client according to the functional module selected by the user.
It should be understood that the statements in this section do not necessarily identify key or critical features of the embodiments of the present disclosure, nor do they limit the scope of the present disclosure. Other features of the present disclosure will become apparent from the following description.
Drawings
The drawings are included to provide 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 in which one embodiment according to the present disclosure may be applied;
FIG. 2 is a flow diagram for 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 the method for providing a service according to the present embodiment;
FIG. 4 is a flow diagram of yet another embodiment of a method for providing a service according to the present disclosure;
FIG. 5 is a schematic block diagram illustrating 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 block 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 with reference to the accompanying drawings, in which various details of the embodiments of the disclosure are included to assist understanding, and which are to be considered as merely exemplary. Accordingly, those 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 personal information of the related user all accord with the regulations of related laws and regulations, necessary security measures are taken, and the customs of the public order is not violated.
Fig. 1 illustrates an exemplary architecture 100 to which the disclosed methods and apparatus for providing services may be applied.
As shown in fig. 1, the system architecture 100 may include terminal devices 101, 102, 103, a network 104, and a server 105. The communication connections between the terminal devices 101, 102, 103 form a topological network, and the network 104 serves to provide a medium for communication links between the terminal devices 101, 102, 103 and the server 105. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
The terminal devices 101, 102, 103 may be hardware devices or software that support network connections for data interaction and data processing. When the terminal devices 101, 102, 103 are hardware, they may be various electronic devices supporting network connection, information acquisition, interaction, display, processing, and the like, including but not limited to smart phones, tablet computers, e-book readers, laptop portable computers, desktop computers, and the like. When the terminal apparatuses 101, 102, 103 are software, they can be installed in the electronic apparatuses listed above. It may be implemented, for example, as multiple software or software modules to provide distributed services, or as a single software or software module. And 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, which generates and provides a target software development kit to a user according to the 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, it may be implemented as a distributed server cluster formed by multiple servers, or may be implemented as a single server. When the server is software, it may be implemented as multiple pieces of software or software modules (e.g., software or software modules used to provide distributed services), or as a single piece of software or software module. And is not particularly limited herein.
It should be further noted that the method for providing a service provided by the embodiments of the present disclosure may be executed by a server, may also be executed by a terminal device, and may also be executed 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 entirely provided in the server, may be entirely provided in the terminal device, and 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. The system architecture may only include the electronic device (e.g., server or terminal device) on which the method for providing the service operates, when the electronic device on which the method for providing the service operates does not need to perform data transfer with other electronic devices.
Referring to fig. 2, fig. 2 is a flowchart of a method for providing a service according to an embodiment of the disclosure, where the process 200 includes the following steps:
step 201, at least one functional module corresponding to a target service required by a target terminal in a target application is determined.
In this embodiment, an execution subject (for example, the terminal device or the server in fig. 1) of the method for providing a service may determine at least one functional module corresponding to a target service in a target application. The target service may be a service requested by a user through a target terminal.
The target application may be an application that provides various types of services to a user, and the target application generally has a plurality of functions, which are decoupled into a plurality of functional modules based on the provided functions. Taking a hundred-degree intelligent cloud as an example, the target application is dedicated to providing globally advanced artificial intelligence, big data and cloud computing services for customers, and has functions of authentication, shooting, editing, AR (Augmented Reality), live broadcast, RTC (Real-time communication), players and the like. Based on the 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 universal 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 a software development kit.
As an example, the execution main body may show 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 a selection operation of the user on the function module.
As another example, the execution agent may receive target information characterizing a service required by the user, identify the target information, and determine at least one functional module that can provide the service required by the user. The target information includes, but is not limited to, information in text or 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 main 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 subject 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 each type, wherein the fused files are used as a target software development toolkit.
Step 204, providing the target software development kit to the target terminal to provide the target service.
In this embodiment, the execution subject may provide a target software development kit to the target terminal to provide the target service.
The target software development kit may provide the desired service to the user. And after the target software development kit is obtained, delivering the target software development kit to the terminal equipment corresponding to the target user, so that the terminal equipment is accessed to the target software development kit, and providing the 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 the method for providing a service 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 functions. The six functional modules correspond to SDKs 3031, 3032, 3033, 3034, 3035 and 3036 one by one. The user 304 sends a service acquisition request characterizing the 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 comprise 3021, 3023, and 3024 according to the service acquisition request; then, the server 301 obtains the target software development kit 306 based on the software development kit 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 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 party are reduced; moreover, because the target application is decoupled into a plurality of functional modules, service expansion and service cutting can be flexibly carried out on the service required by the client according to the functional module selected by the user.
In some optional implementations of this embodiment, the executing main body may execute the step 202 by:
firstly, the files in at least one software development kit are subjected to duplication elimination to obtain duplicated files. And then, combining the de-duplicated files to obtain the target software development kit.
As an example, for each functional module in at least one functional module, the execution main body packages a software development kit of the functional module to obtain a target format file; then, under the newly created library module, decompressing the target format file corresponding to at least one functional module one by one to obtain a decompressed file; then, de-duplicating the decompressed file to obtain a de-duplicated file; and finally, combining the duplicate-removed files to obtain the target software development kit.
Specifically, the method comprises the following steps: (1) packing each library module required by a user through a script dictionary AssembleRelease in an Android system, wherein each library module is packed to generate a file with a suffix of aar (Android Archive), and the file path is as follows: module name/build/outputs/aar/.
(2) A library module for de-duplication and combination (temporarily named as module X for convenience of the following description) is newly built, and any service code does not need to be placed in the library module.
(3) And (4) copying the aar file generated in the step (1) to a moduleX/libs directory (if no libs directory exists in the moduleX, the directory needs to be newly created).
(4) Decompressing each aar file, the decompressed file directory comprising: classes. jar: class file, res directory: resource file, assets directory: static resource files, jni directory: document with deposit suffix of so (. so document is a document created by C/C + + build in Android), Android manifest. Android profile, r.txt: and R file (resource index ID file generated during Android packaging).
(5) For each type of decompressed file, removing duplicate of the decompressed file in the type to obtain a duplicate-removed file in the type; and combining the de-duplicated files under the type. And finally, taking the obtained de-duplicated files of various types as a target software development kit.
In the implementation mode, a mode of obtaining the target software development kit based on a merging and duplicate removal mode is provided, and the target software development kit can be conveniently obtained.
In some optional implementation manners of this embodiment, the execution main body may perform deduplication on files in at least one software development kit through a Script controller (Script controller), so as to obtain deduplicated files, and merge 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 the embodiment, the execution main body has a function of decoupling the target application. Specifically, for the target application, the execution main 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 schema of multiple library modules.
In this implementation manner, the execution main 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 extension and service cutting on a service required by a client.
In some optional implementation manners of this embodiment, the execution main body decouples the target application based on the function provided by the target application to obtain a plurality of function modules, and sets a uniform interface for information interaction between the function modules for each function module.
In the implementation mode, the unified interface is arranged among the functional modules, so that interface crossing is avoided, and convenience is provided for the access and use of upper-layer services.
With continued reference to fig. 4, there is shown an exemplary 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 to obtain a plurality of functional modules, and setting a uniform interface for information interaction between the functional modules for each functional module.
Step 402, determining at least one functional module corresponding to a target service required by a target terminal in a target application.
And 403, removing the duplicate of the file in at least one software development kit to obtain a duplicate-removed file.
And step 404, combining the de-duplicated files to obtain a target software development kit.
Step 405, providing the target terminal with the target software development kit to provide the target service.
With continued reference to FIG. 5, a block 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 functional module required by a user from the plurality of functional modules of the target application, and packaging the library module corresponding to the at least one functional module to obtain an AAR file; then, a library module 502 is newly built, the name is taken as a module X, and the determined aar file is copied to a module X/libs directory; then, the AAR files under the modelX/libs directory are decompressed through the gradle script 503 to obtain decompressed files, and the target software development kit is obtained through de-duplication, combination and other modes.
As can be seen from this embodiment, compared with the embodiment corresponding to fig. 2, the flow 400 of the method for providing services in this embodiment specifically illustrates a decoupling process of a target application, and a process of obtaining a target software development kit based on a deduplication and merging manner ensures low coupling of codes between functional modules of the target application; through the script controller, the service side only needs to appoint some function modules, and the SDK can be quickly constructed and provided for the user; the functional modules are disassembled and combined, 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, so that the interface crossing is avoided, and convenience is provided for the access and the use of the upper-layer service.
The embodiment is suitable for the B-end user, only a single SDK needs to be delivered to the user, the client access cost is greatly reduced, if the user changes the requirement, the required functional module can be rapidly re-determined, repackaging delivery is carried out, and the delivery workload is reduced. Meanwhile, the method is also suitable for C-end users (representing consumer users), codes of all functions of the target application are placed in all SDKs, engineering expansion and engineering cutting are facilitated, and the method is suitable for the fast iteration requirements of products.
With continuing reference to fig. 6, as an implementation of the methods illustrated in the above-described figures, the present disclosure provides an embodiment of an apparatus for providing a service, which corresponds to the embodiment of the method illustrated in fig. 2, and which may be applied in various electronic devices in particular.
As shown in fig. 6, the apparatus for providing a service includes: a determining unit 601 configured to determine 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 a provided function; a 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; a providing unit 603 configured to provide the target software development kit to the target terminal to provide the target service.
In some optional implementations of this embodiment, the obtaining unit 602 is further configured to: removing the duplicate of the file in at least one software development kit to obtain a file after the duplicate removal; and combining the de-duplicated files to obtain the target software development kit.
In some optional implementations of this embodiment, the obtaining unit 602 is further configured to: and through a script controller, removing the duplicate of the files in at least one software development toolkit to obtain the files after the duplicate removal, and combining the files after the duplicate removal to obtain the target software development toolkit.
In some optional implementations of this embodiment, the executing main body further includes: and a decoupling unit (not shown in the figure) 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 this embodiment, the decoupling unit (not shown in the figure) is further configured to: and decoupling the target application based on the functions provided by the target application to obtain a plurality of functional modules, and setting a uniform interface for information interaction between the functional modules for each functional module.
In the embodiment, 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 party are reduced; moreover, because the target application is decoupled into a plurality of functional modules, service expansion and service cutting can be flexibly carried out on the service required by the client according to the functional module selected by the user. .
According to an embodiment of the present disclosure, the present disclosure also 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 cause the at least one processor to perform the method for providing a service described in any of the above embodiments 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 a service described in any of the above embodiments when executed.
The embodiments of the present disclosure provide a computer program product, which when executed by a processor is capable of implementing the method for providing a service described in any of the embodiments above.
FIG. 7 illustrates a schematic block diagram of an example electronic device 700 that can 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 phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the disclosure described and/or claimed herein.
As shown in fig. 7, the device 700 comprises a computing unit 701, which may perform various suitable 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 can also be stored. The computing unit 701, the ROM 702, and the RAM 703 are connected to each other by a bus 704. An input/output (I/O) interface 705 is also connected to bus 704.
Various components in the device 700 are connected to the I/O interface 705, including: an input unit 706 such as a keyboard, a mouse, or the like; an output unit 707 such as various types of displays, speakers, and the like; a storage unit 708 such as a magnetic disk, 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.
Computing unit 701 may be a variety of general purpose and/or special purpose processing components with processing and computing capabilities. Some examples of the 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, and so forth. The computing unit 701 performs the respective methods and processes described above, such as the method for providing a service. For example, in some embodiments, the method for providing services may be implemented as a computer software program tangibly embodied in a machine-readable medium, such as storage unit 708. In some embodiments, part or all of a computer program may be loaded onto and/or installed onto device 700 via ROM 702 and/or communications unit 709. When the computer program is loaded into the RAM 703 and executed by the 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 by any other suitable means (e.g., by means of firmware) to perform the method for providing a service.
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuitry, Field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), system on a 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 that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for implementing the methods of the present disclosure may be written in any combination of one or more programming languages. These program codes 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 codes, when executed by the processor or controller, cause the functions/operations specified in the flowchart and/or block diagram to be performed. 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. A 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 a pointing device (e.g., a mouse or a 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 can 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, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end 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 back-end, 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 clients and servers. A client and server are generally 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 may be a cloud Server, which is 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 high management difficulty and weak service extensibility in the conventional physical host and Virtual Private Server (VPS) service.
According to the technical scheme of the embodiment of the disclosure, 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 party are reduced; moreover, because the target application is decoupled into a plurality of functional modules, service expansion and service cutting can be flexibly carried out on the service required by the client according to the functional module selected by the user.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in this disclosure may be performed in parallel, sequentially, or in a different order, as long as the desired results of the technical solutions provided by this disclosure can be achieved, and are not limited herein.
The above detailed description should not be construed as limiting the scope of the disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present disclosure should be included in the scope of protection of the present disclosure.

Claims (13)

1. A method for providing a service, 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 functions;
obtaining a target software development kit based on at least one software development kit corresponding to the at least one functional module;
and providing the target software development kit to the target terminal so as to provide the target service.
2. The method of claim 1, wherein the obtaining a target software development kit based on at least one software development kit corresponding to the at least one function module comprises:
removing the duplicate of the file in the at least one software development kit to obtain a duplicate-removed file;
and combining the duplicate removed files to obtain the target software development kit.
3. The method of claim 2, wherein the deduplication is performed on files in the at least one software development kit to obtain deduplicated files; combining the duplicate-removed files to obtain the target software development kit, wherein the steps of:
and through a script controller, carrying out duplicate removal on the files in the at least one software development toolkit to obtain duplicate-removed files, and combining the duplicate-removed files to obtain the target software development toolkit.
4. The method of claim 1, wherein before determining at least one functional module corresponding to a target service required by a target terminal in the target application, the method further comprises:
and decoupling the target application based on the functions provided by the target application to obtain a plurality of functional modules.
5. The method of claim 4, wherein the decoupling the target application based on the functionality provided by the target application resulting in a plurality of functional modules comprises:
and decoupling the target application based on the functions provided by the target application to obtain a plurality of functional modules, and setting a uniform interface for information interaction between the functional modules for each functional module.
6. An apparatus for providing a service, comprising:
a determining unit configured to determine 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 a 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;
a providing unit configured to provide the target software development kit to a target terminal to provide the target service.
7. The apparatus of claim 6, wherein the deriving unit is further configured to:
removing the duplicate of the file in the at least one software development kit to obtain a duplicate-removed file; and combining the duplicate removed files to obtain the target software development kit.
8. The apparatus of claim 7, wherein the deriving unit is further configured to:
and through a script controller, carrying out duplicate removal on the files in the at least one software development toolkit to obtain duplicate-removed files, and combining the duplicate-removed files to obtain the target software development toolkit.
9. The apparatus of claim 6, further comprising:
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.
10. The apparatus of claim 9, wherein the decoupling unit is further configured to:
and decoupling the target application based on the functions provided by the target application to obtain a plurality of functional modules, and setting a uniform interface for information interaction between the functional modules for each functional module.
11. 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-5.
12. A non-transitory computer readable storage medium having stored thereon computer instructions for causing the computer to perform the method of any one of claims 1-5.
13. A computer program product, comprising: computer program which, when being executed by a processor, carries out the method according to any one of claims 1-5.
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 true CN113326038A (en) 2021-08-31
CN113326038B 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)

Cited By (1)

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

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020144250A1 (en) * 2001-03-28 2002-10-03 Acermsoft Inc. System and method for updating an executing application software in a module manner
US20070157165A1 (en) * 2006-01-02 2007-07-05 Giloong Kim System and method for developing software based on business operating system
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
US20180198845A1 (en) * 2017-01-09 2018-07-12 International Business Machines Corporation Local Microservice Development for Remote Deployment
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

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020144250A1 (en) * 2001-03-28 2002-10-03 Acermsoft Inc. System and method for updating an executing application software in a module manner
US20070157165A1 (en) * 2006-01-02 2007-07-05 Giloong Kim System and method for developing software based on business operating system
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
US20180198845A1 (en) * 2017-01-09 2018-07-12 International Business Machines Corporation Local Microservice Development for Remote Deployment
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
牛玉贞;穆京丽;陈颖;孙丽;: "软件开发项目人工成本控制流程设计与应用", 电子技术与软件工程, no. 12, pages 62 - 63 *
王平;李大庆;王;: "OPC服务器开发工具包软件的设计与实现", 计算机工程, no. 22, pages 281 - 283 *
赵炯;周影;: "面向Android的工业设备远程监控系统设计", 机电工程, no. 12, pages 97 - 102 *

Cited By (2)

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

Also Published As

Publication number Publication date
CN113326038B (en) 2023-11-10

Similar Documents

Publication Publication Date Title
CN105530272A (en) Method and device for application data synchronization
CN107729176A (en) The disaster recovery method and disaster tolerance system of a kind of profile management systems
EP4053770A1 (en) Schedule information acquiring method, apparatus, device, storage medium and program
CN113792024A (en) Method, device, equipment and storage medium for migrating data
CN112528067A (en) Graph database storage method, graph database reading method, graph database storage device, graph database reading device and graph database reading equipment
CN112613964A (en) Account checking method, account checking device, account checking equipment and storage medium
CN115631273A (en) Big data duplicate removal method, device, equipment and medium
CN114691780A (en) Data synchronization method and device, electronic equipment and storage medium
CN113326038B (en) Method, apparatus, device, storage medium and program product for providing service
CN114374703A (en) Method, device and equipment for acquiring cloud mobile phone information and storage medium
CN113282589A (en) Data acquisition method and device
CN116701053B (en) Method, device, equipment and medium for restoring data backup of production environment database
CN117082046A (en) Data uploading method, device, equipment and storage medium
EP4092544A1 (en) Method, apparatus and storage medium for deduplicating entity nodes in graph database
CN112860796B (en) Method, apparatus, device and storage medium for synchronizing data
CN115510036A (en) Data migration method, device, equipment and storage medium
CN115639966A (en) Data writing method and device, terminal equipment and storage medium
CN110858199A (en) Document data distributed computing method and device
CN115617800A (en) Data reading method and device, electronic equipment and storage medium
CN115757616A (en) Data consistency checking method, device and medium based on binary log
CN114036249A (en) Map data processing method, map data processing device, electronic equipment and medium
CN112559547A (en) Method and device for determining consistency among multiple storage object copies
CN109656519B (en) Method and device for automatically accessing service data
CN112714163A (en) Data transmission method, data transmission device, electronic equipment, medium and computer program product
CN113760765B (en) Code testing method and device, electronic equipment and storage medium

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