CN114363990B - Equipment end network distribution method and system compatible with multiple APP, equipment end and APP end - Google Patents

Equipment end network distribution method and system compatible with multiple APP, equipment end and APP end Download PDF

Info

Publication number
CN114363990B
CN114363990B CN202111626496.XA CN202111626496A CN114363990B CN 114363990 B CN114363990 B CN 114363990B CN 202111626496 A CN202111626496 A CN 202111626496A CN 114363990 B CN114363990 B CN 114363990B
Authority
CN
China
Prior art keywords
sdk
app
master
information
slave
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
CN202111626496.XA
Other languages
Chinese (zh)
Other versions
CN114363990A (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.)
Shanghai Black Eye Intelligent Technology Co ltd
Original Assignee
Shanghai Black Eye Intelligent 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 Shanghai Black Eye Intelligent Technology Co ltd filed Critical Shanghai Black Eye Intelligent Technology Co ltd
Priority to CN202111626496.XA priority Critical patent/CN114363990B/en
Publication of CN114363990A publication Critical patent/CN114363990A/en
Application granted granted Critical
Publication of CN114363990B publication Critical patent/CN114363990B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a device-side network distribution method, a system, a device-side and an APP-side compatible with a plurality of APPs, which are used for realizing the communication network distribution with each APP respectively through an SDK-master arranged on the device-side and an SDK-slave arranged corresponding to the compatible APPs.

Description

Equipment end network distribution method and system compatible with multiple APP, equipment end and APP end
Technical Field
The present invention relates to the field of communications, and in particular, to a method, a system, an equipment end, and an APP end for a device end configuration network compatible with a plurality of APPs.
Background
Most of network allocation schemes of equipment terminals in the prior art are matched with firmware programs of the equipment terminals and APP of mobile phone terminals, namely one-to-one relation; since the SDK of each equipment end is agreed with the APP end and has a specific protocol, the SDK of one equipment end is not compatible with the scenes of a plurality of APP; when a new APP is accessed, the equipment end cannot identify the APP, and then the APP cannot be connected with the equipment.
Disclosure of Invention
In view of the above drawbacks of the prior art, an object of the present invention is to provide a method, a system, a device side and an APP side for a device side distribution network compatible with a plurality of APPs, which are used for solving the above problems in the prior art.
To achieve the above and other related objects, the present invention provides a method for a device-side network configuration compatible with a plurality of APPs, applied to a device-side, including: the method comprises the steps of: establishing long connection with one or more compatible APP ends through an SDK-master; receiving the APP version information of the APP terminal sent by each APP terminal through the SDK-master; starting SDK-slave corresponding to each APP terminal through the SDK-master according to the APP version information; and the SDK-slave sends the current equipment information to the corresponding cloud server according to the acquired distribution network information provided by the APP terminals, so that the APP terminals acquire the corresponding current equipment information from the corresponding cloud server.
In one embodiment of the present invention, the method for establishing a long connection with one or more compatible APP terminals through the SDK-master includes: and respectively establishing long connection with compatible APP by a socket program of the SDK-master.
In an embodiment of the present invention, the APP version information includes: APP type, version number, and update date.
In an embodiment of the present invention, the distribution network information includes: https domain name, wireless network account number, and password.
In an embodiment of the present invention, the sending, by each SDK-slave, current device information to a corresponding cloud server according to the acquired configuration network information provided by each APP includes: acquiring distribution network information provided by each APP through the SDK-master; the SDK-master sends the information of each distribution network to the corresponding SDK-slave respectively; and each SDK-slave respectively sends the current equipment information to the corresponding cloud server according to the received corresponding distribution network information.
To achieve the above and other related objects, the present invention provides a device-side network configuration method compatible with a plurality of APPs, applied to an APP side, the method comprising: establishing long connection with an SDK-master of the equipment end; transmitting APP version information of the SDK-master to the SDK-master so that the SDK-master can start the SDK-slave corresponding to the APP terminal according to the APP version information; when receiving a network allocation request of a corresponding SDK-slave sent by the SDK-master, providing network allocation information for the SDK-master so that the corresponding SDK-slave can send current equipment information to a corresponding cloud server according to the acquired network allocation information; disconnecting a long connection with the SDK-master; and acquiring corresponding current equipment information from the cloud server through network connection established with the cloud server so as to acquire successful equipment network allocation.
In an embodiment of the present invention, the obtaining, from the cloud server, corresponding current device information through a network connection established with the cloud server includes: establishing network connection with the cloud server; sending an https request corresponding to the current equipment information to the cloud server; and acquiring the current equipment information from the cloud server.
To achieve the above and other related objects, the present invention provides an apparatus side, including: the SDK-master and the plurality of SDK-slave are respectively and correspondingly arranged with the compatible APP terminals; wherein, the SDK-master is connected with each SDK-slave; the SDK-master includes: the communication module is used for establishing long connection with one or more compatible APP ends; receiving APP version information of the APP sent by each APP end; the slave starting module is connected with the communication module and used for starting the SDK-slave corresponding to each APP terminal according to the version information of each APP terminal; the communication module is also used for sending the acquired distribution network information provided by each APP end to the corresponding SDK-slave; each SDK-slave is used for sending the current equipment information to the corresponding cloud server according to the distribution network information provided by the corresponding APP end and acquired from the SDK-master, so that the corresponding APP end can acquire the current equipment information from the cloud server.
To achieve the above and other related objects, the present invention provides an APP end, including: the long connection communication module is used for establishing long connection with the SDK-master of the equipment end and disconnecting the long connection with the SDK-master; the method comprises the steps that APP version information of the SDK-master is sent to the SDK-master, so that the SDK-master can start an SDK-slave corresponding to the APP terminal according to the APP version information; when receiving a network allocation request of a corresponding SDK-slave sent by the SDK-master, providing network allocation information for the SDK-master so that the corresponding SDK-slave can send current equipment information to a corresponding cloud server according to the acquired network allocation information; and the cloud server communication module is used for acquiring corresponding current equipment information from the cloud server through network connection established with the cloud server so as to acquire successful network allocation of the user equipment.
To achieve the above and other related objects, the present invention provides a device-side network system compatible with a plurality of APPs, which is characterized in that the system includes: the cloud server comprises an equipment end, a plurality of compatible APP ends and a plurality of cloud service ends corresponding to the APP ends; wherein, the equipment end includes: the SDK-master and the plurality of SDK-slave are respectively and correspondingly arranged with the compatible APP terminals; one or more APP ends establish long connection with the SDK-master; each APP end for establishing long connection sends own APP version information to the SDK-master; the SDK-master respectively starts the SDK-slave corresponding to each APP terminal according to the received APP version information corresponding to each APP terminal; each SDK-slave started sends a network allocation request to a corresponding APP terminal through the SDK-master; when each APP terminal receives a network allocation request corresponding to the SDK-slave sent by the SDK-master, providing network allocation information for the SDK-master respectively; the SDK-master sends the received distribution network information to a corresponding SDK-slave; each SDK-slave sends the current equipment information to the corresponding cloud server according to the acquired distribution network information; and each corresponding APP end disconnects the long connection with the SDK-master and acquires corresponding current equipment information from each cloud server through the network connection established with the corresponding cloud server so as to acquire successful network allocation of the user equipment.
As described above, the present invention is a method, a system, a device end and an APP end for device end distribution compatible with a plurality of APPs, and has the following beneficial effects: according to the invention, the SDK-master arranged on the equipment end and the SDK-slave respectively corresponding to the compatible APP are used for realizing the communication distribution network with each APP.
Drawings
Fig. 1 is a schematic structural diagram of a device-side network system compatible with a plurality of APPs according to an embodiment of the present invention.
Fig. 2 is a flow chart of a method for configuring a network at a device end compatible with a plurality of APPs according to an embodiment of the invention.
Fig. 3 is a flow chart of a method for configuring a network at a device end compatible with a plurality of APPs according to an embodiment of the invention.
Fig. 4 is a schematic structural diagram of an apparatus end according to an embodiment of the invention.
Fig. 5 is a schematic structural diagram of an APP end according to an embodiment of the present invention.
Fig. 6 is a schematic structural diagram of a device-side network system compatible with a plurality of APPs according to an embodiment of the present invention.
Detailed Description
Other advantages and effects of the present invention will become apparent to those skilled in the art from the following disclosure, which describes the embodiments of the present invention with reference to specific examples. The invention may be practiced or carried out in other embodiments that depart from the specific details, and the details of the present description may be modified or varied from the spirit and scope of the present invention. It should be noted that the following embodiments and features in the embodiments may be combined with each other without conflict.
In the following description, reference is made to the accompanying drawings, which illustrate several embodiments of the invention. It is to be understood that other embodiments may be utilized and that mechanical, structural, electrical, and operational changes may be made without departing from the spirit and scope of the present invention. The following detailed description is not to be taken in a limiting sense, and the scope of embodiments of the present invention is defined only by the claims of the issued patent. The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. Spatially relative terms, such as "upper," "lower," "left," "right," "lower," "below," "lower," "above," "upper," and the like, may be used herein to facilitate a description of one element or feature as illustrated in the figures relative to another element or feature.
Throughout the specification, when a portion is said to be "connected" to another portion, this includes not only the case of "direct connection" but also the case of "indirect connection" with other elements interposed therebetween. In addition, when a certain component is said to be "included" in a certain section, unless otherwise stated, other components are not excluded, but it is meant that other components may be included.
The first, second, and third terms are used herein to describe various portions, components, regions, layers and/or sections, but are not limited thereto. These terms are only used to distinguish one portion, component, region, layer or section from another portion, component, region, layer or section. Thus, a first portion, component, region, layer or section discussed below could be termed a second portion, component, region, layer or section without departing from the scope of the present invention.
Furthermore, as used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context indicates otherwise. It will be further understood that the terms "comprises," "comprising," "includes," and/or "including" specify the presence of stated features, operations, elements, components, items, categories, and/or groups, but do not preclude the presence, presence or addition of one or more other features, operations, elements, components, items, categories, and/or groups. The terms "or" and/or "as used herein are to be construed as inclusive, or meaning any one or any combination. Thus, "A, B or C" or "A, B and/or C" means "any of the following: a, A is as follows; b, a step of preparing a composite material; c, performing operation; a and B; a and C; b and C; A. b and C). An exception to this definition will occur only when a combination of elements, functions or operations are in some way inherently mutually exclusive.
The embodiment of the invention provides a device-side network distribution method compatible with a plurality of APP, which realizes the communication network distribution with each APP through an SDK-master arranged on the device side and an SDK-slave respectively corresponding to the compatible APP.
The embodiments of the present invention will be described in detail below with reference to the attached drawings so that those skilled in the art to which the present invention pertains can easily implement the present invention. This invention may be embodied in many different forms and is not limited to the embodiments described herein.
As shown in fig. 1, a schematic structural diagram of a device-side network distribution system compatible with a plurality of APPs in an embodiment of the present application is shown.
The equipment end distribution network system compatible with a plurality of APP comprises:
the device end 11, a plurality of APP ends 12 compatible with the device end and a plurality of cloud service ends 13 corresponding to the APP ends 12;
in this embodiment, the device side 11 may be applied to a terminal, which may be a variety of electronic devices with a display screen and supporting web browsing, including but not limited to a smart phone, a tablet computer, an E-book reader, an MP3 player (Moving Picture E interface display perts Group Audio Layer III, moving Picture experts compression standard audio layer 3), an MP4 (Moving Picture E interface display perts Group Audio Layer IV, moving Picture experts compression standard audio layer 4) player, a laptop and desktop computer, etc.
The device side 11 includes:
an SDK-master111 and a plurality of SDK-slave112 which are respectively and correspondingly arranged with each APP terminal compatible with the user equipment; wherein each SDK-slave112 is the actual running firmware corresponding to each different APP; for example, as shown in fig. 1, SDK-slave1 is set corresponding to APP2 end, SDK-slave2 is set corresponding to APP2 end, and SDK-slave is set corresponding to APPn end;
one or more APP ends 12 establish long connection with the SDK-master 111; each APP end 12 establishing long connection sends own APP version information to the SDK-master 111; the SDK-master111 respectively starts the SDK-slave112 corresponding to each APP end 11 according to the received APP version information corresponding to each APP end 12; each started SDK-slave112 sends a network allocation request to the corresponding APP end 12 through the SDK-master 111; each APP end 12, when receiving a network allocation request sent by the SDK-master111 and corresponding to the SDK-slave112, provides network allocation information to the SDK-master111 respectively; the SDK-master111 sends the received distribution network information to the corresponding SDK-slave112; each SDK-slave112 sends the current equipment information to the corresponding cloud server 13 according to the acquired distribution network information; each corresponding APP end disconnects the long connection with the SDK-master and acquires corresponding current equipment information from each cloud server 13 through the network connection established with the corresponding cloud server 13 so as to acquire successful network allocation of the user equipment.
For example, as shown in fig. 1, APP1 end 12 establishes a long connection with the SDK-master 111; the APP1 end 12 establishing long connection sends the APP version information of the APP1 end to the SDK-master 111; the SDK-master111 respectively starts SDK-slave1 corresponding to the APP1 end according to the received APP version information corresponding to the APP1 end 12; the started SDK-slave1 sends a network allocation request to a corresponding APP end 12 through the SDK-master 111; when receiving a network allocation request of a corresponding SDK-slave sent by the SDK-master111, the APP1 end 12 provides network allocation information for the SDK-master 111; the SDK-master111 sends the received distribution network information to a corresponding SDK-slave1; the SDK-slave1 sends the current equipment information to the corresponding cloud server 1 according to the acquired distribution network information; and the APP1 end disconnects the long connection with the SDK-master and acquires corresponding current equipment information from the cloud server 1 through the network connection established with the corresponding cloud server 1 so as to acquire successful network allocation of the user equipment.
Therefore, when a new APP is accessed, the APP can be identified through the user equipment side of the system and is connected with each APP, so that the efficient equipment side distribution network compatible with a plurality of APPs is realized.
Similar to the principles of the above embodiments, the present invention provides a device-side network configuration method compatible with multiple APPs.
Specific embodiments are provided below with reference to the accompanying drawings:
fig. 2 shows a schematic flow chart of a device-side network configuration method compatible with a plurality of APPs in an embodiment of the present invention.
The method is applied to the equipment end and comprises the following steps: the SDK-master and the plurality of SDK-slave are respectively and correspondingly arranged with the compatible APP terminals; the method comprises the following steps:
step S21: establishing long connection with one or more compatible APP ends through an SDK-master;
optionally, the SDK-master and each APP end establish long connection through a socket channel.
Optionally, step S21 includes: and respectively establishing long connection with each compatible APP terminal through a socket program of the SDK-master. The number of the APP ends for establishing the long connection is determined according to specific conditions, and if only connection with one APP end is needed, the number is only one; if connection with a plurality of APP ends is needed, the number can be a plurality.
Optionally, a socket program based on the SDK-master establishes long connection with each APP compatible with the user equipment through the gateway or the ports corresponding to different APP terminals which are set by the unified deployment of the IP and the ports.
Step S22: and receiving the APP version information of the APP terminal sent by each APP terminal through the SDK-master.
Optionally, the SDK-master receives own APP version information sent by each APP end with which long connection is established through a socket channel with which long connection is established.
Optionally, the APP version information includes: APP type, version number, and update date.
Step S23: and starting the SDK-slave which is respectively and correspondingly set with each APP terminal according to the version information of the APP terminal through the SDK-master.
Optionally, the SDK-master determines, according to the version information of each APP end, the SDK-slave set corresponding to each APP corresponding to each version information, and starts the corresponding SDK-slave.
Optionally, the SDK-master determines, according to the APP type, version number and update date in the APP end version information, the SDK-slave set respectively corresponding to each APP corresponding to each version information, and starts the corresponding SDK-slave.
Optionally, each SDK-slave is the actual running firmware corresponding to each different APP end.
Step S24: and the SDK-slave sends the current equipment information to the corresponding cloud server according to the acquired distribution network information provided by the APP terminals, so that the APP terminals acquire the corresponding current equipment information from the corresponding cloud server.
Optionally, step S24 includes: acquiring distribution network information provided by each APP through the SDK-master; the SDK-master sends the information of each distribution network to the corresponding SDK-slave respectively; and each SDK-slave respectively sends the current equipment information to the corresponding cloud server according to the received corresponding distribution network information.
Optionally, the distribution network information includes: https domain name, wireless network account number, and password.
Optionally, each SDK-slave connects to a corresponding cloud server through an https domain name, a wireless network account number and a password provided by a corresponding APP end, and sends current device information to the cloud server, so as to complete a device-end distribution network compatible with a plurality of APPs.
Fig. 3 shows a schematic flow chart of a device-side network distribution method compatible with a plurality of APPs in an embodiment of the present invention.
Applied to each compatible APP end, the method comprises:
step S31: and establishing long connection with the SDK-master of the equipment side.
Optionally, the first long connection is established with the SDK-master of the equipment end through a socket channel.
Step S32: and transmitting the APP version information of the SDK-master to the SDK-master so that the SDK-master can start the SDK-slave corresponding to the APP terminal according to the APP version information.
Optionally, when all APP is developed, a unified protocol is reserved to inform the SDK of the current version information.
Optionally, the APP version information includes: APP type, version number, and update date.
Step S33: when receiving a network allocation request of a corresponding SDK-slave sent by the SDK-master, providing network allocation information for the SDK-master so that the corresponding SDK-slave can send current equipment information to a corresponding cloud server according to the acquired network allocation information.
Optionally, when receiving the network allocation information request sent by the SDK-master to the APP end through a socket channel with long connection, the network allocation information is provided to the SDK-master.
Optionally, when receiving a request for network allocation information sent by the corresponding SDK-slave from the SDK-master, the SDK-master sends the network allocation information to the APP through a socket channel with long connection.
Optionally, the distribution network information includes: https domain name, wireless network account number, and password.
Step S34: and disconnecting the long connection with the SDK-master.
Specifically, after the corresponding SDK-slave sends the current equipment information to the corresponding cloud service end according to the acquired distribution network information, the long connection with the SDK-master is disconnected.
Step S35: and acquiring corresponding current equipment information from the cloud server through network connection established with the cloud server so as to acquire successful network allocation of the user equipment.
Optionally, the step S35 includes: establishing network connection with the cloud server; sending an https request corresponding to the current equipment information to the cloud server; acquiring the current equipment information from the cloud server and establishing network connection with the cloud; if the network allocation is successful, the network allocation of the user equipment is successful, otherwise, the network allocation is failed, and the network allocation is performed again.
Fig. 4 shows a schematic structural diagram of a device end in an embodiment of the present invention.
An SDK-master41 and a plurality of SDK-slave42 which are respectively and correspondingly arranged with each APP terminal compatible with the user equipment;
wherein, the SDK-master41 is connected with each SDK-slave42; the SDK-master41 includes: a communication module 411, configured to establish a long connection with one or more APP ends compatible with the user equipment; receiving APP version information of the APP sent by each APP end; a slave starting module 412, connected to the communication module 411, configured to start the SDK-slave42 set corresponding to each APP end according to version information of each APP end; the communication module 411 is further configured to send the obtained distribution network information provided by each APP end to a corresponding SDK-slave; each SDK-slave42 is configured to send, according to the configuration network information provided by the APP end corresponding to the SDK-master41, current device information to the corresponding cloud server, so that the corresponding APP end obtains the current device information from the cloud server.
It should be noted that, it should be understood that the division of each module of the SDK-master in the embodiment is merely a division of a logic function, and may be fully or partially integrated into a physical entity or may be physically separated. For example, each module may be one or more integrated circuits configured to implement the above methods, e.g.: one or more application specific integrated circuits (Application Specific Integrated Circuit, abbreviated as ASIC), or one or more microprocessors (digital signal processor, abbreviated as DSP), or one or more field programmable gate arrays (Field Programmable Gate Array, abbreviated as FPGA), or the like.
Since the implementation principle based on the device side has been described in the foregoing embodiments, a detailed description is omitted here.
Fig. 5 shows a schematic structural diagram of an APP end in an embodiment of the present invention.
The APP end is compatible with the equipment end and comprises:
a long connection communication module 51, configured to establish a long connection with an SDK-master at a device end and disconnect the long connection with the SDK-master; the method comprises the steps that APP version information of the SDK-master is sent to the SDK-master, so that the SDK-master can start an SDK-slave corresponding to the APP terminal according to the APP version information; when receiving a network allocation request of a corresponding SDK-slave sent by the SDK-master, providing network allocation information for the SDK-master so that the corresponding SDK-slave sends current equipment information to a corresponding cloud server according to the acquired network allocation information;
and the cloud server communication module 52 is configured to obtain corresponding current device information from the cloud server through a network connection established with the cloud server, so as to obtain that the user equipment network allocation is successful.
It should be noted that, it should be understood that the division of each module at the APP end in the embodiment of fig. 5 is merely a division of logic functions, and may be fully or partially integrated into a physical entity or may be physically separated. For example, each module may be one or more integrated circuits configured to implement the above methods, e.g.: one or more application specific integrated circuits (Application Specific Integrated Circuit, abbreviated as ASIC), or one or more microprocessors (digital signal processor, abbreviated as DSP), or one or more field programmable gate arrays (Field Programmable Gate Array, abbreviated as FPGA), or the like.
Since the implementation principle based on the APP end has been described in the foregoing embodiments, a detailed description is omitted here.
In order to better explain the equipment-side network distribution system compatible with a plurality of APP, the following specific embodiments are provided for illustration.
Example 1: the equipment-side distribution network system can be compatible with a plurality of APP; fig. 6 is a schematic diagram of the system according to the present embodiment.
The system comprises:
a plurality of APP terminals APP1-n compatible with the equipment terminal and the user equipment and a plurality of cloud service terminals APP group 1-n corresponding to the APP terminals; wherein, APP group 1 corresponds to APP1, APP group 2 corresponds to APP2, and so on.
The device side includes a plurality of firmware programs:
the SDK-master includes: socket program, responsible for connecting different APP terminals (IP and port are uniformly deployed, and different APP terminals can also use different ports)
SDK-slave-n: the actual running firmware corresponding to each different APP; namely SDK-slave1 corresponds to APP1, SDK-slave2 corresponds to APP2, and so on.
The method comprises the steps that long connection is established between an APP1 and an SDK-master of a device end through a socket; APP1 tells the SDK-master of the equipment end of APP version information through long connection; the SDK-master starts the corresponding SDK-slave1 according to the version information of the APP1, namely, after judging the version, the SDK-master calls an interface of the SDK1 to start; after starting, carrying out subsequent data interaction; the APP communicates with the corresponding SDK-slave1 to perform network configuration; after the network connection is successful, the SDK-slave1 sends the current equipment information to the corresponding APP group 1 by connecting the domain name of the cloud server. After the APP1 is successfully connected with the WIFI network, all network connection devices under the current user are acquired through https request in the corresponding APP group 1, and if the corresponding devices are indicated in the device list, the network allocation is successful.
In summary, the present invention provides a method, a system, a device and an APP terminal for configuring a network for a device side compatible with a plurality of APPs, where the network is configured by implementing communication with each APP through an SDK-master set on the device side and an SDK-slave set corresponding to the compatible APPs, and the scheme can implement, when a new APP is accessed, that the device side can identify the APP and connect with each APP, thereby implementing efficient device side configuration for a plurality of APPs compatible with each APP. Therefore, the invention effectively overcomes various defects in the prior art and has high industrial utilization value.
The above embodiments are merely illustrative of the principles of the present invention and its effectiveness, and are not intended to limit the invention. Modifications and variations may be made to the above-described embodiments by those skilled in the art without departing from the spirit and scope of the invention. It is therefore intended that all equivalent modifications and changes made by those skilled in the art without departing from the spirit and technical spirit of the present invention shall be covered by the appended claims.

Claims (10)

1. The equipment end network distribution method compatible with a plurality of APP is characterized by being applied to equipment ends and comprising the following steps: the method comprises the steps of:
establishing long connection with one or more compatible APP ends through an SDK-master;
receiving the APP version information of the APP terminal sent by each APP terminal through the SDK-master;
starting SDK-slave corresponding to each APP terminal through the SDK-master according to the APP version information;
and the SDK-slave sends the current equipment information to the corresponding cloud server according to the acquired distribution network information provided by the APP terminals, so that the APP terminals acquire the corresponding current equipment information from the corresponding cloud server.
2. The method for configuring a network at a device end compatible with a plurality of APPs according to claim 1, wherein the means for establishing a long connection with the compatible APP end or ends through the SDK-master comprises:
and respectively establishing long connection with compatible APP by a socket program of the SDK-master.
3. The method for device-side networking compatible with multiple APPs according to claim 1, wherein the APP version information includes: APP type, version number, and update date.
4. The method for configuring a network at a device end compatible with a plurality of APPs according to claim 1, wherein the configuration information includes: https domain name, wireless network account number, and password.
5. The method for configuring a network at a device end compatible with a plurality of APPs according to claim 1, wherein the step of sending, by each SDK-slave, current device information to a corresponding cloud server according to the acquired configuration network information provided by each APP includes:
acquiring distribution network information provided by each APP through the SDK-master;
the SDK-master sends the information of each distribution network to the corresponding SDK-slave respectively;
and each SDK-slave respectively sends the current equipment information to the corresponding cloud server according to the received corresponding distribution network information.
6. A device side network distribution method compatible with a plurality of APPs, which is characterized by being applied to an APP side, the method comprising:
establishing long connection with an SDK-master of the equipment end;
transmitting APP version information of the SDK-master to the SDK-master so that the SDK-master can start the SDK-slave corresponding to the APP terminal according to the APP version information;
when receiving a network allocation request of a corresponding SDK-slave sent by the SDK-master, providing network allocation information for the SDK-master so that the corresponding SDK-slave can send current equipment information to a corresponding cloud server according to the acquired network allocation information;
disconnecting a long connection with the SDK-master;
and acquiring corresponding current equipment information from the cloud server through network connection established with the cloud server so as to acquire successful equipment network allocation.
7. The method for configuring a network at a device end compatible with a plurality of APPs according to claim 6, wherein the obtaining corresponding current device information from the cloud server through a network connection established with the cloud server includes:
establishing network connection with the cloud server;
sending an https request for acquiring corresponding current equipment information to the cloud server;
and acquiring the current equipment information from the cloud server.
8. A device side, comprising:
the SDK-master and the plurality of SDK-slave are respectively and correspondingly arranged with the compatible APP terminals;
wherein, the SDK-master is connected with each SDK-slave;
the SDK-master includes:
the communication module is used for establishing long connection with one or more compatible APP ends; receiving APP version information of the APP sent by each APP end;
the slave starting module is connected with the communication module and used for starting the SDK-slave corresponding to each APP terminal according to the version information of each APP terminal;
the communication module is also used for sending the acquired distribution network information provided by each APP end to the corresponding SDK-slave; each SDK-slave is used for sending the current equipment information to the corresponding cloud server according to the distribution network information provided by the corresponding APP end and acquired from the SDK-master, so that the corresponding APP end can acquire the current equipment information from the cloud server.
9. An APP end, comprising:
the long connection communication module is used for establishing long connection with the SDK-master of the equipment end and disconnecting the long connection with the SDK-master; the method comprises the steps that APP version information of the SDK-master is sent to the SDK-master, so that the SDK-master can start an SDK-slave corresponding to the APP terminal according to the APP version information; when receiving a network allocation request of a corresponding SDK-slave sent by the SDK-master, providing network allocation information for the SDK-master so that the corresponding SDK-slave can send current equipment information to a corresponding cloud server according to the acquired network allocation information;
and the cloud server communication module is used for acquiring corresponding current equipment information from the cloud server through network connection established with the cloud server so as to acquire successful network allocation of the user equipment.
10. A device-side distribution network system compatible with a plurality of APPs, the system comprising:
the cloud server comprises an equipment end, a plurality of compatible APP ends and a plurality of cloud service ends corresponding to the APP ends;
wherein, the equipment end includes: the SDK-master and the plurality of SDK-slave are respectively and correspondingly arranged with the compatible APP terminals;
one or more APP ends establish long connection with the SDK-master; each APP end for establishing long connection sends own APP version information to the SDK-master; the SDK-master respectively starts the SDK-slave corresponding to each APP terminal according to the received APP version information corresponding to each APP terminal; each SDK-slave started sends a network allocation request to a corresponding APP terminal through the SDK-master; when each APP terminal receives a network allocation request corresponding to the SDK-slave sent by the SDK-master, providing network allocation information for the SDK-master respectively; the SDK-master sends the received distribution network information to a corresponding SDK-slave; each SDK-slave sends the current equipment information to the corresponding cloud server according to the acquired distribution network information; and each corresponding APP end disconnects the long connection with the SDK-master and acquires corresponding current equipment information from each cloud server through the network connection established with the corresponding cloud server so as to acquire successful network allocation of the user equipment.
CN202111626496.XA 2021-12-28 2021-12-28 Equipment end network distribution method and system compatible with multiple APP, equipment end and APP end Active CN114363990B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111626496.XA CN114363990B (en) 2021-12-28 2021-12-28 Equipment end network distribution method and system compatible with multiple APP, equipment end and APP end

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111626496.XA CN114363990B (en) 2021-12-28 2021-12-28 Equipment end network distribution method and system compatible with multiple APP, equipment end and APP end

Publications (2)

Publication Number Publication Date
CN114363990A CN114363990A (en) 2022-04-15
CN114363990B true CN114363990B (en) 2024-01-12

Family

ID=81104309

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111626496.XA Active CN114363990B (en) 2021-12-28 2021-12-28 Equipment end network distribution method and system compatible with multiple APP, equipment end and APP end

Country Status (1)

Country Link
CN (1) CN114363990B (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105450656A (en) * 2015-12-15 2016-03-30 努比亚技术有限公司 APP data configuration method, device, server and system
US9703680B1 (en) * 2011-12-12 2017-07-11 Google Inc. System and method for automatic software development kit configuration and distribution
CN107861865A (en) * 2017-08-29 2018-03-30 平安普惠企业管理有限公司 SDK localization methods, equipment and computer-readable recording medium
CN108733395A (en) * 2018-05-14 2018-11-02 广州虎牙信息科技有限公司 software application service updating method, device and computer equipment
CN110489149A (en) * 2019-08-23 2019-11-22 珠海格力电器股份有限公司 The control method and system of smart machine
CN111638906A (en) * 2020-05-15 2020-09-08 郑州阿帕斯数云信息科技有限公司 SDK (software development kit) access method, device and system
WO2020223854A1 (en) * 2019-05-05 2020-11-12 深圳市欢太科技有限公司 Device network configuration method and apparatus, electronic device and storage medium
WO2020228033A1 (en) * 2019-05-16 2020-11-19 深圳市欢太科技有限公司 Sdk plug-in loading method and apparatus, and mobile terminal and storage medium
CN112688791A (en) * 2019-10-17 2021-04-20 珠海格力电器股份有限公司 Equipment network distribution method and device based on cloud authorization
CN112882732A (en) * 2021-01-22 2021-06-01 支付宝(杭州)信息技术有限公司 Method and device for updating function codes in Software Development Kit (SDK)
WO2021244087A1 (en) * 2020-06-02 2021-12-09 华为技术有限公司 Long connection apparatus and network system
CN114338379A (en) * 2021-12-28 2022-04-12 上海黑眸智能科技有限责任公司 Network distribution method and system for SDK client, SDK client and APP client

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170147323A1 (en) * 2015-11-25 2017-05-25 Le Holding (Beijing) Co., Ltd. Method and electronic device for upgrading software development kit of an application
CN105893070A (en) * 2015-11-25 2016-08-24 乐视云计算有限公司 Application SDK upgrading method and system
CN109462844A (en) * 2018-10-23 2019-03-12 四川长虹电器股份有限公司 A kind of system and method that list WiFi chip runs multi-platform SDK

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9703680B1 (en) * 2011-12-12 2017-07-11 Google Inc. System and method for automatic software development kit configuration and distribution
CN105450656A (en) * 2015-12-15 2016-03-30 努比亚技术有限公司 APP data configuration method, device, server and system
CN107861865A (en) * 2017-08-29 2018-03-30 平安普惠企业管理有限公司 SDK localization methods, equipment and computer-readable recording medium
CN108733395A (en) * 2018-05-14 2018-11-02 广州虎牙信息科技有限公司 software application service updating method, device and computer equipment
WO2020223854A1 (en) * 2019-05-05 2020-11-12 深圳市欢太科技有限公司 Device network configuration method and apparatus, electronic device and storage medium
CN113412469A (en) * 2019-05-05 2021-09-17 深圳市欢太科技有限公司 Equipment network distribution method and device, electronic equipment and storage medium
WO2020228033A1 (en) * 2019-05-16 2020-11-19 深圳市欢太科技有限公司 Sdk plug-in loading method and apparatus, and mobile terminal and storage medium
CN110489149A (en) * 2019-08-23 2019-11-22 珠海格力电器股份有限公司 The control method and system of smart machine
CN112688791A (en) * 2019-10-17 2021-04-20 珠海格力电器股份有限公司 Equipment network distribution method and device based on cloud authorization
CN111638906A (en) * 2020-05-15 2020-09-08 郑州阿帕斯数云信息科技有限公司 SDK (software development kit) access method, device and system
WO2021244087A1 (en) * 2020-06-02 2021-12-09 华为技术有限公司 Long connection apparatus and network system
CN112882732A (en) * 2021-01-22 2021-06-01 支付宝(杭州)信息技术有限公司 Method and device for updating function codes in Software Development Kit (SDK)
CN114338379A (en) * 2021-12-28 2022-04-12 上海黑眸智能科技有限责任公司 Network distribution method and system for SDK client, SDK client and APP client

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
A. Festag ; R. Baldessari ; W. Zhang ; L. Le.CAR-2-X Communication SDK - A Software Toolkit for Rapid Application Development and Experimentations.2009 IEEE International Conference on Communications Workshops.2009,全文. *
利用Socket实现应用系统文件自动升级;温华;;电脑知识与技术(26);全文 *
基于安卓系统开发工具及API接口实现APP开发策略;孙兰兰;;黑河学院学报(05);全文 *

Also Published As

Publication number Publication date
CN114363990A (en) 2022-04-15

Similar Documents

Publication Publication Date Title
WO2017116097A1 (en) Method and apparatus for transmitting and receiving profile in communication system
JP2020509635A (en) Network slice selection method, user equipment, and network device
CN108282846B (en) Service request processing method and device
US9198222B2 (en) Telecommunication network
CN112751699B (en) OTA upgrading and upgrading management method, equipment, network and storage medium
CN114338379B (en) SDK client network distribution method, system, SDK client and APP client
CN110324808A (en) Switching method, device and the mobile terminal of configuration file
CN114631339A (en) Method and apparatus for reinstalling SIM configuration file in wireless communication system
CN105072149A (en) Method and device for building remote communication through proxy gateway
CN105407166A (en) Communication implementation method and system for wearable equipment
US20240147578A1 (en) Wireless communication service over an edge data network (edn) between a user equipment (ue) and an application server (as)
CN114363990B (en) Equipment end network distribution method and system compatible with multiple APP, equipment end and APP end
CN107426090B (en) Information processing method, device, medium, electronic device, server and system
CN105430319A (en) Video communication termination method and device
CN113596792A (en) Binding method and device of electronic equipment, storage medium and electronic device
JP2019514245A (en) Method and device for establishing an association between terminal devices
CN110769428B (en) Method and device for constructing virtual base station, base station and wireless network system
CN111373798A (en) Network slice configuration method and device and computer storage medium
CN110474891B (en) Service access control method and device based on multi-system intelligent equipment
CN105991163B (en) Communication method and device based on Bluetooth application
CN106605417B (en) Management capabilities for wireless docking experience
CN102571704A (en) Management conversation initiating and notifying method, managed terminal and management server
CN115119286A (en) Method and device for accessing equipment to network
CN109743715B (en) Processing method and system and electronic equipment
WO2011081142A1 (en) Wireless device common use 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