CN113691377A - Method and device for processing equipment list - Google Patents
Method and device for processing equipment list Download PDFInfo
- Publication number
- CN113691377A CN113691377A CN202110962485.2A CN202110962485A CN113691377A CN 113691377 A CN113691377 A CN 113691377A CN 202110962485 A CN202110962485 A CN 202110962485A CN 113691377 A CN113691377 A CN 113691377A
- Authority
- CN
- China
- Prior art keywords
- verification result
- equipment list
- signature
- list
- user
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000012545 processing Methods 0.000 title claims abstract description 50
- 238000000034 method Methods 0.000 title claims abstract description 41
- 238000012795 verification Methods 0.000 claims abstract description 95
- 238000004891 communication Methods 0.000 abstract description 11
- 238000010586 diagram Methods 0.000 description 7
- 230000000694 effects Effects 0.000 description 5
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000005034 decoration Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000004590 computer program Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/32—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
- H04L9/3247—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving digital signatures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/64—Protecting data integrity, e.g. using checksums, certificates or signatures
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/2803—Home automation networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/2803—Home automation networks
- H04L12/2807—Exchanging configuration information on appliance services in a home automation network
- H04L12/2809—Exchanging configuration information on appliance services in a home automation network indicating that an appliance service is present in a home automation network
Landscapes
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Theoretical Computer Science (AREA)
- Bioethics (AREA)
- General Health & Medical Sciences (AREA)
- Computer Hardware Design (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- Stored Programmes (AREA)
Abstract
The invention discloses a method and a device for processing an equipment list. Wherein, the method comprises the following steps: acquiring a user identifier and a signature; calling an equipment list interface, and verifying whether the IP address and the signature of the request equipment list are legal and whether the user identification is registered to obtain a verification result; and receiving the requested equipment list through the called equipment list interface according to the verification result. The method and the device solve the technical problem that the user experience is poor due to the fact that the user does not realize data communication on the devices of the multiple platforms and checks that different devices need to go to different APPs.
Description
Technical Field
The invention relates to the technical field of intelligent equipment, in particular to a method and a device for processing an equipment list.
Background
With the continuous development of the internet of things technology, smart homes are more and more popular. The user control device may use software, possibly a wechat applet. The devices in the user's home may also come from different vendors, and if the data of these platforms are not intercommunicated, the user needs to download and install a plurality of different APPs, which is very poor in user experience. In addition, although the account of the first platform can be used for logging in the second platform, multi-platform intercommunication is realized; and calling a login interface of a third party to synchronize the multiple platform accounts, but the implementation processes are also complex, so that the user experience is poor.
The problem of poor user experience is caused by the fact that data communication is not achieved for the user at the equipment of the platforms and different pieces of equipment need to go to different APPs in checking, and an effective solution is not provided at present.
Disclosure of Invention
The embodiment of the invention provides a method and a device for processing an equipment list, which are used for at least solving the technical problem that a user experiences poor feeling caused by the fact that the user does not realize data communication on equipment of a plurality of platforms and checks that different equipment needs to go to different APPs.
According to an aspect of the embodiments of the present invention, there is provided a method for processing a device list, including: acquiring a user identifier and a signature; calling an equipment list interface, and verifying whether the IP address of the request equipment list, the signature are legal or not and whether the user identification is registered or not to obtain a verification result; and receiving the requested equipment list through the called equipment list interface according to the verification result.
Optionally, obtaining the user identifier includes: and calling an application interface for authorizing the user identifier, wherein the application interface is used for acquiring the user identifier.
Optionally, receiving the requested device list through the called device list interface according to the verification result includes: and receiving the requested equipment list through the called equipment list interface under the conditions that the IP address is verified to be legal, the signature is legal and the user identification is registered.
According to another aspect of the embodiments of the present invention, there is also provided a method for processing an equipment list, including: acquiring a user identifier and a signature; allocating an equipment list interface, and verifying whether the IP address of the request equipment list, the signature are legal or not and whether the user identification is registered or not to obtain a verification result; and determining the equipment list of the returned request through the equipment list interface according to the verification result.
Optionally, verifying whether the IP address of the requesting device list, the signature are valid, and whether the user identifier is registered, to obtain a verification result, includes: under the conditions that the IP address is verified to be legal, the signature is legal and the user identification is registered, determining that the verification result is a first verification result; and under the condition that any one of the IP address, the signature and the user identifier is verified to be illegal, determining that the verification result is a second verification result.
Optionally, the determining, according to the verification result, the device list that is returned through the device list interface and requested by the user through the user interface includes: when the verification result is the first verification result, returning the requested equipment list through the equipment list interface; and when the verification result is the second verification result, not returning the requested equipment list.
According to another aspect of the embodiments of the present invention, there is also provided an apparatus for processing a device list, including: the first acquisition module is used for acquiring a user identifier and a signature; the calling module is used for calling an equipment list interface and verifying whether the IP address of the request equipment list, the signature are legal or not and whether the user identification is registered or not to obtain a verification result; and the receiving module is used for receiving the requested equipment list through the called equipment list interface according to the verification result.
According to another aspect of the embodiments of the present invention, there is also provided an apparatus for processing a device list, including: the second acquisition module is used for acquiring the user identification and the signature; the distribution module is used for distributing the equipment list interface and verifying the IP address of the request equipment list, whether the signature is legal and whether the user identification is registered to obtain a verification result; and the determining module is used for determining the equipment list which returns the request through the equipment list interface according to the verification result.
According to another aspect of the embodiments of the present invention, there is also provided a computer-readable storage medium, where the computer-readable storage medium includes a stored program, and when the program runs, the apparatus where the computer-readable storage medium is located is controlled to execute the method for processing the apparatus list described in any one of the above.
According to another aspect of the embodiments of the present invention, there is also provided a processor, where the processor is configured to execute a program, where the program executes a method for processing a device list according to any one of the foregoing methods.
In the embodiment of the invention, the user identification and the signature are acquired; calling an equipment list interface, and verifying whether the IP address of the request equipment list, the signature are legal or not and whether the user identification is registered or not to obtain a verification result; according to the verification result, the device list is called through the device list interface to receive the request, the account numbers and the device lists of the multiple platforms are communicated through the user identification, the purpose that the device lists bound by other platforms are checked only on one platform is achieved, the technical effect of user experience is improved, and the technical problem that the user experience is poor due to the fact that the user does not communicate data in the devices of the multiple platforms, checks different devices and needs to go to different APPs is solved.
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 application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
fig. 1 is a flowchart of a method for processing a device list according to an embodiment of the present invention;
FIG. 2 is a flow chart of another method of processing a device list according to an embodiment of the invention;
FIG. 3 is a flow diagram of obtaining a list of devices using cell phone numbers in accordance with an alternative embodiment of the present invention;
FIG. 4 is a timing diagram for obtaining a list of devices using cell phone numbers in accordance with an alternative embodiment of the present invention;
FIG. 5 is a schematic diagram of a device list processing apparatus according to an embodiment of the present invention;
fig. 6 is a schematic diagram of another device list processing apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example 1
In accordance with an embodiment of the present invention, there is provided an embodiment of a method for processing a device list, it should be noted that the steps illustrated in the flowchart of the drawings may be performed in a computer system such as a set of computer executable instructions, and that while a logical order is illustrated in the flowchart, in some cases the steps illustrated or described may be performed in an order different than that herein.
Fig. 1 is a flowchart of a method for processing a device list according to an embodiment of the present invention, and as shown in fig. 1, the method includes the following steps:
step S102, acquiring a user identifier and a signature;
the user identifier includes, but is not limited to, a mobile phone number, an identification number, and the like of the user. The signature is obtained by performing encryption processing based on the software application ID and the key.
Step S104, calling an equipment list interface, and verifying whether the IP address and the signature of the request equipment list are legal and whether the user identification is registered to obtain a verification result;
and step S106, receiving the requested equipment list through the called equipment list interface according to the verification result.
Through the steps, the user identification and the signature can be acquired; calling an equipment list interface, and verifying whether the IP address and the signature of the request equipment list are legal and whether the user identification is registered to obtain a verification result; the device list of the request is received through the called device list interface according to the verification result, the account numbers and the device lists of the multiple platforms are communicated through the user identification, the purpose that the device lists bound by the other platforms are checked only on one platform is achieved, the technical effect of user experience is improved, and therefore the technical problem that the user does not realize data communication on the devices of the multiple platforms, check different devices and need to go to different APPs, and the user experience is poor is solved.
In an optional implementation, obtaining the user identifier includes: and calling an application interface of the authorized user identifier, wherein the application interface is used for acquiring the user identifier.
In an alternative embodiment, receiving the requested device list through the called device list interface according to the verification result includes: and receiving the requested equipment list through the called equipment list interface under the conditions that the IP address is verified to be legal, the signature is verified to be legal and the user identification is registered.
Example 2
According to another aspect of the embodiments of the present invention, there is also provided a method for processing a device list, and fig. 2 is a flowchart of another method for processing a device list according to an embodiment of the present invention, as shown in fig. 2, the method includes the following steps:
step S202, acquiring a user identifier and a signature;
step S204, an equipment list interface is distributed, and the IP address and the signature of the request equipment list are verified to be legal or not and the user identification is verified to be registered or not, so that a verification result is obtained;
step S206, according to the verification result, determining the device list which returns the request through the device list interface.
Through the steps, the user identification and the signature can be acquired; allocating an equipment list interface, and verifying whether the IP address and the signature of the request equipment list are legal and whether the user identification is registered to obtain a verification result; according to the verification result, the equipment list of the request returned through the equipment list interface is determined, the account numbers and the equipment lists of the multiple platforms are communicated by using the user identification, the purpose of checking the equipment lists bound by other platforms on one platform is achieved, the technical effect of improving the user experience is achieved, and the technical problem that the user does not realize data communication on the equipment of the multiple platforms, checks different equipment and needs to go to different APPs, and the user experience is poor is solved.
In an optional implementation manner, verifying whether the IP address, the signature, and the user identifier of the requesting device list are valid and registered to obtain a verification result includes: determining that the verification result is a first verification result under the conditions that the IP address is verified to be legal, the signature is legal and the user identifier is registered; and under the condition that any one of the IP address is illegal, the signature is illegal and the user identification is unregistered during verification, determining that the verification result is a second verification result.
In an optional implementation manner, the determining, according to the verification result including the first verification result and the second verification result, the device list that returns the request through the device list interface includes: when the verification result is the first verification result, returning the requested equipment list through the equipment list interface; and when the verification result is the second verification result, not returning the requested equipment list.
An alternative embodiment of the invention is described in detail below.
The APPs used by the user may come from different vendors, or different APPs from the same vendor, such as cell phone software and wechat applets. If a plurality of platforms APP are needed to get through all the device data, two situations are adopted, wherein the first situation is that a plurality of platforms obtain the device of the same party, and the second situation is that a plurality of platforms obtain the device of a third party. In the specific implementation process, after a user logs in a certain platform, the platform service uses the mobile phone number of the user to request to acquire an equipment list bound by other platforms. If the equipment is the equipment of my party, the equipment uniformly processes the service providing equipment list; if the device is the third-party device, the third-party provides a service interface for obtaining, so that the multi-platform communication of the user and the communication with the device list are realized.
Fig. 3 is a flowchart of obtaining an equipment list using a mobile phone number according to an optional embodiment of the present invention, and fig. 4 is a sequence diagram of obtaining an equipment list using a mobile phone number according to an optional embodiment of the present invention, where as shown in fig. 3 and 4, if APPs of a third party and my party obtain own party equipment, after a user logs in a certain APP, the APP needs to obtain a mobile phone number of the user, for example, a wechat applet calls an authorized user mobile phone number interface to obtain the mobile phone number. After the mobile phone number is received, the APP also needs to generate a signature of the requesting device list, and the signature is generated by encrypting the software ID and a corresponding secret key. The software ID and corresponding key are managed by the device unification processing service, each APP having its own ID and key. Each APP needs to properly manage the software ID and key. The signature is to ensure the security of obtaining the list of user devices. And after the mobile phone number and the signature are taken, requesting to call a device list interface of the unified processing service of the device. The device uniform processing service firstly needs to verify whether the IP address of the request is legal or not, check whether the IP white list has the address of the request or not, and if not, judge that the request is illegal. After the IP address is legal, the equipment unified processing service also needs to verify whether the signature of the request is legal or not, the ID and the secret key of the APP are used for generating the signature by encryption, and whether the two signatures are equal or not is compared. After the verification is passed, the unified processing service requests the interface of the platform of the client to inquire all the equipment under the mobile phone number, and after the platform of the client returns the result, the unified processing service assembles the result according to the protocol and returns the result. And if the mobile phone number is not registered, registering a new account for the user. Thus, the user can view all my devices on any platform APP.
And if the APP of the third party and the APP of the my party need to acquire the equipment of the third party, using the mobile phone number of the user to request an equipment list acquisition interface provided by the third party, wherein the process is similar to the process.
And after the APP takes the information of all the devices of the two parties, the information is uniformly displayed to the user.
In the embodiment of the invention, the account numbers and the equipment lists of a plurality of platforms can be communicated by using the mobile phone numbers of the users, the data communication of different platforms of the same manufacturer and the communication of the user account numbers and the equipment data among different manufacturers are included, the users can obtain all the equipment on one platform, a plurality of APPs are not required to be downloaded, and the user experience is greatly improved.
Example 3
According to another aspect of the embodiments of the present invention, there is also provided a device list processing apparatus, and fig. 5 is a schematic diagram of a device list processing apparatus according to an embodiment of the present invention, and as shown in fig. 5, the device list processing apparatus includes: a first acquisition module 52, a calling module 54, and a receiving module 56. The processing means of the device list will be explained in detail below.
A first obtaining module 52, configured to obtain a user identifier and a signature; a calling module 54, connected to the first obtaining module 52, for calling the device list interface, and verifying whether the IP address and the signature of the requested device list are valid and whether the user identifier is registered, so as to obtain a verification result; and a receiving module 56, connected to the invoking module 54, for receiving the requested device list through the invoked device list interface according to the verification result.
It should be noted that the above modules may be implemented by software or hardware, for example, for the latter, the following may be implemented: the modules can be located in the same processor; and/or the modules are located in different processors in any combination.
In the above embodiment, the processing apparatus for the device list can get through the account numbers and the device list of the multiple platforms by using the user identifier, and achieve the purpose of checking the device list bound by the other platforms only on one platform, thereby achieving the technical effect of improving the user experience feeling, and further solving the technical problem that the user does not get through the data on the devices of the multiple platforms, and checks that different devices need to go to different APPs, which causes poor user experience feeling.
It should be noted here that the first acquiring module 52, the invoking module 54 and the receiving module 56 correspond to steps S102 to S106 in embodiment 1, and the modules are the same as the corresponding steps in the implementation example and application scenarios, but are not limited to the disclosure in embodiment 1.
In an alternative embodiment, the first obtaining module 52 includes: and the calling unit is used for calling an application interface of the authorized user identifier, wherein the application interface is used for acquiring the user identifier.
In an alternative embodiment, the receiving module 56 includes: and the receiving unit is used for receiving the requested equipment list through the called equipment list interface under the conditions that the IP address is verified to be legal, the signature is legal and the user identification is registered.
Example 4
According to another aspect of the embodiments of the present invention, there is also provided a device list processing apparatus, and fig. 6 is a schematic diagram of another device list processing apparatus according to the embodiments of the present invention, as shown in fig. 6, the device list processing apparatus includes: a second acquisition module 62, an assignment module 64, and a determination module 66. The processing means of the device list will be explained in detail below.
A second obtaining module 62, configured to obtain a user identifier and a signature; an allocating module 64, connected to the second obtaining module 62, for allocating an equipment list interface, and verifying whether the IP address and the signature of the requested equipment list are valid and whether the user identifier is registered, so as to obtain a verification result; a determining module 66, connected to the allocating module 64, for determining the device list to be returned to the request through the device list interface according to the verification result.
It should be noted that the above modules may be implemented by software or hardware, for example, for the latter, the following may be implemented: the modules can be located in the same processor; and/or the modules are located in different processors in any combination.
In the above embodiment, the processing apparatus for the device list can get through the account numbers and the device list of the multiple platforms by using the user identifier, and achieve the purpose of checking the device list bound by the other platforms only on one platform, thereby achieving the technical effect of improving the user experience feeling, and further solving the technical problem that the user does not get through the data on the devices of the multiple platforms, and checks that different devices need to go to different APPs, which causes poor user experience feeling.
It should be noted here that the second acquiring module 62, the allocating module 64 and the determining module 66 correspond to steps S202 to S206 in embodiment 2, and the modules are the same as the corresponding steps in the implementation example and application scenarios, but are not limited to the disclosure in embodiment 2.
In an alternative embodiment, the distribution module 64 includes: the first processing unit is used for determining that the verification result is a first verification result under the conditions that the IP address is verified to be legal, the signature is legal and the user identification is registered; and the second processing unit is used for determining the verification result as a second verification result under the condition that any one of the illegal IP address, the illegal signature and the unregistered user identification is verified.
In an alternative embodiment, the verification result includes a first verification result and a second verification result, and the determining module 66 includes: the third processing unit is used for returning the requested equipment list through the equipment list interface when the verification result is the first verification result; and the fourth processing unit is used for not returning the requested equipment list when the verification result is the second verification result.
Example 5
According to another aspect of the embodiments of the present invention, there is also provided a computer-readable storage medium, where the computer-readable storage medium includes a stored program, and when the program runs, the apparatus where the computer-readable storage medium is located is controlled to execute the method for processing the apparatus list in any one of the above.
Optionally, in this embodiment, the computer-readable storage medium may be located in any one of a group of computer terminals in a computer network and/or in any one of a group of mobile terminals, and the computer-readable storage medium includes a stored program.
Optionally, the program when executed controls an apparatus in which the computer-readable storage medium is located to perform the following functions: acquiring a user identifier and a signature; calling an equipment list interface, and verifying whether the IP address and the signature of the request equipment list are legal and whether the user identification is registered to obtain a verification result; receiving a requested equipment list through a called equipment list interface according to a verification result; or, acquiring a user identifier and a signature; allocating an equipment list interface, and verifying whether the IP address and the signature of the request equipment list are legal and whether the user identification is registered to obtain a verification result; and determining the equipment list of the request returned through the equipment list interface according to the verification result.
Example 6
According to another aspect of the embodiments of the present invention, there is also provided a processor, configured to execute a program, where the program executes a method for processing a device list in any one of the above.
The embodiment of the invention provides equipment, which comprises a processor, a memory and a program which is stored on the memory and can run on the processor, wherein the processor executes the program and realizes the following steps: acquiring a user identifier and a signature; calling an equipment list interface, and verifying whether the IP address and the signature of the request equipment list are legal and whether the user identification is registered to obtain a verification result; receiving a requested equipment list through a called equipment list interface according to a verification result; or, acquiring a user identifier and a signature; allocating an equipment list interface, and verifying whether the IP address and the signature of the request equipment list are legal and whether the user identification is registered to obtain a verification result; and determining the equipment list of the request returned through the equipment list interface according to the verification result.
The invention also provides a computer program product adapted to perform a program for initializing the following method steps when executed on a data processing device: acquiring a user identifier and a signature; calling an equipment list interface, and verifying whether the IP address and the signature of the request equipment list are legal and whether the user identification is registered to obtain a verification result; receiving a requested equipment list through a called equipment list interface according to a verification result; or, acquiring a user identifier and a signature; allocating an equipment list interface, and verifying whether the IP address and the signature of the request equipment list are legal and whether the user identification is registered to obtain a verification result; and determining the equipment list of the request returned through the equipment list interface according to the verification result.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units may be a logical division, and in actual implementation, there may be another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.
Claims (10)
1. A method for processing a device list, comprising:
acquiring a user identifier and a signature;
calling an equipment list interface, and verifying whether the IP address of the request equipment list, the signature are legal or not and whether the user identification is registered or not to obtain a verification result;
and receiving the requested equipment list through the called equipment list interface according to the verification result.
2. The method of claim 1, wherein obtaining a user identity comprises:
and calling an application interface for authorizing the user identifier, wherein the application interface is used for acquiring the user identifier.
3. The method of claim 1, wherein receiving the requested device list through the invoked device list interface according to the verification result comprises:
and receiving the requested equipment list through the called equipment list interface under the conditions that the IP address is verified to be legal, the signature is legal and the user identification is registered.
4. A method for processing a device list, comprising:
acquiring a user identifier and a signature;
allocating an equipment list interface, and verifying whether the IP address of the request equipment list, the signature are legal or not and whether the user identification is registered or not to obtain a verification result;
and determining the equipment list of the returned request through the equipment list interface according to the verification result.
5. The method of claim 4, wherein verifying whether the IP address of the requesting device list, the signature, and the user identifier are registered, and obtaining a verification result comprises:
under the conditions that the IP address is verified to be legal, the signature is legal and the user identification is registered, determining that the verification result is a first verification result;
and under the condition that any one of the IP address, the signature and the user identifier is verified to be illegal, determining that the verification result is a second verification result.
6. The method of claim 4, wherein the verification result comprises a first verification result and a second verification result, and wherein determining the device list requested to be returned through the device list interface according to the verification result comprises:
when the verification result is the first verification result, returning the requested equipment list through the equipment list interface;
and when the verification result is the second verification result, not returning the requested equipment list.
7. An apparatus for processing a device list, comprising:
the first acquisition module is used for acquiring a user identifier and a signature;
the calling module is used for calling an equipment list interface and verifying whether the IP address of the request equipment list, the signature are legal or not and whether the user identification is registered or not to obtain a verification result;
and the receiving module is used for receiving the requested equipment list through the called equipment list interface according to the verification result.
8. An apparatus for processing a device list, comprising:
the second acquisition module is used for acquiring the user identification and the signature;
the distribution module is used for distributing the equipment list interface and verifying the IP address of the request equipment list, whether the signature is legal and whether the user identification is registered to obtain a verification result;
and the determining module is used for determining the equipment list which returns the request through the equipment list interface according to the verification result.
9. A computer-readable storage medium, comprising a stored program, wherein when the program runs, the program controls a device in which the computer-readable storage medium is located to execute the method for processing the device list according to any one of claims 1 to 3 or claims 4 to 6.
10. A processor, characterized in that the processor is configured to execute a program, wherein the program executes a method for processing the device list according to any one of claims 1 to 3 or claims 4 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110962485.2A CN113691377B (en) | 2021-08-20 | 2021-08-20 | Method and device for processing equipment list |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110962485.2A CN113691377B (en) | 2021-08-20 | 2021-08-20 | Method and device for processing equipment list |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113691377A true CN113691377A (en) | 2021-11-23 |
CN113691377B CN113691377B (en) | 2023-04-11 |
Family
ID=78581360
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110962485.2A Active CN113691377B (en) | 2021-08-20 | 2021-08-20 | Method and device for processing equipment list |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113691377B (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2016029595A1 (en) * | 2014-08-27 | 2016-03-03 | 百度在线网络技术(北京)有限公司 | Method, device, and equipment for calling open platform and non-volatile computer storage medium |
CN107819805A (en) * | 2016-09-14 | 2018-03-20 | 北京京东尚科信息技术有限公司 | Smart machine control method and system |
CN110300117A (en) * | 2019-07-05 | 2019-10-01 | 杭州博联智能科技股份有限公司 | Authentication method, equipment and the medium of IOT equipment and user's binding |
CN111510425A (en) * | 2020-03-06 | 2020-08-07 | 珠海格力电器股份有限公司 | Intelligent household equipment management method, device, equipment and storage medium |
CN112019493A (en) * | 2019-05-31 | 2020-12-01 | 北京京东尚科信息技术有限公司 | Identity authentication method, identity authentication device, computer device, and medium |
CN112583607A (en) * | 2020-12-22 | 2021-03-30 | 珠海格力电器股份有限公司 | Equipment access management method, device, system and storage medium |
CN112600856A (en) * | 2020-12-28 | 2021-04-02 | 青岛海尔科技有限公司 | Equipment authorization method and device, storage medium and electronic device |
-
2021
- 2021-08-20 CN CN202110962485.2A patent/CN113691377B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2016029595A1 (en) * | 2014-08-27 | 2016-03-03 | 百度在线网络技术(北京)有限公司 | Method, device, and equipment for calling open platform and non-volatile computer storage medium |
CN107819805A (en) * | 2016-09-14 | 2018-03-20 | 北京京东尚科信息技术有限公司 | Smart machine control method and system |
CN112019493A (en) * | 2019-05-31 | 2020-12-01 | 北京京东尚科信息技术有限公司 | Identity authentication method, identity authentication device, computer device, and medium |
CN110300117A (en) * | 2019-07-05 | 2019-10-01 | 杭州博联智能科技股份有限公司 | Authentication method, equipment and the medium of IOT equipment and user's binding |
CN111510425A (en) * | 2020-03-06 | 2020-08-07 | 珠海格力电器股份有限公司 | Intelligent household equipment management method, device, equipment and storage medium |
CN112583607A (en) * | 2020-12-22 | 2021-03-30 | 珠海格力电器股份有限公司 | Equipment access management method, device, system and storage medium |
CN112600856A (en) * | 2020-12-28 | 2021-04-02 | 青岛海尔科技有限公司 | Equipment authorization method and device, storage medium and electronic device |
Non-Patent Citations (1)
Title |
---|
杨萃等: "基于物联网标识的智能家居服务体系架构设计", 《科研信息化技术与应用》 * |
Also Published As
Publication number | Publication date |
---|---|
CN113691377B (en) | 2023-04-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107483509B (en) | A kind of auth method, server and readable storage medium storing program for executing | |
US20170161721A1 (en) | Method and system for opening account based on euicc | |
CN110178393B (en) | Method, device and server for downloading subscription data set | |
CN103188221B (en) | application program login method, device and mobile terminal | |
CN102231746B (en) | Method for validating identification information and terminal thereof | |
CN108848496B (en) | TEE-based virtual eSIM card authentication method, TEE terminal and management platform | |
CN102437998B (en) | Application store system and the method using this application store system to develop | |
CN109086596B (en) | Authentication method, device and system for application program | |
CN111800377B (en) | Mobile terminal identity authentication system based on safe multi-party calculation | |
CN105608369B (en) | The installation method and device of application software | |
CN108933838B (en) | Application data processing method and device | |
CN110795174B (en) | Application program interface calling method, device, equipment and readable storage medium | |
CN108022100B (en) | Cross authentication system and method based on block chain technology | |
CN105871794A (en) | Distributed file system date storage method and system, client and server | |
CN104717648A (en) | Unified authentication method and device based on SIM card | |
CN102291386A (en) | Method of handling server delegation and related communication device | |
CN106203021A (en) | The application login method of a kind of many certification modes integration and system | |
CN106790199B (en) | Verification code processing method and device | |
CN111737681A (en) | Resource acquisition method and device, storage medium and electronic device | |
CN105429943A (en) | Information processing method and terminal thereof | |
CN107645474B (en) | Method and device for logging in open platform | |
CN113434766B (en) | Subscription information pushing method and device, storage medium and electronic device | |
CN113691377B (en) | Method and device for processing equipment list | |
CN108574658B (en) | Application login method and device | |
CN107005409B (en) | Introduction of identity into secure element |
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 |