CN114443161B - Application docking method, device, equipment and storage medium - Google Patents

Application docking method, device, equipment and storage medium Download PDF

Info

Publication number
CN114443161B
CN114443161B CN202111681453.1A CN202111681453A CN114443161B CN 114443161 B CN114443161 B CN 114443161B CN 202111681453 A CN202111681453 A CN 202111681453A CN 114443161 B CN114443161 B CN 114443161B
Authority
CN
China
Prior art keywords
application
target
key
synchronized
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111681453.1A
Other languages
Chinese (zh)
Other versions
CN114443161A (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 Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet Information 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 Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN202111681453.1A priority Critical patent/CN114443161B/en
Publication of CN114443161A publication Critical patent/CN114443161A/en
Application granted granted Critical
Publication of CN114443161B publication Critical patent/CN114443161B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3664Environments for testing or debugging software
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/44Program or device authentication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Quality & Reliability (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Stored Programmes (AREA)

Abstract

The disclosure relates to an application docking method, device, equipment and storage medium, which are applied to open application programming interface equipment and comprise the following steps: responding to a creation instruction of a target application, acquiring application information of the target application according to a preset application template, creating the target application, and generating key parameters of the target application; and further, in response to a call instruction of the target device to the target application, sending the application information and the key parameter to the target device so that the target device can butt-joint the application information based on the key parameter and a preset application template. In this way, the key parameter is used as the unique inter-application association, after the target application is created by the open application programming interface device, the target device can automatically dock the application information of the target application based on the key parameter and the same preset application template, so that the target application can automatically realize the synchronization between the open application programming interface device and the target device without manual association and maintenance, and the realization cost and maintenance difficulty of the cross-platform application are reduced.

Description

Application docking method, device, equipment and storage medium
Technical Field
The present disclosure relates to the field of software applications, and in particular, to an application docking method, apparatus, device, and storage medium.
Background
With the development of application programs, in order to fully utilize system resources, cross-platform applications that can run under multiple platforms have also developed.
In the prior art, a developer creates an application on an OpenAPI (Open Application Programming Interface ) platform, and obtains a set of authentication keys, namely a public key (appkey) and a private key (secretkey), uniquely corresponding to the application. When the application needs to be invoked on other platforms, the invocation interface may be authenticated according to appkey and secretkey, a corresponding interface token (accesstoken) may be obtained, accesstoken may be used as an authentication parameter, and the application may be invoked.
However, in the method, after the cross-platform application is created on the OpenAPI platform, the cross-platform application is called by the third-party service platform, and the association relationship between the OpenAPI platform and the third-party service platform can only be manually associated and maintained by a developer, so that the cost is high, and the synchronous maintenance is difficult and the error is easy.
Disclosure of Invention
In order to solve the problems that in the related art, a third party service platform can only manually associate and maintain association relation between an OpenAPI platform and the third party service platform through a developer, the cost is high, synchronous maintenance is difficult, and errors are easy to occur, the disclosure provides an application docking method, an application docking device, application docking equipment and a storage medium, and the technical scheme of the disclosure is as follows:
according to a first aspect of embodiments of the present disclosure, there is provided an application docking method applied to an open application programming interface device, the method including:
Responding to a creation instruction of a target application, acquiring application information of the target application according to a preset application template, creating the target application, and generating key parameters of the target application;
And responding to a call instruction of target equipment to the target application, and sending the application information and the key parameter to the target equipment so that the target equipment can butt-joint the application information based on the key parameter and the preset application template.
Optionally, the method further comprises:
Receiving application information and key parameters of an application to be synchronized, which are sent by the target equipment, wherein the application information of the application to be synchronized is acquired by the target equipment according to the preset application template;
and according to the key parameter of the application to be synchronized and the preset application template, docking the application information of the application to be synchronized, and taking the application to be synchronized as a target application.
Optionally, the receiving the application information and the key parameter of the application to be synchronized includes:
receiving application information and initial key parameters of an application to be synchronized, which are sent by the target equipment;
The step of docking the application information of the application to be synchronized according to the key parameter of the application to be synchronized and the preset application template, and taking the application to be synchronized as a target application comprises the following steps:
according to the initial key parameter and the preset application template, docking the application information of the application to be synchronized;
generating a synchronous key parameter corresponding to the initial key parameter, wherein the initial key parameter and the synchronous key parameter correspond to different application scenes;
And taking the application to be synchronized as a target application, and returning the synchronization key parameter to the target equipment so as to enable the target equipment to read and store the synchronization key parameter.
Optionally, the key parameters have two groups, and each group of key parameters corresponds to different application scenes, wherein the application scenes comprise a test environment and a production environment; the key parameters corresponding to the test environment comprise a test environment public key, and the key parameters corresponding to the production environment comprise a production environment public key and a production environment private key.
According to a second aspect of embodiments of the present disclosure, there is provided an application docking method applied to a target device, the method including:
sending a call instruction for a target application to an open application programming interface device;
Receiving application information and key parameters of the target application returned by the open application programming interface device, wherein the application information of the target application is acquired by the open application programming interface device according to a preset application template;
and docking the application information of the target application based on the key parameter of the target application and the preset application template.
Optionally, the method further comprises:
Responding to a creation instruction of an application to be synchronized, acquiring application information of the application to be synchronized according to the preset application template, creating the application to be synchronized, and generating key parameters of the application to be synchronized;
And sending the application information and the key parameters of the application to be synchronized to the open application programming interface device, so that the open application programming interface device is used for butting the application information of the application to be synchronized based on the key parameters of the application to be synchronized and the preset application template.
Optionally, the target device has two application scenarios, and the generating the key parameter of the application to be synchronized includes:
Generating an initial key parameter of the application to be synchronized, wherein the initial key parameter corresponds to a current application scene of the application to be synchronized;
the sending the application information and the key parameter of the application to be synchronized to the open application programming interface device includes:
Transmitting the application information and the initial key parameters of the application to be synchronized to the open application programming interface device so that the open application programming interface device generates and returns the synchronous key parameters corresponding to the initial key parameters, wherein the initial key parameters and the synchronous key parameters correspond to different application scenes;
and reading and storing the synchronous key parameters.
Optionally, the target device has two application scenarios, and the docking the application information of the target application based on the key parameter of the target application includes:
And docking the application information of the target application based on the key parameter of the current application scene of the target application corresponding to the application to be synchronized.
Optionally, the interfacing the application information of the target application based on the key parameter of the target application includes:
sending the key parameter of the target application to an authentication server, so that the authentication server returns token information to the open application programming interface device under the condition that the key parameter is queried;
And receiving the token information returned by the open application programming interface device, and accessing the open application programming interface device according to the token information.
Optionally, the key parameters have two groups, and each group of key parameters corresponds to different application scenes, wherein the application scenes comprise a test environment and a production environment; the key parameters corresponding to the test environment comprise a test environment public key, and the key parameters corresponding to the production environment comprise a production environment public key and a production environment private key.
According to a third aspect of embodiments of the present disclosure, there is provided an application interfacing apparatus for application to an open application programming interface device, the apparatus comprising:
The creation unit is configured to execute a creation instruction responding to a target application, acquire application information of the target application according to a preset application template, create the target application and generate key parameters of the target application;
And the docking unit is configured to execute a call instruction responding to the target device to the target application, and send the application information and the key parameter to the target device so that the target device docks the application information according to a preset application template based on the key parameter.
Optionally, the apparatus further comprises:
the synchronization unit is configured to execute and receive application information and key parameters of an application to be synchronized, which are sent by the target equipment, wherein the application information of the application to be synchronized is acquired by the target equipment according to the preset application template; and according to the key parameter of the application to be synchronized and the preset application template, docking the application information of the application to be synchronized, and taking the application to be synchronized as a target application.
Optionally, the synchronization unit is configured to perform:
receiving application information and initial key parameters of an application to be synchronized, which are sent by the target equipment;
according to the initial key parameter and the preset application template, docking the application information of the application to be synchronized;
generating a synchronous key parameter corresponding to the initial key parameter, wherein the initial key parameter and the synchronous key parameter correspond to different application scenes;
And taking the application to be synchronized as a target application, and returning the synchronization key parameter to the target equipment so as to enable the target equipment to read and store the synchronization key parameter.
Optionally, the key parameters have two groups, and each group of key parameters corresponds to different application scenes, wherein the application scenes comprise a test environment and a production environment; the key parameters corresponding to the test environment comprise a test environment public key, and the key parameters corresponding to the production environment comprise a production environment public key and a production environment private key.
According to a fourth aspect of embodiments of the present disclosure, there is provided an application docking apparatus for application to a target device, the apparatus comprising:
a transmitting unit configured to execute a call instruction for transmitting the target application to the open application programming interface device;
the receiving unit is configured to execute and receive the application information and the key parameter of the target application returned by the open application programming interface device, wherein the application information of the target application is acquired by the open application programming interface device according to a preset application template;
and the docking unit is configured to perform docking of the application information of the target application based on the key parameter of the target application and the preset application template.
Optionally, the apparatus further comprises:
The synchronization unit is configured to execute a creation instruction responding to an application to be synchronized, acquire application information of the application to be synchronized according to the preset application template, create the application to be synchronized, and generate key parameters of the application to be synchronized; and sending the application information and the key parameters of the application to be synchronized to the open application programming interface device, so that the open application programming interface device is used for butting the application information of the application to be synchronized based on the key parameters of the application to be synchronized and the preset application template.
Optionally, the target device has two application scenarios, and the synchronization unit is configured to perform:
Generating an initial key parameter of the application to be synchronized, wherein the initial key parameter corresponds to a current application scene of the application to be synchronized;
Transmitting the application information and the initial key parameters of the application to be synchronized to the open application programming interface device so that the open application programming interface device generates and returns the synchronous key parameters corresponding to the initial key parameters, wherein the initial key parameters and the synchronous key parameters correspond to different application scenes;
and reading and storing the synchronous key parameters.
Optionally, the target device has two application scenarios, and the docking unit is configured to perform:
And docking the application information of the target application based on the key parameter of the current application scene of the target application corresponding to the application to be synchronized.
Optionally, the docking unit is configured to perform:
sending the key parameter of the target application to an authentication server, so that the authentication server returns token information to the open application programming interface device under the condition that the key parameter is queried;
And receiving the token information returned by the open application programming interface device, and accessing the open application programming interface device according to the token information.
Optionally, the key parameters have two groups, and each group of key parameters corresponds to different application scenes, wherein the application scenes comprise a test environment and a production environment; the key parameters corresponding to the test environment comprise a test environment public key, and the key parameters corresponding to the production environment comprise a production environment public key and a production environment private key.
According to a fifth aspect of embodiments of the present disclosure, there is also provided an electronic device, including:
A processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the method of the first aspect.
According to a sixth aspect of embodiments of the present disclosure, there is also provided a storage medium, which when executed by a processor of an electronic device, causes the electronic device to perform the method of the first aspect.
According to a seventh aspect of embodiments of the present disclosure, there is provided a computer program product containing instructions which, when run on a computer, cause the computer to carry out the method of the first aspect.
In the technical scheme provided by the embodiment of the disclosure, the open application programming interface device responds to a creation instruction of a target application, acquires application information of the target application according to a preset application template, creates the target application, and generates key parameters of the target application; and further, in response to a call instruction of the target device to the target application, sending the application information and the key parameter to the target device so that the target device can butt-joint the application information based on the key parameter and a preset application template.
In this way, the key parameter is used as the unique inter-application association, after the target application is created by the open application programming interface device, the target device can automatically dock the application information of the target application based on the key parameter and the same preset application template, so that the target application can automatically realize the synchronization between the open application programming interface device and the target device without manual association and maintenance, thereby reducing the realization cost and maintenance difficulty of the cross-platform application and avoiding the cost of manual creation and maintenance and possible errors.
Drawings
FIG. 1 is a flowchart illustrating an application docking method according to an exemplary embodiment;
FIG. 2 is a flowchart illustrating another method of application docking according to an exemplary embodiment;
FIG. 3 is a logical schematic diagram illustrating a data synchronization process according to an example embodiment;
FIG. 4 is a block diagram of an application docking device, according to an example embodiment;
FIG. 5 is a block diagram of another application docking device shown in accordance with an exemplary embodiment;
FIG. 6 is a schematic diagram of an electronic device, according to an example embodiment;
fig. 7 is a block diagram of an apparatus according to an example embodiment.
Detailed Description
In order to enable those skilled in the art to better understand the technical solutions of the present disclosure, the technical solutions of the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the foregoing figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the disclosure described herein may be capable of operation in sequences other than those illustrated or described herein. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as detailed in the accompanying claims.
In order to solve the problem that a server in the related art receives a large amount of information acquisition requests at the same time and the load pressure is too high, embodiments of the present disclosure provide an application docking system, a method, a device, equipment and a storage medium.
In a first aspect, a detailed description will be given of an application docking method provided in an embodiment of the present disclosure.
As shown in fig. 1, a flowchart of an application docking method provided by an embodiment of the present disclosure is applied to an open application programming interface device, and specifically includes the following steps.
In S11, in response to a creation instruction of the target application, application information of the target application is obtained according to a preset application template, and the target application is created, so as to generate a key parameter of the target application.
The preset application template can be set according to different service requirements, and can include any one or more information of an application name, an application responsible person, a department and an application profile, which is not particularly limited. The open application programming interface device and the target device acquire and display application information based on the same preset application template, so that manual association work required by a developer can be reduced.
For example, the creation instruction may be triggered after the application management function page of the open application programming interface device clicks the "create application" button, and after clicking the "create application" button, a system popup is popped up, where application information may be input, including an application name, an application responsible person, a department, and an application profile.
In the present disclosure, the key parameters have two groups, each group of key parameters corresponds to a different application scenario, and the application scenario includes a test environment and a production environment; the key parameters corresponding to the test environment include a test environment public key, and the key parameters corresponding to the production environment include a production environment public key and a production environment private key.
In S12, in response to a call instruction from the target device to the target application, the application information and the key parameter are sent to the target device, so that the target device interfaces with the application information based on the key parameter and the preset application template.
For example, the application information may include application code and application name, and the key information may include production environment appKey, production environment SERCERKEY, and test environment appKey, expressed as:
{ "appCode": "apply coding",
"AppName": "application name",
"AppKey" production environment appKey ",
"SERCERKEY" production environment SERCERKEY ",
"APPKEYDEV": "test Environment appKey" }
After the target device is in butt joint with the application information based on the key parameters and the preset application template, the target application can be called, and various application information of the target application can be displayed, and each target device can call a plurality of target applications, so that cards of the plurality of target applications can be displayed on the application management page. Furthermore, by selecting any card, a setting interface for the target application can be entered, and application information of the target application can be edited and modified on the page. Wherein the key parameter is not modifiable, thereby ensuring a unique association between the key parameter and the target application.
In addition, in one implementation manner, the open application programming interface device may also receive application information and key parameters of an application to be synchronized, which are sent by the target device, where the application information of the application to be synchronized is acquired by the target device according to a preset application template; and then, according to the key parameter of the application to be synchronized and a preset application template, the application information of the application to be synchronized is docked, and the application to be synchronized is used as a target application.
That is, applications may be created at the target device and synchronized at the open application programming interface device. And the target device can only produce the key parameters corresponding to the created application in the application scene where the target device is located according to the different application scenes of the created application, and the key parameters corresponding to the created application in the other application scene are generated by the open application programming interface device.
Specifically, firstly, application information and an initial key parameter of an application to be synchronized, which are sent by a target device, can be received; then, according to the initial key parameter and a preset application template, the application information of the application to be synchronized is docked; generating synchronous key parameters corresponding to the initial key parameters, wherein the initial key parameters and the synchronous key parameters correspond to different application scenes; and further, taking the application to be synchronized as a target application, and returning the synchronization key parameter to the target device so that the target device reads and stores the synchronization key parameter.
For example, if the initial key parameter is a test environment public key, the open application programming interface device may generate a production environment public key and a production environment private key corresponding to the initial key parameter as the synchronization key parameter. Or if the initial key parameter is a production environment public key and a production environment private key, the open application programming interface device may generate a test environment public key corresponding to the initial key parameter as the synchronization key parameter.
In this way, the application to be synchronized created by the target device is synchronized by the open application programming interface device, and the corresponding production environment public key, production environment private key and test environment public key are provided, so that the open application programming interface device and other third party devices can be automatically associated.
For the application management interface of the open application programming interface device, the open application programming interface device serves as a transfer station of each application, and applications created by the open application programming interface device and other different target devices can be managed on the application management interface of the open application programming interface device. In the interface, information of an application name, an application responsible person, an application source, the number of accessed devices, update time, creator, and a affiliated department of each application may be presented. Meanwhile, key parameters of each application can be checked, application information can be edited, and target equipment accessed to the application can be managed.
In the present disclosure, data transmission between the open application programming interface device and the target device may be implemented using a distributed message system, that is, each time data is transmitted, a Kafka Topic message theme (Kafka Topic) corresponding to the transmitted data is carried as a tag corresponding to the data.
For example, kafka Topic may include the following:
the start-amc-openapi-sync representing test environment data sent from the target device to the open application programming interface device, including application code, application name, and test environment public key;
starting-openapi-amc-sync, representing test environment data sent from the open application programming interface device to the target device, including application code, application name, and test environment public key;
prod-amc-openapi-sync, representing production environment data sent from the target device to the open application programming interface device, including application code, application name, production environment public key, and production environment private key;
prod-openapi-amc-sync, representing the information sent from the open application programming interface device to the target device, including application code, application name, production environment public key, and production environment private key.
In view of the foregoing, in the technical solution provided in the embodiments of the present disclosure, the key parameter is used as a unique inter-application association, after the open application programming interface device creates the target application, the target device may automatically dock the application information of the target application based on the key parameter and the same preset application template, so that the target application automatically realizes synchronization between the open application programming interface device and the target device, without manual association and maintenance, thereby reducing implementation cost and maintenance difficulty of the cross-platform application, and avoiding cost of manual creation and maintenance and possible errors.
In a second aspect, an application docking method provided by an embodiment of the present disclosure will be described in detail.
As shown in fig. 2, a flowchart of an application docking method provided in an embodiment of the present disclosure is applied to a target device, and specifically includes the following steps.
In S21, a call instruction to the target application is sent to the open application programming interface device.
In this disclosure, a target application created by an open application programming interface device may be called by other devices.
In S22, application information and key parameters of the target application returned by the open application programming interface device are received, where the application information of the target application is acquired by the open application programming interface device according to a preset application template.
The open application programming interface device may send application information and key parameters to the target device in response to a call instruction from the target device to the target application. The application information of the target application may include any one or more of an application name, an application responsible person, a department, and an application profile, which is not limited in particular.
The key parameter of the target application is uniquely corresponding to the target application and can be used for subsequent authentication. The target device can receive the key parameter of the target application returned by the open application programming interface device, and send the key parameter of the target application to the authentication server, so that the authentication server returns token information to the open application programming interface device when the key parameter is queried; and then, the target equipment receives the token information returned by the open application programming interface equipment and accesses the open application programming interface equipment according to the token information so as to acquire the application information of the target application.
Thus, the authentication between the open application programming interface device and the target device is realized, thereby improving the security of data transmission.
The key parameters of the target application generally have two groups, each group of key parameters corresponds to different application scenarios, the application scenarios comprise a test environment and a production environment, the key parameters corresponding to the test environment comprise a test environment public key, and the key parameters corresponding to the production environment comprise a production environment public key and a production environment private key.
In S23, the application information of the target application is docked based on the key parameter of the target application and the preset application template.
In this step, the target device has two application scenarios, and then the application information of the target application can be docked based on the key parameter of the current application scenario of the target application corresponding to the application to be synchronized and the preset application template.
For example, if the target device is in the test environment, the target device may read the test environment public key of the target application and dock application information of the target application based on the test environment public key and the preset application template. Or if the target device is in the production environment, the target device may read the production environment public key and the production environment private key of the target application, and dock the application information of the target application based on the production environment public key, the production environment private key and the preset application template.
In addition, in one implementation, an application may also be created at the target device. Specifically, the target device may respond to a creation instruction of the application to be synchronized, acquire application information of the application to be synchronized according to a preset application template, create the application to be synchronized, and generate a key parameter of the application to be synchronized; and then, sending the application information and the key parameters of the application to be synchronized to the open application programming interface device, so that the open application programming interface device is used for receiving the application information of the application to be synchronized based on the key parameters of the application to be synchronized and a preset application template.
For example, the creation instruction may be triggered after the application management function page of the target device clicks the "create application" button, and after clicking the "create application" button, a system drawer pops up on the right side of the page, where application information may be input into the system drawer, including information such as an application name, an application description, a service type, a service department, an application administrator, and an application scenario.
In one implementation manner, the target device has two application scenarios, and the target device can generate an initial key parameter of the application to be synchronized, where the initial key parameter corresponds to a current application scenario of the application to be synchronized; then, the application information and the initial key parameters of the application to be synchronized are sent to the open application programming interface device, so that the open application programming interface device generates and returns the synchronous key parameters corresponding to the initial key parameters, and the initial key parameters and the synchronous key parameters correspond to different application scenes; further, the target device may read and store the synchronization key parameters.
For example, if the application scenario of the target device is a test scenario, the application information of the application to be synchronized may include an application code and an application name, and the initial key parameter may include a test environment public key, expressed as:
{ "appCode": "apply coding",
"AppName": "application name",
"APPKEYDEV": "test Environment appKey" }
After the open application programming interface device receives the initial key parameter of the application to be synchronized, a synchronization key parameter corresponding to the initial key parameter, namely a production environment public key and a production environment private key corresponding to the production environment, can be generated and returned, and is used as the synchronization key parameter, meanwhile, the returned synchronization key parameter also carries an application code and an application name so as to find out the corresponding device to be synchronized, and the method is expressed as:
{ "appCode": "apply coding",
"AppName": "application name",
"AppKey" production environment appKey ",
"SERCERKEY": "production Environment SERCERKEY" }
Or if the application scenario of the target device is a production scenario, the application information of the application to be synchronized may include an application code and an application name, and the initial key parameter may include a production environment public key and a production environment private key, expressed as:
{ "appCode": "apply coding",
"AppName": "application name",
"AppKey" production environment appKey ",
"SERCERKEY": "production Environment SERCERKEY" }
After the open application programming interface device receives the initial key parameter of the application to be synchronized, a synchronization key parameter corresponding to the initial key parameter, namely, a test environment public key corresponding to the test environment, can be generated and returned as the synchronization key parameter, and meanwhile, the returned synchronization key parameter also carries an application code and an application name so as to find out the corresponding device to be synchronized, which is expressed as:
{ "appCode": "apply coding",
"AppName": "application name",
"APPKEYDEV": "test Environment appKey" }
In view of the foregoing, in the technical solution provided in the embodiments of the present disclosure, the key parameter is used as a unique inter-application association, after the open application programming interface device creates the target application, the target device may automatically dock the application information of the target application based on the key parameter and the same preset application template, so that the target application automatically realizes synchronization between the open application programming interface device and the target device, without manual association and maintenance, thereby reducing implementation cost and maintenance difficulty of the cross-platform application, and avoiding cost of manual creation and maintenance and possible errors.
For example, as shown in fig. 3, a logic diagram of the data synchronization process in the present disclosure is shown.
After creating the target application, the open application programming interface device generates application information and two sets of key parameters, including appCode, appName, appKey, sercerKey and APPKEYDEV, and sends the application information and the two sets of key parameters to the test environment address and the production environment address of the target device respectively. Wherein the production message sent to the target device test environment address includes appCode, appName and APPKEYDEV, the test environment of the target device may consume the production message, thereby invoking the target service. The production message sent to the target device production environment address includes appCode, appName, appKey and SERCERKEY, which the production environment of the target device may consume to invoke the target service.
In addition, after the target device test environment creates the application, the application information and the test environment key parameters of the application to be synchronized are generated, including appCode, appName and APPKEYDEV, and a production message including the above information is sent from the target device test environment address to the open application programming interface device, where KafkaTopic of the production message is a starting-amc-openapi-sync. Then, the open application programming interface device consumes the start-amc-openapi-sync message and generates corresponding appKey and SERCETKEY, and sends a production message including all information of the applications to be synchronized to the target device production environment address, where KafkaTopic of the production message is prod-openapi-amc-sync. Furthermore, the target device production environment address may consume prod-openapi-amc-sync information, read the relevant information and store it.
Correspondingly, after the target device production environment creates the application, generating application information and production environment key parameters of the application to be synchronized, including appCode, appName, appKey and SERCETKEY, and sending a production message including the above information from the target device production environment address to the open application programming interface device, where KafkaTopic of the production message is prod-amc-openapi-sync. Then, the open application programming interface device consumes the prod-amc-openapi-sync message and generates a corresponding APPKEYDEV, and sends a production message including all information of the applications to be synchronized to the target device test environment address, where KafkaTopic of the production message is start-openapi-amc-sync. Furthermore, the target device production environment address may consume the starting-openapi-amc-sync information, read the relevant information and store it.
Therefore, the isolation between the data in different environments is broken, the data between the open application programming interface device and the target device can be communicated, the synchronous alignment of the data is realized, the manual operation is reduced, and the cost is greatly reduced. Only the data are encapsulated by the two sides of the open application programming interface device and the target device according to the convention, the data are sent to the convention position, all works are delivered to the automation for processing, real-time is almost achieved, working hours are reduced, meanwhile, the accuracy of the data is greatly improved, the data alignment among different environments of different systems can be achieved, and the unification of application data among all platforms is achieved.
In a third aspect, an application docking device provided in an embodiment of the present disclosure will be described in detail.
As shown in fig. 4, an application docking apparatus provided in an embodiment of the present disclosure is applied to an open application programming interface device, and includes:
a creating unit 301 configured to execute a creating instruction in response to a target application, obtain application information of the target application according to a preset application template, and create the target application, and generate a key parameter of the target application;
The docking unit 302 is configured to execute a call instruction responding to the target device to the target application, and send the application information and the key parameter to the target device, so that the target device docks the application information according to a preset application template based on the key parameter.
In one implementation, the apparatus further comprises:
the synchronization unit is configured to execute and receive application information and key parameters of an application to be synchronized, which are sent by the target equipment, wherein the application information of the application to be synchronized is acquired by the target equipment according to the preset application template; and according to the key parameter of the application to be synchronized and the preset application template, docking the application information of the application to be synchronized, and taking the application to be synchronized as a target application.
In one implementation, the synchronization unit is configured to perform:
receiving application information and initial key parameters of an application to be synchronized, which are sent by the target equipment;
according to the initial key parameter and the preset application template, docking the application information of the application to be synchronized;
generating a synchronous key parameter corresponding to the initial key parameter, wherein the initial key parameter and the synchronous key parameter correspond to different application scenes;
And taking the application to be synchronized as a target application, and returning the synchronization key parameter to the target equipment so as to enable the target equipment to read and store the synchronization key parameter.
In one implementation, the key parameters have two groups, and each group of key parameters corresponds to different application scenes, wherein the application scenes comprise a test environment and a production environment; the key parameters corresponding to the test environment comprise a test environment public key, and the key parameters corresponding to the production environment comprise a production environment public key and a production environment private key.
In view of the foregoing, in the technical solution provided in the embodiments of the present disclosure, the key parameter is used as a unique inter-application association, after the open application programming interface device creates the target application, the target device may automatically dock the application information of the target application based on the key parameter and the same preset application template, so that the target application automatically realizes synchronization between the open application programming interface device and the target device, without manual association and maintenance, thereby reducing implementation cost and maintenance difficulty of the cross-platform application, and avoiding cost of manual creation and maintenance and possible errors.
In a fourth aspect, an application docking device provided in an embodiment of the present disclosure will be described in detail.
As shown in fig. 5, an application docking apparatus provided in an embodiment of the present disclosure is applied to a target device, and includes:
A transmitting unit 401 configured to perform transmission of a call instruction for a target application to the open application programming interface device;
The receiving unit 402 is configured to perform receiving application information and key parameters of the target application returned by the open application programming interface device, where the application information of the target application is acquired by the open application programming interface device according to a preset application template;
And a docking unit 403 configured to perform docking of application information of the target application based on the key parameter of the target application and the preset application template.
In one implementation, the apparatus further comprises:
The synchronization unit is configured to execute a creation instruction responding to an application to be synchronized, acquire application information of the application to be synchronized according to the preset application template, create the application to be synchronized, and generate key parameters of the application to be synchronized; and sending the application information and the key parameters of the application to be synchronized to the open application programming interface device, so that the open application programming interface device is used for butting the application information of the application to be synchronized based on the key parameters of the application to be synchronized and the preset application template.
In one implementation, the target device has two application scenarios, and the synchronization unit is configured to perform:
Generating an initial key parameter of the application to be synchronized, wherein the initial key parameter corresponds to a current application scene of the application to be synchronized;
Transmitting the application information and the initial key parameters of the application to be synchronized to the open application programming interface device so that the open application programming interface device generates and returns the synchronous key parameters corresponding to the initial key parameters, wherein the initial key parameters and the synchronous key parameters correspond to different application scenes;
and reading and storing the synchronous key parameters.
In an implementation, the target device has two application scenarios, and the docking unit 403 is configured to perform:
And docking the application information of the target application based on the key parameter of the current application scene of the target application corresponding to the application to be synchronized.
In an implementation, the docking unit 403 is configured to perform:
sending the key parameter of the target application to an authentication server, so that the authentication server returns token information to the open application programming interface device under the condition that the key parameter is queried;
And receiving the token information returned by the open application programming interface device, and accessing the open application programming interface device according to the token information.
In one implementation, the key parameters have two groups, and each group of key parameters corresponds to different application scenes, wherein the application scenes comprise a test environment and a production environment; the key parameters corresponding to the test environment comprise a test environment public key, and the key parameters corresponding to the production environment comprise a production environment public key and a production environment private key.
In view of the foregoing, in the technical solution provided in the embodiments of the present disclosure, the key parameter is used as a unique inter-application association, after the open application programming interface device creates the target application, the target device may automatically dock the application information of the target application based on the key parameter and the same preset application template, so that the target application automatically realizes synchronization between the open application programming interface device and the target device, without manual association and maintenance, thereby reducing implementation cost and maintenance difficulty of the cross-platform application, and avoiding cost of manual creation and maintenance and possible errors.
In a fifth aspect, an electronic device provided in an embodiment of the present disclosure will be described in detail.
As shown in fig. 6, a schematic structural diagram of an electronic device is provided in an embodiment of the disclosure.
In an exemplary embodiment, a computer-readable storage medium is also provided, such as a memory, comprising instructions executable by a processor of an electronic device to perform the above-described method. Alternatively, the computer readable storage medium may be ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
In an exemplary embodiment, a computer program product is also provided which, when run on a computer, causes the computer to implement the method of application docking described above.
Fig. 7 is a block diagram of another apparatus 800, shown in accordance with an exemplary embodiment. For example, apparatus 800 may be a mobile phone, computer, digital broadcast electronic device, messaging device, game console, tablet device, medical device, exercise device, personal digital assistant, or the like.
Referring to fig. 7, apparatus 800 may include one or more of the following components: a processing component 802, a memory 804, a power component 806, a multimedia component 808, an audio component 810, an input/output (I/O) interface 812, a sensor component 814, and a communication component 816.
The processing component 802 generally controls overall operation of the apparatus 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to perform all or part of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interactions between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operations at the device 800. Examples of such data include instructions for any application or method operating on the device 800, contact data, phonebook data, messages, pictures, multimedia, and the like. The memory 804 may be implemented by any type or combination of volatile or nonvolatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
Power supply component 807 provides power to the various components of device 800. Power supply component 807 can include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for device 800.
The multimedia component 808 includes a screen between the device 800 and the user that provides an output interface. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may sense not only the boundary of a touch or slide action, but also the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front camera and/or a rear camera. The front camera and/or the rear camera may receive external multimedia data when the device 800 is in an operational mode, such as a photographing mode or a multimedia mode. Each front camera and rear camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the device 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may be further stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 further includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be a keyboard, click wheel, buttons, etc. These buttons may include, but are not limited to: homepage button, volume button, start button, and lock button.
The sensor assembly 814 includes one or more sensors for providing status assessment of various aspects of the apparatus 800. For example, the sensor assembly 814 may detect an on/off state of the device 800, a relative positioning of the components, such as a display and keypad of the apparatus 800, the sensor assembly 814 may also detect a change in position of the apparatus 800 or one component of the apparatus 800, the presence or absence of user contact with the apparatus 800, an orientation or acceleration/deceleration of the apparatus 800, and a change in temperature of the apparatus 800. The sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscopic sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate communication between the apparatus 800 and other devices, either in a wired or wireless manner. The device 800 may access a wireless network based on a communication standard, such as WiFi, an operator network (e.g., 2G, 3G, 4G, or 5G), or a combination thereof. In one exemplary embodiment, the communication component 816 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, the communication component 816 further includes a Near Field Communication (NFC) module to facilitate short range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra Wideband (UWB) technology, bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), digital Signal Processors (DSPs), digital Signal Processing Devices (DSPDs), programmable Logic Devices (PLDs), field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic elements for performing any of the application interfacing methods described above.
In an exemplary embodiment, a non-transitory computer readable storage medium is also provided, such as memory 804 including instructions executable by processor 820 of apparatus 800 to perform the above-described method. Alternatively, for example, the storage medium may be a non-transitory computer-readable storage medium, which may be, for example, ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, and the like.
According to a sixth aspect of embodiments of the present disclosure, there is provided a storage medium, which when executed by a processor of an electronic device, causes the electronic device to perform any of the application docking methods described above.
According to a seventh aspect of embodiments of the present disclosure, there is provided a computer program product containing instructions which, when run on a computer, cause the computer to implement any of the application docking methods described above.
In view of the foregoing, in the technical solution provided in the embodiments of the present disclosure, the key parameter is used as a unique inter-application association, after the open application programming interface device creates the target application, the target device may automatically dock the application information of the target application based on the key parameter and the same preset application template, so that the target application automatically realizes synchronization between the open application programming interface device and the target device, without manual association and maintenance, thereby reducing implementation cost and maintenance difficulty of the cross-platform application, and avoiding cost of manual creation and maintenance and possible errors.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any adaptations, uses, or adaptations of the disclosure following the general principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (23)

1. An application docking method for an open application programming interface device, the method comprising:
Responding to a creation instruction of a target application, acquiring application information of the target application according to a preset application template, creating the target application, and generating key parameters of the target application; the key parameters are in two groups, each group of key parameters corresponds to different application scenes, and the application scenes comprise a test environment and a production environment; the key parameters corresponding to the test environment comprise a test environment public key, and the key parameters corresponding to the production environment comprise a production environment public key and a production environment private key;
And responding to a call instruction of target equipment to the target application, and sending the application information and the key parameter to the target equipment so that the target equipment can butt-joint the application information based on the key parameter and the preset application template.
2. The method according to claim 1, wherein the method further comprises:
Receiving application information and key parameters of an application to be synchronized, which are sent by the target equipment, wherein the application information of the application to be synchronized is acquired by the target equipment according to the preset application template;
and according to the key parameter of the application to be synchronized and the preset application template, docking the application information of the application to be synchronized, and taking the application to be synchronized as a target application.
3. The method of claim 2, wherein receiving application information and key parameters of an application to be synchronized comprises:
receiving application information and initial key parameters of an application to be synchronized, which are sent by the target equipment;
The step of docking the application information of the application to be synchronized according to the key parameter of the application to be synchronized and the preset application template, and taking the application to be synchronized as a target application comprises the following steps:
according to the initial key parameter and the preset application template, docking the application information of the application to be synchronized;
generating a synchronous key parameter corresponding to the initial key parameter, wherein the initial key parameter and the synchronous key parameter correspond to different application scenes;
And taking the application to be synchronized as a target application, and returning the synchronization key parameter to the target equipment so as to enable the target equipment to read and store the synchronization key parameter.
4. A method according to any one of claims 1 to 3, wherein the key parameters have two groups, each group of key parameters respectively corresponding to a different application scenario, the application scenario comprising a test environment and a production environment; the key parameters corresponding to the test environment comprise a test environment public key, and the key parameters corresponding to the production environment comprise a production environment public key and a production environment private key.
5. An application docking method, for application to a target device, the method comprising:
sending a call instruction for a target application to an open application programming interface device;
Receiving application information and key parameters of the target application returned by the open application programming interface device, wherein the application information of the target application is acquired by the open application programming interface device according to a preset application template; the key parameters are in two groups, each group of key parameters corresponds to different application scenes, and the application scenes comprise a test environment and a production environment; the key parameters corresponding to the test environment comprise a test environment public key, and the key parameters corresponding to the production environment comprise a production environment public key and a production environment private key;
and docking the application information of the target application based on the key parameter of the target application and the preset application template.
6. The method of claim 5, wherein the method further comprises:
Responding to a creation instruction of an application to be synchronized, acquiring application information of the application to be synchronized according to the preset application template, creating the application to be synchronized, and generating key parameters of the application to be synchronized;
And sending the application information and the key parameters of the application to be synchronized to the open application programming interface device, so that the open application programming interface device is used for butting the application information of the application to be synchronized based on the key parameters of the application to be synchronized and the preset application template.
7. The method of claim 6, wherein the target device has two application scenarios, and the generating the key parameter of the application to be synchronized comprises:
Generating an initial key parameter of the application to be synchronized, wherein the initial key parameter corresponds to a current application scene of the application to be synchronized;
the sending the application information and the key parameter of the application to be synchronized to the open application programming interface device includes:
Transmitting the application information and the initial key parameters of the application to be synchronized to the open application programming interface device so that the open application programming interface device generates and returns the synchronous key parameters corresponding to the initial key parameters, wherein the initial key parameters and the synchronous key parameters correspond to different application scenes;
and reading and storing the synchronous key parameters.
8. The method according to claim 5, wherein the target device has two application scenarios, and the interfacing the application information of the target application based on the key parameter of the target application and the preset application template includes:
and docking the application information of the target application based on the key parameter of the current application scene of the target application corresponding to the application to be synchronized and the preset application template.
9. The method of claim 5, wherein receiving the application information and key parameters of the target application returned by the open application programming interface device comprises:
Receiving a key parameter of the target application returned by the open application programming interface device, and sending the key parameter of the target application to an authentication server, so that the authentication server returns token information to the open application programming interface device under the condition that the authentication server inquires the key parameter;
and receiving the token information returned by the open application programming interface device, and accessing the open application programming interface device according to the token information to acquire the application information of the target application.
10. The method according to any one of claims 5 to 9, wherein the key parameters have two groups, each group of key parameters respectively corresponding to a different application scenario, the application scenario including a test environment and a production environment; the key parameters corresponding to the test environment comprise a test environment public key, and the key parameters corresponding to the production environment comprise a production environment public key and a production environment private key.
11. An application docking apparatus for application to an open application programming interface device, the apparatus comprising:
The creation unit is configured to execute a creation instruction responding to a target application, acquire application information of the target application according to a preset application template, create the target application and generate key parameters of the target application; the key parameters are in two groups, each group of key parameters corresponds to different application scenes, and the application scenes comprise a test environment and a production environment; the key parameters corresponding to the test environment comprise a test environment public key, and the key parameters corresponding to the production environment comprise a production environment public key and a production environment private key;
And the docking unit is configured to execute a call instruction responding to the target device to the target application, and send the application information and the key parameter to the target device so that the target device docks the application information according to a preset application template based on the key parameter.
12. The apparatus of claim 11, wherein the apparatus further comprises:
the synchronization unit is configured to execute and receive application information and key parameters of an application to be synchronized, which are sent by the target equipment, wherein the application information of the application to be synchronized is acquired by the target equipment according to the preset application template; and according to the key parameter of the application to be synchronized and the preset application template, docking the application information of the application to be synchronized, and taking the application to be synchronized as a target application.
13. The apparatus of claim 12, wherein the synchronization unit is configured to perform:
receiving application information and initial key parameters of an application to be synchronized, which are sent by the target equipment;
according to the initial key parameter and the preset application template, docking the application information of the application to be synchronized;
generating a synchronous key parameter corresponding to the initial key parameter, wherein the initial key parameter and the synchronous key parameter correspond to different application scenes;
And taking the application to be synchronized as a target application, and returning the synchronization key parameter to the target equipment so as to enable the target equipment to read and store the synchronization key parameter.
14. The apparatus according to any one of claims 11 to 13, wherein the key parameters have two groups, each group of key parameters respectively corresponding to a different application scenario, the application scenario including a test environment and a production environment; the key parameters corresponding to the test environment comprise a test environment public key, and the key parameters corresponding to the production environment comprise a production environment public key and a production environment private key.
15. An application docking apparatus for application to a target device, the apparatus comprising:
a transmitting unit configured to execute a call instruction for transmitting the target application to the open application programming interface device;
The receiving unit is configured to execute and receive the application information and the key parameter of the target application returned by the open application programming interface device, wherein the application information of the target application is acquired by the open application programming interface device according to a preset application template; the key parameters are in two groups, each group of key parameters corresponds to different application scenes, and the application scenes comprise a test environment and a production environment; the key parameters corresponding to the test environment comprise a test environment public key, and the key parameters corresponding to the production environment comprise a production environment public key and a production environment private key;
and the docking unit is configured to perform docking of the application information of the target application based on the key parameter of the target application and the preset application template.
16. The apparatus of claim 15, wherein the apparatus further comprises:
The synchronization unit is configured to execute a creation instruction responding to an application to be synchronized, acquire application information of the application to be synchronized according to the preset application template, create the application to be synchronized, and generate key parameters of the application to be synchronized; and sending the application information and the key parameters of the application to be synchronized to the open application programming interface device, so that the open application programming interface device is used for butting the application information of the application to be synchronized based on the key parameters of the application to be synchronized and the preset application template.
17. The apparatus of claim 16, wherein the target device has two application scenarios, the synchronization unit configured to perform:
Generating an initial key parameter of the application to be synchronized, wherein the initial key parameter corresponds to a current application scene of the application to be synchronized;
Transmitting the application information and the initial key parameters of the application to be synchronized to the open application programming interface device so that the open application programming interface device generates and returns the synchronous key parameters corresponding to the initial key parameters, wherein the initial key parameters and the synchronous key parameters correspond to different application scenes;
and reading and storing the synchronous key parameters.
18. The apparatus of claim 15, wherein the target device has two application scenarios, the docking unit configured to perform:
and docking the application information of the target application based on the key parameter of the current application scene of the target application corresponding to the application to be synchronized and the preset application template.
19. The apparatus of claim 15, wherein the docking unit is configured to perform:
sending the key parameter of the target application to an authentication server, so that the authentication server returns token information to the open application programming interface device under the condition that the key parameter is queried;
And receiving the token information returned by the open application programming interface device, and accessing the open application programming interface device according to the token information.
20. The apparatus according to any one of claims 15 to 19, wherein the key parameters have two groups, each group of key parameters respectively corresponding to a different application scenario, the application scenario including a test environment and a production environment; the key parameters corresponding to the test environment comprise a test environment public key, and the key parameters corresponding to the production environment comprise a production environment public key and a production environment private key.
21. An electronic device, comprising:
A processor;
a memory for storing the processor-executable instructions;
Wherein the processor is configured to execute the instructions to implement the application docking method of any one of claims 1 to 4 or 5 to 10.
22. A storage medium, wherein instructions in the storage medium, when executed by a processor of an electronic device, enable the electronic device to perform the application interfacing method of any one of claims 1-4 or 5-10.
23. A computer program product comprising a computer program, characterized in that the computer program, when executed by a processor, implements the application interfacing method of any one of claims 1 to 4 or 5 to 10.
CN202111681453.1A 2021-12-31 2021-12-31 Application docking method, device, equipment and storage medium Active CN114443161B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111681453.1A CN114443161B (en) 2021-12-31 2021-12-31 Application docking method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111681453.1A CN114443161B (en) 2021-12-31 2021-12-31 Application docking method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN114443161A CN114443161A (en) 2022-05-06
CN114443161B true CN114443161B (en) 2024-05-28

Family

ID=81365840

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111681453.1A Active CN114443161B (en) 2021-12-31 2021-12-31 Application docking method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114443161B (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106372497A (en) * 2016-08-31 2017-02-01 北京深思数盾科技股份有限公司 Application programming interface (API) protection method and device
CN106506494A (en) * 2016-10-27 2017-03-15 上海斐讯数据通信技术有限公司 Application access method of open platform
CN107911381A (en) * 2017-12-01 2018-04-13 济南浪潮高新科技投资发展有限公司 Access method, system, server-side and the client of application programming interface
CN108509799A (en) * 2017-02-23 2018-09-07 珠海金山办公软件有限公司 A kind of template document acquisition methods, apparatus and system
CN109639419A (en) * 2018-12-29 2019-04-16 北京深思数盾科技股份有限公司 Cryptographic key protection method, cipher key storage device and terminal device
US10585727B1 (en) * 2015-06-08 2020-03-10 Google Llc API manager
CN110874217A (en) * 2019-11-18 2020-03-10 北京小米移动软件有限公司 Interface display method and device for fast application and storage medium
CN111443976A (en) * 2020-03-30 2020-07-24 腾讯科技(深圳)有限公司 Application program generation method and device, electronic equipment and storage medium
CN112733107A (en) * 2021-04-02 2021-04-30 腾讯科技(深圳)有限公司 Information verification method, related device, equipment and storage medium
CN113312083A (en) * 2020-07-14 2021-08-27 阿里巴巴集团控股有限公司 Application generation method, device and equipment
CN113609213A (en) * 2021-07-01 2021-11-05 深圳数字电视国家工程实验室股份有限公司 Method, system, device and storage medium for synchronizing device keys

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090077371A1 (en) * 2007-09-14 2009-03-19 Valicore Technologies, Inc. Systems and methods for a template-based encryption management system

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10585727B1 (en) * 2015-06-08 2020-03-10 Google Llc API manager
CN106372497A (en) * 2016-08-31 2017-02-01 北京深思数盾科技股份有限公司 Application programming interface (API) protection method and device
CN106506494A (en) * 2016-10-27 2017-03-15 上海斐讯数据通信技术有限公司 Application access method of open platform
CN108509799A (en) * 2017-02-23 2018-09-07 珠海金山办公软件有限公司 A kind of template document acquisition methods, apparatus and system
CN107911381A (en) * 2017-12-01 2018-04-13 济南浪潮高新科技投资发展有限公司 Access method, system, server-side and the client of application programming interface
CN109639419A (en) * 2018-12-29 2019-04-16 北京深思数盾科技股份有限公司 Cryptographic key protection method, cipher key storage device and terminal device
CN110874217A (en) * 2019-11-18 2020-03-10 北京小米移动软件有限公司 Interface display method and device for fast application and storage medium
CN111443976A (en) * 2020-03-30 2020-07-24 腾讯科技(深圳)有限公司 Application program generation method and device, electronic equipment and storage medium
CN113312083A (en) * 2020-07-14 2021-08-27 阿里巴巴集团控股有限公司 Application generation method, device and equipment
CN112733107A (en) * 2021-04-02 2021-04-30 腾讯科技(深圳)有限公司 Information verification method, related device, equipment and storage medium
CN113609213A (en) * 2021-07-01 2021-11-05 深圳数字电视国家工程实验室股份有限公司 Method, system, device and storage medium for synchronizing device keys

Also Published As

Publication number Publication date
CN114443161A (en) 2022-05-06

Similar Documents

Publication Publication Date Title
CN110659028B (en) Data processing system, method, device, electronic equipment and storage medium
CN109117144B (en) Page processing method, device, terminal and storage medium
CN107562500B (en) Debugging device, method and equipment
CN107463372B (en) Data-driven page updating method and device
CN115185717A (en) Interface calling method and device, electronic equipment and storage medium
CN105183571A (en) Function calling method and device
CN110704030A (en) Interface configuration information generation method and device, electronic equipment and storage medium
CN111343481A (en) Data sharing method and device, electronic equipment and storage medium
CN114443161B (en) Application docking method, device, equipment and storage medium
CN116089099A (en) Communication method, device, electronic equipment and storage medium
CN112651012B (en) Information processing method and device
CN110874143B (en) Sensor data acquisition method, intelligent terminal, storage medium and electronic equipment
CN111131000B (en) Information transmission method, device, server and terminal
CN109032583B (en) Data interaction method and device
CN116893816B (en) Remote rendering method, device and storage medium
CN110995767B (en) Request processing method and device
CN111596949B (en) Method and device for developing application program
CN111538544B (en) Method and device for displaying configuration data, electronic equipment and storage medium
CN111221512B (en) Function module mixed use method, electronic device and storage medium
CN107784224B (en) Permission adaptation method and device and electronic equipment
CN107766099B (en) Application double-opening method and device
CN117112416A (en) Baffle-based interface test, device, equipment and storage medium
CN117369881A (en) Start control method, start control device, electronic equipment, readable storage medium and chip
CN114816390A (en) Display method, device and equipment of function page and storage medium
CN118101659A (en) Load balancing task issuing method and device, computer 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