CN112000019B - 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
CN112000019B
CN112000019B CN202010721945.8A CN202010721945A CN112000019B CN 112000019 B CN112000019 B CN 112000019B CN 202010721945 A CN202010721945 A CN 202010721945A CN 112000019 B CN112000019 B CN 112000019B
Authority
CN
China
Prior art keywords
instruction
issued
current
shared
equipment
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
Application number
CN202010721945.8A
Other languages
Chinese (zh)
Other versions
CN112000019A (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
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

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] or 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]

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • General Health & Medical Sciences (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Medical Informatics (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • Manufacturing & Machinery (AREA)
  • Quality & Reliability (AREA)
  • Computer And Data Communications (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The application relates to the technical field of intelligent home, and discloses a method, a device and equipment for controlling shared equipment instructions. The method comprises the following steps: under the condition that the current instruction to be issued is determined to be a set shared 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 shared equipment in the Internet of things; and under the condition that a callback notification of the current instruction to be issued sent by the sharing equipment is received, modifying the thread state corresponding to the current instruction to be issued into a release state. Therefore, the shared 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 shared service are improved.

Description

Method, device and equipment for sharing equipment instruction control
Technical Field
The application relates to the technical field of intelligent home, in particular to a method, a device and equipment for controlling shared equipment instructions.
Background
With the development of the internet of things technology, the time of universal interconnection has been entered. Moreover, in the internet of things composed of a plurality of devices, many devices may be shared, for example: in the case of a living, a television, an air conditioner, a washing machine, and the like can be shared. The sharing equipment can communicate with the platform equipment of the Internet of things, and functions of user recharging, equipment control, data feedback and the like are achieved.
However, the multi-user sharing device is used, so that the sharing device can have a plurality of instructions with the platform device of the internet of things, and the instructions of different types can be concurrent at the same time, so that the user recharging instructions, the device control instructions, the device state feedback instructions and other different instructions are mutually coupled and mutually influenced; and after callback information is received by the platform equipment of the internet of things, the generated instruction can be covered, so that the instruction is lost, and therefore the service sharing problems of equipment charging failure, inaccurate timing and the like of a user can be generated.
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, and is intended to neither identify key/critical elements nor delineate the scope of such embodiments, but is intended as a prelude to the more detailed description that follows.
The embodiment of the disclosure provides a method, a device and equipment for controlling shared equipment instructions, which are used for solving the technical problem of shared 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 shared 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 shared equipment in the Internet of things;
And under the condition that a callback notification of the current instruction to be issued sent by the sharing equipment is received, modifying the thread state corresponding to the current instruction to be issued into a release state.
In some embodiments, the apparatus comprises:
the locking module is configured to modify the thread state corresponding to the current command to be issued into a locking state and send the current command to be issued to corresponding sharing equipment in the Internet of things under the condition that the current command to be issued is determined to be a set sharing service command;
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 a callback notification of the current instruction to be issued, which is sent by the sharing equipment.
In some embodiments, the apparatus for shared device instruction control includes a processor and a memory storing program instructions, the processor being configured to perform the above-described method for shared device instruction control when executing the program instructions.
In some embodiments, the internet of things platform device comprises: such as the means for sharing device instruction control described above.
The method, the device and the equipment for controlling the shared equipment instruction provided by the embodiment of the disclosure can realize the following technical effects:
the instruction of the shared service class is set, and can be locked when being issued, so that the instruction cannot be influenced by the instructions of other classes, the instruction is covered and lost, the probability of generating the problems of the shared service such as insufficient recharging of the user to the equipment and inaccurate timing is reduced, and the accuracy and the applicability of the shared service are improved. And instructions between the sharing equipment and the platform equipment of the Internet of things are classified, and different instructions are decoupled, so that the accuracy of instruction execution 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 and not limitation in the figures of the accompanying drawings, in which like references indicate similar elements, and in which like reference numerals refer to similar elements, and in which:
FIG. 1 is a schematic diagram of a configuration for a shared device command control system provided by embodiments of the present disclosure;
FIG. 2 is a flow chart of a method for shared device instruction control provided by an embodiment of the present disclosure;
FIG. 3 is a flow chart of a method for shared device instruction control provided by an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of a command control apparatus for a shared device according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of a command control apparatus for a shared device according to an embodiment of the present disclosure;
Fig. 6 is a schematic structural diagram of a command 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 techniques of the disclosed embodiments can be understood in more detail, a more particular description of the embodiments of the disclosure, briefly summarized below, may be had by reference to the appended drawings, which are not intended to be limiting of the embodiments of the disclosure. 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 still be practiced without these details. In other instances, well-known structures and devices may be shown simplified in order to simplify the drawing.
The terms first, second and the like in the description and in the claims of the embodiments of the disclosure and in the above-described figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate in order to describe embodiments of the present disclosure. Furthermore, the terms "comprise" and "have," as well as any variations thereof, are intended to cover a non-exclusive inclusion.
The term "plurality" means two or more, unless otherwise indicated.
In the embodiment of the present disclosure, the character "/" indicates that the front and rear objects are an or relationship. For example, A/B represents: a or B.
The term "and/or" is an associative relationship that describes an object, meaning that there may be three relationships. For example, a and/or B, represent: a or B, or, A and B.
In the embodiment of the disclosure, in an internet of things (Internet of Things, ioT) system, instructions between the internet of things 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 shared service class can be set and locked during issuing, so that the instruction is not influenced by the instructions of other classes, the instruction is covered and lost, the probability of generating the shared service problems such as insufficient recharging of the user, inaccurate timing and the like is reduced, and the accuracy and the applicability of the shared service are improved.
Fig. 1 is a schematic structural diagram of an internet of things system for instruction control of a shared device according to an embodiment of the present disclosure. As shown in fig. 1, an internet of things system for shared device instruction control includes: the internet of things platform device 100 and one or more sharing devices 200.
The sharing device 200 may include: television, air conditioner, washing machine, etc. The platform device 100 of the internet of things can communicate with each sharing device 200, so there are a plurality of instructions between the platform device 100 of the internet of things and the sharing devices 200, wherein the instructions uploaded by the sharing devices 200 include: handshake instructions, i.e. heartbeat packets, at intervals of set time and sharing status data information of the device. The instructions issued by the platform device of the internet of things can comprise: user permission instructions, user order instructions, user control instructions, platform control instructions, and the like. The functions of user recharging, equipment control, data feedback and the like can be realized through a plurality of instructions between the platform equipment 100 and the sharing equipment 200 of the Internet of things.
In the embodiment of the disclosure, in order to ensure that some shared service instructions are not covered and lost, instructions between the platform equipment of the internet of things and the shared equipment are required to be classified, different instructions are decoupled, and the accuracy of instruction execution is improved. Therefore, when the platform equipment of the Internet of things issues the instruction, the instruction for setting the sharing service class is locked, so that the instruction is not covered and lost, the probability of generating the sharing service problems such as insufficient recharging of the equipment, inaccurate timing and the like of a user is reduced, and the accuracy and the applicability of the sharing service are improved.
Fig. 2 is a flow chart of a method for shared device instruction control provided in an embodiment of the present disclosure. With reference to fig. 1 and 2, the process for shared device instruction control includes:
Step 201: under the condition that the current instruction to be issued is the set shared 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 shared equipment in the Internet of things.
In the embodiment of the disclosure, a plurality of instructions exist between the platform device of the internet of things and the shared device, wherein the instructions issued by the platform device of the internet of things are of various types, 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 to-be-issued instruction may be determined according to preset instruction classification information. For example: and adding a category flag bit in each instruction to be issued.
Table 1 is a correspondence relationship between a category flag bit and an instruction category provided by an embodiment of the present disclosure.
Instruction class Class mark bit
User permission instruction 000
User order instructions 001
User control instructions 010
Platform control instructions 011
TABLE 1
Thus, the class flag value in each to-be-issued instruction may be determined according to the relationship shown in table 1. If the instruction to be issued is the user order instruction, the corresponding class flag bit value can be '001'.
Thus, in some embodiments, determining, by the platform device of the internet of things, that the current command to be issued is a set shared service command may include: reading a class flag bit value in a current command to be issued; and under the condition that the class flag bit value is a set value, determining the current instruction to be issued as the set shared service instruction.
Since in some embodiments control of the shared device is targeted, some instructions related to shared traffic may be determined to set shared traffic instructions, such as: setting the shared service instruction may include: the user order instruction, as shown in table 1, may determine "001" as a set value, so that when the read category flag bit value is "001", it may be determined that the current instruction to be issued is a set shared service instruction. Or the setting shared service instruction may include: the user order command and the user control command are shown in table 1, and "001" and "010" can be determined as set values, so that when the read category flag bit value is "001" or "010", it can be determined that the current command to be issued is the set shared service command.
Because the current instruction to be issued is the set shared service instruction, the current instruction to be issued cannot be covered and lost, so that 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 by other instructions or lost. In some embodiments, a thread status bit may be added to the instruction, so that the thread status bit in the current instruction to be issued may be modified to a "lock" state if it is determined that the current instruction to be issued is a set shared service instruction. Thus, when the lock is read, the current instruction to be issued can be kept in the issuing thread.
Of course, the current instruction to be issued is an instruction between the platform device of the internet of things and the sharing device, so that 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 that a callback notification of the current instruction to be issued sent by the sharing equipment is received, modifying the thread state corresponding to the current instruction to be issued into a release state.
The current instruction to be issued is sent to the sharing device, and the sharing device can operate according to the instruction, for example: top-up, or control switches, adjust operating parameters, etc. After the sharing device operates, a corresponding callback notification may be returned to the platform device of the internet of things, for example: the information of the recharging, or the information of the recharging failure, or the information of the starting, etc., namely callback notification can be successful operation information or unsuccessful operation information. In this way, the platform device of the internet of things can receive callback notification callback of the current instruction to be issued, so that the thread state corresponding to the current instruction to be issued can be modified into a release state, that is, 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 status bit in the currently pending instruction may be closed, i.e., released, deleting the "lock" state value. The 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 and the shared device of the internet of things are classified, and different instructions are decoupled, so that the accuracy of instruction execution is improved. In addition, the instruction of the shared service class can be set and locked during issuing, so that the instruction is not influenced by the instructions of other classes, the instruction is covered and lost, the probability of generating the shared service problems such as insufficient recharging of the user, inaccurate timing and the like is reduced, and the accuracy and the applicability of the shared service are improved.
Because a plurality of instructions are arranged between the Internet of things platform equipment and the sharing equipment, not only are the issuing instructions of the Internet of things platform equipment, but also the uploading instructions of the sharing equipment, and handshake instructions, namely the heartbeat packet, between the Internet of things platform equipment and the sharing equipment are provided. In some embodiments, sending the current to-be-issued instruction to the corresponding sharing device in the internet of things includes: and under the condition that the time of receiving and transmitting the heartbeat packet between the sharing equipment is consistent with the current time, after delaying the first time, issuing a current instruction to be issued 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, the current time for issuing the current instruction to be issued conflicts with the time for receiving and transmitting the heartbeat packet, and the instruction can be issued in a delayed manner. The duration of the specific delay, i.e. the first time, can be determined according to the interval time of receiving and transmitting the heartbeat packet. Therefore, the conflict between the current instruction to be issued and the heartbeat packet is avoided, and the accuracy and the applicability of the shared service are further improved.
The following integrates the operation flow into a specific embodiment, and illustrates the instruction control process for the shared device provided by the embodiment of the invention.
In this embodiment, an internet of things system for instruction control of a sharing device may be shown in fig. 1, where the sharing device may include: television, air conditioner, washing machine, etc. The internet of things platform device stores the corresponding relation between the class zone bit and the instruction class shown in the table 1, and determines the class zone bit value in each instruction to be issued according to the table 1. The shared device sends heartbeat packets at intervals T0.
Fig. 3 is a flowchart of a method for controlling a shared device command according to an embodiment of the present disclosure. With reference to fig. 1 and 3, a process for shared device instruction control includes:
step 301: and reading the class flag bit value in the current instruction to be issued.
Step 302: judging whether the class flag value is a set value? If yes, go to step 303, otherwise, the flow ends.
For example: if the class flag bit value is "010", it is determined that the current command to be issued is the set shared service command, step 303 may be executed, otherwise, the current command to be issued may be processed according to the related technology, and the current flow ends.
Step 303: and modifying the thread state corresponding to the current instruction to be issued into a locking state.
For example: the thread status bit in the currently pending instruction may be modified to a "lock" state. In this way, the currently pending instruction is not overwritten by other instructions or discarded.
Step 304: determine whether the time of sending and receiving the heartbeat packet between the shared device is consistent with the current time? If yes, go to step 305, otherwise, go to step 306.
If the current time conflicts with the time of receiving and transmitting the heartbeat packet, that is, the current time is consistent with the time of receiving and transmitting the heartbeat packet, step 305 is executed, otherwise, step 306 is executed.
Step 305: and determining a first time according to the interval time of receiving and transmitting 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: judging whether a callback notification of a current instruction to be issued sent by the sharing device is received? If yes, go to step 308, otherwise, return 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 sharing 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 this embodiment, the instruction of the shared service class is set and can be locked when issued, so that the instruction is not affected by the instructions of other classes, resulting in the loss of coverage of the instruction, reducing the probability of generating the shared service problems such as the user charging failure to the device, inaccurate timing and the like, and improving the accuracy and applicability of the shared service. 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 transmitting can be solved through time delay, and the accuracy of instruction execution is further improved.
According to the above procedure for shared device instruction control, an apparatus for shared device instruction control can be constructed.
Fig. 4 is a schematic structural diagram of a command control apparatus for a shared device according to an embodiment of the present disclosure. The apparatus is used in the above system, as shown in fig. 4, and the instruction control apparatus for sharing equipment includes: a locking module 410 and a release 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 a corresponding sharing device in the internet of things under the condition that the current instruction to be issued is determined to be the set sharing service instruction.
And the release module 420 is configured to modify the thread state corresponding to the current instruction to be issued into a release state under the condition that a callback notification of the current instruction to be issued sent by the sharing device is received.
In some embodiments, further comprising: 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 value in the current to-be-issued instruction, and determine that the current to-be-issued instruction is a set shared service instruction if the class flag value is a set value.
In some embodiments, the locking module 410 is specifically configured to issue the current instruction to be issued to the corresponding sharing device in the internet of things after delaying the first time when the time of receiving and transmitting the heartbeat packet between the sharing device is consistent with the current time, where the first time is matched with the interval time of the heartbeat packet.
The shared device instruction control procedure of the apparatus for shared device instruction control is described in detail below.
In this embodiment, the device for instruction control of the sharing device stores the correspondence between the class flag bits and the instruction classes as shown in table 1.
Fig. 5 is a schematic structural diagram of a command control apparatus for a shared device according to an embodiment of the present disclosure. As shown in fig. 5, the instruction control apparatus for a shared device includes: a lock module 410, a release module 420, and a valuation module 430, and the lock module 410 includes: a determining unit 411, a locking unit 412 and a issuing unit 413.
The assignment module 430 may determine the class flag value in each to-be-issued instruction according to table 1.
In this way, the class flag value in the current to-be-issued instruction is read, and the determining unit 411 in the locking module 410 determines that the current to-be-issued instruction is the set shared service instruction if the class flag value is the set value. Thus, the locking unit 412 in the locking module 410 may modify the thread state corresponding to the currently pending instruction to a locked state. If the time of receiving and transmitting the heartbeat packet is consistent with the current time, the transmitting unit 413 in the locking module 410 may determine the first time according to the interval time of receiving and transmitting the heartbeat packet, and transmit the current command to be transmitted to the corresponding sharing device in the internet of things after delaying the first time. Of course, if the time of receiving and transmitting the heartbeat packet between the sharing device is inconsistent with the current time, the issuing unit 413 may immediately issue the current instruction to be issued 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 release module 420 may modify the thread state corresponding to the current instruction to be issued into a release 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.
In this embodiment, the instruction control device for the shared device may determine that the issued instruction is an instruction for setting a shared service class, and may lock the shared service class when issued, so that the instruction is not affected by the other classes of instructions, resulting in coverage loss of the instruction, reducing the probability of generating a shared service problem such as insufficient recharging of the device by the user, inaccurate timing, and improving accuracy and applicability of the shared service. 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 transmitting can be solved through time delay, and the accuracy of instruction execution is further improved.
The embodiment of the disclosure provides an apparatus for instruction control of a shared device, the structure of which is shown in fig. 6, comprising:
A processor (processor) 1000 and a memory (memory) 1001, and may also 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 via the bus 1003. The communication interface 1002 may be used for information transfer. The processor 1000 may invoke logic instructions in the memory 1001 to perform the method for shared device instruction control of the above-described embodiments.
Further, the logic instructions in the memory 1001 described above may be implemented in the form of software functional units and may be stored in a computer readable storage medium when sold or used as a stand alone product.
The memory 1001 is used as a computer readable storage medium for storing a software program and a computer executable program, such as program instructions/modules corresponding to the methods in the embodiments of the present disclosure. The processor 1000 performs functional applications as well as data processing by running program instructions/modules stored in the memory 1001, i.e. implements the method for shared device instruction control in the above-described method embodiment.
The memory 1001 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, at least one application program required for functions; the storage data area may store data created according to the use of the terminal air conditioner, etc. In addition, the memory 1001 may include a high-speed random access memory, and may also include a nonvolatile memory.
The embodiment of the disclosure provides a shared device instruction control device, which comprises: a processor and a memory storing program instructions, the processor being configured to execute the 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 the device.
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 which, when executed by a computer, cause the computer to perform the above-described method for shared device instruction control.
The computer readable storage medium 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 stored in a storage medium, where the software product includes one or more instructions for causing a computer air conditioner (which may be a personal computer, a server, or a network air conditioner, etc.) to perform all or part of the steps of the methods described in the embodiments of the present disclosure. And the aforementioned storage medium may be a non-transitory storage medium including: a plurality of media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or a transitory storage medium.
The above description and the drawings illustrate embodiments of the disclosure sufficiently to enable those skilled in the art to practice them. Other embodiments may involve structural, logical, electrical, process, and other changes. The embodiments represent only 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 embodiments of the present disclosure encompasses the full ambit of the claims, as well as all available equivalents of the claims. When used in the present application, although the terms "first," "second," etc. may be used in the present 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 element. For example, a first element could be termed a second element, and, similarly, a second element could be termed a first element, without changing the meaning of the description, so long as all occurrences of the "first element" are renamed consistently and all occurrences of the "second element" are renamed consistently. The first element and the second element are both elements, but may not be the same element. Moreover, the terminology used in the present application is for the purpose of describing embodiments only and is not intended to limit the claims. As used in the description of the embodiments and the claims, the singular forms "a," "an," and "the" (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 disclosure is meant to encompass any and all possible combinations of one or more of the associated listed. Furthermore, when used in the present disclosure, the terms "comprises," "comprising," and/or variations thereof, mean that the recited features, integers, steps, operations, elements, and/or components are present, 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 one …" does not exclude the presence of additional identical elements in a process, method or air conditioner comprising the element. In this context, each embodiment may be described with emphasis on the differences from the other embodiments, and the same similar parts between the various embodiments may be referred to each other. For the methods, products, etc. disclosed in the embodiments, if they correspond to the method sections disclosed in the embodiments, the description of the method sections may be referred to for relevance.
Those of skill in the art will 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 depends upon the particular application and design constraints imposed on the solution. The skilled artisan may use different methods for each particular application to achieve the described functionality, but such implementation should not be considered to be beyond the scope of the embodiments of the present disclosure. It will be clearly understood by those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, which are not repeated herein.
In the embodiments disclosed herein, the disclosed methods, articles of manufacture (including but not limited to devices, air conditioners, etc.) may be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative, and for example, the division of the units may be merely a logical function division, and there may be additional divisions when actually implemented, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. In addition, the coupling or direct coupling or communication connection shown or discussed with each other may be through some interface, device or unit indirect coupling or communication connection, which may be in electrical, mechanical or other form. The units described as separate units may or may not be physically separate, and units shown 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 may be selected according to actual needs to implement the present embodiment. In addition, each functional unit in the embodiments of the present disclosure may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit.
The flowcharts 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 that disclosed in the description, and sometimes no specific order exists between different operations or steps. For example, two consecutive operations or steps may actually be performed substantially in parallel, they may sometimes be performed in reverse order, which may be dependent on the functions involved. Each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.

Claims (8)

1. A method for shared device instruction control, comprising:
Under the condition that the current instruction to be issued is determined to be a set shared 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 shared equipment in the Internet of things;
under the condition that a callback notification of the current instruction to be issued sent by the sharing equipment is received, modifying a thread state corresponding to the current instruction to be issued into a release state;
the step of sending the current command to be issued to the corresponding sharing device in the internet of things comprises the following steps:
And under the condition that the time of receiving and transmitting the heartbeat packet between the sharing equipment is consistent with the current time, after delaying the first time, issuing the current instruction to be issued to the corresponding sharing equipment in the Internet of things, wherein the first time is matched with the interval time of the heartbeat packet.
2. The method of claim 1, wherein before determining that the currently pending instruction is a set shared service instruction, further comprising:
And determining a class flag bit value in each instruction to be issued according to preset instruction classification information.
3. The method of claim 2, wherein determining that the currently pending instruction is a set shared traffic instruction comprises:
reading a class zone bit value in the current command to be issued;
And under the condition that the class flag bit value is a set value, determining the current command to be issued as a set shared service command.
4. An apparatus for shared device instruction control, characterized in that,
The locking module is configured to modify the thread state corresponding to the current command to be issued into a locking state and send the current command to be issued to corresponding sharing equipment in the Internet of things under the condition that the current command to be issued is determined to be a set sharing service command;
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 that a callback notification of the current instruction to be issued sent by the sharing equipment is received;
The locking module is specifically configured to send the current instruction to be sent to the corresponding sharing device in the internet of things after delaying for a first time under the condition that the time of receiving and sending the heartbeat packet between the sharing device is consistent with the current time, and the first time is matched with the interval time of the heartbeat packet.
5. The apparatus as recited in claim 4, further comprising:
the assignment module is configured to determine a class flag bit value in each instruction to be issued according to preset instruction classification information.
6. The apparatus of claim 4, wherein the device comprises a plurality of sensors,
The locking module 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 under the condition that the class flag bit value is a set value.
7. An apparatus for shared device instruction control, the apparatus comprising a processor and a memory storing program instructions, wherein the processor is configured, when executing the program instructions, to perform the method for shared device instruction control of any one of claims 1 to 3.
8. The platform equipment of thing networking, its characterized in that includes: the apparatus for shared device instruction control as claimed in claim 4 or 7.
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 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 2020-07-24 Method, device and equipment for sharing equipment instruction control

Publications (2)

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

Family

ID=73466584

Family Applications (1)

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

Country Status (2)

Country Link
CN (1) CN112000019B (en)
WO (1) WO2022017052A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112000019B (en) * 2020-07-24 2024-04-26 青岛海尔空调器有限总公司 Method, device and equipment for sharing equipment instruction control
CN114612015B (en) * 2022-05-09 2022-08-02 杰创智能科技股份有限公司 Control method and device of shared equipment, electronic equipment and storage medium

Citations (8)

* 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
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

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10362119B2 (en) * 2016-12-29 2019-07-23 Voxx International Corp. System and method for internet of things and home automation using a vehicle
US10985981B2 (en) * 2017-09-05 2021-04-20 F5 Networks, Inc. Multi-threaded server architecture supporting dynamic reconfiguration
CN110611707B (en) * 2019-09-05 2023-04-28 深圳前海微众银行股份有限公司 Task scheduling method and device
CN112000019B (en) * 2020-07-24 2024-04-26 青岛海尔空调器有限总公司 Method, device and equipment for sharing equipment instruction control

Patent Citations (8)

* 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
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

Also Published As

Publication number Publication date
CN112000019A (en) 2020-11-27
WO2022017052A1 (en) 2022-01-27

Similar Documents

Publication Publication Date Title
CN112000019B (en) Method, device and equipment for sharing equipment instruction control
EP1859390B1 (en) Tag anti-collision rfid system and method for tag identification
CN110856126B (en) Information reporting and receiving method, terminal equipment and storage medium
CN109428773B (en) Communication method and device
US20210297284A1 (en) Anomaly determination method, anomaly determination device, and recording medium
CN112532704B (en) Data transmission method, device, electronic equipment and storage medium
CN113301568A (en) Network distribution method and device and intelligent household equipment
KR20170117326A (en) Direct memory access control device for at least one processing unit having a random access memory
CN109992353B (en) Capacity expanding and reducing method, device, equipment and computer readable storage medium
CN113923241B (en) Method and device for Internet of things equipment distribution network, router and Internet of things equipment
CN113819587B (en) Air conditioner control method and device and air conditioner
CN113099431B (en) Communication method and device based on LoRa channel and LoRa host
CN106028303B (en) Intelligent device discovery method and device
CN115687223A (en) Method and device for serial port communication of embedded equipment, embedded equipment and storage medium
CN113179338A (en) Communication method, electronic device, and storage medium
CN112511441A (en) Message processing method and device
CN116501507B (en) Method for interrupt processing, interrupt control module, processor, and storage medium
CN112055058A (en) Data storage method and device and computer readable storage medium
CN111338680B (en) Firmware upgrading method, firmware upgrading device and terminal of slave station
CN107666495B (en) Disaster recovery method and terminal for application
CN111147480A (en) File access control method, device, equipment and medium
CN115118671B (en) Method and device for token ring scheduling, electronic equipment and storage medium
CN114900243B (en) Modification method and device for optical module compatible code
CN116248568A (en) Method and device for board card communication, board card and communication system
US10713198B2 (en) Direct memory access control unit for a processing unit that includes a working memory

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