CN111262819B - VOIP SDK access control method and device - Google Patents
VOIP SDK access control method and device Download PDFInfo
- Publication number
- CN111262819B CN111262819B CN201811459627.8A CN201811459627A CN111262819B CN 111262819 B CN111262819 B CN 111262819B CN 201811459627 A CN201811459627 A CN 201811459627A CN 111262819 B CN111262819 B CN 111262819B
- Authority
- CN
- China
- Prior art keywords
- audio
- sdk
- voip
- open platform
- video capability
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
- H04L63/083—Network architectures or network communication protocols for network security for authentication of entities using passwords
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/50—Address allocation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
- H04L63/0876—Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/12—Applying verification of the received information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
- H04L67/025—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/06—Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
- H04L67/146—Markers for unambiguous identification of a particular session, e.g. session cookie or URL-encoding
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/2866—Architectures; Arrangements
- H04L67/30—Profiles
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/60—Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
- H04L67/63—Routing a service request depending on the request content or context
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/16—Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
- H04L69/163—In-band adaptation of TCP data exchange; In-band control procedures
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M7/00—Arrangements for interconnection between switching centres
- H04M7/006—Networks other than PSTN/ISDN providing telephone service, e.g. Voice over Internet Protocol (VoIP), including next generation networks with a packet-switched transport layer
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M7/00—Arrangements for interconnection between switching centres
- H04M7/006—Networks other than PSTN/ISDN providing telephone service, e.g. Voice over Internet Protocol (VoIP), including next generation networks with a packet-switched transport layer
- H04M7/0081—Network operation, administration, maintenance, or provisioning
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Computer Hardware Design (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Power Engineering (AREA)
- Telephonic Communication Services (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The invention discloses a VOIP SDK access control method and a device, which are used for solving the problem of complex application development process caused by inflexible control on VOIP SDK access in the conventional VOIP SDK access control method. The method comprises the following steps: receiving a VOIP SDK access and audio/video capability open platform service request sent by an application development terminal, wherein the request carries an application identifier using the VOIP SDK, a requested application function and an audio/video service validity period; distributing an application software identification code corresponding to an application identifier, a password, a valid period and a function set of the application software identification code, wherein the function set comprises a requested application function; configuring an audio and video capability open platform address for the VOIP SDK according to the application software identification code; and sending the application software identification code and the password, the valid period, the function set and the audio and video capability open platform address thereof to an application development terminal, and controlling the application development terminal to access according to the audio and video capability open platform address.
Description
Technical Field
The invention relates to the technical field of communication, in particular to a VOIP SDK access control method and device.
Background
At present, a plurality of service applications, community friend-making applications and enterprise office applications exist in the mobile application market, and various communication modes such as texts, pictures, audio and video short messages, audio and video calls and the like are provided for users. The real-time audio and video call is realized by adopting a terminal integrated VOIP (Voice over Internet Protocol, Voice transmission based on a network Protocol) SDK (Software Development Kit) and accessing an audio and video capability open platform. The audio and video capability open platform is generally developed and operated by a professional audio and video communication service provider, a terminal VOIP SDK is developed and integrally supported, other applications only need to integrate a VOIP SDK library into respective applications according to VOIP SDK access specifications, then the audio and video capability open platform distributes VOIP SDK access authority and account numbers for the applications so that the applications can use audio and video communication functions, and the audio and video communication service provider can control the legality of the VOIP SDK access to the audio and video capability open platform and control the coverage range, version, function authority of the VOIP SDK terminal, the service providing time and the like.
In a traditional audio and video capability open platform, the method of customizing versions, generating configuration files and the like is generally adopted for controlling the access authority of the VOIP SDK, specifically, an application developer applies the VOIP SDK to the audio and video capability open platform through an application development terminal, and reports the scale, functions (such as audio call, video call, multi-party call, live broadcast and the like) and time period of a user; the audio and video capability open platform configures address information of the audio and video capability open platform according to application information provided by an application developer, generates a configuration file and a VOIP SDK, and sends the configuration file and the VOIP SDK to the application developer; an application developer imports a VOIP SDK and a configuration file into an application development project and carries out coding integration according to an SDK integration specification; and (5) after the application development is completed, the application is on line.
However, in the above existing VOIP SDK access control method, the access service provided by the audio and video communication operator for the application developer is configured in advance, and there is a problem that the VOIP SDK access control is not flexible. Because the function required by development is declared in advance, the audio and video capability open platform is issued to the terminal in a file authorization mode, the VOIP SDK adopts a customized version, when other functions are closed and opened at the later stage, the configuration file or the authorization file must be generated again and loaded to the local of the terminal, and the SDK parameters are re-developed and configured, so that the development, debugging and testing time period is long, and the method is unfavorable for the online operation and popularization of the service.
Disclosure of Invention
In order to solve the problem that the application development process is complex due to the fact that the existing VOIP SDK access control method is inflexible in controlling the VOIP SDK access, the embodiment of the invention provides a VOIP SDK access control method and a device.
In a first aspect, an embodiment of the present invention provides a VOIP SDK access control method, including:
the method comprises the steps that an SDK cloud management platform receives a VOIP SDK access and audio and video capability open platform service request sent by an application development terminal, wherein the request carries an application identifier using the VOIP SDK, a requested application function and an audio and video service validity period;
distributing an application software identification code (Appkey) corresponding to the application identifier, a password of the Appkey, an effective period of the Appkey and a function set for the application development terminal, wherein the function set comprises the requested application function;
configuring an audio and video capability open platform address for the VOIP SDK according to the Appkey;
and sending the Appkey, the password, the valid period of the Appkey, the function set and the audio and video capability open platform address to the application development terminal, and controlling the application development terminal to access according to the audio and video capability open platform address so as to use audio and video services.
By adopting the VOIP SDK access control method provided by the embodiment of the invention, an application developer sends a VOIP SDK access and audio/video capability open platform service request to an SDK cloud management platform through an application development terminal, wherein the request carries an application identifier using the VOIP SDK, a requested application function and an audio/video service validity period, after the SDK cloud management platform receives the request, the application development terminal is allocated with an application software identification code Appkey corresponding to the application identifier, a password of the Appkey, the validity period of the Appkey and a function set, the function set comprises the requested application function, an audio/video capability open platform address is configured for the VOIP SDK according to the Appkey, and then the Appkey, the password, the validity period of the Appkey, the function set and the audio/video capability open platform address are sent to the application development terminal, and controlling the application development terminal to open the platform address access according to the audio and video capability so as to use the audio and video service. Compared with the prior art, in the VOIP SDK access control method provided by the embodiment of the invention, the VOIP SDK is issued by adopting the SDK cloud management platform, the issued versions are uniform, customized versions do not need to be provided for specific applications or application developers, the function set is issued through cloud configuration, the application developers apply VOIP SDK access and audio/video capability platform services to the SDK cloud management platform, and the audio/video communication service providers distribute the Appkey, configure VOIP SDK permission, the function set and the valid period to the application developers through the SDK cloud management platform, so that the VOIP SDK access is flexibly controlled, further the application integration is controlled in the whole process, and the application opening process is simplified.
Optionally, before the SDK cloud management platform receives the VOIP SDK access and audio/video capability open platform service request sent by the application development terminal, the method further includes:
receiving a development account application request of the application development terminal;
distributing a development account number for the application development terminal;
and sending the development account to the application development terminal.
Optionally, the method further comprises:
and carrying out validity verification on the VOIP SDK.
The optional manner is characterized in that after the application development terminal integrates the VOIP SDK in the application, the validity of the VOIP SDK needs to be verified.
Preferably, the validity verification of the VOIP SDK specifically includes:
receiving an address query request of an audio and video capability open platform sent by the VOIP SDK, wherein the query request carries the Appkey information of an application using the VOIP SDK;
determining an audio and video capability open platform address corresponding to the Apkey according to the corresponding relation between the stored Apkey and the audio and video capability open platform address;
returning the audio and video capability open platform address to the VOIP SDK so that the VOIP SDK sends a Transmission Control Protocol (TCP) connection request to the audio and video capability open platform, and returning a TCP connection identification code to the VOIP SDK by the audio and video capability open platform, wherein the identification code is generated by encrypting the current time of the audio and video capability open platform, the Media Access Control (MAC) address of the audio and video capability open platform and the terminal connection address of the VOIP SDK according to a first preset encryption algorithm by the audio and video capability open platform;
receiving the identification code and a first encryption character string sent by the audio and video capability open platform, wherein the first encryption character string is generated by encrypting the app, the password and the identification code by the VOIP SDK according to a second preset encryption algorithm and is carried in a verification request to be sent to the audio and video capability open platform;
and verifying the first encryption character string according to the locally stored Appkey, password of the Appkey and the identification code.
The preferable mode representation can be realized by completing the validity verification of the app key through the SDK cloud management platform after the VOIP SDK and the audio and video capability open platform establish TCP (Transmission Control Protocol) connection, and the method does not depend on customizing the VOIP SDK version and generating a management configuration file, and is realized by adopting cloud platform configuration and cloud verification modes, thereby increasing the management flexibility of the VOIP SDK, improving the integration efficiency of the VOIP SDK and realizing the quick release and online of services.
Preferably, the verifying the first encrypted string according to the locally stored app key, password of the app key, and the identification code specifically includes:
encrypting the locally stored Appkey, password of the Appkey and the identification code according to the second preset encryption algorithm to generate a second encryption character string;
comparing the second encrypted character string with the first encrypted character string to obtain a comparison result;
if the comparison result is consistent and within the validity period, the verification is successful;
and if the comparison result is inconsistent or not within the validity period, the verification fails.
Optionally, the method further comprises:
when the verification is successful, returning a verification success response message to the audio and video capability open platform, and distributing a temporary Token for the VOIP SDK by the audio and video capability open platform;
and when the verification fails, returning a verification failure response message to the audio and video capability open platform, and disconnecting the TCP connection with the VOIP SDK by the audio and video capability open platform.
In a second aspect, an embodiment of the present invention provides a VOIP SDK access control apparatus, including:
the device comprises a first receiving unit, a second receiving unit and a third receiving unit, wherein the first receiving unit is used for receiving a VOIP SDK access and audio/video capability open platform service request sent by an application development terminal, and the request carries an application identifier using the VOIP SDK, a requested application function and an audio/video service validity period;
the first allocation unit is used for allocating an application software identification code Appkey corresponding to the application identifier, a password of the Appkey, an effective period of the Appkey and a function set to the application development terminal, wherein the function set comprises the requested application function;
the configuration unit is used for configuring an audio and video capability open platform address for the VOIP SDK according to the app;
and the control unit is used for sending the Apkey, the password, the valid period of the Apkey, the function set and the audio and video capability open platform address to the application development terminal, and controlling the application development terminal to access according to the audio and video capability open platform address so as to use audio and video services.
Optionally, the apparatus further comprises:
the second receiving unit is used for receiving a request for applying a development account of the application development terminal before the SDK cloud management platform receives a VOIP SDK access and audio/video capability open platform service request sent by the application development terminal;
the second distribution unit is used for distributing a development account number for the application development terminal;
and the sending unit is used for sending the development account to the application development terminal.
Optionally, the apparatus further comprises:
and the verification unit is used for carrying out validity verification on the VOIP SDK.
Preferably, the verification unit is specifically configured to receive an address query request of an audio/video capability open platform sent by the VOIP SDK, where the query request carries app information of an application using the VOIP SDK; determining an audio and video capability open platform address corresponding to the Apkey according to the corresponding relation between the stored Apkey and the audio and video capability open platform address; returning the audio and video capability open platform address to the VOIP SDK so that the VOIP SDK sends a Transmission Control Protocol (TCP) connection request to the audio and video capability open platform, and returning a TCP connection identification code to the VOIP SDK by the audio and video capability open platform, wherein the identification code is generated by encrypting the current time of the audio and video capability open platform, the Media Access Control (MAC) address of the audio and video capability open platform and the terminal connection address of the VOIP SDK according to a first preset encryption algorithm by the audio and video capability open platform; receiving the identification code and a first encryption character string sent by the audio and video capability open platform, wherein the first encryption character string is generated by encrypting the app, the password and the identification code by the VOIP SDK according to a second preset encryption algorithm and is carried in a verification request to be sent to the audio and video capability open platform; and verifying the first encryption character string according to the locally stored Appkey, password of the Appkey and the identification code.
Preferably, the verification unit is specifically configured to encrypt the locally stored app key, password of the app key, and the identification code according to the second preset encryption algorithm, so as to generate a second encryption character string; comparing the second encrypted character string with the first encrypted character string to obtain a comparison result; if the comparison result is consistent and within the validity period, the verification is successful; and if the comparison result is inconsistent or not within the validity period, the verification fails.
Optionally, the apparatus further comprises:
the return unit is used for returning a verification success response message to the audio and video capability open platform when the verification is successful, and the audio and video capability open platform distributes a temporary Token for the VOIP SDK;
and when the verification fails, returning a verification failure response message to the audio and video capability open platform, and disconnecting the TCP connection with the VOIP SDK by the audio and video capability open platform.
The technical effects of the VOIP SDK access control apparatus provided by the present invention can be seen in the technical effects of the first aspect or the implementation manners of the first aspect, which are not described herein again.
In a third aspect, an embodiment of the present invention provides a communication device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the VOIP SDK access control method according to the present invention when executing the program.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps in the VOIP SDK access control method according to the present invention.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the invention and not to limit the invention. In the drawings:
fig. 1 is a schematic view of an application scenario of the VOIP SDK access control method according to an embodiment of the present invention;
fig. 2 is a schematic diagram of an implementation flow of a VOIP SDK access control method according to an embodiment of the present invention;
fig. 3 is a schematic diagram illustrating an implementation flow of validity verification for VOIP SDK in the embodiment of the present invention;
fig. 4 is a schematic structural diagram of a VOIP SDK access control device according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a communication device according to an embodiment of the present invention.
Detailed Description
The invention provides a VOIP SDK access control method and a device, aiming at solving the problem of complex application development process caused by inflexible VOIP SDK access control of the existing VOIP SDK access control method.
The implementation principle of the VOIP SDK access control method provided by the embodiment of the invention is as follows: an application developer sends a VOIP SDK access and audio/video capability open platform service request to an SDK cloud management platform through an application development terminal, wherein the request carries an application identifier using the VOIP SDK, a requested application function and an audio/video service validity period, after the SDK cloud management platform receives the request, an application software identification code Appkey corresponding to the application identifier, a password of the Appkey, the validity period of the Appkey and a function set are distributed to the application development terminal, the function set comprises the requested application function, an audio/video capability open platform address is configured for the VOIP SDK according to the Appkey, and then the Appkey, the password, the validity period of the Appkey, the function set and the audio/video capability open platform address are sent to the application development terminal to control the application development terminal to open platform address access according to the audio/video capability, to use the audio-video service. Compared with the prior art, in the VOIP SDK access control method provided by the embodiment of the invention, the VOIP SDK is issued by adopting the SDK cloud management platform, the issued versions are uniform, customized versions do not need to be provided for specific applications or application developers, the function set is issued through cloud configuration, the application developers apply VOIP SDK access and audio/video capability platform services to the SDK cloud management platform, and the audio/video communication service providers distribute the Appkey, configure VOIP SDK permission, the function set and the valid period to the application developers through the SDK cloud management platform, so that the VOIP SDK access is flexibly controlled, further the application integration is controlled in the whole process, and the application opening process is simplified.
The preferred embodiments of the present invention will be described below with reference to the accompanying drawings of the specification, it being understood that the preferred embodiments described herein are merely for illustrating and explaining the present invention, and are not intended to limit the present invention, and that the embodiments and features of the embodiments in the present invention may be combined with each other without conflict.
Fig. 1 is a schematic view of an application scenario of the VOIP SDK access control method according to an embodiment of the present invention. The SDK cloud management platform 12 provides VOIP SDK version release and download service, VOIP SDK authority management, VOIP SDK access verification, policy configuration, release and other functions, distributes a unique application software identification code (Apkey) for each application using the VOIP SDK access audio/video capability open platform 13, and distributes a password, valid time of the Apkey, a function set and the like for the Apkey. An application developer firstly applies for a developer account number from an SDK cloud management platform 12 through an application development terminal 11, after the account number is successfully applied, the SDK cloud management platform 12 applies for VOIP SDK access and audio and video capability open platform service, the SDK cloud management platform 12 allocates an app, the password of the app and the valid period and function set of the app for the application development terminal 11, and configures an audio and video capability open platform address for the VOIP SDK according to the app, namely one app corresponds to one audio and video capability open platform address, the SDK cloud management platform 12 sends the corresponding relation between the app and the audio and video capability open platform address, the password of the app and the valid period of the app to the audio and video capability open platform 13 for storage, and the application development terminal 11 uses the audio and video service according to the allocated audio and video capability open platform address access. An application developer downloads the VOIP SDK from the SDK cloud management platform 12 through the application development terminal 11, integrates the VOIP SDK into the application, and can release the application online after the development and the test are completed. When the application is started on the terminal 14, the application and password parameters returned by the SDK cloud management platform 12 are transmitted to initialize the VOIP SDK, after the initialization of the VOIP SDK is completed, TCP connection is established and logging is carried out with the audio and video capability open platform 13, the VOIP SDK uses the initially set application and password information to submit to the SDK cloud management platform 12 for validity verification, when the validity verification is passed, corresponding functions and services in the function set can be used, and if the verification is failed, the connection with the audio and video capability open platform 13 is disconnected.
In the following, in conjunction with the application scenario of fig. 1, a VOIP SDK access control method according to an exemplary embodiment of the present invention is described with reference to fig. 2 to 3. It should be noted that the above application scenarios are only presented to facilitate understanding of the spirit and principles of the present invention, and the embodiments of the present invention are not limited in any way herein. Rather, embodiments of the present invention may be applied to any scenario where applicable.
As shown in fig. 2, which is a schematic diagram of an implementation flow of the VOIP SDK access control method provided in the embodiment of the present invention, the implementation flow may include the following steps:
s21, the SDK cloud management platform receives a VOIP SDK access and audio and video capability open platform service request sent by the application development terminal, wherein the request carries an application identifier using the VOIP SDK, a requested application function and an audio and video service validity period.
In specific implementation, before an application developer sends a request for applying a development account to an SDK cloud management platform before sending a VOIP SDK access and audio/video capability open platform service to the SDK cloud management platform through an application development terminal, the SDK cloud management platform allocates the development account to the application development terminal and sends the development account to the application development terminal, and then the application developer sends a request for applying the VOIP SDK access and audio/video capability open platform service to the SDK cloud management platform through the application development terminal, wherein the request carries an application identifier using the VOIP SDK, a requested application function and an audio/video service validity period, and the request can also carry requested user scale information.
S22, distributing an application software identification code (Appkey) corresponding to the application identifier, a password of the Appkey, an effective period of the Appkey and a function set for the application development terminal, wherein the function set comprises the requested application function.
In specific implementation, the SDK cloud management platform allocates an application software identification code (Apkey) corresponding to an application identifier to an application development terminal according to the application developer requesting to use the application identifier of the VOIP SDK through the application development terminal, allocates a corresponding password to the Apkey, allocates an effective period to the Apkey according to the requested audio and video service effective period, and allocates a function set to the application development terminal according to the requested application function, namely the function set comprises the requested application function. The application and password of each application are unique in the whole network, and each application developer account can apply for a plurality of applications.
As shown in table 1, an example of the validity period and the function set of the app, the password, and the app allocated to the application development terminal for the SDK cloud management platform is as follows:
the creating time is the creating time of the app, the time limit between the creating time and the ending time is the valid time limit of the app, the function set configuration can be represented by 8-bit binary numbers, "1" represents an open function, and "0" represents a function which is not authorized to be used by the application development terminal.
S23, configuring an audio and video capability open platform address for the VOIP SDK according to the app.
In specific implementation, the SDK cloud management platform configures audio and video capability open platform addresses for the VOIP SDK according to the app, namely one app corresponds to one audio and video capability open platform address. Further, the SDK cloud management platform sends the corresponding relation between the Apkey and the address of the audio and video capability open platform, the password of the Apkey and the valid period of the Apkey to the audio and video capability open platform for storage, and the application is used for carrying out validity verification on a subsequent VOIP SDK.
And S24, sending the Apkey, the password, the valid period of the Apkey, the function set and the audio and video capability open platform address to the application development terminal, and controlling the application development terminal to access according to the audio and video capability open platform address so as to use audio and video services.
In specific implementation, the SDK cloud management platform sends the Apkey, the password, the valid period of the Apkey, the application function set and the audio and video capability open platform address to the application development terminal, and controls the application development terminal to access according to the audio and video capability open platform address so as to use audio and video services. And an application developer downloads the VOIP SDK from the SDK cloud management platform through the application development terminal, integrates the VOIP SDK into the application, and can release the application online after the development and the test are completed. When the application is started on a terminal (such as a smart phone), the application and password parameters returned by the SDK cloud management platform are transmitted to initialize the VOIP SDK, after the initialization of the VOIP SDK is completed, TCP connection is established and login is carried out with the audio and video capability open platform, the VOIP SDK uses the initially set application and password information to submit to the SDK cloud management platform for validity verification, when the validity verification passes, corresponding functions and services in the function set can be used, and if the verification fails, the connection with the audio and video capability open platform is disconnected.
Specifically, the validity verification of the VOIP SDK may be performed through a process shown in fig. 3, which includes the following steps:
s31, the VOIP SDK sends an address query request of the audio and video capability open platform to the SDK cloud management platform, and the query request carries the Appkey information of the application using the VOIP SDK.
S32, the SDK cloud management platform determines the audio and video capability open platform address corresponding to the Apkey according to the corresponding relation between the stored Apkey and the audio and video capability open platform address.
In specific implementation, the SDK cloud management platform queries an audio and video capability open platform address corresponding to an Apkey according to a corresponding relation between the stored Apkey and the audio and video capability open platform address. Specifically, the SDK cloud management platform firstly judges whether the Apkey exists, and if the Apkey exists, the SDK cloud management platform determines an audio and video capability open platform address corresponding to the Apkey according to the corresponding relation between the stored Apkey and the audio and video capability open platform address.
And S33, the SDK cloud management platform returns the audio and video capability open platform address to the VOIP SDK.
And S34, the VOIP SDK sends a TCP connection request to the audio and video capability open platform.
In this step, the TCP connection request carries the terminal connection address to which the VOIP SDK belongs and the audio/video capability open platform address.
Specifically, after receiving an audio and video capability open platform address returned by the SDK cloud management platform, the VOIP SDK sends a TCP connection request to the audio and video capability open platform according to the audio and video capability open platform address and a terminal connection address to which the VOIP SDK belongs, and requests to establish a TCP link.
And S35, the audio and video capability open platform returns a TCP connection identification code to the VOIP SDK.
In this step, the identification code is generated by the audio/video capability open platform encrypting the current time of the audio/video capability open platform, the MAC address of the audio/video capability open platform and the terminal connection address to which the VOIP SDK belongs according to a first preset encryption algorithm.
In a specific implementation, the connection address of the terminal to which the VOIP SDK belongs may be an IP and TCP port address of the terminal, and the first preset encryption Algorithm may be, but is not limited to, a symmetric encryption Algorithm, such as MD5(Message Digest Algorithm), which is not limited in this embodiment of the present invention.
Preferably, after the audio/video capability openness platform returns the TCP connection identification code to the VOIP SDK, the timer may be started to count the preset time, for example, count 5s, and wait for the VOIP SDK to send the validity verification request, and if the verification request is not received after the preset time is exceeded, the TCP connection with the VOIP SDK is disconnected, and the identification code is invalidated.
S36, encrypting the Apkey, password and the identification code by the VOIP SDK according to a second preset encryption algorithm to generate a first encryption character string.
In this step, the VOIP SDK encrypts the app key returned by the SDK cloud management platform, the password and the TCP connection identifier returned by the audio and video capability open platform according to a second preset encryption algorithm to generate a first encryption string, where the second preset encryption algorithm may be, but is not limited to, a symmetric encryption algorithm, such as MD5, and the second preset encryption algorithm may be the same as or different from the first preset encryption algorithm, and is not limited in this embodiment of the present invention.
And S37, the VOIP SDK sends a verification request to the audio and video capability open platform, wherein the verification request carries the first encryption character string.
In specific implementation, the VOIP SDK carries the first encryption character string in a verification request and sends the verification request to an audio and video capability open platform to request validity verification.
Preferably, the video capability openness platform may start a timer to count a preset time, for example, count 5s, wait for the verification result, and if the verification result is not received after exceeding the preset time, default to a verification failure, disconnect the TCP connection with the VOIP SDK, and release the resource.
The timer is set in the TCP connection establishment and validity verification process, so that the risk that invalid connections occupy system resources can be effectively avoided.
And S38, the audio and video capability open platform sends the identification code and the first encryption character string to the SDK cloud management platform.
S39, the SDK cloud management platform checks the first encryption character string according to the locally stored Appkey, password of the Appkey and the identification code.
During specific implementation, the SDK cloud management platform encrypts the locally stored Appkey, password of the Appkey and the identification code according to the second preset encryption algorithm to generate a second encryption character string, wherein the second preset encryption algorithm in the step is the same as the second preset encryption algorithm used in S36.
Further, comparing the second encrypted character string with the first encrypted character string to obtain a comparison result; if the comparison result is consistent and within the validity period, the verification is successful, and the steps S310 to S311 are executed; if the comparison result is inconsistent or not within the validity period, the verification fails, and steps S312 to S313 are executed.
And S310, the SDK cloud management platform returns a verification success response message to the audio and video capability open platform.
S311, the audio and video capability open platform distributes temporary Token to the VOIP SDK.
In this step, after the verification is passed, the VOIP SDK can continue to perform operations such as user account opening, user login, call, answering, and the like. After receiving a user account opening request, the audio and video capability opening platform automatically stores a user account into a database, checks the maximum number of users which can be supported by the current application according to an app key, prohibits continuous account opening and login when the maximum number of users exceeds the configured user scale, generates an alarm in the system, and informs an application user of capacity expansion by contacting the app key by an administrator.
And S312, the SDK cloud management platform returns a verification failure response message to the audio and video capability open platform.
And S313, the audio and video capability open platform disconnects the TCP connection with the VOIP SDK.
In the step, if the verification fails, the TCP connection between the audio and video capability open platform and the VOIP SDK is disconnected, local resources are released, and an application upper layer is informed.
In the VOIP SDK access control method provided by the embodiment of the invention, an application developer sends a VOIP SDK access and audio/video capability open platform service request to an SDK cloud management platform through an application development terminal, wherein the request carries an application identifier using the VOIP SDK, a requested application function and an audio/video service validity period, after the SDK cloud management platform receives the request, the SDK cloud management platform distributes an application software identification code (Apkey) corresponding to the application identifier, a password passcode of the Apkey, the validity period of the Apkey and a function set, the function set comprises the requested application function, configures an audio/video capability open platform address for the SDK according to the Apkey, and further sends the Apkey, the passcode, the validity period of the Apkey, the function set and the audio/video capability open platform address to the application development terminal, and controlling the application development terminal to open the platform address access according to the audio and video capability so as to use the audio and video service. Compared with the prior art, in the VOIP SDK access control method provided by the embodiment of the invention, the VOIP SDK is issued by adopting the SDK cloud management platform, the issued versions are uniform, customized versions do not need to be provided for specific applications or application developers, the function set is issued through cloud configuration, the application developers apply VOIP SDK access and audio/video capability platform services to the SDK cloud management platform, and the audio/video communication service providers distribute the Appkey, configure VOIP SDK permission, the function set and the valid period to the application developers through the SDK cloud management platform, so that the VOIP SDK access is flexibly controlled, further the application integration is controlled in the whole process, and the application opening process is simplified.
Based on the same inventive concept, the embodiment of the invention also provides a VOIP SDK access control device, and as the principle of solving the problems of the VOIP SDK access control device is similar to the VOIP SDK access control method, the implementation of the system can refer to the implementation of the method, and repeated parts are not described again.
As shown in fig. 4, which is a schematic structural diagram of a VOIP SDK access control device provided in the embodiment of the present invention, the VOIP SDK access control device may include:
the first receiving unit 41 is configured to receive a VOIP SDK access and audio/video capability open platform service request sent by an application development terminal, where the request carries an application identifier using the VOIP SDK, an application function of the request, and an audio/video service validity period;
a first allocation unit 42, configured to allocate, to the application development terminal, an application software identifier app key corresponding to the application identifier, a password of the app key, an expiration date of the app key, and a function set, where the function set includes the requested application function;
the configuration unit 43 is configured to configure an audio/video capability open platform address for the VOIP SDK according to the app;
and the control unit 44 is configured to send the app, the password, the valid period of the app, the function set, and the audio/video capability open platform address to the application development terminal, and control the application development terminal to access according to the audio/video capability open platform address to use an audio/video service.
Optionally, the apparatus further comprises:
the second receiving unit is used for receiving a request for applying a development account of the application development terminal before the SDK cloud management platform receives a VOIP SDK access and audio/video capability open platform service request sent by the application development terminal;
the second distribution unit is used for distributing a development account number for the application development terminal;
and the sending unit is used for sending the development account to the application development terminal.
Optionally, the apparatus further comprises:
and the verification unit is used for carrying out validity verification on the VOIP SDK.
Preferably, the verification unit is specifically configured to receive an address query request of an audio/video capability open platform sent by the VOIP SDK, where the query request carries app information of an application using the VOIP SDK; determining an audio and video capability open platform address corresponding to the Apkey according to the corresponding relation between the stored Apkey and the audio and video capability open platform address; returning the audio and video capability open platform address to the VOIP SDK so that the VOIP SDK sends a Transmission Control Protocol (TCP) connection request to the audio and video capability open platform, and returning a TCP connection identification code to the VOIP SDK by the audio and video capability open platform, wherein the identification code is generated by encrypting the current time of the audio and video capability open platform, the Media Access Control (MAC) address of the audio and video capability open platform and the terminal connection address of the VOIP SDK according to a first preset encryption algorithm by the audio and video capability open platform; receiving the identification code and a first encryption character string sent by the audio and video capability open platform, wherein the first encryption character string is generated by encrypting the app, the password and the identification code by the VOIP SDK according to a second preset encryption algorithm and is carried in a verification request to be sent to the audio and video capability open platform; and verifying the first encryption character string according to the locally stored Appkey, password of the Appkey and the identification code.
Preferably, the verification unit is specifically configured to encrypt the locally stored app key, password of the app key, and the identification code according to the second preset encryption algorithm, so as to generate a second encryption character string; comparing the second encrypted character string with the first encrypted character string to obtain a comparison result; if the comparison result is consistent and within the validity period, the verification is successful; and if the comparison result is inconsistent or not within the validity period, the verification fails.
Optionally, the apparatus further comprises:
the return unit is used for returning a verification success response message to the audio and video capability open platform when the verification is successful, and the audio and video capability open platform distributes a temporary Token for the VOIP SDK;
and when the verification fails, returning a verification failure response message to the audio and video capability open platform, and disconnecting the TCP connection with the VOIP SDK by the audio and video capability open platform.
Based on the same technical concept, an embodiment of the present invention further provides a communication device 500, and referring to fig. 5, the communication device 500 is configured to implement the VOIP SDK access control method described in the foregoing method embodiment, where the communication device 500 of this embodiment may include: a memory 501, a processor 502, and a computer program, such as a VOIP SDK access control program, stored in the memory and executable on the processor. The processor, when executing the computer program, implements the steps in the above embodiments of the VOIP SDK access control method, such as step S21 shown in fig. 2. Alternatively, the processor, when executing the computer program, implements the functions of the modules/units in the above-described device embodiments, for example, 41.
The embodiment of the present invention does not limit the specific connection medium between the memory 501 and the processor 502. In the embodiment of the present application, the memory 501 and the processor 502 are connected by the bus 503 in fig. 5, the bus 503 is represented by a thick line in fig. 5, and the connection manner between other components is merely illustrative and is not limited thereto. The bus 503 may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 5, but this is not intended to represent only one bus or type of bus.
The memory 501 may be a volatile memory (volatile memory), such as a random-access memory (RAM); the memory 501 may also be a non-volatile memory (non-volatile memory) such as, but not limited to, a read-only memory (rom), a flash memory (flash memory), a Hard Disk Drive (HDD) or a solid-state drive (SSD), or any other medium which can be used to carry or store desired program code in the form of instructions or data structures and which can be accessed by a computer. The memory 501 may be a combination of the above memories.
The processor 502 is configured to implement a VOIP SDK access control method shown in fig. 2, and includes:
the processor 502 is used for calling the computer program stored in the memory 501 to execute the steps S21-S24 shown in fig. 2.
The embodiment of the present application further provides a computer-readable storage medium, which stores computer-executable instructions required to be executed by the processor, and includes a program required to be executed by the processor.
In some possible embodiments, the aspects of the VOIP SDK access control method provided by the present invention may also be implemented in the form of a program product, which includes program code for causing a communication device to perform the steps of the VOIP SDK access control method according to various exemplary embodiments of the present invention described above in this specification when the program product runs on the communication device, for example, the communication device may perform the steps S21 to S24 as shown in fig. 2.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The program product for VOIP SDK access control of embodiments of the present invention may employ a portable compact disk read only memory (CD-ROM) and include program code, and may be run on a computing device. However, the program product of the present invention is not limited in this regard and, in the present document, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A readable signal medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable signal medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device over any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., over the internet using an internet service provider).
It should be noted that although several units or sub-units of the apparatus are mentioned in the above detailed description, such division is merely exemplary and not mandatory. Indeed, the features and functions of two or more of the units described above may be embodied in one unit, according to embodiments of the invention. Conversely, the features and functions of one unit described above may be further divided into embodiments by a plurality of units.
Moreover, while the operations of the method of the invention are depicted in the drawings in a particular order, this does not require or imply that the operations must be performed in this particular order, or that all of the illustrated operations must be performed, to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step execution, and/or one step broken down into multiple step executions.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (devices), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.
Claims (10)
1. A voice transmission software development kit VOIP SDK access control method based on network protocol is characterized by comprising the following steps:
the method comprises the steps that an SDK cloud management platform receives a VOIP SDK access and audio and video capability open platform service request sent by an application development terminal, wherein the request carries an application identifier using the VOIP SDK, a requested application function and an audio and video service validity period;
distributing an application software identification code (Appkey) corresponding to the application identifier, a password of the Appkey, an effective period of the Appkey and a function set for the application development terminal, wherein the function set comprises the requested application function;
configuring an audio and video capability open platform address for the VOIP SDK according to the Appkey;
the Appkey, the password, the valid period of the Appkey, the function set and the audio and video capability open platform address are sent to the application development terminal, and the application development terminal is controlled to access according to the audio and video capability open platform address so as to use audio and video services;
the method further comprises the following steps:
carrying out validity verification on the VOIP SDK, and specifically comprising the following steps:
receiving an address query request of an audio and video capability open platform sent by the VOIP SDK, wherein the query request carries the Appkey information of an application using the VOIP SDK;
determining an audio and video capability open platform address corresponding to the Apkey according to the corresponding relation between the stored Apkey and the audio and video capability open platform address;
returning the audio and video capability open platform address to the VOIP SDK so that the VOIP SDK sends a Transmission Control Protocol (TCP) connection request to the audio and video capability open platform, and returning a TCP connection identification code to the VOIP SDK by the audio and video capability open platform, wherein the identification code is generated by encrypting the current time of the audio and video capability open platform, the Media Access Control (MAC) address of the audio and video capability open platform and the terminal connection address of the VOIP SDK according to a first preset encryption algorithm by the audio and video capability open platform;
receiving the identification code and a first encryption character string sent by the audio and video capability open platform, wherein the first encryption character string is generated by encrypting the app, the password and the identification code by the VOIP SDK according to a second preset encryption algorithm and is carried in a verification request to be sent to the audio and video capability open platform;
and verifying the first encryption character string according to the locally stored Appkey, password of the Appkey and the identification code.
2. The method of claim 1, wherein before the SDK cloud management platform receives the VOIP SDK access and audio/video capability open platform service request sent by the application development terminal, the method further comprises:
receiving a development account application request of the application development terminal;
distributing a development account number for the application development terminal;
and sending the development account to the application development terminal.
3. The method according to claim 1, wherein verifying the first encrypted string according to the locally stored app key, password of the app key, and the identification code specifically includes:
encrypting the locally stored Appkey, password of the Appkey and the identification code according to the second preset encryption algorithm to generate a second encryption character string;
comparing the second encrypted character string with the first encrypted character string to obtain a comparison result;
if the comparison result is consistent and within the validity period, the verification is successful;
and if the comparison result is inconsistent or not within the validity period, the verification fails.
4. The method of claim 3, further comprising:
when the verification is successful, returning a verification success response message to the audio and video capability open platform, and distributing a temporary Token for the VOIP SDK by the audio and video capability open platform;
and when the verification fails, returning a verification failure response message to the audio and video capability open platform, and disconnecting the TCP connection with the VOIP SDK by the audio and video capability open platform.
5. A voice transmission software development kit VOIP SDK access control device based on network protocol is characterized by comprising:
the device comprises a first receiving unit, a second receiving unit and a third receiving unit, wherein the first receiving unit is used for receiving a VOIP SDK access and audio/video capability open platform service request sent by an application development terminal, and the request carries an application identifier using the VOIP SDK, a requested application function and an audio/video service validity period;
the first allocation unit is used for allocating an application software identification code Appkey corresponding to the application identifier, a password of the Appkey, an effective period of the Appkey and a function set to the application development terminal, wherein the function set comprises the requested application function;
the configuration unit is used for configuring an audio and video capability open platform address for the VOIP SDK according to the app;
the control unit is used for sending the Apkey, the password, the valid period of the Apkey, the function set and the audio and video capability open platform address to the application development terminal, and controlling the application development terminal to access according to the audio and video capability open platform address so as to use audio and video services;
the device, still include:
the verification unit is used for carrying out validity verification on the VOIP SDK;
the verification unit is specifically configured to receive an address query request of an audio/video capability open platform sent by the VOIP SDK, where the query request carries app information of an application using the VOIP SDK; determining an audio and video capability open platform address corresponding to the Apkey according to the corresponding relation between the stored Apkey and the audio and video capability open platform address; returning the audio and video capability open platform address to the VOIP SDK so that the VOIP SDK sends a Transmission Control Protocol (TCP) connection request to the audio and video capability open platform, and returning a TCP connection identification code to the VOIP SDK by the audio and video capability open platform, wherein the identification code is generated by encrypting the current time of the audio and video capability open platform, the Media Access Control (MAC) address of the audio and video capability open platform and the terminal connection address of the VOIP SDK according to a first preset encryption algorithm by the audio and video capability open platform; receiving the identification code and a first encryption character string sent by the audio and video capability open platform, wherein the first encryption character string is generated by encrypting the app, the password and the identification code by the VOIP SDK according to a second preset encryption algorithm and is carried in a verification request to be sent to the audio and video capability open platform; and verifying the first encryption character string according to the locally stored Appkey, password of the Appkey and the identification code.
6. The apparatus of claim 5, further comprising:
the second receiving unit is used for receiving a request for applying a development account of the application development terminal before the SDK cloud management platform receives a VOIP SDK access and audio/video capability open platform service request sent by the application development terminal;
the second distribution unit is used for distributing a development account number for the application development terminal;
and the sending unit is used for sending the development account to the application development terminal.
7. The apparatus of claim 5,
the verification unit is specifically configured to encrypt the locally stored app, password of the app, and the identification code according to the second preset encryption algorithm to generate a second encryption character string; comparing the second encrypted character string with the first encrypted character string to obtain a comparison result; if the comparison result is consistent and within the validity period, the verification is successful; and if the comparison result is inconsistent or not within the validity period, the verification fails.
8. The apparatus of claim 7, further comprising:
the return unit is used for returning a verification success response message to the audio and video capability open platform when the verification is successful, and the audio and video capability open platform distributes a temporary Token for the VOIP SDK; and when the verification fails, returning a verification failure response message to the audio and video capability open platform, and disconnecting the TCP connection with the VOIP SDK by the audio and video capability open platform.
9. A communication device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor when executing the program implements the VOIP SDK access control method of any of claims 1 to 4.
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 VOIP SDK access control method according to any one of claims 1 to 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811459627.8A CN111262819B (en) | 2018-11-30 | 2018-11-30 | VOIP SDK access control method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811459627.8A CN111262819B (en) | 2018-11-30 | 2018-11-30 | VOIP SDK access control method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111262819A CN111262819A (en) | 2020-06-09 |
CN111262819B true CN111262819B (en) | 2022-04-01 |
Family
ID=70950453
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811459627.8A Active CN111262819B (en) | 2018-11-30 | 2018-11-30 | VOIP SDK access control method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111262819B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112035163B (en) * | 2020-09-03 | 2023-08-22 | 抖音视界有限公司 | Software development kit configuration method, device and storage medium |
CN113438540A (en) * | 2021-06-24 | 2021-09-24 | 广州欢网科技有限责任公司 | Advertisement pre-loading playing method and device based on advertisement exposure rate |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102724204A (en) * | 2012-06-28 | 2012-10-10 | 电子科技大学 | Secure and trusted capability opening platform |
CN103248495A (en) * | 2012-02-10 | 2013-08-14 | ***通信集团公司 | In-app paying method, server, client side and system |
WO2016015436A1 (en) * | 2014-07-28 | 2016-02-04 | 百度在线网络技术(北京)有限公司 | Platform authorization method, platform server, application client, system, and storage medium |
CN105453621A (en) * | 2013-08-08 | 2016-03-30 | 三星电子株式会社 | Method and device for registering and certifying device in wireless communication system |
CN105530666A (en) * | 2014-09-29 | 2016-04-27 | 中国电信股份有限公司 | Session binding method and session binding system |
CA2925967A1 (en) * | 2015-04-02 | 2016-10-02 | Yume, Inc. | Run-time sdk integration for connected video players |
CN106445509A (en) * | 2016-09-09 | 2017-02-22 | 厦门雅基软件有限公司 | SDK batch quick access tool |
CN106506494A (en) * | 2016-10-27 | 2017-03-15 | 上海斐讯数据通信技术有限公司 | Application access method of open platform |
CN106850392A (en) * | 2015-12-04 | 2017-06-13 | 腾讯科技(深圳)有限公司 | Message treatment method and device, message receival method and device |
WO2018127200A1 (en) * | 2017-01-09 | 2018-07-12 | 云丁网络技术(北京)有限公司 | Method for smart device to access network, mobile terminal, cloud server, device, and system |
-
2018
- 2018-11-30 CN CN201811459627.8A patent/CN111262819B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103248495A (en) * | 2012-02-10 | 2013-08-14 | ***通信集团公司 | In-app paying method, server, client side and system |
CN102724204A (en) * | 2012-06-28 | 2012-10-10 | 电子科技大学 | Secure and trusted capability opening platform |
CN105453621A (en) * | 2013-08-08 | 2016-03-30 | 三星电子株式会社 | Method and device for registering and certifying device in wireless communication system |
WO2016015436A1 (en) * | 2014-07-28 | 2016-02-04 | 百度在线网络技术(北京)有限公司 | Platform authorization method, platform server, application client, system, and storage medium |
CN105530666A (en) * | 2014-09-29 | 2016-04-27 | 中国电信股份有限公司 | Session binding method and session binding system |
CA2925967A1 (en) * | 2015-04-02 | 2016-10-02 | Yume, Inc. | Run-time sdk integration for connected video players |
CN106850392A (en) * | 2015-12-04 | 2017-06-13 | 腾讯科技(深圳)有限公司 | Message treatment method and device, message receival method and device |
CN106445509A (en) * | 2016-09-09 | 2017-02-22 | 厦门雅基软件有限公司 | SDK batch quick access tool |
CN106506494A (en) * | 2016-10-27 | 2017-03-15 | 上海斐讯数据通信技术有限公司 | Application access method of open platform |
WO2018127200A1 (en) * | 2017-01-09 | 2018-07-12 | 云丁网络技术(北京)有限公司 | Method for smart device to access network, mobile terminal, cloud server, device, and system |
Non-Patent Citations (2)
Title |
---|
DronePilot.NET Development: AR.Drone SDK Supporting Native and Managed Code;Takuya Saito;《2013 International Conference on Advanced Computer Science Applications and Technologies》;20140619;全文 * |
基于IMS架构的通信能力开放研究与应用;程静远;《电信技术》;20150825;全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN111262819A (en) | 2020-06-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107483509B (en) | A kind of auth method, server and readable storage medium storing program for executing | |
CN110944330B (en) | MEC platform deployment method and device | |
CN111182521B (en) | Internet of things terminal machine card binding, network access authentication and service authentication method and device | |
US7873716B2 (en) | Method and apparatus for supporting service enablers via service request composition | |
TWI478615B (en) | Management systems for multiple access control entities | |
CN108540433B (en) | User identity verification method and device | |
US20030079123A1 (en) | Mobile code and method for resource management for mobile code | |
US20150017950A1 (en) | Virtual sim card cloud platform | |
CN108848496B (en) | TEE-based virtual eSIM card authentication method, TEE terminal and management platform | |
CN110569638B (en) | API authentication method and device, storage medium and computing equipment | |
AU2001244194A1 (en) | Mobile code and method for resource management for mobile code | |
CN110069909B (en) | Method and device for login of third-party system without secret | |
CN105072183B (en) | The management method and managing device in cloud O/S software warehouse | |
WO2018209986A1 (en) | Method and device for downloading euicc subscription data | |
US20140317704A1 (en) | Method and system for enabling the federation of unrelated applications | |
WO2019214697A1 (en) | Data downloading and management method and terminal | |
CN111262819B (en) | VOIP SDK access control method and device | |
CN110138765B (en) | Data processing method, data processing device, computer equipment and computer readable storage medium | |
JP2023519650A (en) | Internet-of-Things device registration method, device, device and storage medium | |
CN114513829A (en) | Network access method, device, core network, server and terminal | |
CN109451497B (en) | Wireless network connection method and device, electronic equipment and storage medium | |
EP3975015B9 (en) | Applet package sending method and device and computer readable medium | |
CN114640505A (en) | FTP user authentication method and system and construction method thereof | |
CN114679446A (en) | Data processing method, system and data processing equipment | |
CN114157470A (en) | Token management method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |