CN114553621B - Equipment access method and device, storage medium and electronic device - Google Patents

Equipment access method and device, storage medium and electronic device Download PDF

Info

Publication number
CN114553621B
CN114553621B CN202210051299.8A CN202210051299A CN114553621B CN 114553621 B CN114553621 B CN 114553621B CN 202210051299 A CN202210051299 A CN 202210051299A CN 114553621 B CN114553621 B CN 114553621B
Authority
CN
China
Prior art keywords
equipment
model information
access
internet
model
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
CN202210051299.8A
Other languages
Chinese (zh)
Other versions
CN114553621A (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.)
Qingdao Haier Technology Co Ltd
Haier Smart Home Co Ltd
Original Assignee
Qingdao Haier Technology Co Ltd
Haier Smart Home 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 Qingdao Haier Technology Co Ltd, Haier Smart Home Co Ltd filed Critical Qingdao Haier Technology Co Ltd
Priority to CN202210051299.8A priority Critical patent/CN114553621B/en
Publication of CN114553621A publication Critical patent/CN114553621A/en
Application granted granted Critical
Publication of CN114553621B publication Critical patent/CN114553621B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2807Exchanging configuration information on appliance services in a home automation network
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16YINFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
    • G16Y40/00IoT characterised by the purpose of the information processing
    • G16Y40/30Control
    • G16Y40/35Management of things, i.e. controlling in accordance with a policy or in order to achieve specified objectives
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2854Wide area networks, e.g. public data networks
    • H04L12/2856Access arrangements, e.g. Internet access
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computing Systems (AREA)
  • Automation & Control Theory (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Computer And Data Communications (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The embodiment of the invention provides a device access method and device, a storage medium and an electronic device, wherein the method comprises the following steps: under the condition that the first equipment is determined to belong to the preset equipment type, model information of second equipment is obtained, wherein the second equipment has the same equipment function as the first equipment, and the second equipment is connected with the Internet of things platform; determining first model information of the first equipment according to the model information of the second equipment; and controlling the first equipment to access the Internet of things platform based on the first model information. The invention solves the problem of time consumption of equipment access in the related technology, and achieves the effect of saving the equipment access time.

Description

Equipment access method and device, storage medium and electronic device
Technical Field
The embodiment of the invention relates to the field of equipment, in particular to an equipment access method and device, a storage medium and an electronic device.
Background
With the development of intelligent home appliances, more and more intelligent products are integrated into each household, more and more developers access to the internet of things (IoT) platform, and relatively large labor and time cost are required for developing one product from the stand to the access platform, so that the new product is updated and iterated slowly, the market share of the product is seriously influenced by the fact that the new product is not on the market and the market rhythm is not kept up, and therefore the shortening of the development period becomes a key point for the developers to contend, and the development period is also a main embodiment of the platform capability.
At present, the models exist independently at the sales end, so that the products are independently accessed on the platform according to the respective models. Each model is independently configured with information such as functions, distribution network, scene, voice and the like of the model in the access process. It takes a lot of time and labor for the developer to access and test each model individually.
Disclosure of Invention
The embodiment of the invention provides a device access method and device, a storage medium and an electronic device, which are used for at least solving the problem that the access of devices in the related technology consumes time.
According to an embodiment of the present invention, there is provided a device access method including: under the condition that the first equipment is determined to belong to the preset equipment type, model information of second equipment is obtained, wherein the second equipment has the same equipment function as the first equipment, and the second equipment is connected with the Internet of things platform; determining first model information of the first equipment according to the model information of the second equipment; and controlling the first equipment to access the Internet of things platform based on the first model information.
According to another embodiment of the present invention, there is provided a device access apparatus including: the first acquisition module is used for acquiring model information of second equipment under the condition that the first equipment is determined to belong to a preset equipment type, wherein the second equipment has the same equipment function as the first equipment, and the second equipment is connected with the internet of things platform; a first determining module, configured to determine first model information of the first device according to model information of the second device; the first control module is used for controlling the first equipment to access the Internet of things platform based on the first model information.
In one exemplary embodiment, a first acquisition module includes: a first determining unit configured to determine a development model of the first device; a first obtaining unit, configured to obtain model information of the second device when it is determined that the first device belongs to a preset device type based on a development model of the device.
In an exemplary embodiment, the above apparatus further includes: the second determining module is used for determining whether the second equipment is in an online state or not under the condition that the model information of the second equipment is non-empty after the model information of the second equipment is acquired under the condition that the first equipment is determined to belong to the preset equipment type; and the third determining module is used for determining whether the second equipment and the first equipment belong to the same type identifier or not under the condition that the second equipment is in the online state.
In an exemplary embodiment, the first determining module includes: a first multiplexing unit configured to multiplex model information of the second device if it is determined that the second device and the first device belong to the same type identifier; and the first synchronization unit is used for synchronizing the model information of the second equipment to the model information of the first equipment to obtain the first model information.
In an exemplary embodiment, the first control module includes: the first auditing unit is used for auditing whether the first model information comprises abnormal information or not; a first verification unit configured to verify, if no anomaly information is included in the first model information, a device function of the first device; the first control unit is used for controlling the first equipment to be accessed to the Internet of things platform based on the verification result of the equipment function of the first equipment.
In an exemplary embodiment, the first control unit includes one of the following: the first control subunit is used for controlling the first equipment to be accessed to the internet of things platform under the condition that the equipment function of the first equipment passes the verification; and the first creation subunit is used for creating second model information of the first equipment under the condition that the equipment function check of the first equipment is not passed, and controlling the first equipment to be accessed to the Internet of things platform based on the second model information.
In an exemplary embodiment, the above apparatus further includes: the first creating module is configured to create second model information of the first device when the first device does not belong to the preset device type or the model information of the second device does not exist, and control the first device to access the internet of things platform based on the second model information.
According to a further embodiment of the invention, there is also provided a computer readable storage medium having stored therein a computer program, wherein the computer program is arranged to perform the steps of any of the method embodiments described above when run.
According to a further embodiment of the invention, there is also provided an electronic device comprising a memory having stored therein a computer program and a processor arranged to run the computer program to perform the steps of any of the method embodiments described above.
According to the method and the device, model information of the second equipment is obtained under the condition that the first equipment is determined to belong to the preset equipment type, wherein the second equipment has the same equipment function as the first equipment, and the second equipment is connected with the Internet of things platform; determining first model information of the first equipment according to the model information of the second equipment; and controlling the first equipment to access the Internet of things platform based on the first model information. The purpose of quick access of the equipment with the same function is realized. Therefore, the problem that the access of the equipment in the related technology consumes time can be solved, and the effect of saving the access time of the equipment is achieved.
Drawings
Fig. 1 is a block diagram of a hardware structure of a mobile terminal of a device access method according to an embodiment of the present invention;
fig. 2 is a flow chart of a device access method according to an embodiment of the invention;
FIG. 3 is an overall flow chart according to an embodiment of the invention;
FIG. 4 is a schematic diagram of a device model created in accordance with an embodiment of the invention;
fig. 5 is a block diagram of a device access apparatus according to an embodiment of the present invention.
Detailed Description
Embodiments of the present invention will be described in detail below with reference to the accompanying drawings in conjunction with the embodiments.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present invention and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order.
The method embodiments provided in the embodiments of the present application may be performed in a mobile terminal, a computer terminal or similar computing device. Taking the operation on a mobile terminal as an example, fig. 1 is a block diagram of a hardware structure of a mobile terminal of a device access method according to an embodiment of the present invention. As shown in fig. 1, a mobile terminal may include one or more (only one is shown in fig. 1) processors 102 (the processor 102 may include, but is not limited to, a microprocessor MCU or a processing device such as a programmable logic device FPGA) and a memory 104 for storing data, wherein the mobile terminal may also include a transmission device 106 for communication functions and an input-output device 108. It will be appreciated by those skilled in the art that the structure shown in fig. 1 is merely illustrative and not limiting of the structure of the mobile terminal described above. For example, the mobile terminal may also include more or fewer components than shown in fig. 1, or have a different configuration than shown in fig. 1.
The memory 104 may be used to store computer programs, such as software programs and modules of application software, such as computer programs corresponding to the device access method in the embodiment of the present invention, and the processor 102 executes the computer programs stored in the memory 104 to perform various functional applications and data processing, that is, implement the method described above. Memory 104 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include memory remotely located relative to the processor 102, which may be connected to the mobile terminal via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission means 106 is arranged to receive or transmit data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the mobile terminal. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, simply referred to as NIC) that can connect to other network devices through a base station to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module, which is used to communicate with the internet wirelessly.
In this embodiment, a device access method is provided, fig. 2 is a flowchart of a device access method according to an embodiment of the present invention, and as shown in fig. 2, the flowchart includes the following steps:
step S202, obtaining model information of second equipment under the condition that the first equipment is determined to belong to a preset equipment type, wherein the second equipment has the same equipment function as the first equipment, and the second equipment is connected with an Internet of things platform;
step S204, determining first model information of the first equipment according to the model information of the second equipment;
step S206, controlling the first equipment to access the Internet of things platform based on the first model information.
In this embodiment, the first device may be a child device, and the second device may be a parent device. The functions of the child device and the parent device are the same. The appearance may be different, wherein the appearance includes a model name, a finished product code, a brand, a product physical image, a distribution network description, a two-dimensional code, a specification, an outer package, and the like of the device.
In this embodiment, the time required for the device of the preset device type to be marketed is relatively short, and the function is the same as that of the master device, so that the quick access can be supported. The model function and other information do not need to be reconfigured so as to meet the time efficiency requirement of the product.
The main execution body of the above steps may be a terminal, but is not limited thereto.
Through the steps, the model information of the second equipment is obtained under the condition that the first equipment is determined to belong to the preset equipment type, wherein the second equipment has the same equipment function as the first equipment, and the second equipment is connected with the Internet of things platform; determining first model information of the first equipment according to the model information of the second equipment; and controlling the first equipment to access the Internet of things platform based on the first model information. The purpose of quick access of the equipment with the same function is realized. Therefore, the problem that the access of the equipment in the related technology consumes time can be solved, and the effect of saving the access time of the equipment is achieved.
In an exemplary embodiment, in a case where it is determined that the first device belongs to a preset device type, obtaining model information of the second device includes:
s11, determining a development model of the first equipment;
s12, obtaining model information of the second device under the condition that the first device is determined to belong to the preset device type based on the development model of the device.
In this embodiment, the development model of the first device is used to indicate whether the first device is a preset device type. For example, the first device is of a class D development type, i.e., a type that includes parental model information. Various kinds of information of the parent model can be multiplexed (equivalent to duplication).
With the present embodiment, the parent device (second device) to which the first device belongs can be determined by determining the development model of the first device. And various sexual information of female parent equipment can be conveniently and directly used.
In an exemplary embodiment, after obtaining the model information of the second device in the case that the first device is determined to belong to the preset device type, the method further includes:
s21, determining whether the second equipment is in an online state or not under the condition that the model information of the second equipment is determined to be non-empty;
s22, under the condition that the second equipment is in the online state, whether the second equipment and the first equipment belong to the same type identifier is determined.
In this embodiment, when the parent model of the second device exists and the second device is in an on-line state (i.e., in a quality part audit pass, has been on-line), it is determined whether the first device and the second device are under the same typeID.
By judging the model information of the mother equipment (second equipment), the embodiment can accurately determine whether the model information of the mother equipment can be reused or not, and the accuracy of information multiplexing is improved.
In one exemplary embodiment, determining the first model information of the first device according to the model information of the second device includes:
s31, multiplexing model information of the second equipment under the condition that the second equipment and the first equipment are determined to belong to the same type identifier; for example, the first device and the second device are the same model of refrigerator.
S32, synchronizing the model information of the second equipment to the model information of the first equipment to obtain first model information. For example, the refrigerator information of the second device is copied into the refrigerator information of the first device.
In this embodiment, the information range of the second device synchronizing to the first device is as shown in table 1:
by the embodiment, the purpose of directly multiplexing the model information of the second equipment is achieved.
In one exemplary embodiment, controlling a first device to access an internet of things platform based on first model information includes:
s41, checking whether the first model information comprises abnormal information; the first model information may be audited by the server. Specifically, it is determined whether the first model information matches the function or performance of the first device, for example, in the case where the first device is a refrigerator, and in the case where the first model information includes air-conditioning information, the air-conditioning information is abnormal information.
S42, checking the device function of the first device under the condition that the first model information does not comprise abnormal information; for example, in the case where the first device is a refrigerator, the cooling function of the refrigerator is verified.
S43, controlling the first equipment to access the Internet of things platform based on the verification result of the equipment function of the first equipment.
In this embodiment, controlling, based on a verification result of a device function of the first device, the first device to access to the internet of things platform includes one of:
s51, controlling the first equipment to be connected to the Internet of things platform under the condition that the equipment function of the first equipment passes the verification; for example, in the case where the first device is a refrigerator, the refrigerating function of the refrigerator is good, and it is determined that the function of the refrigerator is normal, entry may be made.
And S52, creating second model information of the first equipment under the condition that the equipment function check of the first equipment is not passed, and controlling the first equipment to access the Internet of things platform based on the second model information.
In this embodiment, the second model information of the first device is created, and the first device is controlled to access to the internet of things platform based on the second model information, including, but not limited to, accessing the first device to the internet of things platform according to the normal access procedure.
Through the embodiment, the purpose of accessing the first equipment in various modes is achieved, and the flexibility of equipment access is improved.
In one exemplary embodiment, the method further comprises:
and S61, creating second model information of the first equipment under the condition that the first equipment does not belong to the preset equipment type or the model information of the second equipment does not exist, and controlling the first equipment to be accessed into the Internet of things platform based on the second model information.
In this embodiment, the second model information of the first device is created, and the first device is controlled to access to the internet of things platform based on the second model information, including, but not limited to, accessing the first device to the internet of things platform according to the normal access procedure.
By the embodiment, the equipment development efficiency is improved, and the development period is shortened.
The invention is illustrated below with reference to specific examples:
the scheme flow chart of the access to the internet of things platform of the embodiment is shown in fig. 3, and comprises the following steps:
s301, standing: the developer applies for the model name and the finished product code of the D type model in the standing way, and associates the mother model at the same time, and various information of the model can be automatically synchronized to the platform through the interface.
S302, creating a model: the internet of things platform provides a create model portal, as shown in fig. 4.
S303, copy model: the platform provides a "copy model" portal, as opposed to creating a portal, so the platform is split into two parts in fig. 3, which is actually the same platform. And copying the master model information to the D-type device.
S304, submitting an audit to audit whether the function of the D-type device is changed.
S305, multiplexing the on-line verification result of the female parent model under the condition that the function of the D type equipment is not changed.
S306, checking the online verification result of the multiplexed female parent model. And under the condition that the auditing is passed, performing access processing.
S307, if the development type is not D type or is empty, the system does not acquire the master model, normally creates the model, enters a model function page, and runs the normal access flow of the model configuration test on line. A new model is generated.
S308, checking whether the generated model is a D-type model.
S309, judging whether the model of the female parent passes the examination and whether the model belongs to the same typeid.
S310, judging whether the female parent model is directly copied or not under the condition that whether the female parent model passes the audit and belongs to the same typeid.
S311, under the condition that the verification passes, the D type number is generated after being directly copied at the female parent model, and then the verification is submitted, whether the function is changed or not can be checked after the verification is submitted, if the function is not changed, the system verification is skipped, the manual verification is directly carried out, and if the function is changed, the normal equipment access flow is carried out, and the system verification stage is carried out.
To sum up, in this embodiment, the models with the same functions are quickly accessed, the models with the same functions are accessed before, and the new models have different appearances, so that the new models can be quickly accessed without need of reconfiguration from the beginning, and only by modifying some other configuration information based on the original models. And finally submitting the verification system to perform function verification, and directly entering manual verification without performing system online verification again if the function is unchanged. The development experience of a developer is improved; the development efficiency of the equipment is improved, and the project period is shortened.
From the description of the above embodiments, it will be clear to a person skilled in the art that the method according to the above embodiments may be implemented by means of software plus the necessary general hardware platform, but of course also by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method according to the embodiments of the present invention.
In this embodiment, a device access apparatus is further provided, and the device access apparatus is used to implement the foregoing embodiments and preferred embodiments, and will not be described in detail. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. While the means described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware, is also possible and contemplated.
Fig. 5 is a block diagram of a device access apparatus according to an embodiment of the present invention, as shown in fig. 5, the apparatus includes:
the first obtaining module 52 is configured to obtain model information of a second device when it is determined that the first device belongs to a preset device type, where the second device has the same device function as the first device, and the second device is connected to the platform of the internet of things;
a first determining module 54, configured to determine first model information of the first device according to model information of the second device;
the first control module 56 is configured to control the first device to access the internet of things platform based on the first model information.
In one exemplary embodiment, a first acquisition module includes:
a first determining unit configured to determine a development model of the first device;
a first obtaining unit, configured to obtain model information of the second device when it is determined that the first device belongs to a preset device type based on a development model of the device.
In an exemplary embodiment, the above apparatus further includes:
the second determining module is used for determining whether the second equipment is in an online state or not under the condition that the model information of the second equipment is non-empty after the model information of the second equipment is acquired under the condition that the first equipment is determined to belong to the preset equipment type;
and the third determining module is used for determining whether the second equipment and the first equipment belong to the same type identifier or not under the condition that the second equipment is in the online state.
In an exemplary embodiment, the first determining module includes:
a first multiplexing unit configured to multiplex model information of the second device if it is determined that the second device and the first device belong to the same type identifier;
and the first synchronization unit is used for synchronizing the model information of the second equipment to the model information of the first equipment to obtain the first model information.
In an exemplary embodiment, the first control module includes:
the first auditing unit is used for auditing whether the first model information comprises abnormal information or not;
a first verification unit configured to verify, if no anomaly information is included in the first model information, a device function of the first device;
the first control unit is used for controlling the first equipment to be accessed to the Internet of things platform based on the verification result of the equipment function of the first equipment.
In an exemplary embodiment, the first control unit includes one of the following:
the first control subunit is used for controlling the first equipment to be accessed to the internet of things platform under the condition that the equipment function of the first equipment passes the verification;
and the first creation subunit is used for creating second model information of the first equipment under the condition that the equipment function check of the first equipment is not passed, and controlling the first equipment to be accessed to the Internet of things platform based on the second model information.
In an exemplary embodiment, the above apparatus further includes:
the first creating module is configured to create second model information of the first device when the first device does not belong to the preset device type or the model information of the second device does not exist, and control the first device to access the internet of things platform based on the second model information.
It should be noted that each of the above modules may be implemented by software or hardware, and for the latter, it may be implemented by, but not limited to: the modules are all located in the same processor; alternatively, the above modules may be located in different processors in any combination.
Embodiments of the present invention also provide a computer readable storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the method embodiments described above when run.
In the present embodiment, the above-described computer-readable storage medium may be configured to store a computer program for executing the above steps.
In one exemplary embodiment, the computer readable storage medium may include, but is not limited to: a usb disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a removable hard disk, a magnetic disk, or an optical disk, or other various media capable of storing a computer program.
An embodiment of the invention also provides an electronic device comprising a memory having stored therein a computer program and a processor arranged to run the computer program to perform the steps of any of the method embodiments described above.
In an exemplary embodiment, the electronic apparatus may further include a transmission device connected to the processor, and an input/output device connected to the processor.
In an exemplary embodiment, the above processor may be arranged to perform the above steps by means of a computer program.
Specific examples in this embodiment may refer to the examples described in the foregoing embodiments and the exemplary implementation, and this embodiment is not described herein.
It will be appreciated by those skilled in the art that the modules or steps of the invention described above may be implemented in a general purpose computing device, they may be concentrated on a single computing device, or distributed across a network of computing devices, they may be implemented in program code executable by computing devices, so that they may be stored in a storage device for execution by computing devices, and in some cases, the steps shown or described may be performed in a different order than that shown or described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple modules or steps of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only of the preferred embodiments of the present invention and is not intended to limit the present invention, but various modifications and variations can be made to the present invention by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the principle of the present invention should be included in the protection scope of the present invention.

Claims (9)

1. A method for device access, comprising:
acquiring model information of second equipment under the condition that the first equipment is determined to belong to a preset equipment type, wherein the second equipment has the same equipment function as the first equipment, and the second equipment is connected with an Internet of things platform;
determining first model information of the first equipment according to the model information of the second equipment;
controlling the first equipment to access the internet of things platform based on the first model information;
wherein determining the first model information of the first device according to the model information of the second device includes:
multiplexing model information of the second device under the condition that the second device and the first device are determined to belong to the same type identifier;
and synchronizing the model information of the second equipment to the model information of the first equipment to obtain the first model information.
2. The method according to claim 1, wherein, in the case where it is determined that the first device belongs to the preset device type, obtaining model information of the second device includes:
determining a development model of the first device;
and acquiring model information of the second equipment under the condition that the first equipment is determined to belong to a preset equipment type based on the development model of the equipment.
3. The method according to claim 1, wherein after acquiring the model information of the second device in the case where it is determined that the first device belongs to the preset device type, the method further comprises:
determining whether the second equipment is in an online state or not under the condition that the model information of the second equipment is determined to be non-empty;
and under the condition that the second equipment is in the online state, determining whether the second equipment and the first equipment belong to the same type identifier or not.
4. The method of claim 1, wherein controlling the first device to access the internet of things platform based on the first model information comprises:
checking whether the first model information comprises abnormal information or not;
checking the device function of the first device in the case that the abnormality information is not included in the first model information;
and controlling the first equipment to access the Internet of things platform based on the verification result of the equipment function of the first equipment.
5. The method of claim 4, wherein controlling the first device to access the internet of things platform based on a verification result of a device function of the first device comprises one of:
controlling the first equipment to access the Internet of things platform under the condition that the equipment function of the first equipment passes the verification;
and under the condition that the equipment function check of the first equipment fails, creating second model information of the first equipment, and controlling the first equipment to be accessed to the Internet of things platform based on the second model information.
6. The method according to claim 1, wherein the method further comprises:
and under the condition that the first equipment does not belong to the preset equipment type or the model information of the second equipment does not exist, creating second model information of the first equipment, and controlling the first equipment to be accessed to the Internet of things platform based on the second model information.
7. A device access apparatus, comprising:
the system comprises a first acquisition module, a second acquisition module and a network platform, wherein the first acquisition module is used for acquiring model information of second equipment under the condition that the first equipment is determined to belong to a preset equipment type, the second equipment has the same equipment function as the first equipment, and the second equipment is connected with the network platform;
a first determining module, configured to determine first model information of the first device according to model information of the second device;
the first control module is used for controlling the first equipment to access the Internet of things platform based on the first model information;
wherein the first determining module includes:
a first multiplexing unit configured to multiplex model information of the second device if it is determined that the second device and the first device belong to the same type identifier;
and the first synchronization unit is used for synchronizing the model information of the second equipment to the model information of the first equipment to obtain the first model information.
8. A computer readable storage medium, characterized in that a computer program is stored in the computer readable storage medium, wherein the computer program, when executed by a processor, implements the method of any of claims 1 to 6.
9. An electronic device comprising a memory and a processor, characterized in that the memory has stored therein a computer program, the processor being arranged to run the computer program to perform the method of any of the claims 1 to 6.
CN202210051299.8A 2022-01-17 2022-01-17 Equipment access method and device, storage medium and electronic device Active CN114553621B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210051299.8A CN114553621B (en) 2022-01-17 2022-01-17 Equipment access method and device, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210051299.8A CN114553621B (en) 2022-01-17 2022-01-17 Equipment access method and device, storage medium and electronic device

Publications (2)

Publication Number Publication Date
CN114553621A CN114553621A (en) 2022-05-27
CN114553621B true CN114553621B (en) 2024-03-22

Family

ID=81671711

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210051299.8A Active CN114553621B (en) 2022-01-17 2022-01-17 Equipment access method and device, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN114553621B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103532751A (en) * 2013-10-09 2014-01-22 北京奇虎科技有限公司 Management method and device for network access equipment
CN110650071A (en) * 2018-06-26 2020-01-03 成都鼎桥通信技术有限公司 Access management method and device of user equipment and management server
WO2022001709A1 (en) * 2020-06-30 2022-01-06 华为技术有限公司 Device model recognition method, apparatus, network device and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103532751A (en) * 2013-10-09 2014-01-22 北京奇虎科技有限公司 Management method and device for network access equipment
CN110650071A (en) * 2018-06-26 2020-01-03 成都鼎桥通信技术有限公司 Access management method and device of user equipment and management server
WO2022001709A1 (en) * 2020-06-30 2022-01-06 华为技术有限公司 Device model recognition method, apparatus, network device and system

Also Published As

Publication number Publication date
CN114553621A (en) 2022-05-27

Similar Documents

Publication Publication Date Title
CN107589952A (en) Intelligent upgrade method, device and system
CN107920103B (en) Information pushing method and system, client and server
CN104252342A (en) Method and device for realizing embedding type application with configurable parameters
CN106487553A (en) The processing method of VNF example, device and VNFM
CN109858828B (en) Power distribution network fixed value automatic setting method and device and distribution network system
CN112416964A (en) Data processing method, device and system, computer equipment and computer readable storage medium
CN111589154B (en) Resource normalization detection and optimization method, device, equipment and storage medium
CN114069872A (en) Power distribution terminal based on modular configuration and topological model verification method and device thereof
CN114553621B (en) Equipment access method and device, storage medium and electronic device
CN108021589B (en) Configuration method and device for query dimension of database
CN112698818A (en) Point exchange method and device based on activity page and point exchange system
CN109543122B (en) Content synchronization method, device, storage medium and electronic device
CN113971191A (en) Data import method and device and computer readable storage medium
CN114285779B (en) Processing method, device and system of test request
CN113434421B (en) Virtual equipment testing method and device
CN112420019B (en) Equipment testing method and device
CN114285739A (en) Node information batch configuration method, device, terminal and storage medium
CN113839991A (en) Method and device for confirming equipment information, storage medium and electronic device
CN112650815A (en) Method and device for synchronizing environmental data, storage medium and electronic device
CN115733851A (en) Configuration method and device of Internet of things equipment, storage medium and electronic device
CN112698948A (en) Method and device for acquiring product resources, storage medium and electronic device
CN113176943B (en) Multi-environment consistency deployment method and device
CN111581628B (en) Token acquisition method, device, equipment and storage medium
CN113590913B (en) Data resource display method and device, storage medium and electronic device
CN113852919B (en) Method and device for generating early warning message, storage medium and electronic 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