CN110855750A - Downloading method of software development kit and related equipment - Google Patents

Downloading method of software development kit and related equipment Download PDF

Info

Publication number
CN110855750A
CN110855750A CN201911001102.4A CN201911001102A CN110855750A CN 110855750 A CN110855750 A CN 110855750A CN 201911001102 A CN201911001102 A CN 201911001102A CN 110855750 A CN110855750 A CN 110855750A
Authority
CN
China
Prior art keywords
software development
development kit
function
user terminal
server
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
CN201911001102.4A
Other languages
Chinese (zh)
Other versions
CN110855750B (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.)
Shenzhen Launch Technology Co Ltd
Original Assignee
Shenzhen Launch 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 Shenzhen Launch Technology Co Ltd filed Critical Shenzhen Launch Technology Co Ltd
Priority to CN201911001102.4A priority Critical patent/CN110855750B/en
Publication of CN110855750A publication Critical patent/CN110855750A/en
Application granted granted Critical
Publication of CN110855750B publication Critical patent/CN110855750B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Stored Programmes (AREA)

Abstract

The application discloses a downloading method of a software development kit and related equipment. The method comprises the following steps: receiving a function list acquisition request sent by a user terminal; sending a function list to the user terminal, wherein the function list comprises a first function; receiving a first software development kit downloading request corresponding to the first function sent by the user terminal, wherein the first software development kit downloading request comprises a first parameter, a first software development kit requested to be downloaded by the first software development kit downloading request corresponds to the first parameter, and the first software development kit downloading request is generated when the user terminal detects the selection operation of a user for the first function; and sending the first software development kit and a first description document of the first software development kit to the user terminal according to the first parameter. By implementing the technical scheme provided by the application, the software development efficiency is favorably improved.

Description

Downloading method of software development kit and related equipment
Technical Field
The application relates to the technical field of data downloading, in particular to a downloading method of a software development kit and related equipment.
Background
When a third party develops software, the software is developed basically in real time according to functions. Although many underlying functions of different user-side software development are the same or similar, if a developer encounters unfamiliar processes, even if resources are borrowed, a lot of time is consumed for resource reorganization, and human errors may occur, which results in resource consumption, so that the software development work is very inefficient.
Disclosure of Invention
The embodiment of the application provides a downloading method and related equipment of a software development kit, and the functions of various software development kits are stored in a server, so that a third party can use a user side to call and download at any time when developing the functions, errors caused by human factors can be reduced, and software development becomes more efficient and convenient.
In a first aspect, an embodiment of the present application provides a method for downloading a software development kit, which is applied to a server, and the method includes:
receiving a function list acquisition request sent by a user terminal;
sending a function list to the user terminal, wherein the function list comprises a first function;
receiving a first software development kit downloading request corresponding to the first function sent by the user terminal, wherein the first software development kit downloading request comprises a first parameter, a first software development kit requested to be downloaded by the first software development kit downloading request corresponds to the first parameter, and the first software development kit downloading request is generated when the user terminal detects the selection operation of a user for the first function;
and sending the first software development kit and a first description document of the first software development kit to the user terminal according to the first parameter.
Optionally, the sending the first software development kit to the user terminal according to the first parameter and sending a first description document of the first software development kit includes:
searching the first software development kit and the first description document in the server according to the first parameter;
if the first software development kit is found, packaging the first software development kit and the first description document to obtain a first data packet;
and sending the first data packet to the user terminal.
Optionally, after sending the function list to the user terminal, the method further includes:
and receiving a second software development kit downloading request corresponding to a second function sent by the user terminal, wherein the second software development kit downloading request comprises first prompt information, the first prompt information is used for prompting the server to send second prompt information to the management terminal, and the second prompt information is used for prompting background personnel to add the second function in the function list.
Optionally, the method further comprises:
receiving a function adding request sent by a management terminal, wherein the function adding request comprises a third software development kit corresponding to a third function and a third description document of the third software development kit;
and storing the third software development kit and the third description document in the server in an associated manner, adding the third function to the function list, and allocating a corresponding third parameter to the third function.
Optionally, the method further comprises:
receiving a function updating request sent by a management terminal, wherein the function updating request comprises a fourth software development kit corresponding to a fourth function and a fourth description document of the fourth software development kit;
searching a fifth software development kit and a fifth description document of the fifth software development kit in the server according to the name of the fourth software development kit, wherein the name of the fourth software development kit is the same as the name of the fifth software development kit;
and replacing the fifth software development kit and the fifth description document with the fourth software development kit and the fourth description document, and replacing a fifth function corresponding to the fifth software development kit with the fourth function in the function list.
Optionally, the method further comprises:
receiving a function deleting request sent by a management terminal, wherein the function deleting request comprises a name of a sixth software development kit corresponding to a sixth function;
finding the sixth software development kit and a sixth description document of the sixth software development kit in the server according to the name of the sixth software development kit;
deleting a sixth software development kit and the sixth specification document from the server, and deleting the sixth function from the function list.
Optionally, before receiving a function addition request, a function update request, or a function deletion request sent by the management terminal, the method further includes:
acquiring an access request of the management terminal, wherein the access request comprises background personnel identification;
calling an API function to detect whether the server has the online mobile certificate of the management terminal;
if the identity certificate exists, matching the identity certificate in the online mobile certificate verification information with the identity certificate of the background personnel;
and if the matching is successful, opening the access authority to the management terminal.
In a second aspect, an embodiment of the present application provides a device for downloading a software development kit, which is applied to a server, and the device includes:
the receiving module is used for receiving a function list acquisition request sent by a user terminal;
a sending module, configured to send a function list to the user terminal, where the function list includes a first function;
the receiving module is further configured to receive a first software development kit downloading request corresponding to the first function, where the first software development kit downloading request includes a first parameter, the first software development kit requested to be downloaded by the first software development kit downloading request corresponds to the first parameter, and the first software development kit downloading request is generated when the user terminal detects a selection operation of a user for the first function;
the sending module is further configured to send the first software development kit to the user terminal according to the first parameter, and send a first description document of the first software development kit.
Optionally, the sending module includes:
the searching submodule is used for searching the first software development kit and the first description document in the server according to the first parameter;
the packaging submodule is used for packaging the first software development tool package and the first description document to obtain a first data package if the first software development tool package and the first description document are found;
and the sending submodule is used for sending the first data packet to the user terminal.
Optionally, the receiving module is further configured to receive a second software development kit downloading request corresponding to a second function sent by the user terminal, where the second software development kit downloading request includes first prompt information, the first prompt information is used to prompt the server to send second prompt information to the management terminal, and the second prompt information is used to prompt a backend person to add the second function in the function list.
Optionally, the apparatus further comprises:
the receiving module is further configured to receive a function addition request sent by the management terminal, where the function addition request includes a third software development kit corresponding to a third function and a third description document of the third software development kit;
and the adding module is used for storing the third software development kit and the third description document in the server in an associated manner, adding the third function to the function list, and distributing a corresponding third parameter for the third function.
Optionally, the apparatus further comprises:
the receiving module is further configured to receive a function update request sent by the management terminal, where the function update request includes a fourth software development kit corresponding to a fourth function and a fourth description document of the fourth software development kit;
the searching module is used for searching a fifth software development kit and a fifth description document of the fifth software development kit in the server according to the name of the fourth software development kit, wherein the name of the fourth software development kit is the same as the name of the fifth software development kit;
and the replacing module is used for replacing the fifth software development kit and the fifth description document by adopting the fourth software development kit and the fourth description document, and replacing a fifth function corresponding to the fifth software development kit by adopting the fourth function in the function list.
Optionally, the apparatus further comprises:
the receiving module is further configured to receive a function deletion request sent by the management terminal, where the function deletion request includes a name of a sixth software development kit corresponding to a sixth function;
the searching module is further configured to search the sixth software development kit and a sixth description document of the sixth software development kit in the server according to the name of the sixth software development kit;
a deletion module for deleting a sixth software development kit and the sixth specification document from the server and deleting the sixth function from the function list.
Optionally, the apparatus further comprises:
the acquisition module is used for acquiring an access request of the management terminal, wherein the access request comprises background personnel identification;
the detection module is used for calling an API function to detect whether the online mobile certificate of the management terminal exists in the server or not;
the matching module is used for matching the identity certificate in the online mobile certificate verification information with the identity certificate of the background personnel if the online mobile certificate verification information exists;
and the opening module is used for opening the access authority to the management terminal if the matching is successful.
In a third aspect, an embodiment of the present application provides a server, including a processor, a memory, a communication interface, and one or more programs, stored in the memory and configured to be executed by the processor, where the program includes instructions for performing the steps of the method according to the first aspect.
In a fourth aspect, the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program for electronic data exchange, where the computer program makes a computer perform some or all of the steps described in the method according to the first aspect of the present application.
In a fifth aspect, embodiments of the present application provide a computer program product, where the computer program product includes a non-transitory computer-readable storage medium storing a computer program, where the computer program is operable to cause a computer to perform some or all of the steps as described in the method of the first aspect of embodiments of the present application. The computer program product may be a software installation package.
It can be seen that, in the technical solution provided in the embodiment of the present application, a function list acquisition request sent by a user terminal is received; sending a function list to the user terminal, wherein the function list comprises a first function; receiving a first software development kit downloading request corresponding to the first function sent by the user terminal, wherein the first software development kit downloading request comprises a first parameter, a first software development kit requested to be downloaded by the first software development kit downloading request corresponds to the first parameter, and the first software development kit downloading request is generated when the user terminal detects the selection operation of a user for the first function; and sending the first software development kit and a first description document of the first software development kit to the user terminal according to the first parameter. Therefore, by implementing the embodiment of the application, errors caused by human factors can be reduced, and software development becomes more efficient and convenient.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1-1 is a schematic diagram of an architecture of a software development system according to an embodiment of the present application;
fig. 1-2 are schematic diagrams of a downloading service flow provided by an embodiment of the present application;
fig. 1-3 are schematic diagrams illustrating a background management page service flow provided by an embodiment of the present application;
fig. 2 is a flowchart illustrating a downloading method of a software development kit according to an embodiment of the present application;
FIG. 3 is a flowchart illustrating another method for downloading a software development kit according to an embodiment of the present disclosure;
fig. 4 is a flowchart illustrating an updating method of a software development kit according to an embodiment of the present application;
fig. 5 is a block diagram illustrating functional module components of a downloading apparatus for a software development kit according to an embodiment of the present disclosure;
fig. 6 is a schematic physical architecture diagram of a server according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions of the present application better understood, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "first," "second," "third," and the like in the description and claims of this application and in the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or modules is not limited to the listed steps or modules but may alternatively include other steps or modules not listed or inherent to such process, method, article, or apparatus.
Reference in the specification to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the specification. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
Referring to fig. 1-1, fig. 1-1 is a schematic diagram of a software development system according to an embodiment of the present disclosure. As shown in fig. 1-1, the software development system includes a user side (user terminal) and a background (server), and the user side may include but is not limited to: equipment, smart mobile phone, panel computer, notebook computer, desktop computer, portable digital player, intelligent bracelet and intelligent wrist-watch etc. of band-pass communication function, the backstage can include but not limited to: traditional servers, large storage systems, desktop computers, notebook computers, tablet computers, palm top computers, smart phones, portable digital players, smart watches, smart bracelets, and the like.
The user side can perform software development, and the background stores a Software Development Kit (SDK) for the user side to perform software development and a function list (SDK module list) corresponding to the software development kit. When the user needs to develop a certain function, the user requests a function list from the background, and if the function which the user needs to develop is in the function list, the user requests a software development kit corresponding to the function from a download interface of the background to develop the corresponding function.
Fig. 1-2 show a schematic downloading service flow of the client requesting the corresponding software development kit from the background. Specifically, a product developed by a user side needs to realize the function A, the user side sends a request for acquiring an SDK module list to a background, and the background returns the SDK module list; the user side judges whether the A function exists in the SDK module list or not, and if the A function does not exist in the SDK module list, background personnel are informed to pre-add the function; if the function A is in the SDK module list, the user side inputs the parameter corresponding to the function A and sends a request of a corresponding SDK packet to a background; after the background receives the corresponding parameters, the SDK downloading interface calls the corresponding SDK packet according to the parameters uploaded by the user side and sends the SDK packet to the user side; and the user side receives the SDK packet returned by the background, and develops the A function according to the SDK packet.
When the function required to be developed requested by the user side is not in the SDK module list, background management can be performed to add the function; or when a certain function needs to be updated or deleted, corresponding operations can be performed on the background management page. Fig. 1 to 3 are schematic diagrams of a background management page service flow provided in an embodiment of the present application. As shown in fig. 1 to 3, the management page includes a function adding module, a function updating module, a function deleting module, and a permission setting module. Specifically, if the function A which the user side needs to develop is not in the SDK module list, a background person is informed to add the function, when the background person completes the development of the SDK packet of the function A, the authority setting is opened, and the developed SDK is uploaded to a background server; if the existing function B in the SDK module list needs to be updated, after background personnel finish updating the SDK packet of the function B, opening the authority setting, and uploading the developed SDK to a background server; and if the existing C function in the SDK module list needs to be deleted, the background personnel delete the SDK packet of the C function stored in the background and the C function in the SDK module list through the deletion module.
Referring to fig. 2, fig. 2 is a flowchart illustrating a downloading method of a software development kit according to an embodiment of the present application. As shown in fig. 2, the method is applied to a server, and the method includes the following steps:
s201, the server receives a function list acquisition request sent by the user terminal.
The server provides a function list interface, the user terminal requests a function list from the server before first function development is carried out, and the server receives a function list request sent by the user terminal through the function list interface.
S202, the server sends a function list to the user terminal, wherein the function list comprises a first function.
It is to be understood that, after receiving the function list request sent by the user terminal, the server sends the function list to the user terminal through the function list interface.
S203, the server receives a first software development kit downloading request corresponding to the first function sent by the user terminal, where the first software development kit downloading request includes a first parameter, the first software development kit requested to be downloaded by the first software development kit downloading request corresponds to the first parameter, and the first software development kit downloading request is generated when the user terminal detects a selection operation of the user for the first function.
Wherein, the server also provides a software development kit downloading interface. After the user terminal receives the function list, a user who develops a first function can select and operate the first function on the function list, so that the user terminal generates a downloading request for requesting to download a first software development kit corresponding to the first function and sends the downloading request to the server; and the server receives a first software development kit downloading request corresponding to the first function sent by the user terminal through the software development kit downloading interface.
It should be noted that each function in the function list (or the software development kit corresponding to each function stored in the server) corresponds to a parameter, when the user selects a corresponding function, the user terminal inputs the corresponding parameter at the same time, the user terminal sends the parameter to the server, and the server returns the corresponding software development kit to the user terminal according to the parameter.
S204, the server sends the first software development kit and a first description document of the first software development kit to the user terminal according to the first parameter.
Wherein the sending the first software development kit to the user terminal according to the first parameter and sending a first specification document of the first software development kit includes: searching the first software development kit and the first description document in the server according to the first parameter; if the first software development kit is found, packaging the first software development kit and the first description document to obtain a first data packet; and sending the first data packet to the user terminal.
Wherein, it can be understood that the software development kit corresponding to different functions in the server and the description document of the software development kit are stored in association. And the software development kit downloading interface of the server can accurately call the software development kit required to be downloaded by the user terminal according to the received parameters and the corresponding relation between the parameters and the software development kit.
It can be seen that, in the technical solution provided in the embodiment of the present application, a function list acquisition request sent by a user terminal is received; sending a function list to the user terminal, wherein the function list comprises a first function; receiving a first software development kit downloading request corresponding to the first function sent by the user terminal, wherein the first software development kit downloading request comprises a first parameter, a first software development kit requested to be downloaded by the first software development kit downloading request corresponds to the first parameter, and the first software development kit downloading request is generated when the user terminal detects the selection operation of a user for the first function; and sending the first software development kit and a first description document of the first software development kit to the user terminal according to the first parameter. Therefore, by implementing the embodiment of the application, errors caused by human factors can be reduced, and software development becomes more efficient and convenient.
Referring to fig. 3, fig. 3 is a flowchart illustrating another method for downloading a software development kit according to an embodiment of the present application. As shown in fig. 3, the method is applied to a server, and the method includes the following steps:
s301, the server receives a function list acquisition request sent by the user terminal.
Wherein, if the user terminal needs to develop the second function, it sends a function list acquisition request to the service.
S302, the server sends a function list to the user terminal.
After the user terminal receives the function list sent by the server, the user terminal judges that the second function is not in the function list, and then the user terminal sends first prompt information to the server for prompting the addition of the second function.
And S303, the server receives a second software development kit downloading request corresponding to the second function sent by the user terminal, wherein the second software development kit downloading request comprises first prompt information, and the first prompt information is used for prompting the server to send second prompt information to the management terminal.
S304, the server sends second prompt information to the management terminal, and the second prompt information is used for prompting background personnel to add the second function in the function list.
After the management terminal receives the second prompt message, the management terminal informs a background manager of developing a second software development kit corresponding to the second function, after the second software development kit is developed, a corresponding second description document is made, the second software development kit and the second description document need to be uploaded to the server, and the management terminal sends a function adding request to the server to request the server to add the second function.
S305, the server receives a function adding request sent by the management terminal, wherein the function adding request comprises a second software development kit corresponding to a second function and a second description document of the second software development kit.
S306, the server stores the second software development kit and the second description document in the server in an associated manner, adds the second function to the function list, and allocates a corresponding second parameter to the second function.
The server may associate and store the received second software development kit with the second description document, add the second function to the function list, and the user may send a function list acquisition request to the server again, so as to acquire the function list with the second function, perform an operation of selecting and downloading the second software development kit, and then complete development of the second function according to the second software development kit.
Wherein the method further comprises: the server receives a function adding request sent by a management terminal, wherein the function adding request comprises a third software development kit corresponding to a third function and a third description document of the third software development kit; and the server stores the third software development kit and the third description document in the server in an associated manner, adds the third function to the function list, and allocates a corresponding third parameter to the third function.
It can be understood that, if the management terminal does not receive the prompt message, but the backend person completes development of a software development kit with a new function (third function), it may directly send, to the server, a function addition request including a third software development kit corresponding to the third function and a third description document of the third software development kit, so as to request the server to add the third function.
S307, the server sends the second software development kit and the second description document to the user terminal.
In addition, the related terms or explanations of the embodiments of the present application may refer to the contents described in the above embodiments.
It can be seen that, in the technical solution provided in this embodiment of the application, when the second function that the user needs to develop is not in the function list, the user terminal sends the first prompt message to the server, the server sends the second prompt message to the management terminal according to the first prompt message to prompt addition of the second function, and after the second function is added, the second software development kit corresponding to the second function and the second description document of the second software development kit are sent to the user terminal. Therefore, the technical scheme provided by the embodiment is beneficial to further improving the software development efficiency.
Referring to fig. 4, fig. 4 is a flowchart illustrating a method for updating a software development kit according to an embodiment of the present application. As shown in fig. 4, the method is applied to a server, and the method further includes the following steps:
s401, the server obtains an access request of the management terminal, wherein the access request comprises background personnel identification.
S402, the server calls an API function to detect whether the server has the online mobile certificate of the management terminal.
And S403, if the mobile certificate verification information exists, the server matches the identity certificate in the mobile certificate verification information on the network with the identity certificate of the background personnel.
S404, if the matching is successful, the server opens the access authority to the management terminal.
It can be understood that, after the server opens the access right to the management terminal, the management terminal may change the function in the server function list, for example, add a new function, delete a function, or update a software development kit corresponding to an existing function in the function list.
S405, the server receives a function updating request sent by the management terminal, wherein the function updating request comprises a fourth software development kit corresponding to a fourth function and a fourth description document of the fourth software development kit.
S406, the server searches for a fifth software development kit and a fifth description document of the fifth software development kit in the server according to the name of the fourth software development kit, wherein the name of the fourth software development kit is the same as the name of the fifth software development kit.
It can be understood that the fourth function and the fifth function are the same function, and the fourth software development kit is a software development kit updated according to the deficiency of the fifth software development kit.
S407, the server replaces the fifth software development kit and the fifth description document with the fourth software development kit and the fourth description document, and replaces a fifth function corresponding to the fifth software development kit with the fourth function in the function list.
And S408, the server receives a function deleting request sent by the management terminal, wherein the function deleting request comprises a name of a sixth software development kit corresponding to a sixth function.
S409, the server searches the sixth software development kit and a sixth description document of the sixth software development kit in the server according to the name of the sixth software development kit.
S410, the server deletes the sixth software development kit and the sixth description document from the server, and deletes the sixth function from the function list.
It is to be understood that the method for updating the software development kit described in fig. 4 can be used to update the software development kit stored in the server described in fig. 2 and 3. In addition, the related terms or explanations of the embodiments of the present application may refer to the contents described in the above embodiments.
According to the technical scheme provided by the embodiment of the application, the server can open the authority to the management terminal, and background personnel can update the software development kit in the server, so that the requirement of the user end on the change of function development is continuously met, and the software development efficiency is further improved.
The above description has introduced the solution of the embodiment of the present application mainly from the perspective of the method-side implementation process. It is understood that the electronic device comprises corresponding hardware structures and/or software modules for performing the respective functions in order to realize the above-mentioned functions. Those of skill in the art will readily appreciate that the various illustrative modules and algorithm steps described in connection with the embodiments provided herein may be implemented as hardware or combinations of hardware and computer software. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiment of the present application, the electronic device may be divided into the functional modules according to the method example, for example, each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. It should be noted that, in the embodiment of the present application, the division of the module is schematic, and is only one logic function division, and there may be another division manner in actual implementation.
Referring to fig. 5, fig. 5 is a block diagram illustrating functional modules of a downloading apparatus for a software development kit according to an embodiment of the present disclosure. As shown in fig. 5, the downloading apparatus 500 is applied to a server, and the downloading apparatus 500 includes the following logic modules:
a receiving module 501, configured to receive a function list acquisition request sent by a user terminal;
a sending module 502, configured to send a function list to the user terminal, where the function list includes a first function;
the receiving module 501 is further configured to receive a first software development kit downloading request corresponding to the first function, where the first software development kit downloading request includes a first parameter, where a first software development kit requested to be downloaded by the first software development kit downloading request corresponds to the first parameter, and the first software development kit downloading request is generated when the user terminal detects a selection operation of a user for the first function;
the sending module 502 is further configured to send the first software development kit to the user terminal according to the first parameter, and send a first description document of the first software development kit.
Optionally, the sending module 502 includes:
the searching submodule is used for searching the first software development kit and the first description document in the server according to the first parameter;
the packaging submodule is used for packaging the first software development tool package and the first description document to obtain a first data package if the first software development tool package and the first description document are found;
and the sending submodule is used for sending the first data packet to the user terminal.
Optionally, the receiving module 501 is further configured to receive a second software development kit downloading request corresponding to a second function sent by the user terminal, where the second software development kit downloading request includes first prompt information, the first prompt information is used to prompt the server to send second prompt information to the management terminal, and the second prompt information is used to prompt a backend person to add the second function in the function list.
Optionally, the apparatus 500 further comprises:
the receiving module 501 is further configured to receive a function addition request sent by the management terminal, where the function addition request includes a third software development kit corresponding to a third function and a third description document of the third software development kit;
and the adding module is used for storing the third software development kit and the third description document in the server in an associated manner, adding the third function to the function list, and distributing a corresponding third parameter for the third function.
Optionally, the apparatus 500 further comprises:
the receiving module 501 is further configured to receive a function update request sent by the management terminal, where the function update request includes a fourth software development kit corresponding to a fourth function and a fourth description document of the fourth software development kit;
the searching module is used for searching a fifth software development kit and a fifth description document of the fifth software development kit in the server according to the name of the fourth software development kit, wherein the name of the fourth software development kit is the same as the name of the fifth software development kit;
and the replacing module is used for replacing the fifth software development kit and the fifth description document by adopting the fourth software development kit and the fourth description document, and replacing a fifth function corresponding to the fifth software development kit by adopting the fourth function in the function list.
Optionally, the apparatus 500 further comprises:
the receiving module 501 is further configured to receive a function deletion request sent by the management terminal, where the function deletion request includes a name of a sixth software development kit corresponding to a sixth function;
the searching module is further configured to search the sixth software development kit and a sixth description document of the sixth software development kit in the server according to the name of the sixth software development kit;
a deletion module for deleting a sixth software development kit and the sixth specification document from the server and deleting the sixth function from the function list.
Optionally, the apparatus 500 further comprises:
the acquisition module is used for acquiring an access request of the management terminal, wherein the access request comprises background personnel identification;
the detection module is used for calling an API function to detect whether the online mobile certificate of the management terminal exists in the server or not;
the matching module is used for matching the identity certificate in the online mobile certificate verification information with the identity certificate of the background personnel if the online mobile certificate verification information exists;
and the opening module is used for opening the access authority to the management terminal if the matching is successful.
It should be noted that the logic module described in this embodiment may execute the method described in the method embodiment. In addition, it can be understood that, since the method embodiment and the apparatus embodiment are different presentation forms of the same technical concept, the content of the method embodiment portion in the present application should be synchronously adapted to the apparatus embodiment portion, and is not described herein again.
It can be seen that the downloading device provided in the embodiment of the present application receives a function list acquisition request sent by a user terminal; sending a function list to the user terminal, wherein the function list comprises a first function; receiving a first software development kit downloading request corresponding to the first function sent by the user terminal, wherein the first software development kit downloading request comprises a first parameter, a first software development kit requested to be downloaded by the first software development kit downloading request corresponds to the first parameter, and the first software development kit downloading request is generated when the user terminal detects the selection operation of a user for the first function; and sending the first software development kit and a first description document of the first software development kit to the user terminal according to the first parameter. Therefore, by implementing the embodiment of the application, errors caused by human factors can be reduced, and software development becomes more efficient and convenient.
Referring to fig. 6, in accordance with the embodiment shown in fig. 5, fig. 6 is a schematic structural diagram of a server 600 according to an embodiment of the present disclosure. As shown in fig. 6, the server 600 is preferably a decentralized distributed server of a blockchain architecture, the server 600 includes an application processor 610, a memory 620, a communication interface 630, and one or more programs 621, wherein the one or more programs 621 are stored in the memory 620 and configured to be executed by the application processor 610, and when the one or more programs 621 are executed, the processor 610 performs the following operations: receiving a function list acquisition request sent by a user terminal; sending a function list to the user terminal, wherein the function list comprises a first function; receiving a first software development kit downloading request corresponding to the first function sent by the user terminal, wherein the first software development kit downloading request comprises a first parameter, a first software development kit requested to be downloaded by the first software development kit downloading request corresponds to the first parameter, and the first software development kit downloading request is generated when the user terminal detects the selection operation of a user for the first function; and sending the first software development kit and a first description document of the first software development kit to the user terminal according to the first parameter.
Optionally, the processor 610 further performs the following operations: searching the first software development kit and the first description document in the server according to the first parameter; if the first software development kit is found, packaging the first software development kit and the first description document to obtain a first data packet; and sending the first data packet to the user terminal.
Optionally, after sending the function list to the user terminal, the processor 610 further performs the following operations: and receiving a second software development kit downloading request corresponding to a second function sent by the user terminal, wherein the second software development kit downloading request comprises first prompt information, the first prompt information is used for prompting the server to send second prompt information to the management terminal, and the second prompt information is used for prompting background personnel to add the second function in the function list.
Optionally, the processor 610 further performs the following operations: receiving a function adding request sent by a management terminal, wherein the function adding request comprises a third software development kit corresponding to a third function and a third description document of the third software development kit; and storing the third software development kit and the third description document in the server in an associated manner, adding the third function to the function list, and allocating a corresponding third parameter to the third function.
Optionally, the processor 610 further performs the following operations: receiving a function updating request sent by a management terminal, wherein the function updating request comprises a fourth software development kit corresponding to a fourth function and a fourth description document of the fourth software development kit; searching a fifth software development kit and a fifth description document of the fifth software development kit in the server according to the name of the fourth software development kit, wherein the name of the fourth software development kit is the same as the name of the fifth software development kit; and replacing the fifth software development kit and the fifth description document with the fourth software development kit and the fourth description document, and replacing a fifth function corresponding to the fifth software development kit with the fourth function in the function list.
Optionally, the processor 610 further performs the following operations: receiving a function deleting request sent by a management terminal, wherein the function deleting request comprises a name of a sixth software development kit corresponding to a sixth function; finding the sixth software development kit and a sixth description document of the sixth software development kit in the server according to the name of the sixth software development kit; deleting a sixth software development kit and the sixth specification document from the server, and deleting the sixth function from the function list.
Optionally, before receiving a function addition request or a function update request or a function deletion request sent by a management terminal, the processor 610 further performs the following operations: acquiring an access request of the management terminal, wherein the access request comprises background personnel identification; calling an API function to detect whether the server has the online mobile certificate of the management terminal; if the identity certificate exists, matching the identity certificate in the online mobile certificate verification information with the identity certificate of the background personnel; and if the matching is successful, opening the access authority to the management terminal.
It should be noted that the server 600 described in this embodiment may execute the method described in the above method embodiment.
It can be seen that, the server provided in the embodiment of the present application receives a function list acquisition request sent by a user terminal; sending a function list to the user terminal, wherein the function list comprises a first function; receiving a first software development kit downloading request corresponding to the first function sent by the user terminal, wherein the first software development kit downloading request comprises a first parameter, a first software development kit requested to be downloaded by the first software development kit downloading request corresponds to the first parameter, and the first software development kit downloading request is generated when the user terminal detects the selection operation of a user for the first function; and sending the first software development kit and a first description document of the first software development kit to the user terminal according to the first parameter. Therefore, by implementing the embodiment of the application, errors caused by human factors can be reduced, and software development becomes more efficient and convenient.
Embodiments of the present application also provide a computer storage medium, where the computer storage medium stores a computer program for electronic data exchange, the computer program enabling a computer to execute part or all of the steps of any one of the methods described in the above method embodiments, and the computer includes an electronic device.
Embodiments of the present application also provide a computer program product comprising a non-transitory computer readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps of any of the methods as described in the above method embodiments. The computer program product may be a software installation package, the computer comprising an electronic device.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the above-described modules is merely a logical division, and other divisions may be realized in practice, for example, a plurality of modules or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or modules through some interfaces, and may be in an electrical or other form.
The modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical modules, may be located in one place, or may be distributed on a plurality of network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
In addition, functional modules in the embodiments of the present application may be integrated into one processing module, or each of the modules may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode.
The integrated modules, if implemented in the form of software functional modules and sold or used as separate products, may be stored in a computer readable memory. Based on such understanding, the technical solution of the present application may be substantially implemented or a part of or all or part of the technical solution contributing to the prior art may be embodied in the form of a software product stored in a memory, and including several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the above-mentioned method of the embodiments of the present application. And the aforementioned memory comprises: various media capable of storing program codes, such as a usb disk, a read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable memory, which may include: flash Memory disks, read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The foregoing detailed description of the embodiments of the present application has been presented, and specific examples have been applied in the present application to explain the principles and implementations of the present application, and the above description of the embodiments is only used to help understand the method and the core ideas of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (10)

1. A method for downloading a software development kit, applied to a server, the method comprising:
receiving a function list acquisition request sent by a user terminal;
sending a function list to the user terminal, wherein the function list comprises a first function;
receiving a first software development kit downloading request corresponding to the first function sent by the user terminal, wherein the first software development kit downloading request comprises a first parameter, a first software development kit requested to be downloaded by the first software development kit downloading request corresponds to the first parameter, and the first software development kit downloading request is generated when the user terminal detects the selection operation of a user for the first function;
and sending the first software development kit and a first description document of the first software development kit to the user terminal according to the first parameter.
2. The method of claim 1, wherein sending the first software development kit to the user terminal according to the first parameter and sending a first specification document of the first software development kit comprises:
searching the first software development kit and the first description document in the server according to the first parameter;
if the first software development kit is found, packaging the first software development kit and the first description document to obtain a first data packet;
and sending the first data packet to the user terminal.
3. The method of claim 1, wherein after sending the function list to the user terminal, the method further comprises:
and receiving a second software development kit downloading request corresponding to a second function sent by the user terminal, wherein the second software development kit downloading request comprises first prompt information, the first prompt information is used for prompting the server to send second prompt information to the management terminal, and the second prompt information is used for prompting background personnel to add the second function in the function list.
4. The method of claim 1, further comprising:
receiving a function adding request sent by a management terminal, wherein the function adding request comprises a third software development kit corresponding to a third function and a third description document of the third software development kit;
and storing the third software development kit and the third description document in the server in an associated manner, adding the third function to the function list, and allocating a corresponding third parameter to the third function.
5. The method of claim 1, further comprising:
receiving a function updating request sent by a management terminal, wherein the function updating request comprises a fourth software development kit corresponding to a fourth function and a fourth description document of the fourth software development kit;
searching a fifth software development kit and a fifth description document of the fifth software development kit in the server according to the name of the fourth software development kit, wherein the name of the fourth software development kit is the same as the name of the fifth software development kit;
and replacing the fifth software development kit and the fifth description document with the fourth software development kit and the fourth description document, and replacing a fifth function corresponding to the fifth software development kit with the fourth function in the function list.
6. The method of claim 1, further comprising:
receiving a function deleting request sent by a management terminal, wherein the function deleting request comprises a name of a sixth software development kit corresponding to a sixth function;
finding the sixth software development kit and a sixth description document of the sixth software development kit in the server according to the name of the sixth software development kit;
deleting a sixth software development kit and the sixth specification document from the server, and deleting the sixth function from the function list.
7. The method according to any one of claims 4 to 6, wherein before receiving a function addition request or a function update request or a function deletion request sent by a management terminal, the method further comprises:
acquiring an access request of the management terminal, wherein the access request comprises background personnel identification;
calling an API function to detect whether the server has the online mobile certificate of the management terminal;
if the identity certificate exists, matching the identity certificate in the online mobile certificate verification information with the identity certificate of the background personnel;
and if the matching is successful, opening the access authority to the management terminal.
8. A device for downloading a software development kit, applied to a server, the device comprising:
the receiving module is used for receiving a function list acquisition request sent by a user terminal;
a sending module, configured to send a function list to the user terminal, where the function list includes a first function;
the receiving module is further configured to receive a first software development kit downloading request corresponding to the first function, where the first software development kit downloading request includes a first parameter, the first software development kit requested to be downloaded by the first software development kit downloading request corresponds to the first parameter, and the first software development kit downloading request is generated when the user terminal detects a selection operation of a user for the first function;
the sending module is further configured to send the first software development kit to the user terminal according to the first parameter, and send a first description document of the first software development kit.
9. A server, comprising a processor and a memory, the processor being configured to implement the steps of the method according to any one of claims 1-7 when executing a computer program stored in the memory.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method according to any one of claims 1-7.
CN201911001102.4A 2019-10-21 2019-10-21 Downloading method of software development kit and related equipment Active CN110855750B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911001102.4A CN110855750B (en) 2019-10-21 2019-10-21 Downloading method of software development kit and related equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911001102.4A CN110855750B (en) 2019-10-21 2019-10-21 Downloading method of software development kit and related equipment

Publications (2)

Publication Number Publication Date
CN110855750A true CN110855750A (en) 2020-02-28
CN110855750B CN110855750B (en) 2023-02-28

Family

ID=69596693

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911001102.4A Active CN110855750B (en) 2019-10-21 2019-10-21 Downloading method of software development kit and related equipment

Country Status (1)

Country Link
CN (1) CN110855750B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112230945A (en) * 2020-11-16 2021-01-15 厦门亿联网络技术股份有限公司 Method and device for improving equipment compatibility, electronic equipment and storage medium
CN112837131A (en) * 2021-03-01 2021-05-25 中国银行股份有限公司 Sales application development method, device, equipment and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103200219A (en) * 2013-02-05 2013-07-10 北京小米科技有限责任公司 Data package updating method, device, terminal equipment and server
CN105094830A (en) * 2015-07-31 2015-11-25 小米科技有限责任公司 Method and device for executing target functions
CN105307156A (en) * 2015-10-23 2016-02-03 努比亚技术有限公司 Application request downloading device and method
CN107357732A (en) * 2017-07-17 2017-11-17 广州爱九游信息技术有限公司 User terminal and SDK access state detection means and method
US20170339220A1 (en) * 2015-06-19 2017-11-23 Wangsu Science & Technology Co., Ltd. Method and system for content delivery of mobile terminal applications
CN108897562A (en) * 2018-06-27 2018-11-27 腾讯科技(深圳)有限公司 Installation kit update method, device, medium and equipment
CN109819042A (en) * 2019-02-02 2019-05-28 北京字节跳动网络技术有限公司 For providing the method and apparatus of Software Development Kit
CN109840109A (en) * 2019-02-02 2019-06-04 北京字节跳动网络技术有限公司 Method and apparatus for generating Software Development Kit
CN110046496A (en) * 2019-04-25 2019-07-23 深圳市元征科技股份有限公司 A kind of software development methodology, system and block chain node device and storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103200219A (en) * 2013-02-05 2013-07-10 北京小米科技有限责任公司 Data package updating method, device, terminal equipment and server
US20170339220A1 (en) * 2015-06-19 2017-11-23 Wangsu Science & Technology Co., Ltd. Method and system for content delivery of mobile terminal applications
CN105094830A (en) * 2015-07-31 2015-11-25 小米科技有限责任公司 Method and device for executing target functions
CN105307156A (en) * 2015-10-23 2016-02-03 努比亚技术有限公司 Application request downloading device and method
CN107357732A (en) * 2017-07-17 2017-11-17 广州爱九游信息技术有限公司 User terminal and SDK access state detection means and method
CN108897562A (en) * 2018-06-27 2018-11-27 腾讯科技(深圳)有限公司 Installation kit update method, device, medium and equipment
CN109819042A (en) * 2019-02-02 2019-05-28 北京字节跳动网络技术有限公司 For providing the method and apparatus of Software Development Kit
CN109840109A (en) * 2019-02-02 2019-06-04 北京字节跳动网络技术有限公司 Method and apparatus for generating Software Development Kit
CN110046496A (en) * 2019-04-25 2019-07-23 深圳市元征科技股份有限公司 A kind of software development methodology, system and block chain node device and storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112230945A (en) * 2020-11-16 2021-01-15 厦门亿联网络技术股份有限公司 Method and device for improving equipment compatibility, electronic equipment and storage medium
CN112230945B (en) * 2020-11-16 2022-06-28 厦门亿联网络技术股份有限公司 Method and device for improving equipment compatibility, electronic equipment and storage medium
CN112837131A (en) * 2021-03-01 2021-05-25 中国银行股份有限公司 Sales application development method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN110855750B (en) 2023-02-28

Similar Documents

Publication Publication Date Title
CN109408132A (en) A kind of configuration file processing method and server, user terminal, storage medium
CN105187676A (en) Calling request processing method and device
CN113067859B (en) Communication method and device based on cloud mobile phone
CN110855750B (en) Downloading method of software development kit and related equipment
CN106101358A (en) A kind of method of contact person information updating and smart machine
CN111679790A (en) Remote software development storage space distribution method and device
CN105988841A (en) Update method of application program, and mobile terminal
CN108241515B (en) Application shortcut establishing method and terminal
WO2015184094A1 (en) Data uniqueness control and information storage
CN109391658B (en) Account data synchronization method and equipment, storage medium and terminal thereof
CN105867910A (en) Dynamic wallpaper presenting method and apparatus for mobile terminal
CN109040050A (en) Data interactive method and Related product
CN110300222B (en) Short message display method, system, terminal equipment and computer readable storage medium
WO2017097138A1 (en) Notification message processing method and device
CN105610596B (en) Resource directory management method and network terminal
CN108512803A (en) Remind the method and device of change account bound phone number
CN107135075B (en) Authorization method and device for user operation
CN103685776A (en) Method and device for processing call
CN106302821A (en) A kind of data request method and equipment thereof
CN109922470B (en) Recommendation method, terminal and server
CN105025482A (en) Communication information processing method and device
CN111183422B (en) Information processing method and related product
CN114258007A (en) SIM card management method, device and computer storage medium
CN111176679A (en) Application program updating method and device
CN105808243B (en) Electronic equipment appearance display method and device and electronic equipment

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