Nothing Special   »   [go: up one dir, main page]

CN113434766A - Subscription information pushing method and device, storage medium and electronic device - Google Patents

Subscription information pushing method and device, storage medium and electronic device Download PDF

Info

Publication number
CN113434766A
CN113434766A CN202110736955.3A CN202110736955A CN113434766A CN 113434766 A CN113434766 A CN 113434766A CN 202110736955 A CN202110736955 A CN 202110736955A CN 113434766 A CN113434766 A CN 113434766A
Authority
CN
China
Prior art keywords
target
cloud platform
platform
dimension
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110736955.3A
Other languages
Chinese (zh)
Other versions
CN113434766B (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 CN202110736955.3A priority Critical patent/CN113434766B/en
Publication of CN113434766A publication Critical patent/CN113434766A/en
Application granted granted Critical
Publication of CN113434766B publication Critical patent/CN113434766B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • G06F21/6245Protecting personal data, e.g. for financial or medical purposes
    • 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/50Safety; Security of things, users, data or systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Bioethics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Mining & Analysis (AREA)
  • Medical Informatics (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Computing Systems (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application discloses a subscription information pushing method and device, a storage medium and an electronic device, wherein the method comprises the following steps: acquiring target equipment data reported to an Internet of things platform by target equipment; determining a target cloud platform according to target dimension information of a target dimension corresponding to the target device data, wherein the target cloud platform is a third-party cloud platform subscribing the device data according to the target dimension information in a third-party cloud platform of the Internet of things platform; and pushing the target equipment data to the target cloud platform. According to the method and the device, the problem that the device information safety and privacy are poor due to full data subscription in the mode of subscribing the device data by a third party cloud in the related technology is solved.

Description

Subscription information pushing method and device, storage medium and electronic device
Technical Field
The application relates to the field of internet of things, in particular to a subscription information pushing method and device, a storage medium and an electronic device.
Background
Controlling home appliances through the internet of things has become a big trend of home appliance use. The IoT (Internet of Things) platform provides a complete set of technologies for household appliance control and data subscription specific to the platform user. At present, the existing technology of controlling household appliances through the internet of things can only allow users of the platform to access the household appliances and appoint the users of the platform to push the household appliances. For the third-party cloud, only full data subscription can be performed, that is, the third-party cloud can receive data subscription of full devices.
However, since the third party cloud subscribes to information of all devices, there is a great risk in terms of security and privacy of device information. Therefore, in the related art, the mode of subscribing the device data by the third party cloud has the problem of poor information security and privacy of the device due to full data subscription.
Disclosure of Invention
The embodiment of the application provides a subscription information pushing method and device, a storage medium and an electronic device, and aims to at least solve the problem that in a mode of subscribing equipment data by a third party cloud in the related art, the safety and privacy of equipment information are poor due to full data subscription.
According to an aspect of the embodiments of the present application, there is provided a method for pushing subscription information, including: acquiring target equipment data reported to an Internet of things platform by target equipment; determining a target cloud platform according to target dimension information of a target dimension corresponding to the target device data, wherein the target cloud platform is a third-party cloud platform subscribing the device data according to the target dimension information in a third-party cloud platform of the Internet of things platform; and pushing the target equipment data to the target cloud platform.
In one exemplary embodiment, the target dimension includes a plurality of dimensions, the target dimension information containing dimension information for each of the plurality of dimensions; determining the target cloud platform according to the target dimension information of the target dimension corresponding to the target device data includes: and respectively determining a third-party cloud platform corresponding to each dimension in third-party cloud platforms of the Internet of things platform, wherein the third-party cloud platform corresponding to each dimension is a third-party cloud platform for subscribing equipment data in each dimension according to the dimension information of each dimension, and the target cloud platform comprises the third-party cloud platform corresponding to each dimension.
In one exemplary embodiment, the target dimension includes a device identification, and the target dimension information includes a target device identification of the target device; determining the target cloud platform according to the target dimension information of the target dimension corresponding to the target device data includes: sending a target query request to a target equipment center, wherein the target query request carries the target equipment identifier, and the target query request is used for requesting to query a third-party cloud platform subscribing equipment data according to the target equipment identifier; and receiving a target response message returned by the target equipment center in response to the target query request, wherein the target response message carries the cloud platform identification of the target cloud platform.
In an exemplary embodiment, the target dimension further includes a type identifier of a device, and the target dimension information further includes a target type identifier of the target device; determining the target cloud platform according to the target dimension information of the target dimension corresponding to the target device data further includes: extracting a cloud platform identification of the target cloud platform from the target response message; and executing a filtering operation on the cloud platform identification of the target cloud platform according to the target type identification to obtain the updated cloud platform identification of the target cloud platform, wherein the filtering operation is used for filtering a third party cloud platform which does not subscribe equipment data according to the target type identification.
In an exemplary embodiment, before obtaining the target device data reported to the internet of things platform by the target device, the method further includes: receiving a target subscription request sent by a first cloud platform, wherein the first cloud platform is a third-party cloud platform of the Internet of things platform, and the target subscription request is used for requesting the first cloud platform to subscribe equipment data according to first-dimension information of a first dimension; and responding to the target subscription request, and subscribing the equipment data for the first cloud platform according to the first dimension information.
In an exemplary embodiment, before receiving the target subscription request sent by the first cloud platform, the method further includes: receiving a target authorization request sent by the first cloud platform, wherein the target authorization request is used for requesting authorization of the first cloud platform to subscribe equipment data according to the first dimension information; and responding to the target authorization request, and authorizing the first cloud platform to subscribe the equipment data according to the first dimension information.
In an exemplary embodiment, before obtaining the target device data reported to the internet of things platform by the target device, the method further includes: receiving a target registration request sent by a second cloud platform, wherein the second cloud platform is a third-party cloud platform of the internet of things platform, the target registration request carries equipment information of a plurality of pieces of equipment, and the target registration request is used for subscribing equipment data for the second cloud platform according to the equipment information of the plurality of pieces of equipment; and responding to the target registration request, and establishing an authorized subscription relationship between the second cloud platform and the device information of the plurality of devices.
In an exemplary embodiment, before obtaining the target device data reported to the internet of things platform by the target device, the method further includes: receiving target equipment information synchronized to the target cloud platform by the target equipment; adding the target device information into a target device list, wherein the target device list contains device information of devices to be subscribed of the target cloud platform device to be subscribed data; and subscribing the device data of the device to be subscribed in the target device list to the Internet of things platform.
According to another aspect of the embodiments of the present application, there is also provided a subscription information pushing apparatus, including: the system comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring target equipment data reported to an Internet of things platform by target equipment; the determining unit is used for determining a target cloud platform according to target dimension information of a target dimension corresponding to the target device data, wherein the target cloud platform is a third-party cloud platform which is used for subscribing the device data according to the target dimension information and is a third-party cloud platform of the Internet of things platform; and the pushing unit is used for pushing the target equipment data to the target cloud platform.
In one exemplary embodiment, the target dimension includes a plurality of dimensions, the target dimension information containing dimension information for each of the plurality of dimensions; the determination unit includes: the determining module is used for respectively determining a third-party cloud platform corresponding to each dimension in third-party cloud platforms of the internet of things platform, wherein the third-party cloud platform corresponding to each dimension is a third-party cloud platform for subscribing equipment data in each dimension according to dimension information of each dimension, and the target cloud platform comprises the third-party cloud platform corresponding to each dimension.
In one exemplary embodiment, the target dimension includes a device identification, and the target dimension information includes a target device identification of the target device; the determination unit includes: the sending module is used for sending a target query request to a target equipment center, wherein the target query request carries the target equipment identification, and the target query request is used for requesting to query a third party cloud platform subscribing equipment data according to the target equipment identification; and the receiving module is used for receiving a target response message returned by the target equipment center in response to the target query request, wherein the target response message carries the cloud platform identifier of the target cloud platform.
In an exemplary embodiment, the target dimension further includes a type identifier of a device, and the target dimension information further includes a target type identifier of the target device; the determination unit further includes: an extraction module, configured to extract, after receiving the target response message returned by the target device center in response to the target query request, a cloud platform identifier of the target cloud platform from the target response message; and the filtering module is used for executing filtering operation on the cloud platform identification of the target cloud platform according to the target type identification to obtain the updated cloud platform identification of the target cloud platform, wherein the filtering operation is used for filtering a third party cloud platform which does not subscribe equipment data according to the target type identification.
In one exemplary embodiment, the apparatus further comprises: a first receiving unit, configured to receive a target subscription request sent by a first cloud platform before acquiring target device data reported to the internet of things platform by the target device, where the first cloud platform is a third-party cloud platform of the internet of things platform, and the target subscription request is used to request the first cloud platform to subscribe device data according to first-dimension information of a first dimension; and the first subscription unit is used for responding to the target subscription request and subscribing the equipment data for the first cloud platform according to the first dimension information.
In one exemplary embodiment, the apparatus further comprises: a second receiving unit, configured to receive a target authorization request sent by the first cloud platform before receiving the target subscription request sent by the first cloud platform, where the target authorization request is used to request authorization for the first cloud platform to subscribe to device data according to the first dimension information; and the authorization unit is used for responding to the target authorization request and authorizing the first cloud platform to subscribe the equipment data according to the first dimension information.
In one exemplary embodiment, the apparatus further comprises: a third receiving unit, configured to receive a target registration request sent by a second cloud platform before obtaining target device data reported to the internet of things platform by the target device, where the second cloud platform is a third-party cloud platform of the internet of things platform, the target registration request carries device information of multiple devices, and the target registration request is used for subscribing device data for the second cloud platform according to the device information of the multiple devices; and the establishing unit is used for responding to the target registration request and establishing an authorized subscription relationship between the second cloud platform and the device information of the plurality of devices.
In one exemplary embodiment, the apparatus further comprises: a fourth receiving unit, configured to receive target device information that the target device synchronizes to the target cloud platform before obtaining the target device data that the target device reports to the internet of things platform; an adding unit, configured to add the target device information to a target device list, where the target device list includes device information of a device to be subscribed of the target cloud platform device to be subscribed data; and the second subscription unit is used for subscribing the device data of the device to be subscribed in the target device list to the Internet of things platform.
According to another aspect of the embodiments of the present application, there is also provided a computer-readable storage medium, in which a computer program is stored, where the computer program is configured to execute the above-mentioned pushing method of subscription information when running.
According to another aspect of the embodiments of the present application, there is also provided an electronic apparatus, including a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor executes the above pushing method for subscription information through the computer program.
In the embodiment of the application, the target device data reported to the platform of the internet of things by the target device is acquired in a mode of performing device data authorization subscription according to the dimension information of the device data on the specific dimension; determining a target cloud platform according to target dimension information of a target dimension corresponding to the target device data, wherein the target cloud platform is a third-party cloud platform for subscribing the device data according to the target dimension information in a third-party cloud platform of the Internet of things platform; the target device data are pushed to the target cloud platform, and the third-party cloud platform can subscribe the device data according to the specific dimension information on the specific dimension and can selectively push the device data to the third-party cloud platform, so that the technical effects of improving the device data security and the device data privacy are achieved, and the problem that the device information security and privacy are poor due to full data subscription in the mode of subscribing the device data by the third-party cloud in the related technology is solved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application.
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, and it is obvious for those skilled in the art to obtain other drawings without inventive exercise.
Fig. 1 is a schematic diagram of a hardware environment of an alternative push method for subscription information according to an embodiment of the present application;
fig. 2 is a schematic flowchart of an alternative subscription information pushing method according to an embodiment of the present application;
FIG. 3 is a schematic diagram of an alternative device data push according to an embodiment of the present application;
fig. 4 is a schematic flowchart of another alternative subscription information pushing method according to an embodiment of the present application;
FIG. 5 is a diagram illustrating an alternative method for opening data subscription rights according to an embodiment of the present application;
FIG. 6 is a schematic diagram of an alternative example registration apparatus according to an embodiment of the present application;
fig. 7 is a schematic diagram of an alternative subscription information pushing method according to an embodiment of the present application;
fig. 8 is a schematic flowchart of another alternative subscription information pushing method according to an embodiment of the present application;
fig. 9 is a block diagram of an alternative pushing apparatus for subscription information according to an embodiment of the present application;
fig. 10 is a block diagram of an alternative electronic device according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only partial embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application 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.
According to an aspect of the embodiments of the present application, a method for pushing subscription information is provided. Optionally, in this embodiment, the above pushing method of subscription information may be applied to a hardware environment as shown in fig. 1. In the network architecture shown in fig. 1, the network architecture may include the following parts: the cloud system may further include an internet of things device, an intelligent home APP (Application), a third party APP, and the like, where the devices or components (or program modules) may be connected to each other through a network or other methods, for example, components located inside the same device may be connected through a data bus or the like.
For a configuration center, which may be an external configuration center to the IoT platform, a third party cloud developer may apply for cloud applications, manage cloud applications (add configured device subscription scopes, etc.) thereon. The information may be transmitted to the IoT platform, which may then process the information accordingly. In creating a cloud application, the configuration center may issue a systemld (system number, which is an example of a third party cloud identification for identifying a third party cloud), a systemKey (system key) for the third party cloud. For example, a third-party cloud developer registers an account in a configuration center, becomes a developer (enterprise), and can also set data subscription rights (e.g., based on typeId (type number) or model number), and the like.
The application interconnection center may include a user center and an equipment center, where the user center is configured to manage user information (e.g., third-party cloud users) of the internet of things platform, store information such as a user token (token) in a main data store of the IoT platform, and verify the user token and the like; operations related to the device may be performed in the device center, for example, controlling the device (i.e., the internet of things device) through a domain model and an M2M (Machine to Machine) model of the IoT platform, obtaining a model number of the device, details of the device, a state of the device, and the like from a master data store, obtaining a list of devices bound by the user from a rights center of the IoT platform, and also saving a subscription relationship of the device (i.e., a correspondence between the device and a third party cloud subscribing to device data of the device) based on a device identity, which may be deviceId (device number). In addition, the device center may interact with a third party cloud, and open a data subscription right for a Media Access Control (MAC) address specified by the third party cloud in a registration manner.
The IoT platform may include: the domain model described above; an M2M model for transferring data from device to device; a primary data store to store data of an IoT platform; the authority system is used for managing the authority related to the user authority and the like; and the message platform is used for carrying out message transmission with the equipment center, the third-party cloud and the like.
In addition, the internet of things device can be configured to an IoT platform, and device data is reported through an M2M model. The user can register accounts, distribute networks for equipment and the like through an intelligent home (intelligent home for short) APP, a third party APP and the like running on the terminal. The smart APP can interact with the Internet equipment, and a network is distributed, bound and the like.
The network may include, but is not limited to, at least one of: wired networks, wireless networks. The wired network may include, but is not limited to, at least one of: wide area networks, metropolitan area networks, local area networks, which may include, but are not limited to, at least one of the following: WIFI (Wireless Fidelity), bluetooth. The terminal is not limited to a PC, a mobile phone, a tablet computer, and the like.
The subscription information pushing method in the embodiment of the application may be executed by an IoT platform, an application interaction platform, a configuration center, or the like, or may be executed by a terminal, or may be executed by the IoT platform, the application interaction platform, the configuration center, or the like and the terminal together. The terminal executing the method for pushing the subscription information according to the embodiment of the present application may also be executed by a client installed thereon.
Taking an IoT platform as an example to execute the pushing method of subscription information in this embodiment, fig. 2 is a schematic flowchart of an optional pushing method of subscription information according to an embodiment of the present application, and as shown in fig. 2, the flowchart of the method may include the following steps:
step S202, target equipment data reported to the Internet of things platform by the target equipment is obtained.
The pushing method of the subscription information in the embodiment can be applied to a scene that a third-party cloud platform subscribes the device data in the internet of things platform, wherein the internet of things platform can be the internet of things platform. Currently, the IoT clouds in the related art do not have a scheme for authorizing and/or authenticating data subscriptions used by third party clouds (or third party cloud platforms, third party cloud users, third party cloud systems, etc.), such as at the specified device instance level.
In this embodiment, a set of data subscription authorization functions (i.e., dedicated data subscription functions) for the third party cloud is provided, and data subscription used by the third party cloud is authorized and authenticated at a specified level according to the attribute information of the device. Through the method, a special device data subscription authorization and authentication scheme can be provided for the third party cloud.
The target device is a device configured on the platform of the internet of things, for example, a device of the internet of things. The target device may report device data of the target device (i.e., target device data) to the internet of things platform. Correspondingly, the internet of things platform may receive the target device data. The target device data may include, but is not limited to, online information, status information, offline information, and the like of the target device. The above is merely an example of the target device data, and does not limit the type of information included in the target device data.
Step S204, a target cloud platform is determined according to target dimension information of a target dimension corresponding to the target device data, and the target cloud platform is a third-party cloud platform which subscribes the device data according to the target dimension information in the third-party cloud platform of the Internet of things platform.
And the dimension information of the target dimension corresponding to the target device data is target dimension information. The target dimension is an information dimension allowing the internet of things platform to subscribe to the device data, and may include, but is not limited to, at least one of the following: device attributes, data attributes. The device attributes may include, but are not limited to, at least one of: device type, e.g., typeId, model, etc., device instance, e.g., deviceId (device number), mac address, etc. The data attribute may be topic (data type) or other data attribute. In this embodiment, the target dimension is not limited.
The internet of things platform can determine a target cloud platform from a third party cloud platform of the internet of things platform according to the target dimension information, namely, the third party cloud platform subscribes equipment data according to the target dimension information. For example, the target dimension includes an equipment instance, the target dimension information is a target instance identifier (that is, an instance identifier of the equipment instance for identifying the target equipment), and the internet of things platform may determine a third-party cloud platform that subscribes to the equipment data according to the target instance identifier, thereby determining the target cloud platform.
And step S206, pushing the target equipment data to the target cloud platform.
After the target cloud platform is determined, the internet of things platform can push target equipment data to the target cloud platform. If the number of the third-party cloud platforms contained in the target cloud platform is multiple, the internet of things platform can respectively send the target equipment data to each third-party cloud platform.
Through the steps, target equipment data reported to the Internet of things platform by the target equipment are obtained; determining a target cloud platform according to target dimension information of a target dimension corresponding to the target device data, wherein the target cloud platform is a third-party cloud platform for subscribing the device data according to the target dimension information in a third-party cloud platform of the Internet of things platform; the target device data are pushed to the target cloud platform, the problem that the device information safety and privacy are poor due to the fact that full data subscription is carried out in the mode that third party cloud subscribes the device data in the related technology is solved, the device data safety is improved, and the device data privacy is improved.
In an exemplary embodiment, the target dimension is an information dimension that allows the internet of things platform to subscribe to device data, which may include one or more dimensions. In this embodiment, the target dimension includes multiple dimensions, for example, the device attribute, the data attribute, and the like. The target dimension information includes dimension information for each of a plurality of dimensions. Correspondingly, determining the target cloud platform according to the target dimension information of the target dimension corresponding to the target device data comprises:
and S11, respectively determining a third-party cloud platform corresponding to each dimension in third-party cloud platforms of the Internet of things platform, wherein the third-party cloud platform corresponding to each dimension is a third-party cloud platform for subscribing the equipment data in each dimension according to the dimension information of each dimension, and the target cloud platform comprises the third-party cloud platform corresponding to each dimension.
For each of the multiple dimensions, the internet of things platform may determine, from the third-party cloud platforms of the internet of things platform, a third-party cloud platform corresponding to the dimension, that is, a third-party cloud platform that subscribes the device data in the dimension according to the dimension information of the dimension (that is, the dimension information of the dimension corresponding to the target device data). After the third-party cloud platforms corresponding to each dimension are determined, the internet of things platform may determine a set of the third-party cloud platforms corresponding to each dimension as a target cloud platform.
For example, the target dimension includes a device type and a device instance, and the target dimension information includes a target type identifier (a type identifier for identifying the device type of the target device) and a target instance identifier. The internet of things platform can respectively determine a third-party cloud platform for identifying and subscribing the equipment data according to the target type and a third-party cloud platform for identifying and subscribing the equipment data according to the target instance, and then determines the aggregate of the third-party cloud platform and the third-party cloud platform as the third-party cloud platform for pushing the target equipment data.
Through the embodiment, the third-party cloud platform for pushing the equipment data is determined according to the dimension information of the information dimension allowing the internet of things platform to subscribe the equipment data, so that the accuracy of determining the third-party cloud platform can be improved.
In one exemplary embodiment, the target dimension may include a device identification (an example of a device instance), such as deviceId (which may be a device model + mac address). The target dimension information may include a target device identification (an example of a target instance identification) of the target device. Correspondingly, determining the target cloud platform according to the target dimension information of the target dimension corresponding to the target device data comprises:
s21, sending a target query request to a target equipment center, wherein the target query request carries a target equipment identifier, and the target query request is used for requesting to query a third party cloud platform subscribing equipment data according to the target equipment identifier;
and S22, receiving a target response message returned by the target equipment center in response to the target query request, wherein the target response message carries the cloud platform identification of the target cloud platform.
In order to determine the target cloud platform, the internet of things platform may query a system identifier (systemId, i.e., a system identifier of a third-party cloud system) associated with user authorization according to the target device identifier. The internet of things platform can send a target query request carrying a target device identifier to the target device center, wherein the target query request is used for requesting to query a third-party cloud platform subscribing device data according to the target device identifier.
After receiving the target query request, the target device center may determine, according to the device list bound by each third-party cloud platform, that is, the device list in which each third-party cloud platform subscribes the device data, the third-party cloud platform in which the device data is subscribed according to the target device identifier, that is, the target cloud platform, and send the cloud platform identifier of the target cloud platform to the internet of things platform through the target response message.
The Internet of things platform can receive the target response message, and the cloud platform identification of the target cloud platform is extracted from the target response message, so that the target cloud platform is determined.
According to the embodiment, the third-party cloud platform for querying the device data of the subscription device instance from the device center by using the instance identifier can reduce the processing load of the platform of the Internet of things and improve the accuracy of information acquisition.
In an exemplary embodiment, the target dimension also includes a type identification of the device, such as typeId; the target dimension information also includes a target type identification of the target device. Correspondingly, determining the target cloud platform according to the target dimension information of the target dimension corresponding to the target device data may further include:
s31, extracting the cloud platform identification of the target cloud platform from the target response message;
and S32, performing a filtering operation on the cloud platform identification of the target cloud platform according to the target type identification to obtain the updated cloud platform identification of the target cloud platform, wherein the filtering operation is used for filtering a third party cloud platform which does not subscribe the equipment data according to the target type identification.
The internet of things platform can extract the cloud platform identification of the target cloud platform from the target response message, then the cloud platform identification of the target cloud platform is filtered by using the target type identification, and a third party cloud platform which does not subscribe the equipment data according to the target type identification is filtered, so that the updated cloud platform identification of the target cloud platform is obtained.
The types of devices allowed to be subscribed by different third party clouds may be different, for example, there may be 10 types of devices allowed to be configured to the internet of things platform, where one third party cloud allows three types of devices to be subscribed, and another third party cloud allows 5 types of devices to be subscribed. The internet of things platform can filter the third party cloud which is not allowed to subscribe the equipment data according to the target type identification.
Through the embodiment, the cloud platform identification of the third-party cloud platform is filtered by using the device type, so that the accuracy of device data pushing can be improved.
The following explains a pushing method of subscription information in the embodiment of the present application with reference to an alternative example. In this alternative example, the device identification is deviceId and the type identification is typeId.
The scheme for pushing the third party cloud by the device data is provided in this optional example, as shown in fig. 3 and 4, a flow of the method for pushing the subscription information in this optional example may include the following steps:
step S402, the M2M model receives device data reported by the internet of things device (i.e., device instance data is pushed to the IOT service), and issues the device data through the message platform.
Step S404, the message platform determines a third party cloud to which the device data is to be pushed, and pushes the device data to the determined third party cloud through the device instance message.
The M2M model receives device data reported by the internet of things device (i.e., device instance data is pushed to the IOT service), and publishes the device data through the message platform.
The message platform acquires the third party cloud authorization mark through the equipment center interface so as to determine all authorized third party platforms of the equipment instance, and the message platform pushes the equipment instance message with the authority to the third party cloud platform in a data pushing mode, so that a third party cloud developer can subscribe the specified equipment instance message through dimensions such as equipment typeId, model and the like.
For example, the message platform may maintain a subscription relationship of systemId with typeId + signal, topic, and the message platform may filter out systemId according to typeId. If the systemId is not filtered out, the user authorization associated systemId can be queried from the equipment center according to deviceId (e.g., model + mac address) matching. Alternatively, the message platform may also query the device center for the systemId associated with the user authorization based on deviceId matching and filter the systemId based on typeId.
By the optional example, the third party cloud platform subscribing to the device data of the device instance can be queried according to the device instance identifier, so that the security of the device data can be improved.
In an exemplary embodiment, before obtaining target device data reported to the internet of things platform by the target device, the method further includes:
s41, receiving a target subscription request sent by a first cloud platform, wherein the first cloud platform is a third-party cloud platform of the Internet of things platform, and the target subscription request is used for requesting the first cloud platform to subscribe the device data according to first-dimension information of a first dimension;
and S42, responding to the target subscription request, and subscribing the device data for the first cloud platform according to the first dimension information.
In this embodiment, the third party cloud platform may subscribe to the device data from the internet of things platform, the device center of the internet of things platform, or the configuration center of the internet of things platform. The third-party cloud platform may be a first cloud platform, and the first cloud platform may or may not belong to the target cloud platform.
Taking subscribing to the device data from the configuration center as an example, the first cloud platform may send a target subscription request to the target device center, where the target subscription request is used to request the first cloud platform to subscribe to the device data according to the first-dimension information of the first dimension. After receiving the target subscription request, the configuration center may subscribe the device data for the first cloud platform according to the first dimension information, and may synchronize a subscription relationship between the first cloud platform and the first dimension information to the message platform and/or the device center.
The first dimension may be any one or more of the target dimensions described above, such as a device instance. Correspondingly, the first dimension information of each first dimension may include one or more dimension information, for example, the first dimension information may include instance identifiers of multiple device instances, and the first dimension information are not limited in this embodiment.
For example, after the configuration center creates the cloud application, a third party cloud developer (or other related personnel) may request the configuration center to open a data subscription service through the cloud application, for example, subscribe data according to the typeId, model, instance, and other dimensions of the device.
According to the data subscription method and device, the subscription request is used for requesting the device data subscription on the specific dimension according to the specific dimension information, and the convenience of the device data subscription can be improved.
In an exemplary embodiment, before receiving the target subscription request sent by the first cloud platform, the method further includes:
s51, receiving a target authorization request sent by the first cloud platform, wherein the target authorization request is used for requesting authorization of the first cloud platform to subscribe the device data according to the first dimension information;
and S52, responding to the target authorization request, and authorizing the first cloud platform to subscribe the device data according to the first dimension information.
Before subscribing to the first dimension information, a right to subscribe to the first dimension information may be first acquired. The subject of data subscription authorization may be a configuration center, an equipment center, an internet of things platform, or other equipment. For example, the configuration center may receive a target authorization request (e.g., a cloud application created by a third party cloud developer) requesting authorization of the first cloud platform to subscribe to device data according to the first dimension information or subscribe to device data on the first dimension according to a target dimension information range, the target dimension information range including the first dimension information.
In response to the target authorization request, the configuration center may authorize the first cloud platform to subscribe to the device data according to the first dimension information, and may synchronize a subscription relationship between the first cloud platform and the first dimension information (or the target dimension information range) to the message platform and/or the device center.
For example, as shown in fig. 5, a third party cloud developer may register an account, become a developer, and create a cloud application. The configuration center may issue a systemld, systemKey to the third party cloud. A third party cloud developer (or other relevant personnel) can create a device type such as typeId, model, etc. of a device on a configuration center (or a cloud application of the configuration center), and perform authorization of data subscription according to the typeId, model, instance, topic, etc. dimensions of the device through the configuration center (or the cloud application of the configuration center). The configuration center may also synchronize the subscription relationship between systemId and typeId + model, topoic, etc. to the equipment center and the messaging platform.
Through the embodiment, the permission of subscribing the device data is requested before the device data subscription is carried out, so that the security of the device data can be improved, and the leakage of the privacy data caused by the unsuitable device data subscription is avoided.
In an exemplary embodiment, before obtaining target device data reported to the internet of things platform by the target device, the method further includes:
s61, receiving a target registration request sent by a second cloud platform, wherein the second cloud platform is a third-party cloud platform of the Internet of things platform, the target registration request carries equipment information of a plurality of pieces of equipment, and the target registration request is used for subscribing equipment data for the second cloud platform according to the equipment information of the plurality of pieces of equipment;
and S62, responding to the target registration request, and establishing an authorized subscription relationship between the second cloud platform and the device information of the plurality of devices.
When the device data subscription is performed, the subscriptions of multiple device instances may be performed simultaneously. A third party cloud developer (or other interested person) may invoke an interface of the device center to register a cloud platform identifier (third party identifier or third party identifier, an example of a cloud platform identifier) and a device instance of a third party cloud platform.
For the target device center and the second cloud platform (a third-party cloud platform of the internet of things platform), the target device center may receive a target registration request sent by the second cloud platform, where the target registration request may carry device information of a plurality of devices, and is used for subscribing device data for the second cloud platform according to the device information of the plurality of devices. In response to the received target registration request, the target device center may establish an authorized subscription relationship (or, a subscription relationship) between the second cloud platform and the device information of the plurality of devices.
Before receiving the target registration request or after establishing an authorized subscription relationship between the second cloud platform and the device information of the plurality of devices, the internet of things platform may receive a distribution network request of each device of the plurality of devices to distribute each device to the internet of things platform. When sending the target registration request, registration may be performed by calling a target interface (e.g., a device registration interface) of the target device center.
For example, as shown in fig. 6, a third party cloud developer (or other person) may register a device, distribute the device to an IoT cloud platform, and register a device instance with a third party flag through an interface of a device center. Illustratively, the third-party cloud platform may obtain a total amount of devices to be authorized, register all the devices through a device registration interface of the device center, and establish a subscription relationship between the third-party cloud platform and the device instance. In addition, the third-party cloud platform can configure the equipment on the platform of the internet of things through a configuration network tool.
According to the embodiment, the device registration efficiency can be improved by calling the device registration interface of the device center to register a plurality of devices needing authorization.
In an exemplary embodiment, before obtaining target device data reported to the internet of things platform by the target device, the method further includes:
s71, receiving target equipment information of the target equipment synchronized to the target cloud platform;
s72, adding target equipment information into a target equipment list, wherein the target equipment list contains equipment information of equipment to be subscribed of target cloud platform equipment to be subscribed data;
and S73, subscribing the device data of the device to be subscribed in the target device list to the Internet of things platform.
The device instances may be uniformly registered by the target cloud platform, or may be registered by a third-party cloud platform after obtaining the authorization of the user of the target instance. For example, a user may bind a device configuration to an internet of things platform through a third party cloud or an APP of the internet of things platform (e.g., a smart APP), and synchronize the device to the third party cloud platform through third party authorization. The third-party cloud platform can establish the authorization relationship between the third-party platform and the device instance in the forms of refreshing the user device list or specifying the authorization device and the like.
For a target device, the target device may be configured to bind to an internet of things platform. The target cloud platform may receive target device information synchronized to the target cloud platform by the target device (or a third party APP on the target device, that is, an application APP corresponding to the target cloud platform), and add the target device information to a user device list, where the target device list includes device information of devices to be subscribed of the target cloud platform to be subscribed to the device data, for example, device information of the above multiple devices.
The target cloud platform can subscribe the device data of the device to be subscribed in the target device list to the Internet of things platform, and the subscription mode can be that a device registration interface of a target device center is called, and a registration request is sent to the target device center and used for requesting the target cloud platform to subscribe the device data according to the device information of the device to be subscribed; and responding to the registration request, and establishing an authorized subscription relationship between the target cloud platform and the device information of the device to be subscribed.
According to the embodiment, the authorization relationship between the third-party platform and the equipment instance is established based on the authorization of the user, so that the safety of the equipment data can be improved, and the leakage of the privacy data is avoided.
The following explains a pushing method of subscription information in the embodiment of the present application with reference to an alternative example. In this example, the device identification is deviceId and the type identification is typeId.
The subscription information pushing method provided in this optional example is an authorization relationship configuration scheme based on a 2b (data interaction is performed between a server and a server) scenario, and based on an overall architecture (for example, an architecture shown in fig. 1) of an internet of things cloud, a third party cloud user may enter a third party flag and device category information to be authorized through a configuration center external to the internet of things (i.e., a third party cloud platform), and provide the third party cloud with data subscription authority authorization, authentication, and the like by using an internet of things device.
In this optional example, the functions provided by the platform side of the internet of things include: inputting authority information of data subscription; authenticating the subscription authority of the data subscription; and (4) message pushing of data subscription. Illustratively, as shown in fig. 7, the functions provided by the platform side of the internet of things include: the service opening comprises the following steps: registering cloud applications (similar to the aforementioned embodiments), applying for rights (e.g., authorization for data subscription by type); subscription authentication, namely, subscription of a specified device type and subscription of a specified device instance (allowing a third-party cloud user to perform data subscription according to the applied authority); and subscribing data, and filtering the data according to authorized equipment.
As shown in fig. 8, the flow of the pushing method of subscription information in this alternative example may include the following steps:
step S802, the third party cloud developer authorizes the type of the equipment typeId and the model to be authorized according to the type through the configuration center.
Through the type authorization, the push message of the device of the typeId and the type can be authorized, and the IOT cloud stores the data subscription authority between the third-party developer and the device of the type.
Step S804, the third party cloud user authorizes the device instance information to be authorized according to the device instance through the device center.
The third party cloud developer (or the third party cloud user) can register and register the equipment instances in the internet of things cloud in batch, and establish the authorization relationship between the third party cloud and the equipment instances.
Step 806, after receiving the device instance data, the message platform obtains all authorized third party cloud platforms of the device instance, and pushes the device instance data to the third party cloud platforms.
Through the optional example, a data subscription authorization function of the third-party cloud is provided, and the specified internet of things device instance information can be pushed to the third-party cloud.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (e.g., a ROM (Read-Only Memory)/RAM (Random Access Memory), a magnetic disk, an optical disk) and includes several instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the methods according to the embodiments of the present application.
According to another aspect of the embodiment of the present application, there is also provided a subscription information pushing apparatus for implementing the subscription information pushing method. Fig. 9 is a block diagram of an optional pushing apparatus for subscription information according to an embodiment of the present application, and as shown in fig. 9, the apparatus may include:
an obtaining unit 902, configured to obtain target device data that is reported to an internet of things platform by a target device;
a determining unit 904, connected to the obtaining unit 902, configured to determine an internet of things platform according to target dimension information of the target device data in a target dimension, where the internet of things platform is a third-party cloud platform that subscribes the device data according to the target dimension information in the third-party cloud platform of the internet of things platform;
and the pushing unit 906 is connected to the determining unit 904, and is configured to push the target device data to the internet of things platform.
Alternatively, the obtaining unit 902 in this embodiment may be configured to execute the step S202, the determining unit 904 in this embodiment may be configured to execute the step S204, and the pushing unit 906 in this embodiment may be configured to execute the step S206.
Acquiring target equipment data reported to an Internet of things platform by target equipment through the modules; determining a target cloud platform according to target dimension information of a target dimension corresponding to the target device data, wherein the target cloud platform is a third-party cloud platform for subscribing the device data according to the target dimension information in a third-party cloud platform of the Internet of things platform; the target device data are pushed to the target cloud platform, the problem that the device information safety and privacy are poor due to the fact that full data subscription is carried out in the mode that third party cloud subscribes the device data in the related technology is solved, the device data safety is improved, and the device data privacy is improved.
In one exemplary embodiment, the target dimension includes a plurality of dimensions, the target dimension information containing dimension information for each of the plurality of dimensions; the determination unit 904 includes:
the determining module is used for respectively determining a third-party cloud platform corresponding to each dimension in third-party cloud platforms of the Internet of things platform, wherein the third-party cloud platform corresponding to each dimension is a third-party cloud platform which subscribes data services in each dimension according to dimension information of each dimension, and the Internet of things platform comprises the third-party cloud platform corresponding to each dimension.
In one exemplary embodiment, the target dimension includes a device identification, and the target dimension information includes a target device identification of the target device; the determination unit 904 includes:
a sending module, configured to send a target query request to a target device center, where the target query request carries a target device identifier, and the target query request is used to request to query a third-party cloud platform subscribing to device data according to the target device identifier,
and the receiving module is used for receiving a target response message returned by the target equipment center in response to the target query request, wherein the target response message carries the cloud platform identification of the Internet of things platform.
In an exemplary embodiment, the target dimension further includes a type identifier of the device, and the target dimension information further includes a target type identifier of the target device; the determining unit 904 further includes:
the extraction module is used for extracting the cloud platform identification of the Internet of things platform from the target response message after receiving the target response message returned by the target equipment center in response to the target query request;
and the filtering module is used for executing filtering operation on the cloud platform identification of the Internet of things platform according to the target type identification to obtain the updated cloud platform identification of the Internet of things platform, wherein the filtering operation is used for filtering a third party cloud platform which does not subscribe equipment data according to the target type identification.
In an exemplary embodiment, the apparatus further includes:
the device comprises a first receiving unit, a first service unit and a second receiving unit, wherein the first receiving unit is used for receiving a target subscription request sent by a first cloud platform before target equipment data reported to an Internet of things platform by target equipment is acquired, the first cloud platform is a third-party cloud platform of the Internet of things platform, and the target subscription request is used for requesting the first cloud platform to subscribe the equipment data according to first-dimension information of a first dimension;
and the first subscription unit is used for responding to the target subscription request and subscribing the equipment data for the first cloud platform according to the first dimension information.
In an exemplary embodiment, the apparatus further includes:
the second receiving unit is used for receiving a target authorization request sent by the first cloud platform before receiving the target subscription request sent by the first cloud platform, wherein the target authorization request is used for requesting authorization of the first cloud platform to subscribe the equipment data according to the first dimension information;
and the authorization unit is used for responding to the target authorization request and authorizing the first cloud platform to subscribe the equipment data according to the first dimension information.
In an exemplary embodiment, the apparatus further includes:
the third receiving unit is used for receiving a target registration request sent by a second cloud platform before target equipment data reported to the internet of things platform by the target equipment is acquired, wherein the second cloud platform is a third-party cloud platform of the internet of things platform, the target registration request carries equipment information of a plurality of pieces of equipment, and the target registration request is used for subscribing the equipment data for the second cloud platform according to the equipment information of the plurality of pieces of equipment;
and the establishing unit is used for responding to the target registration request and establishing an authorized subscription relationship between the second cloud platform and the device information of the plurality of devices.
In an exemplary embodiment, the apparatus further includes:
the fourth receiving unit is used for receiving target equipment information of the target equipment synchronized to the target cloud platform before the target equipment data reported to the Internet of things platform by the target equipment is acquired;
the device comprises an adding unit, a subscribing unit and a subscribing unit, wherein the adding unit is used for adding target device information into a target device list, and the target device list contains device information of devices to be subscribed of target cloud platform device data to be subscribed;
and the second subscription unit is used for subscribing the device data of the device to be subscribed in the target device list to the Internet of things platform.
It should be noted here that the modules described above are the same as the examples and application scenarios implemented by the corresponding steps, but are not limited to the disclosure of the above embodiments. It should be noted that the modules described above as a part of the apparatus may be operated in a hardware environment as shown in fig. 1, and may be implemented by software, or may be implemented by hardware, where the hardware environment includes a network environment.
According to still another aspect of an embodiment of the present application, there is also provided a storage medium. Optionally, in this embodiment, the storage medium may be configured to execute a program code of any one of the above subscription information push methods in this embodiment of the application.
Optionally, in this embodiment, the storage medium may be located on at least one of a plurality of network devices in a network shown in the above embodiment.
Optionally, in this embodiment, the storage medium is configured to store program code for performing the following steps:
s1, acquiring target equipment data reported to the Internet of things platform by the target equipment;
s2, determining a target cloud platform according to target dimension information of a target dimension corresponding to target equipment data, wherein the target cloud platform is a third-party cloud platform for subscribing the equipment data according to the target dimension information in a third-party cloud platform of the Internet of things platform;
and S3, pushing the target device data to the target cloud platform.
Optionally, the specific example in this embodiment may refer to the example described in the above embodiment, which is not described again in this embodiment.
Optionally, in this embodiment, the storage medium may include, but is not limited to: various media capable of storing program codes, such as a U disk, a ROM, a RAM, a removable hard disk, a magnetic disk, or an optical disk.
According to another aspect of the embodiments of the present application, there is also provided an electronic device for implementing the above-mentioned push method of subscription information, where the electronic device may be a server, a terminal, or a combination thereof.
Fig. 10 is a block diagram of an alternative electronic device according to an embodiment of the present application, as shown in fig. 10, including a processor 1002, a communication interface 1004, a memory 1006, and a communication bus 1008, where the processor 1002, the communication interface 1004, and the memory 1006 communicate with each other via the communication bus 1008, where,
a memory 1006 for storing a computer program;
the processor 1002, when executing the computer program stored in the memory 1006, implements the following steps:
s1, acquiring target equipment data reported to the Internet of things platform by the target equipment;
s2, determining a target cloud platform according to target dimension information of a target dimension corresponding to target equipment data, wherein the target cloud platform is a third-party cloud platform for subscribing the equipment data according to the target dimension information in a third-party cloud platform of the Internet of things platform;
and S3, pushing the target device data to the target cloud platform.
Alternatively, in this embodiment, the communication bus may be a PCI (Peripheral Component Interconnect) bus, an EISA (Extended Industry Standard Architecture) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 10, but this is not intended to represent only one bus or type of bus. The communication interface is used for communication between the electronic device and other equipment.
The memory may include RAM, and may also include non-volatile memory (non-volatile memory), such as at least one disk memory. Alternatively, the memory may be at least one memory device located remotely from the processor.
As an example, the memory 1006 may include, but is not limited to, an obtaining unit 902, a determining unit 904, and a pushing unit 906 in a pushing device that includes the subscription information. In addition, the device may further include, but is not limited to, other module units in the above-mentioned push device for subscribing to information, which is not described in detail in this example.
The processor may be a general-purpose processor, and may include but is not limited to: a CPU (Central Processing Unit), an NP (Network Processor), and the like; but also a DSP (Digital Signal Processing), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component.
Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments, and this embodiment is not described herein again.
It can be understood by those skilled in the art that the structure shown in fig. 10 is only an illustration, and the device implementing the method for pushing the subscription information may be a terminal device, and the terminal device may be a terminal device such as a smart phone (e.g., an Android phone, an iOS phone, etc.), a tablet computer, a palm computer, a Mobile Internet Device (MID), a PAD, and the like. Fig. 10 is a diagram illustrating a structure of the electronic device. For example, the electronic device may also include more or fewer components (e.g., network interfaces, display devices, etc.) than shown in FIG. 10, or have a different configuration than shown in FIG. 10.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by a program instructing hardware associated with the terminal device, where the program may be stored in a computer-readable storage medium, and the storage medium may include: flash disk, ROM, RAM, magnetic or optical disk, and the like.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
The integrated unit in the above embodiments, if implemented in the form of a software functional unit and sold or used as a separate product, may be stored in the above computer-readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or a part of or all or part of the technical solution contributing to the prior art may be embodied in the form of a software product stored in a storage medium, and including instructions for causing one or more computer devices (which may be personal computers, servers, network devices, or the like) to execute all or part of the steps of the method described in the embodiments of the present application.
In the above embodiments of the present application, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed client may be implemented in other manners. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, and may also be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution provided in the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The foregoing is only a preferred embodiment of the present application and it should be noted that those skilled in the art can make several improvements and modifications without departing from the principle of the present application, and these improvements and modifications should also be considered as the protection scope of the present application.

Claims (11)

1. A method for pushing subscription information is characterized by comprising the following steps:
acquiring target equipment data reported to an Internet of things platform by target equipment;
determining a target cloud platform according to target dimension information of a target dimension corresponding to the target device data, wherein the target cloud platform is a third-party cloud platform subscribing the device data according to the target dimension information in a third-party cloud platform of the Internet of things platform;
and pushing the target equipment data to the target cloud platform.
2. The method of claim 1, wherein the target dimension comprises a plurality of dimensions, and wherein the target dimension information includes dimension information for each of the plurality of dimensions;
determining the target cloud platform according to the target dimension information of the target dimension corresponding to the target device data includes:
and respectively determining a third-party cloud platform corresponding to each dimension in third-party cloud platforms of the Internet of things platform, wherein the third-party cloud platform corresponding to each dimension is a third-party cloud platform for subscribing equipment data in each dimension according to the dimension information of each dimension, and the target cloud platform comprises the third-party cloud platform corresponding to each dimension.
3. The method of claim 1, wherein the target dimension comprises a device identification, and wherein the target dimension information comprises a target device identification of the target device;
determining the target cloud platform according to the target dimension information of the target dimension corresponding to the target device data includes:
sending a target query request to a target equipment center, wherein the target query request carries the target equipment identifier, and the target query request is used for requesting to query a third-party cloud platform subscribing equipment data according to the target equipment identifier;
and receiving a target response message returned by the target equipment center in response to the target query request, wherein the target response message carries the cloud platform identification of the target cloud platform.
4. The method of claim 3, wherein the target dimension further comprises a device type identifier, and wherein the target dimension information further comprises a target type identifier of the target device;
determining the target cloud platform according to the target dimension information of the target dimension corresponding to the target device data further includes:
extracting a cloud platform identification of the target cloud platform from the target response message;
and executing a filtering operation on the cloud platform identification of the target cloud platform according to the target type identification to obtain the updated cloud platform identification of the target cloud platform, wherein the filtering operation is used for filtering a third party cloud platform which does not subscribe equipment data according to the target type identification.
5. The method of claim 1, wherein prior to obtaining the target device data reported by the target device to the internet of things platform, the method further comprises:
receiving a target subscription request sent by a first cloud platform, wherein the first cloud platform is a third-party cloud platform of the Internet of things platform, and the target subscription request is used for requesting the first cloud platform to subscribe equipment data according to first-dimension information of a first dimension;
and responding to the target subscription request, and subscribing the equipment data for the first cloud platform according to the first dimension information.
6. The method of claim 5, wherein prior to receiving the target subscription request sent by the first cloud platform, the method further comprises:
receiving a target authorization request sent by the first cloud platform, wherein the target authorization request is used for requesting authorization of the first cloud platform to subscribe equipment data according to the first dimension information;
and responding to the target authorization request, and authorizing the first cloud platform to subscribe the equipment data according to the first dimension information.
7. The method of claim 1, wherein prior to obtaining the target device data reported by the target device to the internet of things platform, the method further comprises:
receiving a target registration request sent by a second cloud platform, wherein the second cloud platform is a third-party cloud platform of the internet of things platform, the target registration request carries equipment information of a plurality of pieces of equipment, and the target registration request is used for requesting the second cloud platform to subscribe equipment data according to the equipment information of the plurality of pieces of equipment;
and responding to the target registration request, and establishing an authorized subscription relationship between the second cloud platform and the device information of the plurality of devices.
8. The method of any one of claims 1 to 7, wherein prior to obtaining the target device data reported by the target device to the Internet of things platform, the method further comprises:
receiving target equipment information synchronized to the target cloud platform by the target equipment;
adding the target device information into a target device list, wherein the target device list contains device information of devices to be subscribed of the target cloud platform device to be subscribed data;
and subscribing the device data of the device to be subscribed in the target device list to the Internet of things platform.
9. A device for pushing subscription information, comprising:
the system comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring target equipment data reported to an Internet of things platform by target equipment;
the determining unit is used for determining a target cloud platform according to target dimension information of a target dimension corresponding to the target device data, wherein the target cloud platform is a third-party cloud platform which is used for subscribing the device data according to the target dimension information and is a third-party cloud platform of the Internet of things platform;
and the pushing unit is used for pushing the target equipment data to the target cloud platform.
10. A computer-readable storage medium, comprising a stored program, wherein the program when executed performs the method of any of claims 1 to 8.
11. 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 execute the method of any of claims 1 to 8 by means of the computer program.
CN202110736955.3A 2021-06-30 2021-06-30 Subscription information pushing method and device, storage medium and electronic device Active CN113434766B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110736955.3A CN113434766B (en) 2021-06-30 2021-06-30 Subscription information pushing method and device, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110736955.3A CN113434766B (en) 2021-06-30 2021-06-30 Subscription information pushing method and device, storage medium and electronic device

Publications (2)

Publication Number Publication Date
CN113434766A true CN113434766A (en) 2021-09-24
CN113434766B CN113434766B (en) 2024-03-22

Family

ID=77758356

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110736955.3A Active CN113434766B (en) 2021-06-30 2021-06-30 Subscription information pushing method and device, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN113434766B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114884987A (en) * 2022-04-24 2022-08-09 青岛海信医疗设备股份有限公司 Method, device and storage medium for acquiring equipment state information
CN115495783A (en) * 2022-09-20 2022-12-20 北京三维天地科技股份有限公司 Configured data service exposure solution method and system

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106802926A (en) * 2016-12-21 2017-06-06 上海数据交易中心有限公司 A kind of multiparty data inquiry system and method
CN108777717A (en) * 2018-06-08 2018-11-09 麒麟合盛网络技术股份有限公司 A kind of information on services querying method and server
US20190392162A1 (en) * 2018-06-25 2019-12-26 Merck Sharp & Dohme Corp. Dynamic consent enforcement for internet of things
CN110839011A (en) * 2018-08-17 2020-02-25 视联动力信息技术股份有限公司 Method and device for reporting monitoring resource information
CN111327662A (en) * 2018-12-17 2020-06-23 西安华为技术有限公司 Communication method and management device for heterogeneous Internet of things platform
AU2020101466A4 (en) * 2020-07-24 2020-08-27 B, Surendiran Dr BLOCKCHAIN TECHNOLOGY BASED IoT CONSENSUS PROTOCOL FOR SMART HOME
CN112073297A (en) * 2020-08-25 2020-12-11 刘高峰 Method for providing social application service for third-party application and server
CN112287216A (en) * 2020-10-23 2021-01-29 微医云(杭州)控股有限公司 Information pushing method and device, server and storage medium
EP3780743A1 (en) * 2018-04-13 2021-02-17 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method and device for establishing transmission path

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106802926A (en) * 2016-12-21 2017-06-06 上海数据交易中心有限公司 A kind of multiparty data inquiry system and method
EP3780743A1 (en) * 2018-04-13 2021-02-17 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method and device for establishing transmission path
CN108777717A (en) * 2018-06-08 2018-11-09 麒麟合盛网络技术股份有限公司 A kind of information on services querying method and server
US20190392162A1 (en) * 2018-06-25 2019-12-26 Merck Sharp & Dohme Corp. Dynamic consent enforcement for internet of things
CN110839011A (en) * 2018-08-17 2020-02-25 视联动力信息技术股份有限公司 Method and device for reporting monitoring resource information
CN111327662A (en) * 2018-12-17 2020-06-23 西安华为技术有限公司 Communication method and management device for heterogeneous Internet of things platform
AU2020101466A4 (en) * 2020-07-24 2020-08-27 B, Surendiran Dr BLOCKCHAIN TECHNOLOGY BASED IoT CONSENSUS PROTOCOL FOR SMART HOME
CN112073297A (en) * 2020-08-25 2020-12-11 刘高峰 Method for providing social application service for third-party application and server
CN112287216A (en) * 2020-10-23 2021-01-29 微医云(杭州)控股有限公司 Information pushing method and device, server and storage medium

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
APTHORPE, N.等: "Discovering Smart Home Internet of Things Privacy Norms Using Contextual Integrity", 《PROCEEDINGS OF THE ACM ON INTERACTIVE, MOBILE, WEARABLE AND UBIQUITOUS TECHNOLOGIES》, pages 59 *
于永军: "基于物联网业务平台的安全应用协议的研究", 《中国优秀硕士学位论文全文数据库 信息科技辑》, pages 136 - 769 *
成城: "基于Web的社交物联网体系架构、模型及其安全与隐私关键技术研究", 《中国博士学位论文全文数据库 (信息科技辑)》, pages 138 - 79 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114884987A (en) * 2022-04-24 2022-08-09 青岛海信医疗设备股份有限公司 Method, device and storage medium for acquiring equipment state information
CN114884987B (en) * 2022-04-24 2024-03-29 青岛海信医疗设备股份有限公司 Method, device and storage medium for acquiring equipment state information
CN115495783A (en) * 2022-09-20 2022-12-20 北京三维天地科技股份有限公司 Configured data service exposure solution method and system

Also Published As

Publication number Publication date
CN113434766B (en) 2024-03-22

Similar Documents

Publication Publication Date Title
EP3843364A1 (en) Method, device, and apparatus for processing cloud service in cloud system
CN111742531B (en) Profile information sharing
US20180041893A1 (en) Method and system of multi-terminal mapping to a virtual sim card
CN108769186B (en) Service authority control method and device
EP3491805B1 (en) System and method for configuration of a connected device connection
CN113434766A (en) Subscription information pushing method and device, storage medium and electronic device
CN104247485A (en) Network application function authorisation in a generic bootstrapping architecture
CN104811922A (en) Adjacent node registration method and the device and cross-node registration method and system
US20160149854A1 (en) Framework for Application to Application Interworking in the M2M World
WO2020178823A1 (en) A system and method for switching between publish/subscribe services
CN104602180B (en) Create the method subscribed to resource system and create subscription resource
CN110198540B (en) Portal authentication method and device
CN111988418A (en) Data processing method, device, equipment and computer readable storage medium
CN114040411B (en) Equipment binding method and device, electronic equipment and storage medium
CN111597584A (en) Privacy protection and data sharing method, device and equipment based on block chain
CN111327619A (en) Micro-service data exchange method and device
CN106773797B (en) An information processing method, system and management platform
CN104580303A (en) Virtual resource operating system, operator management platform and application service sharing method
CN106713214B (en) Method and system for identity authentication among multiple authorization systems
CN110366164B (en) Method for remotely controlling terminal, server, terminal and computing equipment
CN114374740B (en) Industry service platform of interconnection of intelligence household electrical appliances
CN108605222A (en) Method, the system for being used for transmission supplemental characteristic, telecommunication terminal equipment, computer program and the computer program product for being used for transmission supplemental characteristic for the configured transmission data between telecommunication network and telecommunication terminal equipment and for activating and/or changing and/or deactivate the communication configuration file for limiting or indicating by supplemental characteristic on telecommunication terminal equipment
CN113489695B (en) Private cloud networking method, device, system, computer equipment and storage medium
CN113301557B (en) eSIM card state management method, device, equipment and storage medium
CN109962962B (en) Socket connection method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant