CN112000019A - Method, device and equipment for sharing equipment instruction control - Google Patents

Method, device and equipment for sharing equipment instruction control Download PDF

Info

Publication number
CN112000019A
CN112000019A CN202010721945.8A CN202010721945A CN112000019A CN 112000019 A CN112000019 A CN 112000019A CN 202010721945 A CN202010721945 A CN 202010721945A CN 112000019 A CN112000019 A CN 112000019A
Authority
CN
China
Prior art keywords
instruction
issued
sharing
current
current instruction
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010721945.8A
Other languages
Chinese (zh)
Other versions
CN112000019B (en
Inventor
庄佳兰
臧元强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qingdao Haier Air Conditioner Gen Corp Ltd
Haier Smart Home Co Ltd
Original Assignee
Qingdao Haier Air Conditioner Gen Corp Ltd
Haier Smart Home Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Qingdao Haier Air Conditioner Gen Corp Ltd, Haier Smart Home Co Ltd filed Critical Qingdao Haier Air Conditioner Gen Corp Ltd
Priority to CN202010721945.8A priority Critical patent/CN112000019B/en
Priority claimed from CN202010721945.8A external-priority patent/CN112000019B/en
Publication of CN112000019A publication Critical patent/CN112000019A/en
Priority to PCT/CN2021/099463 priority patent/WO2022017052A1/en
Application granted granted Critical
Publication of CN112000019B publication Critical patent/CN112000019B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B15/00Systems controlled by a computer
    • G05B15/02Systems controlled by a computer electric
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS], computer integrated manufacturing [CIM]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • H04L67/125Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/26Pc applications
    • G05B2219/2642Domotique, domestic, home control, automation, smart house
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Abstract

The application relates to the technical field of smart home, and discloses a method, a device and equipment for sharing equipment instruction control. The method comprises the following steps: under the condition that the current instruction to be issued is determined to be a set sharing service instruction, modifying the thread state corresponding to the current instruction to be issued into a locking state, and sending the current instruction to be issued to corresponding sharing equipment in the Internet of things; and modifying the thread state corresponding to the current instruction to be issued into a release state under the condition of receiving a callback notification of the current instruction to be issued, which is sent by the shared device. Therefore, the sharing service instruction is locked and set in time and cannot be influenced by other types of instructions, so that the instruction is covered and lost, and the accuracy and the applicability of the sharing service are improved.

Description

Method, device and equipment for sharing equipment instruction control
Technical Field
The present application relates to the field of smart home technologies, and for example, to a method, an apparatus, and a device for sharing device instruction control.
Background
With the development of the internet of things technology, the era of interconnection and intercommunication of everything has been entered. In addition, in the internet of things formed by a plurality of devices, many devices can be shared, for example: in the case of a dwelling, a television, an air conditioner, a washing machine, etc. may be shared. The sharing device can communicate with the platform device of the Internet of things, and functions of user recharging, device control, data feedback and the like are achieved.
However, multiple users share the used equipment, so that a plurality of instructions can be provided between the shared equipment and the platform equipment of the internet of things, and the instructions of different types can be simultaneously and concurrently sent, so that a plurality of different instructions such as a user recharging instruction, an equipment control instruction, an equipment state feedback instruction and the like are mutually coupled and mutually influenced; moreover, after the callback information is received by the platform device of the internet of things, the generated instruction can be covered, so that the instruction is lost, and therefore, the problems of sharing services, such as incapability of recharging the device by a user, inaccurate timing and the like, can be caused.
Disclosure of Invention
The following presents a simplified summary in order to provide a basic understanding of some aspects of the disclosed embodiments. This summary is not an extensive overview nor is intended to identify key/critical elements or to delineate the scope of such embodiments but rather as a prelude to the more detailed description that is presented later.
The embodiment of the disclosure provides a method, a device and equipment for sharing equipment instruction control, so as to solve the technical problem of sharing equipment instruction coupling.
In some embodiments, the method comprises:
under the condition that the current instruction to be issued is determined to be a set sharing service instruction, modifying the thread state corresponding to the current instruction to be issued into a locking state, and sending the current instruction to be issued to corresponding sharing equipment in the Internet of things;
and modifying the thread state corresponding to the current instruction to be issued into a release state under the condition of receiving a callback notification of the current instruction to be issued, which is sent by the shared device.
In some embodiments, the apparatus comprises:
the locking module is configured to modify a thread state corresponding to a current instruction to be issued into a locking state and send the current instruction to be issued to corresponding sharing equipment in the Internet of things under the condition that the current instruction to be issued is determined to be a set sharing service instruction;
and the release module is configured to modify the thread state corresponding to the current instruction to be issued into a release state under the condition of receiving the callback notification of the current instruction to be issued sent by the shared device.
In some embodiments, the apparatus for shared device instruction control includes a processor and a memory storing program instructions, and the processor is configured to execute the above method for shared device instruction control when executing the program instructions.
In some embodiments, the internet of things platform device includes: such as the means for shared device command control described above.
The method, the device and the equipment for sharing equipment instruction control provided by the disclosed embodiment can realize the following technical effects:
the instruction of the sharing service category is set, and locking can be performed during issuing, so that the instruction cannot be influenced by instructions of other categories, the instruction is covered and lost, the probability of sharing service problems such as incapability of recharging equipment by a user, inaccurate timing and the like is reduced, and the accuracy and the applicability of the sharing service are improved. In addition, the instructions between the sharing equipment and the platform equipment of the Internet of things are classified, different instructions are decoupled, and the instruction execution accuracy is improved.
The foregoing general description and the following description are exemplary and explanatory only and are not restrictive of the application.
Drawings
One or more embodiments are illustrated by way of example in the accompanying drawings, which correspond to the accompanying drawings and not in limitation thereof, in which elements having the same reference numeral designations are shown as like elements and not in limitation thereof, and wherein:
fig. 1 is a schematic structural diagram of an instruction control system for shared devices according to an embodiment of the present disclosure;
fig. 2 is a schematic flowchart of an instruction control method for a shared device according to an embodiment of the present disclosure;
fig. 3 is a schematic flowchart of an instruction control method for a shared device according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of an instruction control apparatus for a shared device according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of an instruction control apparatus for a shared device according to an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of an instruction control apparatus for a shared device according to an embodiment of the present disclosure.
Detailed Description
So that the manner in which the features and elements of the disclosed embodiments can be understood in detail, a more particular description of the disclosed embodiments, briefly summarized above, may be had by reference to the embodiments, some of which are illustrated in the appended drawings. In the following description of the technology, for purposes of explanation, numerous details are set forth in order to provide a thorough understanding of the disclosed embodiments. However, one or more embodiments may be practiced without these details. In other instances, well-known structures and devices may be shown in simplified form in order to simplify the drawing.
The terms "first," "second," and the like in the description and in the claims, and the above-described drawings of embodiments of the present disclosure, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It should be understood that the data so used may be interchanged under appropriate circumstances such that embodiments of the present disclosure described herein may be made. Furthermore, the terms "comprising" and "having," as well as any variations thereof, are intended to cover non-exclusive inclusions.
The term "plurality" means two or more unless otherwise specified.
In the embodiment of the present disclosure, the character "/" indicates that the preceding and following objects are in an or relationship. For example, A/B represents: a or B.
The term "and/or" is an associative relationship that describes objects, meaning that three relationships may exist. For example, a and/or B, represents: a or B, or A and B.
In the embodiment of the disclosure, in an Internet of Things (IoT) system, instructions between the IoT platform device and the shared device are classified, different instructions are decoupled, and the accuracy of instruction execution is improved. In addition, the instruction of the sharing service category is set and can be locked when being issued, so that the instruction cannot be influenced by the instructions of other categories to cause the instruction to be covered and lost, the probability of sharing service problems such as incapability of recharging equipment by a user, inaccurate timing and the like is reduced, and the accuracy and the applicability of the sharing service are improved.
Fig. 1 is a schematic structural diagram of an internet of things system for sharing device command control according to an embodiment of the present disclosure. As shown in fig. 1, the internet of things system for sharing device command control includes: an internet of things platform device 100, and one or more sharing devices 200.
The sharing device 200 may include: the intelligent household equipment comprises televisions, air conditioners, washing machines and the like. The platform device 100 of the internet of things may communicate with each sharing device 200, and therefore, there are a plurality of instructions between the platform device 100 of the internet of things and the sharing device 200, where the instructions uploaded by the sharing device 200 include: handshake commands at set intervals, i.e. heartbeat packets, and status data information of the sharing devices. The instructions issued by the platform device of the internet of things may include: user permission instructions, user order instructions, user control instructions, platform control instructions, and the like. The functions of user recharging, device control, data feedback and the like can be realized through a plurality of instructions between the platform device 100 of the internet of things and the sharing device 200.
In the embodiment of the disclosure, in order to ensure that some shared service instructions are not covered and lost, the instructions between the platform device of the internet of things and the shared device need to be classified, different instructions are decoupled, and the accuracy of instruction execution is improved. Therefore, when the platform device of the internet of things issues an instruction, the instruction for setting the sharing service category is locked, so that the instruction cannot be lost by covering, the probability of sharing service problems such as incapability of recharging the device by a user, inaccurate timing and the like is reduced, and the accuracy and the applicability of the sharing service are improved.
Fig. 2 is a flowchart illustrating a method for sharing device instruction control according to an embodiment of the present disclosure. With reference to fig. 1 and 2, the process for sharing device instruction control includes:
step 201: and under the condition that the current instruction to be issued is determined to be the set sharing service instruction, modifying the thread state corresponding to the current instruction to be issued into a locking state, and sending the current instruction to be issued to the corresponding sharing equipment in the Internet of things.
In this embodiment of the disclosure, there are many instructions between platform equipment of the internet of things and the sharing equipment, wherein, there are multiple types of instructions issued by platform equipment of the internet of things, including: user permission instructions, user order instructions, user control instructions, platform issue instructions, and the like. Therefore, in some embodiments, the class flag value in each instruction to be issued may be determined according to preset instruction classification information. For example: a class flag bit is added to each instruction to be issued.
Table 1 shows a corresponding relationship between a class flag bit and an instruction class according to an embodiment of the present disclosure.
Instruction classes Class flag bit
User permission instructions 000
User order instructions 001
User' sControl instruction 010
Platform control instructions 011
TABLE 1
In this way, the class flag bit value in each instruction to be issued can be determined according to the relationship shown in table 1. If the to-be-issued command is a user order command, the corresponding category flag bit value can be '001'.
Thus, in some embodiments, the determining, by the platform device of the internet of things, that the current instruction to be issued is the instruction for setting the shared service may include: reading a class flag bit value in a current instruction to be issued; and under the condition that the value of the category flag bit is a set value, determining that the current instruction to be issued is a set sharing service instruction.
Since control of the sharing device is addressed in some embodiments, some instructions related to the sharing service may be determined as setting the sharing service instructions, for example: setting the sharing service command may include: as shown in table 1, the user order instruction may determine "001" as a set value, so that when the read category flag bit value is "001", the current instruction to be issued may be determined as the set sharing service instruction. Alternatively, the setting the sharing service command may include: as shown in table 1, the user order instruction and the user control instruction may determine "001" and "010" as set values, so that when the read category flag bit value is "001" or "010", it may be determined that the current instruction to be issued is a set shared service instruction.
Because the current instruction to be issued is the set shared service instruction, the current instruction to be issued cannot be covered and lost, and therefore, the thread state corresponding to the current instruction to be issued can be modified into a locking state, namely, the current instruction to be issued is kept in the issuing thread and cannot be covered or lost by other instructions. In some embodiments, a thread state bit may be added to the instruction, so that the thread state bit in the current instruction to be issued may be modified to "lock" state if it is determined that the current instruction to be issued is the set shared traffic instruction. Therefore, when the 'lock' is read, the current instruction to be issued can be kept in the issuing thread.
Certainly, the current instruction to be issued is an instruction between the platform device of the internet of things and the sharing device, and therefore the current instruction to be issued can be sent to the corresponding sharing device in the internet of things.
Step 202: and under the condition of receiving a callback notification of the current instruction to be issued sent by the shared equipment, modifying the thread state corresponding to the current instruction to be issued into a release state.
When the current instruction to be issued has been sent to the sharing device, the sharing device may operate according to the instruction, for example: recharge, or control switches, adjust operating parameters, and the like. After the shared device operates, a corresponding callback notification can be returned to the platform device of the internet of things, for example: the recharging information, the recharging failure information, the started information and the like, namely the callback notification can be the successful operation information or the unsuccessful operation information. Therefore, the platform equipment of the internet of things can receive the callback notification of the current instruction to be issued, and accordingly, the thread state corresponding to the current instruction to be issued can be modified into the release state, namely, the current instruction to be issued can be released by the issuing thread, can be covered by other instructions, or can be directly discarded. In some embodiments, the "lock" state in the thread state bit in the current instruction to be issued may be closed, i.e., released, and the "lock" state value deleted. The current instruction to be issued is released, and other instructions can be continuously applied.
Therefore, in the embodiment of the disclosure, the instructions between the platform device of the internet of things and the shared device are classified, different instructions are decoupled, and the accuracy of instruction execution is improved. In addition, the instruction of the sharing service category is set and can be locked when being issued, so that the instruction cannot be influenced by the instructions of other categories to cause the instruction to be covered and lost, the probability of sharing service problems such as incapability of recharging equipment by a user, inaccurate timing and the like is reduced, and the accuracy and the applicability of the sharing service are improved.
Because a plurality of instructions are arranged between the platform equipment of the internet of things and the sharing equipment, not only are the sending instructions of the platform equipment of the internet of things, but also the uploading instructions of the sharing equipment, and the handshaking instructions between the platform equipment of the internet of things and the sharing equipment, namely the heartbeat package. In some embodiments, sending the current to-be-issued command to the corresponding sharing device in the internet of things includes: under the condition that the time of receiving and sending the heartbeat packet between the sharing equipment and the sharing equipment is consistent with the current time, after delaying the first time, sending a current instruction to be sent to the corresponding sharing equipment in the Internet of things, wherein the first time is matched with the interval time of the heartbeat packet. Therefore, when the current time of sending the current command to be sent conflicts with the time of receiving and sending the heartbeat packet, the command can be sent in a delayed mode. The specific time duration, i.e., the first time, of the delay may be determined according to the interval time between the transmission and reception of the heartbeat packet. Therefore, the conflict between the current command to be issued and the heartbeat packet is avoided, and the accuracy and the applicability of the shared service are further improved.
The following operational flow is integrated into a specific embodiment to illustrate an instruction control process for a shared device according to an embodiment of the present invention.
In this embodiment, an internet of things system for sharing device instruction control may be as shown in fig. 1, where the sharing device may include: the intelligent household equipment comprises televisions, air conditioners, washing machines and the like. The internet of things platform device stores the corresponding relation between the class flag bit and the instruction class shown in table 1, and determines the class flag bit value in each instruction to be issued according to table 1. The sharing device sends heartbeat packets at interval T0.
Fig. 3 is a flowchart illustrating a method for controlling shared device commands according to an embodiment of the present disclosure. With reference to fig. 1 and 3, a process for shared device command control includes:
step 301: and reading the value of the class flag bit in the current instruction to be issued.
Step 302: determine whether the value of the category flag bit is a set value? If so, go to step 303, otherwise, the process ends.
For example: if the class flag bit value is "010", if so, determining that the current instruction to be issued is a set shared service instruction, and executing step 303, otherwise, processing the current instruction to be issued according to the related technology, and ending the process.
Step 303: and modifying the thread state corresponding to the current instruction to be issued into a locking state.
For example: the thread state bit in the current instruction to be issued can be modified to be "lock" state. Thus, the current pending instruction is not overwritten by other instructions or discarded.
Step 304: is it determined whether the time of the heartbeat packet between the transceiving and sharing device is consistent with the current time? If so, go to step 305, otherwise, go to step 306.
If the current time conflicts with the time for transceiving the heartbeat packet, i.e. the current time is consistent with the time for transceiving the heartbeat packet, step 305 is executed, otherwise, step 306 is executed.
Step 305: and determining the first time according to the interval time for receiving and sending the heartbeat packet, and after delaying the first time, turning to step 306.
Step 306: and issuing the current instruction to be issued to the corresponding sharing equipment in the Internet of things.
Step 307: determine whether a callback notification of a current pending issue instruction sent by the sharing device is received? If yes, go to step 308, otherwise, go back to step 307.
Step 308: and modifying the thread state corresponding to the current instruction to be issued into a release state.
The current instruction to be issued is received by the shared device, the current instruction to be issued can be released in the issuing thread, the current instruction to be issued can be covered or discarded, and the process is ended.
Therefore, in the embodiment, the instruction for setting the shared service category can be locked when being issued, so that the instruction cannot be influenced by the instructions of other categories to cause the instruction to be covered and lost, the probability of generating the shared service problems such as the fact that a user cannot recharge the device, timing is inaccurate and the like is reduced, and the accuracy and the applicability of the shared service are improved. In addition, the instructions between the sharing equipment and the platform equipment of the Internet of things are classified, different instructions are decoupled, the accuracy of instruction execution is improved, in addition, the conflict between instruction receiving and sending can be solved through time delay, and the accuracy of instruction execution is further improved.
According to the above-described procedure for shared device instruction control, an apparatus for shared device instruction control can be constructed.
Fig. 4 is a schematic structural diagram of an instruction control apparatus for a shared device according to an embodiment of the present disclosure. The apparatus is used in the above system, and as shown in fig. 4, the instruction control apparatus for the shared device includes: a locking module 410 and a releasing module 420.
The locking module 410 is configured to modify a thread state corresponding to the current instruction to be issued into a locking state and send the current instruction to be issued to the corresponding sharing device in the internet of things, when it is determined that the current instruction to be issued is the set sharing service instruction.
The release module 420 is configured to modify a thread state corresponding to the current instruction to be issued into a release state when receiving a callback notification of the current instruction to be issued sent by the shared device.
In some embodiments, further comprising: and the assignment module is configured to determine a class flag bit value in each instruction to be issued according to preset instruction classification information.
In some embodiments, the locking module 410 is specifically configured to read a class flag bit value in the current instruction to be issued, and determine that the current instruction to be issued is a set shared service instruction when the class flag bit value is a set value.
In some embodiments, the locking module 410 is specifically configured to, when the time for receiving and sending the heartbeat packet between the sharing device and the sharing device is consistent with the current time, delay the first time, and then issue the current instruction to be issued to the corresponding sharing device in the internet of things, where the first time is matched with the interval time of the heartbeat packet.
The sharing device instruction control process for the apparatus for sharing device instruction control is described in detail below.
In this embodiment, the device for controlling the shared device command stores the correspondence between the class flag bit and the command class shown in table 1.
Fig. 5 is a schematic structural diagram of an instruction control apparatus for a shared device according to an embodiment of the present disclosure. As shown in fig. 5, the instruction control device for the shared device includes: a locking module 410, a releasing module 420, and an assigning module 430, and the locking module 410 includes: a determination unit 411, a locking unit 412, and a distribution unit 413.
The assignment module 430 may determine the class flag bit value in each instruction to be issued according to table 1.
In this way, the class flag bit value in the current instruction to be issued is read, and the determining unit 411 in the locking module 410 determines that the current instruction to be issued is the set shared service instruction when the class flag bit value is the set value. Thus, the locking unit 412 in the locking module 410 may modify the thread state corresponding to the current instruction to be issued into the locked state. If the time of the heartbeat packet between the transceiving and sharing devices is consistent with the current time, the issuing unit 413 in the locking module 410 may determine the first time according to the interval time of the transceiving of the heartbeat packet, and issue the current to-be-issued command to the corresponding sharing device in the internet of things after delaying the first time. Of course, if the time of the heartbeat packet between the transceiving and sharing devices is not consistent with the current time, the issuing unit 413 may immediately issue the current to-be-issued command to the corresponding sharing device in the internet of things.
After receiving the callback notification of the current instruction to be issued sent by the sharing device, the releasing module 420 may modify the thread state corresponding to the current instruction to be issued into a releasing state, so that the current instruction to be issued is released in the issuing thread, and the current instruction to be issued may be covered or discarded.
Therefore, in the embodiment, the instruction control device for the shared device can determine that the issued instruction is an instruction for setting the shared service category, and can lock the issued instruction when the issued instruction is issued, so that the instruction is not influenced by other categories of instructions to cause the instruction to be covered and lost, the probability of generating shared service problems such as incapability of recharging the user to the device, inaccurate timing and the like is reduced, and the accuracy and the applicability of the shared service are improved. In addition, the instructions between the sharing equipment and the platform equipment of the Internet of things are classified, different instructions are decoupled, the accuracy of instruction execution is improved, in addition, the conflict between instruction receiving and sending can be solved through time delay, and the accuracy of instruction execution is further improved.
The embodiment of the present disclosure provides an apparatus for sharing device instruction control, the structure of which is shown in fig. 6, including:
a processor (processor)1000 and a memory (memory)1001, and may further include a Communication Interface (Communication Interface)1002 and a bus 1003. The processor 1000, the communication interface 1002, and the memory 1001 may communicate with each other through the bus 1003. Communication interface 1002 may be used for the transfer of information. The processor 1000 may call the logic instructions in the memory 1001 to perform the method for shared device instruction control of the above-described embodiments.
In addition, the logic instructions in the memory 1001 may be implemented in the form of software functional units and stored in a computer readable storage medium when the logic instructions are sold or used as independent products.
The memory 1001 is a computer readable storage medium and can be used for storing software programs, computer executable programs, such as program instructions/modules corresponding to the methods in the embodiments of the present disclosure. The processor 1000 executes functional applications and data processing by executing program instructions/modules stored in the memory 1001, that is, implements the method for shared device instruction control in the above-described method embodiments.
The memory 1001 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal air conditioner, and the like. Further, the memory 1001 may include a high-speed random access memory and may also include a nonvolatile memory.
The embodiment of the present disclosure provides an instruction control device for a shared device, including: a processor and a memory storing program instructions, the processor being configured to execute a method for shared device instruction control when executing the program instructions.
The embodiment of the disclosure provides an internet of things platform device, which comprises the instruction control device for sharing equipment.
The disclosed embodiments provide a computer-readable storage medium storing computer-executable instructions configured to perform the above-described instruction control method for a shared device.
The disclosed embodiments provide a computer program product comprising a computer program stored on a computer readable storage medium, the computer program comprising program instructions that, when executed by a computer, cause the computer to perform the above-described method for controlling shared device instructions.
The computer-readable storage medium described above may be a transitory computer-readable storage medium or a non-transitory computer-readable storage medium.
The technical solution of the embodiments of the present disclosure may be embodied in the form of a software product, where the computer software product is stored in a storage medium and includes one or more instructions for enabling a computer air conditioner (which may be a personal computer, a server, or a network air conditioner, etc.) to execute all or part of the steps of the method of the embodiments of the present disclosure. And the aforementioned storage medium may be a non-transitory storage medium comprising: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes, and may also be a transient storage medium.
The above description and drawings sufficiently illustrate embodiments of the disclosure to enable those skilled in the art to practice them. Other embodiments may incorporate structural, logical, electrical, process, and other changes. The examples merely typify possible variations. Individual components and functions are optional unless explicitly required, and the sequence of operations may vary. Portions and features of some embodiments may be included in or substituted for those of others. The scope of the disclosed embodiments includes the full ambit of the claims, as well as all available equivalents of the claims. As used in this application, although the terms "first," "second," etc. may be used in this application to describe various elements, these elements should not be limited by these terms. These terms are only used to distinguish one element from another. For example, a first element could be termed a second element, and, similarly, a second element could be termed a first element, unless the meaning of the description changes, so long as all occurrences of the "first element" are renamed consistently and all occurrences of the "second element" are renamed consistently. The first and second elements are both elements, but may not be the same element. Furthermore, the words used in the specification are words of description only and are not intended to limit the claims. As used in the description of the embodiments and the claims, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. Similarly, the term "and/or" as used in this application is meant to encompass any and all possible combinations of one or more of the associated listed. Furthermore, the terms "comprises" and/or "comprising," when used in this application, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. Without further limitation, an element defined by the phrase "comprising an …" does not exclude the presence of other like elements in a process, method or air conditioner that comprises the element. In this document, each embodiment may be described with emphasis on differences from other embodiments, and the same and similar parts between the respective embodiments may be referred to each other. For methods, products, etc. of the embodiment disclosures, reference may be made to the description of the method section for relevance if it corresponds to the method section of the embodiment disclosure.
Those of skill in the art would appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software may depend upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the disclosed embodiments. It can be clearly understood by the skilled person that, for convenience and brevity of description, the specific working processes of the system, the apparatus and the unit described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments disclosed herein, the disclosed methods, products (including but not limited to devices, air conditioners, etc.) may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units may be merely a logical division, and in actual implementation, there may be another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form. The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to implement the present embodiment. In addition, functional units in the embodiments of the present disclosure may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. In the description corresponding to the flowcharts and block diagrams in the figures, operations or steps corresponding to different blocks may also occur in different orders than disclosed in the description, and sometimes there is no specific order between the different operations or steps. For example, two sequential operations or steps may in fact be executed substantially concurrently, or they may sometimes be executed in the reverse order, depending upon the functionality involved. Each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.

Claims (10)

1. A method for sharing device command control, comprising:
under the condition that the current instruction to be issued is determined to be a set sharing service instruction, modifying the thread state corresponding to the current instruction to be issued into a locking state, and sending the current instruction to be issued to corresponding sharing equipment in the Internet of things;
and modifying the thread state corresponding to the current instruction to be issued into a release state under the condition of receiving a callback notification of the current instruction to be issued, which is sent by the shared device.
2. The method of claim 1, wherein before determining that the current command to be issued is a command for setting a shared service, the method further comprises:
and determining the class flag bit value in each instruction to be issued according to preset instruction classification information.
3. The method of claim 2, wherein the determining that the current to-be-issued command is a set shared service command comprises:
reading a class flag bit value in the current instruction to be issued;
and under the condition that the value of the category flag bit is a set value, determining the current instruction to be issued as a set sharing service instruction.
4. The method according to claim 1, 2 or 3, wherein the sending the current instruction to be issued to the corresponding sharing device in the Internet of things comprises:
and under the condition that the time for receiving and sending the heartbeat packet between the sharing equipment and the sharing equipment is consistent with the current time, after delaying the first time, sending the current command to be sent to the corresponding sharing equipment in the Internet of things, wherein the first time is matched with the interval time of the heartbeat packet.
5. An apparatus for sharing command control of devices, characterized in that,
the locking module is configured to modify a thread state corresponding to a current instruction to be issued into a locking state and send the current instruction to be issued to corresponding sharing equipment in the Internet of things under the condition that the current instruction to be issued is determined to be a set sharing service instruction;
and the release module is configured to modify the thread state corresponding to the current instruction to be issued into a release state under the condition of receiving the callback notification of the current instruction to be issued sent by the shared device.
6. The apparatus of claim 5, further comprising:
and the assignment module is configured to determine a class flag bit value in each instruction to be issued according to preset instruction classification information.
7. The apparatus of claim 6,
the locking module is specifically configured to read a category flag value in the current instruction to be issued, and determine that the current instruction to be issued is a set shared service instruction when the category flag value is a set value.
8. The apparatus of claim 5, 6 or 7,
the locking module is specifically configured to, when the time for receiving and sending the heartbeat packet between the sharing device and the sharing device is consistent with the current time, delay a first time and then issue the current instruction to be issued to the corresponding sharing device in the internet of things, wherein the first time is matched with the interval time of the heartbeat packet.
9. An apparatus for shared device instruction control, the apparatus comprising a processor and a memory having stored thereon program instructions, wherein the processor is configured to perform a method for shared device instruction control as claimed in any one of claims 1 to 4 when executing the program instructions.
10. An internet of things platform device, comprising: apparatus for sharing device command control as claimed in claim 5 or 9.
CN202010721945.8A 2020-07-24 2020-07-24 Method, device and equipment for sharing equipment instruction control Active CN112000019B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202010721945.8A CN112000019B (en) 2020-07-24 Method, device and equipment for sharing equipment instruction control
PCT/CN2021/099463 WO2022017052A1 (en) 2020-07-24 2021-06-10 Method and apparatus for shared device instruction control and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010721945.8A CN112000019B (en) 2020-07-24 Method, device and equipment for sharing equipment instruction control

Publications (2)

Publication Number Publication Date
CN112000019A true CN112000019A (en) 2020-11-27
CN112000019B CN112000019B (en) 2024-04-26

Family

ID=

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022017052A1 (en) * 2020-07-24 2022-01-27 青岛海尔空调器有限总公司 Method and apparatus for shared device instruction control and device

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10124316A (en) * 1996-08-27 1998-05-15 Matsushita Electric Ind Co Ltd Multithread processor independently processing plural instruction flows and flexibly controlling processing performance by the same instruction flows
CN1437727A (en) * 1999-12-28 2003-08-20 英特尔公司 Read lock miss control in a multithreaded environment
CN101968751A (en) * 2004-02-04 2011-02-09 英特尔公司 Sharing idled processor execution resources
CN106716348A (en) * 2014-09-08 2017-05-24 Arm 有限公司 Shared resources in a data processing appartus for executing a plurality of threads
CN106773749A (en) * 2016-11-15 2017-05-31 山东大学 Internet of things equipment control method, control end and system
CN107087036A (en) * 2017-06-16 2017-08-22 深圳市斑点猫信息技术有限公司 Method of data synchronization, the apparatus and system of internet of things equipment
US20180191829A1 (en) * 2016-12-29 2018-07-05 Voxx International Corporation System and method for internet of things and home automation using a vehicle
CN109412833A (en) * 2018-09-11 2019-03-01 深圳数位科技有限公司 A kind of management system and method for shared device
CN111371832A (en) * 2019-12-11 2020-07-03 添可智能科技有限公司 Data storage and detection method and equipment

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10124316A (en) * 1996-08-27 1998-05-15 Matsushita Electric Ind Co Ltd Multithread processor independently processing plural instruction flows and flexibly controlling processing performance by the same instruction flows
CN1437727A (en) * 1999-12-28 2003-08-20 英特尔公司 Read lock miss control in a multithreaded environment
CN101968751A (en) * 2004-02-04 2011-02-09 英特尔公司 Sharing idled processor execution resources
CN106716348A (en) * 2014-09-08 2017-05-24 Arm 有限公司 Shared resources in a data processing appartus for executing a plurality of threads
CN106773749A (en) * 2016-11-15 2017-05-31 山东大学 Internet of things equipment control method, control end and system
US20180191829A1 (en) * 2016-12-29 2018-07-05 Voxx International Corporation System and method for internet of things and home automation using a vehicle
CN107087036A (en) * 2017-06-16 2017-08-22 深圳市斑点猫信息技术有限公司 Method of data synchronization, the apparatus and system of internet of things equipment
CN109412833A (en) * 2018-09-11 2019-03-01 深圳数位科技有限公司 A kind of management system and method for shared device
CN111371832A (en) * 2019-12-11 2020-07-03 添可智能科技有限公司 Data storage and detection method and equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022017052A1 (en) * 2020-07-24 2022-01-27 青岛海尔空调器有限总公司 Method and apparatus for shared device instruction control and device

Also Published As

Publication number Publication date
WO2022017052A1 (en) 2022-01-27

Similar Documents

Publication Publication Date Title
CN107995215B (en) Control method and device of intelligent household equipment and cloud platform server
US5524213A (en) Method of structuring messages for exchanging data and/or for synchronizing processes in a data processing system wherein at least two stations are connected to each other via a serial bus
US11080404B2 (en) Firmware upgrade method, slave station of robot, and machine readable storage medium
EP0101609B1 (en) Data communication method
CN113872835B (en) Method and device for equipment network distribution, server, intelligent household appliance and terminal equipment
CN107612941B (en) Authority management method, device, equipment and storage medium
CN110808948A (en) Remote procedure calling method, device and system
CN112532711A (en) Edge computing application deployment method, terminal, edge computing node and storage medium
CN109327499B (en) Service interface management method and device, storage medium and terminal
CN104954449A (en) IoT (internet of things) control method and apparatus
CN113341738A (en) Method, device and equipment for controlling household appliance
CN105045224A (en) Data transmission method and device
CN112000019A (en) Method, device and equipment for sharing equipment instruction control
CN105451228A (en) Information processing method and device
KR20170117326A (en) Direct memory access control device for at least one processing unit having a random access memory
CN113132958A (en) Fusion networking method, device, system and computer readable storage medium
CN106028303B (en) Intelligent device discovery method and device
CN112000019B (en) Method, device and equipment for sharing equipment instruction control
CN110769399B (en) Internet of things equipment connection networking method, internet of things equipment system and information access and transmission method
EP3992778A1 (en) A computer-implemented method for transferring ota data to a fleet of vehicles, a backend server, a transportation system
CN113518021A (en) Method, system, device and equipment for binding user account
CN115687223A (en) Method and device for serial port communication of embedded equipment, embedded equipment and storage medium
US10795848B2 (en) Dual way communication method, system, and master device thereof
CN105760770A (en) Information processing method and electronic device
CN114189384B (en) Service processing method, device, equipment 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