CN113325745B - Equipment control method, terminal, storage medium and electronic device - Google Patents
Equipment control method, terminal, storage medium and electronic device Download PDFInfo
- Publication number
- CN113325745B CN113325745B CN202110470016.9A CN202110470016A CN113325745B CN 113325745 B CN113325745 B CN 113325745B CN 202110470016 A CN202110470016 A CN 202110470016A CN 113325745 B CN113325745 B CN 113325745B
- Authority
- CN
- China
- Prior art keywords
- preset
- tag
- predetermined
- identification information
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 57
- 238000004590 computer program Methods 0.000 claims description 16
- 230000003993 interaction Effects 0.000 abstract description 9
- 230000000694 effects Effects 0.000 abstract description 2
- 230000005540 biological transmission Effects 0.000 description 19
- 230000006870 function Effects 0.000 description 12
- 238000010586 diagram Methods 0.000 description 10
- 238000004891 communication Methods 0.000 description 9
- 238000005516 engineering process Methods 0.000 description 6
- 230000008569 process Effects 0.000 description 5
- 238000011161 development Methods 0.000 description 4
- 230000009471 action Effects 0.000 description 3
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 3
- 238000010276 construction Methods 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 238000005406 washing Methods 0.000 description 2
- 238000001514 detection method Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 230000035515 penetration Effects 0.000 description 1
- 210000001747 pupil Anatomy 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/04—Programme control other than numerical control, i.e. in sequence controllers or logic controllers
- G05B19/042—Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
- G05B19/0428—Safety, monitoring
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/20—Pc systems
- G05B2219/24—Pc safety
- G05B2219/24024—Safety, surveillance
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Telephonic Communication Services (AREA)
Abstract
The embodiment of the invention provides a device control method, a terminal, a storage medium and an electronic device, wherein the method comprises the steps of receiving a service instruction; sending a first tag retrieval request to a server according to a service instruction to request the server to retrieve a preset tag set corresponding to preset identification information; receiving the preset tag set returned by the server based on the first tag calling request, wherein the corresponding relation between the identification information and the tag set is recorded in the server, and different identification information corresponds to the same or different tag sets; controlling one or more predetermined devices to perform a predetermined operation based on tag information contained in the predetermined tag set; according to the invention, the problem that personalized interaction cannot be realized is solved, and the effects of improving the individuation of equipment interaction and improving user experience are further achieved.
Description
Technical Field
The embodiment of the invention relates to the field of communication, in particular to a device control method, a tag feedback method, a device tag adjustment method, a device control terminal, a server, an operation terminal, a service control system, a computer readable storage medium and an electronic device.
Background
Before the technology of the Internet of things is raised and at the initial stage of the construction of the Internet of things, the functions for users to use on the equipment are mainly from the equipment itself, such as the starting of a washing machine, the setting of indoor temperature by an air conditioner and the like, and the functions are definite and fixed during development, and no matter the user is who uses the equipment, the functions are not changed under any conditions; meanwhile, when interacting with a user or providing a service, the personalized customization and the personalized requirements are not considered much, and fingerprint locks are taken as examples, and fingerprints are usually identified in the form of digital numbers (for example, fingerprint 001 and fingerprint 002) inside the physical locks; when the user sets the fingerprint, the user is prompted in a less friendly manner such as fingerprint 00X.
With the penetration of the construction work of the internet of things, more and more user-defined functions and personalized functions are proposed, namely, how to use the device needs to be defined by the user, and the system can distinguish different users so as to provide different interactive experiences for different users.
For example, in the functions of custom scenes, when the user opens the door, not only the general prompt of "welcome you home" is prompted, but also a friendly prompt of "welcome home" is changed, and other household appliances in the household may be linked to provide exclusive services for the user, for example, the household member returns home, so when the fingerprint lock opens the door, the system can automatically open the television and switch to the television channel favored by the household member.
In the current industry technology, the support capability for such services is weak. Mainly because, when the equipment is developed, an equipment model needs to be defined in advance. The subsequent development and production operations are based on this model, which also means that the assumption that the function of the device is predefined is assumed.
In practice, however, with the development of internet technology, there are many important personalized information that is determined during the use process after the purchase of the user.
Taking the fingerprint lock as an example, during development and production, it is not known who will use the lock, so that the fingerprint can be numbered universally only in digital form, and not in a user-friendly form.
Meanwhile, the equipment is limited in computing capacity, storage capacity, transmission bandwidth and the like due to the fact that the equipment is limited in cost, environment, space and other factors, and therefore the personalized interaction is difficult at present.
Disclosure of Invention
The embodiment of the invention provides a device control method, a tag feedback method, a device tag adjustment method, a device control terminal, a server, an operation terminal, a service control system, a computer readable storage medium and an electronic device, which at least solve the problem that personalized interaction cannot be realized in the related technology.
According to an embodiment of the present invention, there is provided an apparatus control method including:
receiving a service instruction, wherein the service instruction carries preset identification information of a preset user;
sending a first tag calling request to a server according to the service instruction to request the server to call a preset tag set corresponding to the preset identification information, wherein the preset tag set comprises tag information of one or more preset devices, and the tag information of each device is used for identifying the identity of the corresponding preset device and preset operation to be executed;
receiving the preset tag set returned by the server based on the first tag calling request, wherein the corresponding relation between the identification information and the tag set is recorded in the server, and different identification information corresponds to the same or different tag sets;
and controlling one or more predetermined devices to execute the predetermined operation based on the tag information contained in the predetermined tag set.
In an exemplary embodiment, the method further comprises:
sending an adjustment instruction to the server to instruct the server to perform at least one of the following operations:
The corresponding relation between the identification information recorded in the server and the tag set is adjusted;
and adjusting the tag information included in the preset tag set recorded in the server.
In an exemplary embodiment, after receiving the predetermined set of tags returned by the server based on the first tag retrieval request, the method further comprises:
receiving equipment information sent by a message bus, wherein the equipment information comprises the working state of the preset equipment;
matching the predetermined tag set based on the device information to determine one or more predetermined controlled devices that do not perform the predetermined operation;
and sending execution instructions to one or more predetermined controlled devices to instruct the one or more predetermined controlled devices to execute the predetermined operation.
According to another embodiment of the present invention, there is provided a device tag feedback method including:
receiving a first tag calling request from a device control terminal, wherein the first tag calling request is used for requesting to call a preset tag set corresponding to preset identification information;
determining a preset tag set corresponding to the preset identification information from a pre-recorded corresponding relation based on the first tag calling request, wherein the corresponding relation is the corresponding relation between the identification information and the tag set, and different identification information corresponds to the same or different tag sets;
And returning the preset tag set to the equipment control terminal to instruct the equipment control terminal to control one or more preset equipment to execute preset operation based on tag information contained in the preset tag set, wherein the preset tag set comprises tag information of one or more preset equipment, and the tag information of each equipment is used for identifying the identity of the corresponding preset equipment and the preset operation required to be executed.
In an exemplary embodiment, the method further comprises:
receiving an adjustment instruction from the equipment control terminal;
according to the adjustment instruction, at least one of the following operations is performed: adjusting the corresponding relation between the recorded identification information and the tag set; and adjusting tag information included in the recorded preset tag set.
In an exemplary embodiment, after returning the predetermined tag set to the device control terminal, the method further comprises:
receiving equipment information sent by a message bus, wherein the equipment information comprises the working state of the preset equipment;
based on the device information, adjusting tag information of one or more pieces of preset devices included in the preset tag set to obtain a target tag set;
And returning the target tag set to the equipment control terminal to instruct the equipment control terminal to control one or more preset equipment to execute preset operation based on tag information contained in the target tag set.
According to another embodiment of the present invention, there is provided an apparatus control terminal including:
the business instruction receiving module is used for receiving a business instruction, wherein the business instruction carries preset identification information of a preset user;
the first request sending module is used for sending a first tag calling request to the server according to the service instruction so as to request the server to call a preset tag set corresponding to the preset identification information, wherein the preset tag set comprises tag information of one or more preset devices, and the tag information of each device is used for identifying the identity of the corresponding preset device and preset operation to be executed;
the first tag receiving module is used for receiving the preset tag set returned by the server based on the first tag calling request, wherein the corresponding relation between the identification information and the tag set is recorded in the server, and different identification information corresponds to the same or different tag sets;
And the equipment control module is used for controlling one or more preset equipment to execute the preset operation based on the label information contained in the preset label set.
According to another embodiment of the present invention, there is provided a server including:
a first request receiving module, configured to receive a first tag retrieval request from a device control terminal, where the first tag retrieval request is used to request to retrieve a predetermined tag set corresponding to predetermined identification information;
the tag determining module is used for determining a preset tag set corresponding to the preset identification information from a pre-recorded corresponding relation based on the first tag calling request, wherein the corresponding relation is the corresponding relation between the identification information and the tag set, and different identification information corresponds to the same or different tag sets;
and the label feedback module is used for returning the preset label set to the equipment control terminal so as to instruct the equipment control terminal to control one or more preset equipment to execute preset operation based on label information contained in the preset label set, wherein the preset label set comprises label information of one or more preset equipment, and the label information of each equipment is used for identifying the identity of the corresponding preset equipment and the preset operation required to be executed.
According to another embodiment of the present invention, there is provided a service control system including:
the device control terminal, the server and the operation terminal.
According to a further embodiment of the invention, there is also provided a computer readable storage medium having stored therein a computer program, wherein the computer program is arranged to perform the steps of any of the method embodiments described above when run.
According to a further embodiment of the invention, there is also provided an electronic device comprising a memory having stored therein a computer program and a processor arranged to run the computer program to perform the steps of any of the method embodiments described above.
According to the invention, the personalized identification information is received, and the corresponding personalized preset label set is determined according to the personalized identification information, so that the preset equipment is controlled, and the personalized interaction is realized, therefore, the problem that the personalized interaction cannot be realized in the related technology can be solved, and the effect of improving the user experience is achieved.
Drawings
Fig. 1 is a block diagram of a hardware structure of a mobile terminal of a device control method according to an embodiment of the present invention;
FIG. 2 is a flow chart of a device control method according to an embodiment of the present invention;
FIG. 3 is a flow chart of a device tag feedback method according to an embodiment of the present invention;
FIG. 4 is a flow chart of a tag adjustment method according to an embodiment of the present invention;
fig. 5 is a block diagram of a device control terminal according to an embodiment of the present invention;
FIG. 6 is a block diagram of a server according to an embodiment of the present invention;
fig. 7 is a block diagram of an operation terminal according to an embodiment of the present invention;
fig. 8 is a block diagram of a service control system according to an embodiment of the present invention;
fig. 9 is a flow chart and a schematic structure according to an embodiment of the present invention.
Detailed Description
Embodiments of the present invention will be described in detail below with reference to the accompanying drawings in conjunction with the embodiments.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present invention and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order.
The method embodiments provided in the embodiments of the present application may be performed in a mobile terminal, a computer terminal or similar computing device. Taking the mobile terminal as an example, fig. 1 is a block diagram of a hardware structure of the mobile terminal according to an embodiment of the present invention. As shown in fig. 1, a mobile terminal may include one or more (only one is shown in fig. 1) processors 102 (the processor 102 may include, but is not limited to, a microprocessor MCU or a processing device such as a programmable logic device FPGA) and a memory 104 for storing data, wherein the mobile terminal may also include a transmission device 106 for communication functions and an input-output device 108. It will be appreciated by those skilled in the art that the structure shown in fig. 1 is merely illustrative and not limiting of the structure of the mobile terminal described above. For example, the mobile terminal may also include more or fewer components than shown in fig. 1, or have a different configuration than shown in fig. 1.
The memory 104 may be used to store a computer program, for example, a software program of application software and a module, such as a computer program corresponding to a device control method in an embodiment of the present invention, and the processor 102 executes the computer program stored in the memory 104 to perform various functional applications and data processing, that is, implement the above-mentioned method. Memory 104 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include memory remotely located relative to the processor 102, which may be connected to the mobile terminal via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission means 106 is arranged to receive or transmit data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the mobile terminal. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, simply referred to as NIC) that can connect to other network devices through a base station to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module, which is used to communicate with the internet wirelessly.
In this embodiment, there is provided a device control method, and fig. 2 is a flowchart according to an embodiment of the present invention, and as shown in fig. 2, the flowchart includes the following steps:
step S202, receiving a service instruction, wherein the service instruction carries preset identification information of a preset user;
in this embodiment, the predetermined identification information of the predetermined user may (but is not limited to) be information with a specific identification such as a fingerprint, a pupil line, a voiceprint, a face shape, etc. of the predetermined user, and the service instruction may be an instruction generated by triggering the predetermined user through the predetermined identification information, or may be an instruction sent by triggering the predetermined user through the predetermined identification information; the transmission of the service instruction can be realized through Ethernet transmission, short-distance wireless transmission equipment such as Bluetooth and the like, and wireless network transmission such as 3G/4G/5G/quantum communication and the like.
Step S204, a first tag calling request is sent to a server according to a service instruction to request the server to call a preset tag set corresponding to preset identification information, wherein the preset tag set comprises tag information of one or more preset devices, and the tag information of each device is used for identifying the identity of the corresponding preset device and preset operation to be executed;
In this embodiment, the predetermined tag set is called up to determine the predetermined device to be controlled and the action to be performed by the controlled predetermined device, thereby realizing personalized control of the predetermined device.
The preset equipment comprises, but is not limited to, intelligent home equipment in an internet of things environment, industrial equipment in the internet of things environment and the like, such as televisions, air conditioners, washing machines, microwave ovens, water heaters, industrial computers, unmanned forklifts and the like; the predetermined tag set may be an identification code or a search code containing tag information, tag address, etc.; the transmission of the first tag retrieval request can be realized through Ethernet transmission, short-distance wireless transmission equipment such as Bluetooth and the like, and wireless network transmission such as 3G/4G/5G/quantum communication and the like; the server may be an external cloud server, an industrial computer, a quantum computer, or other devices with storage and logic operation functions.
For example, the service terminal receives a service instruction triggered by the fingerprint of the family member a, and then the service terminal sends a first tag retrieving request for retrieving a predetermined tag set corresponding to the fingerprint of the family member a according to the service instruction, where the predetermined tag set includes information such as an identifier of a television used by the family member a and favorite channel information of the family member a, an identifier of an air conditioner and information of a room temperature normally set by the family member a, an identifier of a water heater and favorite water temperature of the family member a.
Step S206, receiving a preset tag set returned by the server based on the first tag calling request, wherein the corresponding relation between the identification information and the tag set is recorded in the server, and different identification information corresponds to the same or different tag sets;
in this embodiment, the transmission of the predetermined tag set may be implemented through ethernet transmission, or may be implemented through a short-distance wireless transmission device such as bluetooth, or may be implemented through wireless network transmission such as 3G/4G/5G/quantum communication.
Step S208, controlling one or more predetermined devices to perform a predetermined operation based on the tag information contained in the predetermined tag set.
In this embodiment, after receiving the predetermined tag set, the predetermined tag set may (but is not limited to) perform parsing and identification on the predetermined tag set to determine identification information and a predetermined operation of the predetermined device included in the predetermined tag set, and then control the predetermined device to perform the predetermined operation, so as to implement personalized control on the predetermined device.
For example, after receiving the predetermined tag set, the service terminal identifies the identification information and the predetermined operation contained in the predetermined tag set, then matches the predetermined device according to the identification information, and then sends an operation instruction to the predetermined device to instruct the predetermined device to perform the predetermined operation.
Through the steps, the personalized identification information is received, and the corresponding personalized preset label set is determined according to the personalized identification information, so that the preset equipment is controlled, personalized interaction is realized, the problem that the personalized interaction cannot be realized in the related technology is solved, and user experience is improved.
In an alternative embodiment, the method further comprises:
step S2010, sending an adjustment instruction to the server to instruct the server to perform at least one of the following operations:
the corresponding relation between the identification information recorded in the server and the tag set is adjusted;
and adjusting the tag information included in the predetermined tag set recorded in the server.
In this embodiment, the adjustment of the correspondence between the identification information and the tag set may (but is not limited to) correspond one identification information to a plurality of tag sets, or correspond a plurality of identification information to one tag set, or correspond the identification information of the reconstructed information to the tag set, or delete the original relationship between the identification information and the tag set; accordingly, the adjustment of the tag information included in the predetermined tag set may be, but not limited to, replacing the recorded predetermined device or replacing the predetermined operation required to be performed by the predetermined device, where the predetermined operation may be multiple, and the predetermined device may be multiple.
For example, in the case where the identification information is a fingerprint of the family member a, the tag set corresponding to the identification information includes a television and an air conditioner, wherein the tag information of the television includes an ID of the television, corresponding channel information, a switching action, and the like, the tag information of the air conditioner includes an ID of the air conditioner, a temperature switching action, a duration, and the like, and the air conditioner may also be a plurality of air conditioners.
In an alternative embodiment, after receiving the predetermined set of tags returned by the server based on the first tag retrieval request, the method further comprises:
step S2012, receiving device information sent by a message bus, wherein the device information comprises the working state of a preset device;
step S2014, matching the predetermined tag set based on the device information to determine one or more predetermined controlled devices that do not perform the predetermined operation;
step S2016, an execution instruction is sent to one or more predetermined controlled devices to instruct the one or more predetermined controlled devices to execute a predetermined operation.
In this embodiment, the matching of the predetermined tag set according to the device information is to perform secondary detection on the operation state of the predetermined device, so that the predetermined device can accurately perform the predetermined operation.
The matching of the predetermined tag set based on the device information may be comparing the predetermined device in the predetermined tag set with the device information sent by the bus, or searching the predetermined tag set according to the device information, or other matching methods.
For example, after the bus sends the working state of the air conditioner to the equipment control terminal, the equipment control terminal determines that the air conditioner is in an on state and the temperature is 20 ℃, then matches a corresponding predetermined tag set according to the equipment information of the air conditioner, and adjusts the temperature to a temperature preset by the predetermined tag set (such as 25 ℃), etc.
As shown in fig. 3, in an alternative embodiment, there is further provided a device tag feedback method, including:
step S302, a first tag calling request from a device control terminal is received, wherein the first tag calling request is used for requesting to call a preset tag set corresponding to preset identification information;
step S304, determining a preset label set corresponding to preset identification information from a preset corresponding relation based on a first label calling request, wherein the corresponding relation is the corresponding relation between the identification information and the label set, and different identification information corresponds to the same or different label sets;
Step S306, a predetermined tag set is returned to the device control terminal, so as to instruct the device control terminal to control one or more predetermined devices to execute a predetermined operation based on tag information contained in the predetermined tag set, where the predetermined tag set includes tag information of one or more predetermined devices, and the tag information of each device is used to identify an identity of a corresponding predetermined device and a predetermined operation to be executed.
In an alternative embodiment, the method further comprises:
step S308, receiving an adjustment instruction from the equipment control terminal;
step S3010, according to the adjustment instruction, performing at least one of the following operations:
adjusting the corresponding relation between the recorded identification information and a preset label set;
the tag information included in the recorded predetermined tag set is adjusted.
In an alternative embodiment, after returning the predetermined tag set to the device control terminal, the method further comprises:
step S3062, receiving equipment information sent by a message bus, wherein the equipment information comprises the working state of preset equipment;
step S3064, based on the device information, adjusting the tag information of one or more pieces of preset devices included in the preset tag set to obtain a target tag set;
Step S3066, returning the target tag set to the device control terminal to instruct the device control terminal to control one or more predetermined devices to perform a predetermined operation based on tag information contained in the target tag set.
As shown in fig. 4, in an alternative embodiment, there is further provided a tag adjustment method, including:
step S402, receiving a second call request for requesting to call the service tag;
step S404, entering a configuration interface of the business label based on the second calling request;
step S406, performing at least one of the following operations based on the trigger signal received in the configuration interface:
the corresponding relation between the identification information recorded in the server and the tag set is adjusted;
and adjusting the tag information included in the predetermined tag set recorded in the server.
In this embodiment, the adjustment of the correspondence between the identification information and the tag set by entering the configuration interface or the adjustment of the tag information in the predetermined tag set by the root is to facilitate the actual adjustment of the user according to the actual situation, thereby improving the user experience.
Wherein, the second call request can be (but is not limited to) input to the server through the information input device by a user according to actual conditions, wherein, the information input device can be a touch screen, a keyboard, a remote communication terminal and the like, and the transmission mode of the second call request can be (but is not limited to) wired/wireless communication such as Ethernet, bluetooth, 3G/4G/5G/quantum communication and the like; the configuration interface can be, but is not limited to, a webpage recorded with a service label and an adjustment button, a control page, or other forms of pages; it should be noted that, after the configuration interface completes the adjustment operation, the configuration interface sends the configuration result to the server to instruct the server to execute the adjustment result.
From the description of the above embodiments, it will be clear to a person skilled in the art that the method according to the above embodiments may be implemented by means of software plus the necessary general hardware platform, but of course also by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method according to the embodiments of the present invention.
The embodiment also provides a device control terminal, which is used for implementing the foregoing embodiments and preferred embodiments, and is not described in detail. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. While the means described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware, is also possible and contemplated.
Fig. 5 is a block diagram of a device control terminal according to an embodiment of the present invention, and as shown in fig. 5, the device control terminal includes:
a service instruction receiving module 52, configured to receive a service instruction, where the service instruction carries predetermined identification information of a predetermined user;
a first request sending module 54, configured to send a first tag retrieving request to a server according to a service instruction, so as to request the server to retrieve a predetermined tag set corresponding to predetermined identification information, where the predetermined tag set includes tag information of one or more predetermined devices, and the tag information of each device is used to identify an identity of the corresponding predetermined device and a predetermined operation that needs to be performed;
a first tag receiving module 56, configured to receive the predetermined tag set returned by the server based on the first tag retrieving request, where a correspondence between identification information and the tag set is recorded in the server, and different identification information corresponds to the same or different tag sets;
the device control module 58 is configured to control one or more predetermined devices to perform predetermined operations based on tag information contained in the predetermined tag set.
In an alternative embodiment, the device control terminal further comprises:
The adjustment instruction sending module 510 is configured to send an adjustment instruction to the server, so as to instruct the server to perform at least one of the following operations:
the corresponding relation between the identification information recorded in the server and the preset tag set is adjusted;
and adjusting the tag information included in the predetermined tag set recorded in the server.
In an alternative embodiment, the device control terminal further comprises:
an information receiving module 512, configured to receive, after the receiving server returns the predetermined tag set based on the first tag retrieving request, device information sent by the message bus, where the device information includes an operating state of the predetermined device;
a tag matching module 514 for matching a predetermined tag set based on the device information to determine one or more predetermined controlled devices that do not perform a predetermined operation;
the execution instruction sending module 516 is configured to send execution instructions to one or more predetermined controlled devices, so as to instruct the one or more predetermined controlled devices to perform a predetermined operation.
Fig. 6 is a block diagram of a server according to an embodiment of the present invention, and as shown in fig. 6, the server includes:
a first request receiving module 62, configured to receive a first tag retrieving request from the device control terminal, where the first tag retrieving request is used to request to retrieve a predetermined tag set corresponding to the predetermined identification information;
A tag determining module 64, configured to determine a predetermined tag set corresponding to predetermined identification information from pre-recorded correspondence based on the first tag retrieval request, where the correspondence is a correspondence between identification information and tag sets, and different identification information corresponds to the same or different tag sets;
the tag feedback module 66 is configured to return a predetermined tag set to the device control terminal, so as to instruct the device control terminal to control one or more predetermined devices to perform a predetermined operation based on tag information included in the predetermined tag set, where the predetermined tag set includes tag information of one or more predetermined devices, and the tag information of each device is used to identify an identity of a corresponding predetermined device and a predetermined operation that needs to be performed.
In an alternative embodiment, the server further comprises:
an adjustment instruction receiving module 68 for receiving an adjustment instruction from the device control terminal;
the instruction execution module 610 is configured to execute at least one of the following operations according to the adjustment instruction:
adjusting the corresponding relation between the recorded identification information and the tag set;
the tag information included in the recorded predetermined tag set is adjusted.
In an alternative embodiment, the tag feedback module 66 includes:
A device information receiving unit 662 for receiving device information sent by the message bus after returning a predetermined tag set to the device control terminal, wherein the device information includes an operation state of a predetermined device;
an adjusting unit 664, configured to adjust tag information of one or more predetermined devices included in the predetermined tag set based on the device information, so as to obtain a target tag set;
and a feedback unit 666 for returning the target tag set to the device control terminal, so as to instruct the device control terminal to control one or more predetermined devices to perform a predetermined operation based on tag information contained in the target tag set.
Fig. 7 is a block diagram of an operation terminal according to an embodiment of the present invention, and as shown in fig. 7, the operation terminal includes:
a second request receiving module 72, configured to receive a second request for requesting to invoke a service tag;
a configuration interface module 74 for entering a configuration interface of the service tag based on the second retrieval request;
an operation execution module 76 for executing at least one of the following operations based on the trigger signal received in the configuration interface:
the corresponding relation between the identification information recorded in the server and the tag set is adjusted;
And adjusting the tag information included in the predetermined tag set recorded in the server.
Fig. 8 is a block diagram of a service control system according to an embodiment of the present invention, and as shown in fig. 8, the service control system includes a device control terminal, a server, and an operation terminal.
It should be noted that each of the above modules may be implemented by software or hardware, and for the latter, it may be implemented by, but not limited to: the modules are all located in the same processor; alternatively, the above modules may be located in different processors in any combination.
The invention will now be described with reference to specific examples.
As shown in fig. 9, the method comprises the following steps:
1. model definition process:
step S901, in this process, defining each function of the device in the cloud model definition service (corresponding to step 1.1 in fig. 9);
2. the label setting process comprises the following steps:
step S902, accessing equipment to an equipment access gateway and reporting the running state of the equipment normally; for example: after the user sets the fingerprint (corresponding to the aforementioned identification information), the fingerprint is stored and marked as 0X01 (corresponding to step 2.1 in fig. 9);
Step S903, the device access gateway forwards the device status to the message bus (corresponding to step 2.2 in fig. 9);
step S904, the message bus distributes the message to the device Server in the cloud (corresponding to step 2.3 in fig. 9 and corresponding to the aforementioned Server);
step S905, since the devices of different categories have different service logics, the device Server can define default labels for users according to specific services, and set initial values; for example, default tag 0x01=user fingerprint 001 (corresponding to step 2.4 in fig. 9);
step S906, the user may set a tag for a specific function of the device through App (corresponding to the aforementioned operation terminal); for example: user fingerprint 001 = fingerprint of dad (corresponding to step 2.5 in fig. 9);
3. the label process is used:
step S907, the message bus distributes the message to the specific service system (corresponding to the aforementioned device control terminal); for example: the 0X01 fingerprint is open (corresponding to step 3.1 in fig. 9);
step S908, the business system can access the user tag service to convert the equipment identification into a specific friendly tag; for example: converting 0X01 into a "dad fingerprint"; and proceeds to business logic such as: opening a television program that dad likes (corresponding to step 3.2 in fig. 9);
In step S909, app interacts with the service system, and during the interaction, for example, voice broadcasting is performed based on the friendly manner understood by the user, and "dad fingerprint" is broadcasted instead of "0X01" or "fingerprint 001" (corresponding to step 3.3 in fig. 9).
Embodiments of the present invention also provide a computer readable storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the method embodiments described above when run.
In one exemplary embodiment, the computer readable storage medium may include, but is not limited to: a usb disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a removable hard disk, a magnetic disk, or an optical disk, or other various media capable of storing a computer program.
An embodiment of the invention also provides an electronic device comprising a memory having stored therein a computer program and a processor arranged to run the computer program to perform the steps of any of the method embodiments described above.
In an exemplary embodiment, the electronic apparatus may further include a transmission device connected to the processor, and an input/output device connected to the processor.
Specific examples in this embodiment may refer to the examples described in the foregoing embodiments and the exemplary implementation, and this embodiment is not described herein.
It will be appreciated by those skilled in the art that the modules or steps of the invention described above may be implemented in a general purpose computing device, they may be concentrated on a single computing device, or distributed across a network of computing devices, they may be implemented in program code executable by computing devices, so that they may be stored in a storage device for execution by computing devices, and in some cases, the steps shown or described may be performed in a different order than that shown or described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple modules or steps of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only of the preferred embodiments of the present invention and is not intended to limit the present invention, but various modifications and variations can be made to the present invention by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the principle of the present invention should be included in the protection scope of the present invention.
Claims (10)
1. A device control method, characterized in that,
receiving a service instruction, wherein the service instruction carries preset identification information of a preset user, and the preset identification information is preset personalized identification information;
sending a first tag calling request to a server according to the service instruction to request the server to call a preset tag set corresponding to the preset identification information, wherein the preset tag set comprises tag information of one or more preset devices, and the tag information of each device is used for identifying the identity of the corresponding preset device and preset operation to be executed;
receiving the preset tag set returned by the server based on the first tag calling request, wherein the corresponding relation between the identification information and the tag set is recorded in the server, and different identification information corresponds to the same or different tag sets;
controlling one or more of the predetermined devices to perform the predetermined operation based on tag information contained in the predetermined tag set;
wherein, after receiving the service instruction, the method further comprises: broadcasting the preset identification information;
After receiving the predetermined set of tags returned by the server based on the first tag retrieval request, the method further comprises:
receiving equipment information sent by a message bus, wherein the equipment information comprises the working state of the preset equipment;
matching the predetermined tag set based on the device information to determine one or more predetermined controlled devices that do not perform the predetermined operation;
and sending execution instructions to one or more predetermined controlled devices to instruct the one or more predetermined controlled devices to execute the predetermined operation.
2. The method according to claim 1, wherein the method further comprises:
sending an adjustment instruction to the server to instruct the server to perform at least one of the following operations:
adjusting the corresponding relation between the identification information recorded in the server and the tag set;
and adjusting the tag information included in the preset tag set recorded in the server.
3. A device tag feedback method, comprising:
receiving a first tag call request from a device control terminal, wherein the first tag call request is used for requesting to call a preset tag set corresponding to preset identification information, the preset identification information is preset personalized identification information, the first tag call request is sent by the device control terminal after receiving a service instruction carrying the personalized identification information, and the device control terminal is further used for broadcasting the preset identification information after receiving the service instruction;
Determining a preset tag set corresponding to the preset identification information from a pre-recorded corresponding relation based on the first tag calling request, wherein the corresponding relation is the corresponding relation between the identification information and the tag set, and different identification information corresponds to the same or different tag sets;
the preset tag set is returned to the equipment control terminal so as to instruct the equipment control terminal to control one or more preset equipment to execute preset operation based on tag information contained in the preset tag set, wherein the preset tag set comprises tag information of one or more preset equipment, and the tag information of each equipment is used for identifying the identity of the corresponding preset equipment and the preset operation required to be executed;
the device control terminal is further configured to receive device information sent by a message bus after receiving the predetermined tag set, where the device information includes a working state of the predetermined device;
matching the predetermined tag set based on the device information to determine one or more predetermined controlled devices that do not perform the predetermined operation;
and sending execution instructions to one or more predetermined controlled devices to instruct the one or more predetermined controlled devices to execute the predetermined operation.
4. A method according to claim 3, characterized in that the method further comprises:
receiving an adjustment instruction from the equipment control terminal;
according to the adjustment instruction, at least one of the following operations is performed: adjusting the corresponding relation between the recorded identification information and the tag set; and adjusting tag information included in the recorded preset tag set.
5. A method according to claim 3, characterized in that after returning the predetermined set of tags to the device control terminal, the method further comprises:
receiving equipment information sent by a message bus, wherein the equipment information comprises the working state of the preset equipment;
based on the device information, adjusting tag information of one or more pieces of preset devices included in the preset tag set to obtain a target tag set;
and returning the target tag set to the equipment control terminal to instruct the equipment control terminal to control one or more preset equipment to execute preset operation based on tag information contained in the target tag set.
6. A device control terminal, comprising:
the business instruction receiving module is used for receiving a business instruction, wherein the business instruction carries preset identification information of a preset user, and the preset identification information is preset personalized identification information;
The first request sending module is used for sending a first tag calling request to the server according to the service instruction so as to request the server to call a preset tag set corresponding to the preset identification information, wherein the preset tag set comprises tag information of one or more preset devices, and the tag information of each device is used for identifying the identity of the corresponding preset device and preset operation to be executed;
the first tag receiving module is used for receiving the preset tag set returned by the server based on the first tag calling request, wherein the corresponding relation between the identification information and the tag set is recorded in the server, and different identification information corresponds to the same or different tag sets;
a device control module for controlling one or more predetermined devices to perform the predetermined operation based on tag information contained in the predetermined tag set;
the equipment control terminal is further used for broadcasting the preset identification information after receiving the service instruction;
wherein, the equipment control terminal further includes:
the information receiving module is used for receiving equipment information sent by the message bus after the receiving server retrieves the preset tag set returned by the request based on the first tag, wherein the equipment information comprises the working state of the preset equipment;
The tag matching module is used for matching the preset tag set based on the device information so as to determine one or more preset controlled devices which do not execute preset operations;
and the execution instruction sending module is used for sending execution instructions to one or more predetermined controlled devices so as to instruct the one or more predetermined controlled devices to execute the predetermined operation.
7. A server, comprising:
the device comprises a first request receiving module, a second request receiving module and a device control terminal, wherein the first request receiving module is used for receiving a first tag calling request from the device control terminal, the first tag calling request is used for requesting to call a preset tag set corresponding to preset identification information, the preset identification information is preset personalized identification information, the first tag calling request is sent by the device control terminal after receiving a service instruction carrying the personalized identification information, and the device control terminal is further used for broadcasting the preset identification information after receiving the service instruction;
the tag determining module is used for determining a preset tag set corresponding to the preset identification information from a pre-recorded corresponding relation based on the first tag calling request, wherein the corresponding relation is the corresponding relation between the identification information and the tag set, and different identification information corresponds to the same or different tag sets;
The tag feedback module is used for returning the preset tag set to the equipment control terminal so as to instruct the equipment control terminal to control one or more preset equipment to execute preset operation based on tag information contained in the preset tag set, wherein the preset tag set comprises tag information of one or more preset equipment, and the tag information of each equipment is used for identifying the identity of the corresponding preset equipment and the preset operation required to be executed;
the device control terminal is further configured to receive device information sent by a message bus after receiving the predetermined tag set, where the device information includes a working state of the predetermined device;
matching the predetermined tag set based on the device information to determine one or more predetermined controlled devices that do not perform the predetermined operation;
and sending execution instructions to one or more predetermined controlled devices to instruct the one or more predetermined controlled devices to execute the predetermined operation.
8. A traffic control system, comprising:
a device control terminal as claimed in claim 6 and a server as claimed in claim 7.
9. A computer readable storage medium, characterized in that the computer readable storage medium has stored therein a computer program, wherein the computer program is arranged to execute the method of any of the claims 1 to 2 or the method of any of the claims 3 to 5 when run.
10. An electronic device comprising a memory and a processor, characterized in that the memory has stored therein a computer program, the processor being arranged to run the computer program to perform the method of any of the claims 1 to 2 or the method of any of the claims 3 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110470016.9A CN113325745B (en) | 2021-04-28 | 2021-04-28 | Equipment control method, terminal, storage medium and electronic device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110470016.9A CN113325745B (en) | 2021-04-28 | 2021-04-28 | Equipment control method, terminal, storage medium and electronic device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113325745A CN113325745A (en) | 2021-08-31 |
CN113325745B true CN113325745B (en) | 2023-06-16 |
Family
ID=77413952
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110470016.9A Active CN113325745B (en) | 2021-04-28 | 2021-04-28 | Equipment control method, terminal, storage medium and electronic device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113325745B (en) |
Family Cites Families (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150120015A1 (en) * | 2012-09-21 | 2015-04-30 | Google Inc. | Automated handling of a package delivery at a smart-home |
CN106647310B (en) * | 2016-11-30 | 2020-05-01 | 芜湖美智空调设备有限公司 | Method and system for starting linkage between household appliances |
CN106789465A (en) * | 2016-12-19 | 2017-05-31 | 北京小米移动软件有限公司 | Method and device, the electronic equipment of scene switching |
CN106951758A (en) * | 2017-02-28 | 2017-07-14 | 美的智慧家居科技有限公司 | For the method for intelligent domestic system, device and intelligent domestic system |
CN106950847A (en) * | 2017-05-09 | 2017-07-14 | 青岛理工大学 | Intelligent home control system based on ZigBee and cloud computing |
CN106972996B (en) * | 2017-05-11 | 2019-09-20 | 广东汇泰龙科技有限公司 | It is a kind of based on cloud lock home furnishings intelligent interlock method, system |
CN109858649A (en) * | 2019-01-04 | 2019-06-07 | 珠海格力电器股份有限公司 | Hotel reservation method and device and hotel management method and device |
CN114217532A (en) * | 2019-03-04 | 2022-03-22 | 华为技术有限公司 | Intelligent household scene arranging method and terminal |
CN114500137A (en) * | 2019-05-31 | 2022-05-13 | 华为技术有限公司 | Method for controlling equipment service, cloud server and intelligent home system |
-
2021
- 2021-04-28 CN CN202110470016.9A patent/CN113325745B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN113325745A (en) | 2021-08-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111143061B (en) | Multi-device linkage control method, device and storage medium | |
CN112419693B (en) | Device control method, device, display device and computer readable storage medium | |
CN105487394A (en) | Intelligent household appliance control method and device and gateway | |
CN113169992B (en) | Equipment network distribution method and device, electronic equipment and storage medium | |
CN104991539A (en) | Smart home automated system | |
CN109446031B (en) | Control method of terminal equipment, terminal and readable storage medium | |
CN105472430A (en) | Method of making mobile terminal ring through intelligent television, equipment and system thereof | |
CN112202654B (en) | Control instruction processing method, device, equipment and storage medium | |
CN106713418A (en) | Reset result confirmation method and apparatus, server and mobile terminal | |
CN104898440A (en) | Household electrical appliance control method and apparatus | |
WO2023098002A1 (en) | Method, system and apparatus for controlling household appliance, and storage medium and electronic apparatus | |
CN109561002B (en) | Voice control method and device for household electrical appliance | |
CN113341754A (en) | Scene configuration method, scene engine, user terminal and intelligent home system | |
CN105227358A (en) | The method to set up of network type and system | |
CN114531462B (en) | Data processing method and device for Internet of things device | |
CN103747067A (en) | Data configuration method based on digital home intelligent gateway | |
CN110880994A (en) | Control method and control equipment of household appliance | |
CN113325745B (en) | Equipment control method, terminal, storage medium and electronic device | |
CN112637024A (en) | Control method, control device, electronic equipment and storage medium | |
CN114205178B (en) | Equipment linkage method and device, storage medium and electronic equipment | |
CN113596235B (en) | Operation instruction issuing method and device, storage medium and electronic device | |
CN105187651A (en) | Method for adding peripheral equipment to mobile phone app | |
CN113300919A (en) | Intelligent household appliance control method based on social software group function and intelligent household appliance | |
CN113296415A (en) | Intelligent household electrical appliance control method, intelligent household electrical appliance control device and system | |
CN110703666A (en) | Intelligent hardware control method, device and control equipment |
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 |