CN111831654A - Method and device for acquiring product data and server - Google Patents
Method and device for acquiring product data and server Download PDFInfo
- Publication number
- CN111831654A CN111831654A CN202010542247.1A CN202010542247A CN111831654A CN 111831654 A CN111831654 A CN 111831654A CN 202010542247 A CN202010542247 A CN 202010542247A CN 111831654 A CN111831654 A CN 111831654A
- Authority
- CN
- China
- Prior art keywords
- product
- product data
- data
- enterprise account
- acquiring
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 39
- 238000012827 research and development Methods 0.000 claims description 13
- 238000004590 computer program Methods 0.000 claims description 11
- 238000011160 research Methods 0.000 claims description 7
- 238000004519 manufacturing process Methods 0.000 abstract description 30
- 230000000875 corresponding effect Effects 0.000 description 52
- 238000004891 communication Methods 0.000 description 6
- 230000008676 import Effects 0.000 description 6
- 230000006855 networking Effects 0.000 description 6
- 230000006870 function Effects 0.000 description 4
- 238000012356 Product development Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 238000013507 mapping Methods 0.000 description 2
- 239000000463 material Substances 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 238000007670 refining Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000002596 correlated effect Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 238000010408 sweeping Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/22—Indexing; Data structures therefor; Storage structures
- G06F16/2282—Tablespace storage structures; Management thereof
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/28—Databases characterised by their database models, e.g. relational or object models
- G06F16/284—Relational databases
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/953—Querying, e.g. by the use of web search engines
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
- H04L63/0815—Network architectures or network communication protocols for network security for authentication of entities providing single-sign-on or federations
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
- H04L63/083—Network architectures or network communication protocols for network security for authentication of entities using passwords
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- Computing Systems (AREA)
- Signal Processing (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Software Systems (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention is suitable for the technical field of Internet of things, and provides a method, a device and a server for acquiring product data, wherein the method comprises the following steps: receiving a product data acquisition request sent by a product purchasing client, wherein the product data acquisition request comprises an enterprise account; searching product data corresponding to the enterprise account from a database association table; and sending the product data to the product purchasing client. According to the invention, the product data is shared, and the product data is associated with the enterprise account, so that a purchasing customer can log in the IoT platform through the enterprise account to obtain all data of the purchased product, the product data does not need to be repeatedly created on the IoT platform, the operation steps are simplified, the operation efficiency is improved, different product keys cannot be generated for the same type of product, only the uniform product key needs to be burnt, the production line management and control are facilitated, and the production accidents are maximally reduced.
Description
Technical Field
The invention belongs to the technical field of Internet of things, and particularly relates to a method, a device and a server for acquiring product data.
Background
The Internet of things (IoT) is an important component of new-generation information technology and is also an important development stage in The "information" era. As the name implies, the internet of things is an internet with objects connected to each other, and is a technology for establishing communication between objects by using communication technologies such as local networks or the internet.
Currently, internet of things products are networked, a login account needs to be registered on an IoT platform, product information is created, function attributes are defined, equipment is imported, and an App UI interface is configured, after the steps are executed, the IoT platform generates a corresponding product key, and the product key is burned into an equipment program, so that the products can be networked.
Among the prior art, when the customer wants to purchase the thing networking product and paste the brand into own product at present, all need carry out as above operation on the IoT platform and just can obtain the product key that oneself needs to purchase the product, then by the producer when preparing the thing networking product, burn into the thing networking product that corresponds with different customers' product key to make the product that the customer purchase and obtain can successfully network.
The existing scheme has the defects that: because each purchasing customer needs to repeatedly create product data and carry out intelligent online configuration of products on the IoT platform, the operation is complicated and the efficiency is low; meanwhile, the production line for producing the same batch of products needs to burn different product keys according to different customers, the production line is difficult to control, and once a little error occurs in the control (for example, the product key of the customer A burns the product key of the customer B), the equipment cannot be used in a networking mode.
Disclosure of Invention
The embodiment of the invention provides a method, a device and a server for acquiring product data, and aims to solve the technical problems that in the prior art, each purchasing customer needs to repeatedly create product data on an IoT platform and perform intelligent online configuration on products, and the operation is complicated and the efficiency is low.
The embodiment of the invention is realized in such a way that a method for acquiring product data comprises the following steps:
receiving a product data acquisition request sent by a product purchasing client, wherein the product data acquisition request comprises an enterprise account;
searching product data corresponding to the enterprise account from a database association table; the database association table stores product data corresponding to different enterprise accounts respectively, the product data comprise product keys enabling products to be connected to the Internet of things, and the product keys corresponding to products of the same type are the same;
and sending the product data to the product purchasing client.
The embodiment of the invention also provides a device for acquiring product data, which comprises:
the request receiving module is used for receiving a product data acquisition request sent by a product purchasing client, wherein the product data acquisition request comprises an enterprise account;
the data query module is used for searching product data corresponding to the enterprise account from a database association table; the database association table stores product data corresponding to different enterprise accounts respectively, the product data comprise product keys enabling products to be connected to the Internet of things, and the product keys corresponding to products of the same type are the same;
and the data sending module is used for sending the product data to the product purchasing client.
The embodiment of the present invention further provides a server, which includes a processor, a memory, and a computer program stored on the memory and executable on the processor, and when the processor executes the computer program, the server executes the above method for acquiring product data.
An embodiment of the present invention further provides a storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the method for acquiring product data described above.
The invention achieves the following beneficial effects: by sharing the product data and associating the product data with the enterprise account, a purchasing customer can obtain all data of the purchased product only by logging in the IoT platform through the enterprise account of the purchasing customer, the product data does not need to be repeatedly created on the IoT platform, the operation steps are simplified, and the operation efficiency is improved; in addition, because the purchasing customer directly obtains the product data on the IoT platform, and does not establish the product data on the platform, therefore the products of the same model can share one product key without distinguishing different customers, so that the same product only needs to burn and record the uniform product key in the production line production process, the production line management and control are facilitated, and the production accidents are reduced to the maximum extent.
Drawings
Fig. 1 is a block diagram of a product data acquisition system in an embodiment of the present invention;
FIG. 2 is a flowchart of a method for obtaining product data according to a first embodiment of the present invention;
FIG. 3 is a flowchart of a product data acquisition method according to a second embodiment of the present invention;
FIG. 4 is a flowchart of a product data acquisition method according to a third embodiment of the present invention;
FIG. 5 is a block diagram of an apparatus for acquiring product data according to a fourth embodiment of the present invention;
fig. 6 is a block diagram of a server according to a fifth embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
At present, a purchasing customer needs to repeatedly create product data and carry out intelligent online configuration on an IoT platform, so that the operation is complicated and the efficiency is low; and the customer establishes the product at the IoT platform, has generated different product key, and production line production needs to burn different product key to different customer's product, and the production line is difficult to manage and control, and the mistake of burning other customer product key appears in the easy appearance, and after the mistake appears, equipment can not normally network, produces the production accident. The invention aims to provide a method, a system and a server for acquiring product data, which are used for sharing the product data and associating the product data with an enterprise account, so that a purchasing customer can acquire all data of a purchased product by logging in an IoT platform through the enterprise account without repeatedly creating the product data on the IoT platform, operation steps are simplified, operation efficiency is improved, products of the same model can not generate different product keys, only the uniform product key needs to be burnt, production line management and control are facilitated, and production accidents are reduced to the maximum extent.
The following embodiments can be applied to the system for acquiring product data shown in fig. 1, where the system shown in fig. 1 includes a server 10, at least one internet of things product 20 communicatively connected to the server 10, and at least one purchasing client 30 communicatively connected to the server 10 and correlated to the internet of things product 20, where:
the server 10 may connect with the internet-of-things products 20 and the purchasing clients 30 through the internet to constitute the internet of things. The server 10 may be a server for managing the internet of things products 20 and purchasing the client 30, for example, a server of a manufacturer of the internet of things products, and the purchasing client 30 may be a user terminal, for example, a mobile phone or the like, of a customer who purchases the internet of things products 20. By way of example and not limitation, the internet of things product may be a sweeping robot, an air conditioner, a television, a router, a switch panel, and the like.
Specifically, an IoT platform is provided on the server 10, and the internet of things product 20 needs to log in the IoT platform through a product key, so as to implement networking with the server 10. The product key of the internet of things product 20 needs to be burned into its device program when the internet of things product 20 is produced. The purchasing client 30 may log into the IoT platform by registering and logging into an account password, thereby enabling networking with the server 10. The purchasing client 30 may obtain or create product data on the IoT platform and configure the App UI interface for the product according to the product data, thereby generating a product key for the internet of things product 20.
It should be noted that the configuration shown in fig. 1 does not constitute a limitation on the product data acquisition system, and in other embodiments, the product data acquisition system may include fewer or more components than those shown, or some components may be combined, or a different arrangement of components may be used.
Example one
Referring to fig. 2, a method for acquiring product data according to a first embodiment of the present invention is shown, which can be applied to a server, where the server can implement the method through hardware and/or software, and the method specifically includes steps S01-S03.
Step S01, receiving a product data acquisition request sent by the product purchasing client, where the product data acquisition request includes an enterprise account.
In specific implementation, the client side of the purchased product can log in to the IoT platform through the enterprise account, and then issue the product data acquisition request on the IoT platform, or automatically issue the product data acquisition request by default after logging in to the IoT platform successfully. The issued product data acquisition request comprises the currently logged-in enterprise account.
The enterprise account is obtained by registering a product purchasing client on the IoT platform, and when the enterprise account is registered, information such as enterprise information, product purchasing models and the like can be connected to the IoT platform. After the registration is successful, the product purchasing client acquires the unique enterprise account, and the product purchasing client can log in to the IoT platform by using the unique enterprise account.
Step S02, searching product data corresponding to the enterprise account from a database association table; the database association table stores product data corresponding to different enterprise accounts respectively, the product data comprise product keys enabling products to be connected to the Internet of things, and the product keys corresponding to products of the same type are the same.
In specific implementation, a one-to-one correspondence relationship between the enterprise account and the product data may be established, and more specifically, the enterprise account may be associated with a product model, and the product model may be associated with the product data, so that the enterprise account is associated with the product data. After the association between the enterprise account and the product data is established, the enterprise account and the product data can be recorded into a pre-stored mapping table in a one-to-one correspondence manner to form the database association table.
For example, but not by way of limitation, when the B-customer registers an enterprise account on the IoT platform, the purchased product model may be entered into the IoT platform, at this time, the enterprise account registered by the B-customer and the purchased product model automatically establish an association, and since product data of products of various models are entered on the IoT platform and there is an association between the product model and the product data, the B-customer may view and obtain the product data of the purchased product after subsequently logging in the IoT platform through the registered enterprise account. Or, if the B customer registers the enterprise account on the IoT platform, the research and development staff enters the enterprise account registered by the B customer and the model of the product purchased by the B customer into the IoT platform, so that the B customer can view and obtain the product data of the product purchased by the B customer after subsequently logging in the IoT platform through the registered enterprise account.
The product data of each model product can be input into the IoT platform by technical personnel (such as research and development personnel of a department of cause) of a manufacturer of the Internet of things product, and the product data is authorized to the enterprise account of the corresponding customer. It should be noted that the product data required to be logged onto the IoT platform includes: basic information data of products, functional attribute information data, App UI template data, production registration authentication import equipment data and the like. The data of the production registration authentication import equipment can be imported in batches according to the batch import template of the equipment of different customers, namely, the equipment of different customers is imported to the platform separately, then the data is authorized and shared to the corresponding enterprise account according to the enterprise account, and after the data is authorized, the data can be logged in the IoT platform through the enterprise account to check the corresponding product data.
Step S03, sending the product data to the product purchasing client.
In summary, in the method for acquiring product data in this embodiment, the product data is shared, and the product data is associated with the enterprise account, so that a purchasing client can acquire all data of a product purchased by the purchasing client only by logging in the IoT platform through the enterprise account of the purchasing client, and the product data does not need to be repeatedly created on the IoT platform, thereby simplifying operation steps and improving operation efficiency; in addition, because the purchasing customer directly obtains the product data on the IoT platform, and does not establish the product data on the platform, therefore the products of the same model can share one product key without distinguishing different customers, so that the same product only needs to burn and record the uniform product key in the production line production process, the production line management and control are facilitated, and the production accidents are reduced to the maximum extent.
Example two
Referring to fig. 3, a method for acquiring product data according to a second embodiment of the present invention is shown, and the method for acquiring product data in this embodiment is different from the method for acquiring product data in the first embodiment in that: the step of generating the database association table specifically comprises:
step S11, acquiring product data respectively corresponding to different models of products created by a product research and development end, wherein product keys in the product data of the same model of product are the same.
And step S12, creating a corresponding relation between the enterprise account and the product data according to the enterprise account input by the product research end.
Step S13, storing the corresponding relationship between the enterprise account and the product data in the database association table.
Specifically, the step S12 may be specifically implemented as the following refining steps, and the refining steps specifically include:
determining a product model corresponding to the enterprise account according to the product model relation of the product purchasing client authorized by the product research end;
acquiring product data of a product model corresponding to the enterprise account;
and creating a corresponding relation between the enterprise account and product data of the product model corresponding to the enterprise account.
The product development end may be a terminal (e.g., a computer) of a product developer. Specifically, the product research and development end may log in the IoT platform through the registered account, and after logging in, the product data of various models of products are respectively input into the IoT platform, so that the database of the IoT platform contains the product data of various models of products. In addition, product research and development personnel also need to enter an enterprise account and authorize the corresponding product model for the enterprise account, for example, the product model purchased by the B customer is authorized to the enterprise account of the B customer, then the system acquires product data corresponding to the product model, so as to create a corresponding relationship between the enterprise account and the product data of the product model corresponding to the enterprise account, and finally, the corresponding relationship between the enterprise account and the product data is stored in a database association table, so as to form the database association table.
EXAMPLE III
Referring to fig. 4, a method for acquiring product data according to a third embodiment of the present invention is shown, and the method for acquiring product data in this embodiment is different from the method for acquiring product data in the first embodiment in that the method further includes:
step S21, receiving product updating information sent by the product research and development end, wherein the product updating information comprises updated product data and a corresponding product model;
and step S22, updating the corresponding product data in the database association table according to the updated product data and the corresponding product model included in the product updating information.
It should be noted that the product data is not fixed, and product development also needs to update the product data, so that the client side of purchasing the product can view the latest product data. In this embodiment, when the product data needs to be updated, the product update information may be issued to the IoT platform through the product development end, where the product update information includes the updated product data and the corresponding product model, and after receiving the product update information, the IoT platform determines the data that needs to be updated in the database association table according to the product model in the product update information, and updates the data that needs to be updated by using the updated product data in the product update information.
Besides, in some alternative embodiments, after step S22, the method may further include:
acquiring an enterprise account corresponding to the updated product data from the database association table;
and sending data updating information to the product purchasing client side where the enterprise account corresponding to the updated product data is located, so that the product purchasing client side can acquire the corresponding product data in the database association table again.
That is, after the product data in the updated database association table is updated, the corresponding enterprise account is acquired from the updated product data, and data update information is pushed to the product purchasing client where the enterprise account is located, so as to notify the product purchasing client to acquire the updated product data in the database association table again.
Example four
Referring to fig. 5, a device for acquiring product data according to a fourth embodiment of the present invention is shown, which can be applied to a server, where the server can be implemented by hardware and/or software, and the device for acquiring product data includes:
the request receiving module 11 is configured to receive a product data obtaining request sent by a product purchasing client, where the product data obtaining request includes an enterprise account;
the data query module 12 is configured to search product data corresponding to the enterprise account from a database association table; the database association table stores product data corresponding to different enterprise accounts respectively, the product data comprise product keys enabling products to be connected to the Internet of things, and the product keys corresponding to products of the same type are the same;
and the data sending module 13 is used for sending the product data to the product purchasing client.
In specific implementation, the client side of the purchased product can log in to the IoT platform through the enterprise account, and then issue the product data acquisition request on the IoT platform, or automatically issue the product data acquisition request by default after logging in to the IoT platform successfully. The issued product data acquisition request comprises the currently logged-in enterprise account.
The enterprise account is obtained by registering a product purchasing client on the IoT platform, and when the enterprise account is registered, information such as enterprise information, product purchasing models and the like can be connected to the IoT platform. After the registration is successful, the product purchasing client acquires the unique enterprise account, and the product purchasing client can log in to the IoT platform by using the unique enterprise account.
In specific implementation, a one-to-one correspondence relationship between the enterprise account and the product data may be established, and more specifically, the enterprise account may be associated with a product model, and the product model may be associated with the product data, so that the enterprise account is associated with the product data. After the association between the enterprise account and the product data is established, the enterprise account and the product data can be recorded into a pre-stored mapping table in a one-to-one correspondence manner to form the database association table.
For example, but not by way of limitation, when the B-customer registers an enterprise account on the IoT platform, the purchased product model may be entered into the IoT platform, at this time, the enterprise account registered by the B-customer and the purchased product model automatically establish an association, and since product data of products of various models are entered on the IoT platform and there is an association between the product model and the product data, the B-customer may view and obtain the product data of the purchased product after subsequently logging in the IoT platform through the registered enterprise account. Or, if the B customer registers the enterprise account on the IoT platform, the research and development staff enters the enterprise account registered by the B customer and the model of the product purchased by the B customer into the IoT platform, so that the B customer can view and obtain the product data of the product purchased by the B customer after subsequently logging in the IoT platform through the registered enterprise account.
The product data of each model product can be input into the IoT platform by technical personnel (such as research and development personnel of a department of cause) of a manufacturer of the Internet of things product, and the product data is authorized to the enterprise account of the corresponding customer. It should be noted that the product data required to be logged onto the IoT platform includes: basic information data of products, functional attribute information data, App UI template data, production registration authentication import equipment data and the like. The data of the production registration authentication import equipment can be imported in batches according to the batch import template of the equipment of different customers, namely, the equipment of different customers is imported to the platform separately, then the data is authorized and shared to the corresponding enterprise account according to the enterprise account, and after the data is authorized, the data can be logged in the IoT platform through the enterprise account to check the corresponding product data.
Further, in some optional embodiments of the present invention, the apparatus may further include:
the data acquisition module is used for acquiring product data respectively corresponding to different types of products created by a product research and development end, and product keys in the product data of the same type of products are the same;
the relation establishing module is used for establishing the corresponding relation between the enterprise account and the product data according to the enterprise account input by the product research end;
and the association storage module is used for storing the corresponding relation between the enterprise account and the product data into the database association table.
Further, in some optional embodiments of the present invention, the apparatus may further include:
the model determining unit is used for determining the product model corresponding to the enterprise account according to the product model relation of the product purchasing client authorized by the product researching end;
the data acquisition unit is used for acquiring product data of the product model corresponding to the enterprise account;
and the relationship creating unit is used for creating a corresponding relationship between the enterprise account and the product data of the product model corresponding to the enterprise account.
Further, in some optional embodiments of the present invention, the apparatus may further include:
the information acquisition module is used for receiving product updating information sent by the product research and development end, wherein the product updating information comprises updated product data and a corresponding product model;
and the data updating module is used for updating the corresponding product data in the database association table according to the updated product data and the corresponding product model included in the product updating information.
Further, in some optional embodiments of the present invention, the apparatus may further include:
the account acquisition module is used for acquiring an enterprise account corresponding to the updated product data from the database association table;
and the information pushing module is used for sending data updating information to the product purchasing client side where the enterprise account corresponding to the updated product data is located, so that the product purchasing client side can acquire the corresponding product data in the database association table again.
The functions or operation steps of the modules and units when executed are substantially the same as those of the method embodiments, and are not described herein again.
To sum up, the product data acquisition device in this embodiment shares the product data and associates the product data with the enterprise account, so that a purchasing client can acquire all data of a purchased product only by logging in the IoT platform through the enterprise account of the purchasing client, and the product data does not need to be repeatedly created on the IoT platform, thereby simplifying operation steps and improving operation efficiency; in addition, because the purchasing customer directly obtains the product data on the IoT platform, and does not establish the product data on the platform, therefore the products of the same model can share one product key without distinguishing different customers, so that the same product only needs to burn and record the uniform product key in the production line production process, the production line management and control are facilitated, and the production accidents are reduced to the maximum extent.
EXAMPLE five
Referring to fig. 6, a server according to a fifth embodiment of the present invention is further provided, and shown in the server, including a processor 10, a memory 20, and a computer program 30 stored in the memory and executable on the processor, where when the processor 10 executes the computer program 30, the server executes the above-mentioned method for acquiring product data.
The memory 20 includes at least one type of readable storage medium, which includes a flash memory, a hard disk, a multimedia card, a card type memory (e.g., SD or DX memory, etc.), a magnetic memory, a magnetic disk, an optical disk, and the like. The memory 20 may in some embodiments be an internal storage unit of the server, for example a hard disk of the server. The memory 20 may also be an external storage device of the server in other embodiments, such as a plug-in hard disk provided on the server, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like. Further, the memory 20 may also include both an internal storage unit of the server and an external storage device. The memory 20 may be used not only to store application software installed in the server and various kinds of data, but also to temporarily store data that has been output or will be output.
Optionally, the server may further comprise a user interface, a network interface, a communication bus, etc., the user interface may comprise a Display (Display), an input unit such as a remote control, physical keys, etc., and the optional user interface may further comprise a standard wired interface, a wireless interface. Alternatively, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch device, or the like. The display, which may also be referred to as a display screen or display unit, is suitable for displaying information processed in the server and for displaying a visual user interface. The network interface may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface), typically used to establish a communication link between the server and other robotics. The communication bus is used to enable connection communication between these components.
It should be noted that the configuration shown in fig. 6 does not constitute a limitation on the server, and in other embodiments, the server may include fewer or more components than shown, or some components may be combined, or a different arrangement of components.
To sum up, the server in this embodiment shares the product data and associates the product data with the enterprise account, so that a purchasing client can obtain all data of the purchased product only by logging in the IoT platform through the enterprise account of the purchasing client, and the product data does not need to be repeatedly created on the IoT platform, thereby simplifying the operation steps and improving the operation efficiency; in addition, because the purchasing customer directly obtains the product data on the IoT platform, and does not establish the product data on the platform, therefore the products of the same model can share one product key without distinguishing different customers, so that the same product only needs to burn and record the uniform product key in the production line production process, the production line management and control are facilitated, and the production accidents are reduced to the maximum extent.
An embodiment of the present invention further provides a storage medium on which a computer program 30 used in the server is stored, and when being executed by a processor, the program realizes the method for acquiring the product data.
The storage medium may be, but is not limited to, ROM/RAM, magnetic disk, optical disk, etc.
Those of skill in the art will understand that the logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be viewed as implementing logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device.
More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents and improvements made within the spirit and principle of the present invention are intended to be included within the scope of the present invention.
Claims (10)
1. A method for acquiring product data is characterized by comprising the following steps;
receiving a product data acquisition request sent by a product purchasing client, wherein the product data acquisition request comprises an enterprise account;
searching product data corresponding to the enterprise account from a database association table; the database association table stores product data corresponding to different enterprise accounts respectively, the product data comprise product keys enabling products to be connected to the Internet of things, and the product keys corresponding to products of the same type are the same;
and sending the product data to the product purchasing client.
2. The method for acquiring product data according to claim 1, wherein the step of generating the database association table includes:
acquiring product data respectively corresponding to different types of products created by a product research and development end, wherein product keys in the product data of the same type of products are the same;
according to the enterprise account number input by the product research end, establishing a corresponding relation between the enterprise account number and the product data;
and storing the corresponding relation between the enterprise account and the product data into the database association table.
3. The method for acquiring product data according to claim 2, wherein the creating a correspondence between the enterprise account and the product data according to the enterprise account input by the product research terminal includes:
determining a product model corresponding to the enterprise account according to the product model relation of the product purchasing client authorized by the product research end;
acquiring product data of a product model corresponding to the enterprise account;
and creating a corresponding relation between the enterprise account and product data of the product model corresponding to the enterprise account.
4. The method of claim 1, further comprising:
receiving product updating information sent by the product research and development end, wherein the product updating information comprises updated product data and a corresponding product model;
and updating the corresponding product data in the database association table according to the updated product data and the corresponding product model included in the product updating information.
5. The method according to claim 4, wherein after the corresponding product data in the database association table is updated according to the updated product data and the corresponding product model included in the product update information, the method further comprises:
acquiring an enterprise account corresponding to the updated product data from the database association table;
and sending data updating information to the product purchasing client side where the enterprise account corresponding to the updated product data is located, so that the product purchasing client side can acquire the corresponding product data in the database association table again.
6. An apparatus for acquiring product data, the apparatus comprising:
the request receiving module is used for receiving a product data acquisition request sent by a product purchasing client, wherein the product data acquisition request comprises an enterprise account;
the data query module is used for searching product data corresponding to the enterprise account from a database association table; the database association table stores product data corresponding to different enterprise accounts respectively, the product data comprise product keys enabling products to be connected to the Internet of things, and the product keys corresponding to products of the same type are the same;
and the data sending module is used for sending the product data to the product purchasing client.
7. The apparatus for acquiring product data according to claim 6, further comprising:
the data acquisition module is used for acquiring product data respectively corresponding to different types of products created by a product research and development end, and product keys in the product data of the same type of products are the same;
the relation establishing module is used for establishing the corresponding relation between the enterprise account and the product data according to the enterprise account input by the product research end;
and the association storage module is used for storing the corresponding relation between the enterprise account and the product data into the database association table.
8. The apparatus for acquiring product data according to claim 7, wherein the relationship creation module includes:
the model determining unit is used for determining the product model corresponding to the enterprise account according to the product model relation of the product purchasing client authorized by the product researching end;
the data acquisition unit is used for acquiring product data of the product model corresponding to the enterprise account;
and the relationship creating unit is used for creating a corresponding relationship between the enterprise account and the product data of the product model corresponding to the enterprise account.
9. A server comprising a processor, a memory, and a computer program stored on the memory and executable on the processor, wherein the server executes the method for acquiring product data according to any one of claims 1 to 5 when the processor executes the computer program.
10. A storage medium, characterized in that a computer program is stored thereon, which computer program, when being executed by a processor, implements the method of acquiring product data of any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010542247.1A CN111831654B (en) | 2020-06-15 | 2020-06-15 | Product data acquisition method, device and server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010542247.1A CN111831654B (en) | 2020-06-15 | 2020-06-15 | Product data acquisition method, device and server |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111831654A true CN111831654A (en) | 2020-10-27 |
CN111831654B CN111831654B (en) | 2024-10-15 |
Family
ID=72898713
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010542247.1A Active CN111831654B (en) | 2020-06-15 | 2020-06-15 | Product data acquisition method, device and server |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111831654B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112559600A (en) * | 2020-12-22 | 2021-03-26 | 南京万购信息科技有限公司 | Enterprise product directory mining method based on search engine retrieval data |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102496113A (en) * | 2011-11-18 | 2012-06-13 | 祝启忠 | Method and system for realizing commodity authentication service |
CN105225138A (en) * | 2015-11-12 | 2016-01-06 | 曲卫晶 | A kind of data interactive method based on client and product and system |
US20160343055A1 (en) * | 2015-05-21 | 2016-11-24 | Go Daddy Operating Company, LLC | System and method for recommending a set of products for purchase to a client |
CN106372950A (en) * | 2016-09-21 | 2017-02-01 | 东北大学秦皇岛分校 | Anti-counterfeiting authentication method for e-commerce and online shopping goods |
CN106503767A (en) * | 2016-11-17 | 2017-03-15 | 南通芯电物联网科技有限责任公司 | A kind of false proof NFC label publishing system and its method |
CN107172145A (en) * | 2017-05-15 | 2017-09-15 | 北京鑫通运科信息技术有限公司 | IOTConnector Internet of Things connector and its construction method |
CN108600323A (en) * | 2018-03-26 | 2018-09-28 | 江苏和合邦信网络信息咨询有限公司 | A kind of multicenter data-sharing systems and its application method |
CN108648034A (en) * | 2018-04-03 | 2018-10-12 | 广州市宝比万像软件科技有限公司 | Electric business method of commerce, device, computer equipment and storage medium |
CN109379430A (en) * | 2018-11-30 | 2019-02-22 | 四川芯波智创物联技术有限公司 | A kind of shared platform that is full of altogether of " Internet of Things+" industry ecosphere |
CN109525391A (en) * | 2018-10-14 | 2019-03-26 | 浙江鸿利锁业有限公司 | A kind of method that server is synchronous with lockset information security |
CN109961294A (en) * | 2017-12-21 | 2019-07-02 | 深圳市优权天成科技有限公司 | Commodity based on block chain are really weighed and ownership transfer method and system |
CN110335055A (en) * | 2019-07-17 | 2019-10-15 | 中国银行股份有限公司 | Business datum retroactive method and device based on cloud platform |
-
2020
- 2020-06-15 CN CN202010542247.1A patent/CN111831654B/en active Active
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102496113A (en) * | 2011-11-18 | 2012-06-13 | 祝启忠 | Method and system for realizing commodity authentication service |
US20160343055A1 (en) * | 2015-05-21 | 2016-11-24 | Go Daddy Operating Company, LLC | System and method for recommending a set of products for purchase to a client |
CN105225138A (en) * | 2015-11-12 | 2016-01-06 | 曲卫晶 | A kind of data interactive method based on client and product and system |
CN106372950A (en) * | 2016-09-21 | 2017-02-01 | 东北大学秦皇岛分校 | Anti-counterfeiting authentication method for e-commerce and online shopping goods |
CN106503767A (en) * | 2016-11-17 | 2017-03-15 | 南通芯电物联网科技有限责任公司 | A kind of false proof NFC label publishing system and its method |
CN107172145A (en) * | 2017-05-15 | 2017-09-15 | 北京鑫通运科信息技术有限公司 | IOTConnector Internet of Things connector and its construction method |
CN109961294A (en) * | 2017-12-21 | 2019-07-02 | 深圳市优权天成科技有限公司 | Commodity based on block chain are really weighed and ownership transfer method and system |
CN108600323A (en) * | 2018-03-26 | 2018-09-28 | 江苏和合邦信网络信息咨询有限公司 | A kind of multicenter data-sharing systems and its application method |
CN108648034A (en) * | 2018-04-03 | 2018-10-12 | 广州市宝比万像软件科技有限公司 | Electric business method of commerce, device, computer equipment and storage medium |
CN109525391A (en) * | 2018-10-14 | 2019-03-26 | 浙江鸿利锁业有限公司 | A kind of method that server is synchronous with lockset information security |
CN109379430A (en) * | 2018-11-30 | 2019-02-22 | 四川芯波智创物联技术有限公司 | A kind of shared platform that is full of altogether of " Internet of Things+" industry ecosphere |
CN110335055A (en) * | 2019-07-17 | 2019-10-15 | 中国银行股份有限公司 | Business datum retroactive method and device based on cloud platform |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112559600A (en) * | 2020-12-22 | 2021-03-26 | 南京万购信息科技有限公司 | Enterprise product directory mining method based on search engine retrieval data |
Also Published As
Publication number | Publication date |
---|---|
CN111831654B (en) | 2024-10-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107733922B (en) | Method and apparatus for invoking a service | |
CN110598280B (en) | Equipment simulation system and method and computer readable storage medium | |
JP6127914B2 (en) | Industrial equipment management system, industrial equipment management apparatus, industrial equipment management method, program, and information storage medium | |
US20180240130A1 (en) | System, information management method, and information processing apparatus | |
EP3874978A1 (en) | Control method and device for electronic cigarette and computer storage medium | |
US20120320815A1 (en) | Entity Identification Based on Proximity to Access Points | |
TW200841256A (en) | Knowledge management system and method for implementing management software using the same | |
CN112422372B (en) | MQTT protocol industrial equipment data simulation method based on reflection mechanism | |
CN110795763B (en) | Electronic certificate processing method, query method, device, equipment, platform and medium | |
CN110018835B (en) | YANG model configuration data processing method and device, terminal device and storage medium | |
CN116938546A (en) | Control method, device, equipment and medium of intelligent household Internet of things equipment | |
CN113205352A (en) | Traceability chain platform system data interaction management method and system | |
CN114282560B (en) | Code scanning method, device, terminal, computer storage medium and electronic equipment | |
CN111831654B (en) | Product data acquisition method, device and server | |
JP6250114B1 (en) | Extended warranty system and server device | |
CN117596154A (en) | Method and system for automatically identifying and accessing equipment based on meta model | |
CN116308428A (en) | Vehicle accessory management method, device, equipment and medium based on traceability codes | |
CN111277595B (en) | User and data management method suitable for multiple users and multiple terminals | |
CN113470223A (en) | Intelligent lock user management method, device, storage medium and system | |
US20160036766A1 (en) | Method and system for synchronizing program masks | |
US10924297B2 (en) | Agent system including an information processing device for executing an agent | |
CN116647446A (en) | Configuration-free networking method, device and system, electronic equipment and storage medium | |
CN117478664B (en) | Information display method and device in vehicle control application, electronic equipment and storage medium | |
CN111026565B (en) | Cluster management method and management system | |
CN116455797A (en) | Cloud edge interaction protocol consistency detection method, system and device based on metadata definition and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |