CN115277765A - Cloud platform access method and device, electronic equipment and storage medium - Google Patents
Cloud platform access method and device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN115277765A CN115277765A CN202210857773.6A CN202210857773A CN115277765A CN 115277765 A CN115277765 A CN 115277765A CN 202210857773 A CN202210857773 A CN 202210857773A CN 115277765 A CN115277765 A CN 115277765A
- Authority
- CN
- China
- Prior art keywords
- cloud platform
- data
- target
- equipment
- product
- 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.)
- Withdrawn
Links
- 238000000034 method Methods 0.000 title claims abstract description 44
- 238000013499 data model Methods 0.000 claims description 40
- 238000004590 computer program Methods 0.000 claims description 16
- 230000006870 function Effects 0.000 claims description 8
- 230000005540 biological transmission Effects 0.000 claims description 5
- 238000006243 chemical reaction Methods 0.000 claims description 3
- 230000009286 beneficial effect Effects 0.000 abstract description 3
- 238000004891 communication Methods 0.000 description 8
- 238000010586 diagram Methods 0.000 description 5
- 238000012545 processing Methods 0.000 description 5
- 230000008569 process Effects 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 230000006872 improvement Effects 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000006855 networking Effects 0.000 description 2
- 244000062793 Sorghum vulgare Species 0.000 description 1
- 230000006978 adaptation Effects 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 238000013473 artificial intelligence Methods 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005315 distribution function Methods 0.000 description 1
- 239000011521 glass Substances 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000010801 machine learning Methods 0.000 description 1
- 238000007726 management method Methods 0.000 description 1
- 235000019713 millet Nutrition 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 230000001953 sensory effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000008685 targeting Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering 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/2854—Wide area networks, e.g. public data networks
- H04L12/2856—Access arrangements, e.g. Internet access
- H04L12/2869—Operational details of access network equipments
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a cloud platform access method and device, electronic equipment and a storage medium. The method comprises the following steps: acquiring product data and/or equipment data from a target user terminal configured with a preset SDK; the target user terminal applies a Hongmen system, and the preset SDK is adapted to the Hongmen system; determining a target cloud platform interface from candidate cloud platform interfaces according to the cloud platform data acquired from the target user terminal through the preset SDK; and accessing a target cloud platform through the target cloud platform interface to transmit the product data and/or the equipment data to the target cloud platform. By operating the technical scheme provided by the embodiment of the invention, the problems that most terminals can only access a single cloud platform, the application range of the cloud platform is reduced, and the efficiency of accessing the terminals to the cloud platform is reduced are solved, and the beneficial effect of improving the access efficiency of the cloud platform is achieved.
Description
Technical Field
The invention relates to the technology of internet of things, in particular to a cloud platform access method and device, electronic equipment and a storage medium.
Background
With the development of scientific technology and the improvement of informatization level, the terminal can access the cloud platform to perform corresponding operation in the cloud platform or through the cloud platform.
At present, most terminals in the market can only access a single cloud platform, so that the application range of the cloud platform is reduced, and the efficiency of the terminals for accessing the cloud platform is reduced.
Disclosure of Invention
The invention provides a cloud platform access method, a cloud platform access device, electronic equipment and a storage medium, and aims to improve cloud platform access efficiency.
According to an aspect of the present invention, a cloud platform access method is provided, which includes:
acquiring product data and/or equipment data from a target user terminal configured with a preset SDK; the target user terminal applies a Hongmon system, and the preset SDK is adapted to the Hongmon system;
determining a target cloud platform interface from candidate cloud platform interfaces according to the cloud platform data acquired from the target user terminal through the preset SDK;
and accessing a target cloud platform through the target cloud platform interface to transmit the product data and/or the equipment data to the target cloud platform.
According to another aspect of the present invention, there is provided a cloud platform access apparatus, including:
the data acquisition module is used for acquiring product data and/or equipment data from a target user terminal configured with a preset SDK; the target user terminal applies a Hongmen system, and the preset SDK is adapted to the Hongmen system;
the interface determining module is used for determining a target cloud platform interface from candidate cloud platform interfaces according to the cloud platform data acquired from the target user terminal through the preset SDK;
and the cloud platform access module is used for accessing a target cloud platform through the target cloud platform interface so as to transmit the product data and/or the equipment data to the target cloud platform.
According to another aspect of the present invention, there is provided an electronic apparatus including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores a computer program executable by the at least one processor, the computer program being executable by the at least one processor to enable the at least one processor to perform the cloud platform access method of any embodiment of the present invention.
According to another aspect of the present invention, there is provided a computer-readable storage medium storing computer instructions for causing a processor to implement the cloud platform access method according to any embodiment of the present invention when the computer instructions are executed.
According to the technical scheme of the embodiment of the invention, product data and/or equipment data are obtained from a target user terminal configured with a preset SDK; the target user terminal applies a Hongmon system, and the preset SDK is adapted to the Hongmon system; determining a target cloud platform interface from candidate cloud platform interfaces according to the cloud platform data acquired from the target user terminal through the preset SDK; and accessing a target cloud platform through the target cloud platform interface to transmit the product data and/or the equipment data to the target cloud platform. The problem of most terminals can only insert single cloud platform, the application scope of the cloud platform is reduced, the efficiency of the terminals for inserting the cloud platform is reduced is solved, and the beneficial effect of improving the efficiency of inserting the cloud platform is achieved.
It should be understood that the statements in this section do not necessarily identify key or critical features of the embodiments of the present invention, nor do they necessarily limit the scope of the invention. Other features of the present invention will become apparent from the following description.
Drawings
Fig. 1 is a flowchart of a cloud platform access method according to an embodiment of the present invention;
fig. 2 is a flowchart of a cloud platform access method according to a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of a cloud platform access device according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of an electronic device for implementing an embodiment of the 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 obtained by a person skilled in the art without making any creative effort based on the embodiments in the present invention, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," "target," and the like in the description and claims of the present invention and in the above-described drawings 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 one
Fig. 1 is a flowchart of a cloud platform access method according to an embodiment of the present invention, where this embodiment is applicable to a case where a terminal accesses a cloud platform, and the method may be executed by a cloud platform access apparatus provided in an embodiment of the present invention, and the apparatus may be implemented in a software and/or hardware manner. Referring to fig. 1, the cloud platform access method provided in this embodiment includes:
s110, acquiring product data and/or equipment data from a target user terminal configured with a preset SDK; the target user terminal applies a Hongmen system, and the preset SDK is adapted to the Hongmen system.
The target user terminal is a terminal needing to be accessed to the cloud platform, and the user terminal is applied to a Hongmon Harmony OS system. The user terminal may be a mobile phone, a tablet computer, a desktop computer, a laptop computer, a notebook computer, an ultra-mobile personal computer (UMPC), a handheld computer, a netbook, a Personal Digital Assistant (PDA), a wearable electronic device, a virtual reality device, or other different types of terminals, which is not limited in this embodiment.
The preset software development kit SDK is configured on a target user terminal, and the preset SDK is made to adapt to the Hongmon system through the adaptation of each interface in the Hongmon system.
The product data and/or the device data may be obtained through user input of the terminal, and an interface for inputting data may be provided by a preset SDK, which is not limited in this embodiment.
The product is a type of equipment, such as a street lamp, and the equipment is specific equipment, such as a street lamp one. The product data or the device data is associated data of the product or the device, for example, configuration data of the product or the device, registration data of the product or the device, and the like, which is not limited in this embodiment.
And S120, determining a target cloud platform interface from the candidate cloud platform interfaces according to the cloud platform data acquired from the target user terminal through the preset SDK.
The cloud platform data can be login data of the cloud platform, can be obtained through login operation of a user on a cloud platform account in a target user terminal, the cloud platform logged in by the user is determined according to the cloud platform data, and the platform is determined to be the target cloud platform. The candidate cloud platform interfaces are all cloud platform interfaces pre-adapted to the preset SDK, and may be a cloud platform, an aristoloc cloud platform, a hundredth cloud platform, a Tencent cloud platform, a millet cloud platform, or the like, which is not limited in this embodiment. And determining a target cloud platform interface from the candidate cloud platform interfaces according to the target cloud platform.
S130, accessing a target cloud platform through the target cloud platform interface to transmit the product data and/or the equipment data to the target cloud platform.
And the target user terminal is accessed to the target cloud platform by calling the target cloud platform interface, so that the product data and/or the equipment data are transmitted to the target cloud platform. The user can register the product and/or the equipment in the target cloud platform in advance, and the product data and/or the equipment data are conveniently and directly transmitted to the corresponding position in the target cloud platform.
The target user terminal and the target cloud platform can be connected by determining a proper network data exchange rule from a network data exchange rule set packaged in a preset SDK, so that different network data exchange rules can be adopted according to different target cloud platforms, and the cloud platform access efficiency is improved.
In this embodiment, optionally, the transmitting the product data and/or the device data to the target cloud platform includes:
inputting the product data and/or the equipment data into a general data model provided by the preset SDK;
converting the general data model into a target product data model and/or a target equipment data model corresponding to the target cloud platform according to the product data and/or the equipment data;
and transmitting the model data in the target product data model and/or the target equipment data model to the target cloud platform.
The general data model is preset with a data model provided by the SDK and used for acquiring product data and/or equipment data from the acquisition target user terminal. According to the product type or the equipment type corresponding to the product data or the equipment data, a corresponding product data model type or equipment data model type is determined.
And determining a specific target product data model and/or a target device data model according to the target cloud platform. Illustratively, the first cloud platform corresponds to the first street lamp data model, the second cloud platform corresponds to the second street lamp data model, and if the target cloud platform is the first cloud platform, the target product data model is the first street lamp data model.
The conversion rules for converting the generic data model into the target product data model and/or the target device data model may be preconfigured.
Model data in the target product data model and/or the target equipment data model are transmitted to the target cloud platform, so that the product data and/or the equipment data are transmitted to the target cloud platform, a user only needs to input data required to be input by the universal data model, a data input mode does not need to be correspondingly changed according to data input rules of different target cloud platforms, data transmission efficiency is improved, and user experience is improved. When a user changes the target cloud platform and the data to be transmitted is the same as the previous target cloud platform, the model data of the previous cloud platform can be directly converted into the changed model data of the target cloud platform, the user does not need to input the same product data and/or equipment data again according to the data input requirement of the changed target cloud platform, the data transmission efficiency is improved, and the user experience is improved.
In this embodiment, optionally, after the transmitting the product data and/or the device data to the target cloud platform, the method further includes:
judging whether a product record and/or an equipment record corresponding to the product data and/or the equipment data exist in the target cloud platform;
and if not, registering the product and/or the equipment in the target cloud platform according to the product data and/or the equipment data.
And judging whether a product record and/or an equipment record corresponding to the product data and/or the equipment data exist in the target cloud platform, namely judging whether the target cloud platform registers the product and/or the equipment in advance, and if not, registering the product and/or the equipment in the target cloud platform according to the product data and/or the equipment data. For example, if the device data is data of a first street lamp, it is determined whether a street lamp product exists in the target cloud platform, if so, it is determined whether the street lamp product includes a first street lamp device, and if not, the first street lamp is registered in the street lamp product. The product and/or device data are prevented from being transmitted, a user is required to register the product and/or device in the target cloud platform in advance, and user experience is improved.
According to the technical scheme provided by the embodiment, product data and/or equipment data are acquired from a target user terminal configured with a preset SDK; the target user terminal applies a Hongmon system, and the SDK is preset to adapt to the Hongmon system; determining a target cloud platform interface from the candidate cloud platform interfaces according to cloud platform data acquired from a target user terminal through a preset SDK; the target cloud platform is accessed through the target cloud platform interface so as to transmit the product data and/or the equipment data to the target cloud platform, so that the SDK supports the target user terminal applying the Hongmon system to send the product data and/or the equipment data to the cloud platform, and the user experience of the terminal applying the Hongmon system is improved. And because the SDK is preset to be uniformly adapted to the cloud platform interface, the interface of the cloud platform can be correctly called when the SDK is used, so that the problem that in the prior art, when the user terminal is connected to the cloud platform, only a single cloud platform can be connected, and if the connected cloud platform needs to be replaced, the user needs to determine the access mode again according to the access rule of the replaced cloud platform is solved. Only the configuration operation of the SDK needs to be preset in the target user terminal, the user terminal can be connected into the plurality of cloud platforms, the user does not need to develop and access the cloud platforms by himself, the access difficulty of the cloud platforms is reduced, and the access efficiency and the application range of the cloud platforms are improved.
Example two
Fig. 2 is a flowchart of a cloud platform access method according to a second embodiment of the present invention, and this technical solution is supplementary explained for a process after the product data and/or the device data are transferred to the target cloud platform. Compared with the scheme, the scheme is specifically optimized in that after the product data and/or the equipment data are transmitted to the target cloud platform, the method further comprises the following steps:
determining target equipment according to the product data and/or the equipment data;
and transmitting the product data and/or the equipment data to the target equipment provided with the preset SDK through the target cloud platform. Specifically, a flow chart of the cloud platform access method is shown in fig. 2:
s210, acquiring product data and/or equipment data from a target user terminal configured with a preset SDK; the target user terminal applies a Hongmen system, and the preset SDK is adapted to the Hongmen system.
And S220, determining a target cloud platform interface from candidate cloud platform interfaces according to the cloud platform data acquired from the target user terminal through the preset SDK.
S230, accessing a target cloud platform through the target cloud platform interface to transmit the product data and/or the equipment data to the target cloud platform.
S240, determining target equipment according to the product data and/or the equipment data.
The target device is a device which has a connection relation with the target cloud platform. Determining the target device from the product data and/or device data may be for application targeting based on the product data and/or device data. Illustratively, if the device data is applied to the starting target of the street lamp I, the target device is the street lamp I; and if the product data are applied to the street lamps serving as the starting targets, the target devices are all street lamp devices in the product categories in the target cloud platform.
And S250, transmitting the product data and/or the equipment data to the target equipment provided with the preset SDK through the target cloud platform.
The target device is provided with the preset SDK, the target cloud platforms and the target device can be connected through determining a proper network data exchange rule from a network data exchange rule set packaged in the preset SDK, different network data exchange rules can be adopted according to different target cloud platforms, and the connection efficiency of the device and the cloud platforms is improved. And transmitting the product data and/or the device data to the target device through the target cloud platform, so that the target device executes specific functions according to the product data and/or the device data.
In this embodiment, optionally, the method further includes:
the target user terminal reads tag information from the target device;
and triggering the distribution network function of the target user terminal according to the label information.
The target user terminal reads tag information from the target device;
the target user terminal reads the tag information in the preset SDK from the target device, and the operation of triggering reading may be that the target user terminal touches the target device, which is not limited in this embodiment.
The network distribution function of the target user terminal is triggered according to the tag information, and the triggering mode may be triggering a network connection page in the target user terminal, so that the user inputs a corresponding password on the network connection page to perform networking, where a network to be connected corresponding to the network connection page may be a network to which the target device is being connected, which is not limited in this embodiment. The distribution network function between the terminals and the equipment of the Hongmon system is configured, the networking efficiency of the terminals is improved, and the user experience is improved.
The embodiment of the invention determines the target equipment according to the product data and/or the equipment data; and transmitting the product data and/or the equipment data to target equipment provided with a preset SDK through a target cloud platform. Therefore, the target terminal can transmit data to one or more target devices through the target cloud platform, so that the target devices of one or more application hongmeng systems can be controlled in a unified mode, the control efficiency and the control pertinence of the target devices are improved, and the user experience is improved.
EXAMPLE III
Fig. 3 is a schematic structural diagram of a cloud platform access device according to a third embodiment of the present invention. The device can be realized in a hardware and/or software mode, can execute the cloud platform access method provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method. As shown in fig. 3, the apparatus includes:
a data obtaining module 310, configured to obtain product data and/or device data from a target user terminal configured with a preset SDK; the target user terminal applies a Hongmon system, and the preset SDK is adapted to the Hongmon system;
the interface determining module 320 is configured to determine, according to the preset SDK and according to cloud platform data acquired from the target user terminal, a target cloud platform interface from candidate cloud platform interfaces;
a cloud platform access module 330, configured to access a target cloud platform through the target cloud platform interface, so as to transfer the product data and/or the device data to the target cloud platform.
On the basis of the foregoing technical solutions, optionally, the cloud platform access module includes:
the data input unit is used for inputting the product data and/or the equipment data into a general data model provided by the preset SDK;
the model conversion unit is used for converting the universal data model into a target product data model and/or a target equipment data model corresponding to the target cloud platform according to the product data and/or the equipment data;
and the data transmission unit is used for transmitting the model data in the target product data model and/or the target equipment data model to the target cloud platform.
On the basis of the above technical solutions, optionally, the apparatus further includes:
the record judging module is used for judging whether a product record and/or an equipment record corresponding to the product data and/or the equipment data exist in the target cloud platform after the cloud platform is accessed into the module;
and the product equipment registration module is used for registering the product and/or the equipment in the target cloud platform according to the product data and/or the equipment data if the record judgment module judges that the product and/or the equipment data are not registered.
On the basis of the above technical solutions, optionally, the apparatus further includes:
the target equipment determining module is used for determining target equipment according to the product data and/or the equipment data after the cloud platform is accessed to the module;
and the data transmission module is used for transmitting the product data and/or the equipment data to the target equipment provided with the preset SDK through the target cloud platform.
On the basis of the above technical solutions, optionally, the apparatus further includes:
a tag information reading module, configured to read tag information from the target device by the target user terminal;
and the distribution network function triggering module is used for triggering the distribution network function of the target user terminal according to the label information.
Example four
FIG. 4 shows a schematic block diagram of an electronic device 10 that may be used to implement an embodiment of the invention. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital assistants, cellular phones, smart phones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the inventions described and/or claimed herein.
As shown in fig. 4, the electronic device 10 includes at least one processor 11, and a memory communicatively connected to the at least one processor 11, such as a Read Only Memory (ROM) 12, a Random Access Memory (RAM) 13, and the like, wherein the memory stores a computer program executable by the at least one processor, and the processor 11 can perform various suitable actions and processes according to the computer program stored in the Read Only Memory (ROM) 12 or the computer program loaded from a storage unit 18 into the Random Access Memory (RAM) 13. In the RAM 13, various programs and data necessary for the operation of the electronic apparatus 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other via a bus 14. An input/output (I/O) interface 15 is also connected to bus 14.
A number of components in the electronic device 10 are connected to the I/O interface 15, including: an input unit 16 such as a keyboard, a mouse, or the like; an output unit 17 such as various types of displays, speakers, and the like; a storage unit 18 such as a magnetic disk, optical disk, or the like; and a communication unit 19 such as a network card, modem, wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunication networks.
The processor 11 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, or the like. The processor 11 performs the various methods and processes described above, such as the cloud platform access method.
In some embodiments, the cloud platform access method may be implemented as a computer program tangibly embodied in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 10 via the ROM 12 and/or the communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the cloud platform access method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the cloud platform access method by any other suitable means (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuitry, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), system on a chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
Computer programs for implementing the methods of the present invention can be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions/acts specified in the flowchart and/or block diagram block or blocks to be performed. A computer program can execute entirely on a machine, partly on a machine, as a stand-alone software package partly on a machine and partly on a remote machine or entirely on a remote machine or server.
In the context of the present invention, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. A computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the electronic device. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), blockchain networks, and the internet.
The computing system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical host and VPS service are overcome.
It should be understood that various forms of the flows shown above, reordering, adding or deleting steps, may be used. For example, the steps described in the present invention may be executed in parallel, sequentially, or in different orders, and are not limited herein as long as the desired result of the technical solution of the present invention can be achieved.
The above-described embodiments should not be construed as limiting the scope of the invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims (10)
1. A cloud platform access method is characterized by comprising the following steps:
acquiring product data and/or equipment data from a target user terminal configured with a preset SDK; the target user terminal applies a Hongmen system, and the preset SDK is adapted to the Hongmen system;
determining a target cloud platform interface from candidate cloud platform interfaces according to the cloud platform data acquired from the target user terminal through the preset SDK;
and accessing a target cloud platform through the target cloud platform interface to transmit the product data and/or the equipment data to the target cloud platform.
2. The method of claim 1, wherein communicating the product data and/or device data to the target cloud platform comprises:
inputting the product data and/or the equipment data into a general data model provided by the preset SDK;
converting the general data model into a target product data model and/or a target equipment data model corresponding to the target cloud platform according to the product data and/or the equipment data;
and transmitting the model data in the target product data model and/or the target equipment data model to the target cloud platform.
3. The method of claim 1, further comprising, after transferring the product data and/or device data to the target cloud platform:
judging whether a product record and/or an equipment record corresponding to the product data and/or the equipment data exist in the target cloud platform;
and if not, registering the product and/or the equipment in the target cloud platform according to the product data and/or the equipment data.
4. The method of claim 1, further comprising, after transferring the product data and/or device data to the target cloud platform:
determining target equipment according to the product data and/or the equipment data;
and transmitting the product data and/or the equipment data to the target equipment provided with the preset SDK through the target cloud platform.
5. The method of claim 4, further comprising:
the target user terminal reads tag information from the target device;
and triggering the distribution network function of the target user terminal according to the label information.
6. A cloud platform access device, comprising:
the data acquisition module is used for acquiring product data and/or equipment data from a target user terminal configured with a preset SDK; the target user terminal applies a Hongmen system, and the preset SDK is adapted to the Hongmen system;
the interface determining module is used for determining a target cloud platform interface from candidate cloud platform interfaces according to the cloud platform data acquired from the target user terminal through the preset SDK;
and the cloud platform access module is used for accessing a target cloud platform through the target cloud platform interface so as to transmit the product data and/or the equipment data to the target cloud platform.
7. The apparatus of claim 6, wherein the cloud platform access module comprises:
the data input unit is used for inputting the product data and/or the equipment data into a general data model provided by the preset SDK;
the model conversion unit is used for converting the universal data model into a target product data model and/or a target equipment data model corresponding to the target cloud platform according to the product data and/or the equipment data;
and the data transmission unit is used for transmitting the model data in the target product data model and/or the target equipment data model to the target cloud platform.
8. The apparatus of claim 6, further comprising:
the record judging module is used for judging whether a product record and/or an equipment record corresponding to the product data and/or the equipment data exist in the target cloud platform after the cloud platform is accessed into the module;
and the product equipment registration module is used for registering the product and/or equipment in the target cloud platform according to the product data and/or the equipment data if the record judgment module judges that the product and/or equipment data is not the product and/or equipment data.
9. An electronic device, characterized in that the electronic device comprises:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the cloud platform access method of any of claims 1-5.
10. A computer-readable storage medium storing computer instructions for causing a processor to implement the cloud platform access method of any one of claims 1-5 when executed.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210857773.6A CN115277765A (en) | 2022-07-20 | 2022-07-20 | Cloud platform access method and device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210857773.6A CN115277765A (en) | 2022-07-20 | 2022-07-20 | Cloud platform access method and device, electronic equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115277765A true CN115277765A (en) | 2022-11-01 |
Family
ID=83767215
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210857773.6A Withdrawn CN115277765A (en) | 2022-07-20 | 2022-07-20 | Cloud platform access method and device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115277765A (en) |
-
2022
- 2022-07-20 CN CN202210857773.6A patent/CN115277765A/en not_active Withdrawn
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107798108B (en) | Asynchronous task query method and device | |
CN113766487B (en) | Cloud mobile phone information acquisition method, device, equipment and medium | |
CN114936173B (en) | Read-write method, device, equipment and storage medium of eMMC device | |
CN115421922A (en) | Current limiting method, device, equipment, medium and product of distributed system | |
CN116611411A (en) | Business system report generation method, device, equipment and storage medium | |
CN117632545A (en) | Data sharing method and device of business system and electronic equipment | |
CN116545905A (en) | Service health detection method and device, electronic equipment and storage medium | |
CN114327802B (en) | Method, apparatus, device and medium for block chain access to data outside chain | |
CN114896322A (en) | JSON (Java Server object notation) -based configuration data conversion method, device, equipment and medium | |
CN115617800A (en) | Data reading method and device, electronic equipment and storage medium | |
CN116126916A (en) | Data query method, device and equipment based on intelligent network card | |
CN116301978A (en) | System upgrading method, device, equipment and storage medium | |
CN115277765A (en) | Cloud platform access method and device, electronic equipment and storage medium | |
CN115309730A (en) | Data auditing method and device, electronic equipment and storage medium | |
CN110728009A (en) | Simulation method, device and system | |
CN112968876A (en) | Content sharing method and device, electronic equipment and storage medium | |
CN114138358A (en) | Application program starting optimization method, device, equipment and storage medium | |
CN113722037A (en) | User interface refreshing method and device, electronic equipment and storage medium | |
CN112989250A (en) | Web service response method and device and electronic equipment | |
CN113362097A (en) | User determination method and device | |
CN113239296B (en) | Method, device, equipment and medium for displaying small program | |
CN115983222A (en) | EasyExcel-based file data reading method, device, equipment and medium | |
CN115617732B (en) | APB bus structure, system on chip, vehicle and access method | |
CN115840604B (en) | Data processing method, device, electronic equipment and computer readable storage medium | |
CN115907779A (en) | Transaction proposal verification method, device, server and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20221101 |
|
WW01 | Invention patent application withdrawn after publication |