WO2021128589A1 - 电子设备控制方法、装置、计算机设备和存储介质 - Google Patents
电子设备控制方法、装置、计算机设备和存储介质 Download PDFInfo
- Publication number
- WO2021128589A1 WO2021128589A1 PCT/CN2020/077994 CN2020077994W WO2021128589A1 WO 2021128589 A1 WO2021128589 A1 WO 2021128589A1 CN 2020077994 W CN2020077994 W CN 2020077994W WO 2021128589 A1 WO2021128589 A1 WO 2021128589A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- control
- electronic device
- working mode
- mode segment
- work mode
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/04—Programme control other than numerical control, i.e. in sequence controllers or logic controllers
Definitions
- This application belongs to the technical field of electronic equipment, and more specifically, relates to an electronic equipment control method, device, computer equipment, and storage medium.
- Electronic equipment includes entertainment equipment and health management equipment, among which entertainment equipment is equipment used for entertainment, and health management equipment is equipment used to manage personal health.
- most of the working modes of electronic equipment are customized according to the analysis of the scene. The user only selects the corresponding working mode from the customized modes of the manufacturer.
- the customized working mode of the manufacturer integrates multiple working parameters, and each Users have different preferences, so only a customized work mode is used to work, which cannot meet the individual needs of users.
- health management equipment as an example, each user has different physical conditions and feelings, and when the same customization mode is used to perform the same operation on each user, the user experience is poor.
- the purpose of this application is to provide an electronic device control method, device, computer device, and storage medium, including but not limited to solving the technical problem that the working mode of the electronic device cannot be customized according to the user's preferences.
- the technical solution adopted in the embodiments of the present application is to provide an electronic device control method, including:
- each working mode fragment in the working mode fragment set corresponds to one or more drives
- the servo control parameter commands of each drive constitute the basic logical unit of the drive of the electronic device
- each of the working mode fragments corresponds to one or more drives.
- the working mode fragment corresponds to the control formed by encapsulating the control instruction set;
- the operating characteristic control instruction is sent, and the operating characteristic control instruction is used to instruct the electronic device to perform an operation with the driver controlled by the operating characteristic control instruction.
- control parameter of the basic logic unit of the driver is a parameter corresponding to a control instruction that drives a hardware operating feature of the driver
- control further includes a second control, and after generating the operating characteristic control instruction for controlling the electronic device, the control further includes:
- the receiving the set of working mode fragments selected by the user on the interface includes:
- a user-defined sequence to be executed is received, and each work mode segment in the initial work mode segment set is moved to a corresponding execution position to obtain the work mode segment set.
- the sequence to be executed is one of sequence, reverse sequence, and random sequence.
- the interface includes a first adjustment control for defining a switching time interval between working mode segments
- the electronic device control method further includes:
- first duration is an interval duration between each work mode segment in the work mode segment set
- the interface includes a second adjustment control for defining the duration of the working mode segment
- the electronic device control method includes:
- the interface further includes a first adjustment control for defining a time interval between work segments
- the electronic device control method includes:
- the working duration of the current working mode segment is the second duration
- the third duration has elapsed
- the next working mode in the to-be-executed sequence starts to be executed, and the execution duration of the next working mode segment is the The third duration.
- An embodiment of the present application also provides an electronic device control device, the electronic device includes a plurality of drivers, and the electronic device control device includes:
- the data receiving module is used to receive a set of work mode segments selected by the user on the interface, each work mode segment in the work mode segment set corresponds to one or more drivers, and the servo control parameter commands of each driver constitute the driver of the electronic device
- An instruction generation module configured to generate control instructions for operating characteristics of the electronic device according to the control parameters of each work mode segment in the work mode segment set;
- the instruction sending module is configured to send the operating characteristic control instruction, and the operating characteristic control instruction is used to instruct the electronic device to perform an operation with the driver controlled by the operating characteristic control instruction.
- An embodiment of the present application also provides a computer device, including a memory, a processor, and a computer program stored in the memory and capable of running on the processor.
- the processor executes the computer program, the control method for the electronic device is implemented. step.
- the embodiment of the present application also provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the steps of the above electronic device control method are realized.
- the user customizes the working mode of the electronic device according to personal needs, wherein the working mode is driven by one or more drivers, and is through a collection of instructions
- the controls obtained after encapsulation are defined, and different controls are used to define different working mode fragments, and the working mode is customized according to personal needs to improve the user experience.
- Figure 1 is an application environment diagram of an electronic device control method in an embodiment
- FIG. 2 is a schematic flowchart of an electronic device control method in an embodiment
- Fig. 3 is a schematic diagram of an interface for selecting a working mode segment in an embodiment
- FIG. 4 is a schematic diagram of a preview and adjustment interface of a single working mode segment in an embodiment
- FIG. 5 is a schematic diagram of an interface for previewing working mode fragments in an embodiment
- Fig. 6 is a schematic diagram of controls of a working mode fragment in an embodiment
- Figure 7 is a structural block diagram of an electronic device control device in an embodiment
- Fig. 8 is an internal structure diagram of a computer device in an embodiment.
- Fig. 1 is an application environment diagram of an electronic device control method in an embodiment. 1, the electronic device control method is applied to an electronic device control system.
- the electronic device control system includes an electronic device 110 and a terminal 120.
- the electronic device 110 and the terminal 120 are connected through a network.
- the terminal 120 receives a set of work mode segments selected by the user on the interface.
- Each work mode segment in the work mode segment set corresponds to one or more drives.
- the servo control parameter commands of each drive constitute the basic logic unit of the drive of the electronic device.
- the mode segment corresponds to the control formed by encapsulating the control instruction set; according to the control parameters of each work mode segment in the work mode segment set, the operating feature control instruction for controlling the electronic device is generated; the operating feature control instruction is sent, the operating feature control instruction is sent Used to instruct the electronic device to perform operations with the driver controlled by the operating feature control instruction.
- the above-mentioned set of working mode fragments and the process of generating, sending and executing the operating characteristic control instruction can also be executed in the electronic device 110.
- the terminal 120 may specifically be a desktop terminal or a mobile terminal, and the mobile terminal may specifically be at least one of a mobile phone, a tablet computer, a notebook computer, and the like.
- an electronic device control method is provided.
- the method is mainly applied to the electronic device 110 (or terminal 120) in FIG. 1 as an example.
- the electronic device control method specifically includes the following steps:
- Step S201 Receive a set of working mode segments selected by the user on the interface.
- each work mode segment in the work mode segment set corresponds to one or more drives
- the servo control parameter command of each drive constitutes the basic logical unit of the drive of the electronic device
- each work mode segment corresponds to the control command through packaging.
- the controls formed by the collection corresponds to the controls formed by the collection.
- the electronic equipment may be health management equipment, entertainment equipment, and so on.
- the working mode segment refers to a parameter set corresponding to the working mode of the electronic device.
- the working mode segment can be a user-defined mode segment, a preset mode segment, or a mode segment shared through a network platform, and so on.
- each working mode segment can complete the corresponding function through the driver of the electronic device to drive the corresponding hardware.
- Drivers include but are not limited to horns, air pumps, electric heaters, vibrators, ultrasonic heads, motors, etc.
- the control parameters are related to the physical characteristics of the drive.
- the physical state characteristics of the motor include speed, forward/reverse, start/stop, etc., according to the drive parameters of the motor (for example, the PWM modulation method is used to achieve the above-mentioned control parameters); if the drive If it is a speaker, the output waveform, amplitude, and frequency are all its control parameters.
- the servo control parameter command refers to the command corresponding to the control parameter.
- the basic logic unit of the drive is composed of the servo control parameter commands of each drive. Controls refer to controls displayed on the interface. Different controls correspond to different work mode segments, and each work mode segment corresponds to one or more control commands.
- the execution order of each work mode segment in the work mode segment set can be customized. For example, it can be executed in sequence according to the order of the work mode. When it is executed according to the special order, it can be executed in order or in reverse order, or it can be executed in reverse order.
- the custom order is executed sequentially, the custom order is random order, and so on.
- the user manually defines the execution order of each work mode segment on the interface, such as manually placing the controls corresponding to each work mode segment into the corresponding sorting area, and determining each work mode segment according to the sorting rules defined in the sorting area The order of execution.
- each working mode segment can be the same type of segment or different types of segments, where the same type can mean that the control manifestation is consistent, for example, it can be divided into single-point control and multi-point control according to the type.
- Multi-point control is obtained by combining multiple single-point controls. In multi-point control, multiple points can be controlled at the same time, or multiple points can be controlled in sequence. The specific form can be customized. Take the massager as an example. If multiple single points are executed sequentially in chronological order to form a "sliding" action, multiple single-point controls can also be executed at the same time, such as linear, circular and other shape control methods.
- the working mode segment can be a combination of multiple multipoint control mode segments, or a combination of multiple single point control mode segments, or one or more single point control mode segments and one or more Combination of multipoint control mode segments.
- the single-point control mode segment refers to the work mode segment that controls only one drive
- the multi-point control mode segment refers to the work mode segment that controls multiple drives, or the work mode segment that contains multiple time controls for the same drive.
- a massage head in a linear or circular area is simultaneously controlled to perform massage, and a corresponding massage head is controlled by each driver, and the control parameters of the driver corresponding to the working mode segment are controlled.
- the execution duration corresponding to each work mode segment in the work mode segment set can be adjusted individually or collectively, and the interval duration between different work mode segments can be adjusted individually or simultaneously.
- Step S202 according to the control parameters of each work mode segment in the work mode segment set, generate an operating characteristic control instruction for controlling the electronic device.
- Step S203 Send an operating characteristic control instruction.
- the operating characteristic control instruction is used to instruct the electronic device to perform operations with the driver controlled by the operating characteristic control instruction.
- the corresponding operating characteristic control instruction is generated according to the control parameter corresponding to each operating mode segment, where the operating characteristic control instruction is an instruction for controlling the operation of the electronic device. Send the operating characteristic control instruction to the corresponding driver, so that the driver executes the operating characteristic control instruction.
- the above electronic device control method includes: receiving a set of work mode segments selected by a user on an interface, each work mode segment in the work mode segment set corresponds to one or more drivers, and the servo control parameter command of each driver constitutes the driver of the electronic device
- each work mode segment corresponds to the control formed by encapsulating the control instruction set; according to the control parameters of each work mode segment in the work mode segment set, the operating characteristic control instruction for controlling the electronic device is generated; the operating characteristic control is sent Instruction, the operating feature control instruction is used to instruct the electronic device to perform operations with the driver controlled by the operating feature control instruction.
- the control includes a first control, and before receiving the set of working mode segments selected by the user on the interface, the control further includes: receiving control parameters of the basic logic unit of each driver, and the control parameter of the basic logic unit of the driver is the hardware of the driver. Parameters corresponding to the control instructions of the operating characteristics; generate corresponding logic instructions according to the control parameters of the basic logic unit of the drive; define instructions for the hardware operating characteristics of the drive separately; combine the logic instructions into a control list to form a combined operating feature instruction Set; according to the preset combination rules, each instruction and instruction set are combined and called to obtain the control instruction set; the control instruction set is encapsulated to obtain the first control.
- receiving the control parameters of the basic logic unit of each driver refers to receiving a user-defined parameter or a parameter obtained according to user requirements.
- the parameter is used to control the basic logic unit of the driver to perform corresponding operations, that is, corresponding hardware operating characteristics.
- the corresponding instruction is generated according to the control parameter of the basic logic unit of the drive, and the logic instruction is obtained, and the logic instruction is used to control the basic logic unit of the drive. Define the corresponding commands for different hardware operating characteristics of the drive. Combine logic instructions into a control list to form a combined instruction set of operating characteristics; combine and call each instruction and instruction set according to preset combination rules to obtain a control instruction set; encapsulate the control instruction set to obtain the first control.
- the combination of instructions and control lists means that any combination of two will have different output performance.
- the operating characteristics here refer to the experience characteristics of artificially defined operating performance, not the physical characteristics of the hardware.
- the corresponding control is obtained by encapsulating the instruction, which is the first control.
- the first control refers to the control corresponding to the working mode that directly encapsulates the instruction. The selection of the working mode through the control makes the selection of data more convenient.
- control further includes a second control. After generating the operating characteristic control instruction for controlling the electronic device, the control further includes: encapsulating the operating characteristic control instruction to obtain the second control.
- the second control refers to a control obtained by encapsulating the working mode fragments, that is, encapsulating the operating characteristic control instructions corresponding to the working mode fragments to obtain the second control.
- the working mode fragments For example, one contains 8 working mode fragments, 1-3 are working mode fragments corresponding to different single drives, 4-8 are working mode fragments corresponding to multiple different drives, 1-8 are encapsulated to obtain the second control.
- step S201 includes: receiving the working mode fragments of each control selected by the user on the interface to form an initial working mode fragment set; receiving a user-defined sequence to be executed, and combining each of the initial working mode fragment sets The work mode fragments are moved to the corresponding execution positions to obtain the work mode fragment set.
- the user moves the control corresponding to each work mode segment to the corresponding order definition control according to personal preference or as required, and sorts the work mode segments according to the preset definition order in the order definition control to obtain each work mode segment.
- the order of execution is a simple operation, a simple operation, a simple operation, a simple operation, a simple operation, a simple operation, a simple operation, a simple operation, a simple operation, a simple operation, a simple operation, or arithmetic and ⁇ .
- the interface includes a first adjustment control for defining the switching time interval between the work mode segments, and further includes: receiving a first time length defined by the user through the first adjustment control, and the first time length is the work mode segment The length of the interval between each work mode segment in the set; when the operation corresponding to each work mode segment is performed, after the current work mode segment in the work mode segment set has been executed, after the first time period has elapsed, the execution of the sequence to be executed starts The next working mode.
- the first adjustment control is used to adjust the interval between adjacent work mode segments, where the first adjustment control can be used to adjust the time between the unexecuted work mode segments in the entire work mode segment set. To adjust the interval duration, it can also be the interval duration between all working mode segments. After adjusting the interval duration between the work mode segments, the time after the current work mode segment is executed and before the next work mode segment starts to be executed is the preset interval duration. If the interval time is 3 seconds, after the current work mode segment is executed, after 3 seconds have passed, the next work mode segment can be executed.
- the second time length defined by the user on the second adjustment control is received, and the second time length is the working time length of each working mode segment.
- the second adjustment control is used to define the working duration of each working mode segment.
- the user defines the working duration of each working mode segment through the second control, and adjusts the working frequency, rotation speed and other parameters related to the duration of the drive through the definition of the working duration.
- the second control is also used to adjust each work segment, the adjustment is the overall adjustment of the entire work mode segment.
- the interface further includes a first adjustment control for defining the time interval between work segments, including: receiving a third time length defined by the user through the first adjustment control, and the third time length is in the work mode segment set The interval length between each working mode segment; when the working time length of the current working mode segment is the second time length, after the third time length has elapsed, the next working mode in the sequence to be executed is started, and the next working mode segment is The execution duration is the third duration.
- the interface includes a first adjustment control and a second adjustment control, where the first adjustment control is used to define the interval between each work mode segment in the work mode segment set, and the second control is used to adjust each work mode.
- the working time of the fragments, the working time of a single fragment of the working mode fragment and the time between different working mode fragments can be adjusted through two controls, which can better adapt to the personalized needs of the user, thereby improving the user experience.
- the electronic device is a massage device
- the massage device includes an eye massage device, a shoulder massage device, a leg massage device, and so on.
- FIG. 3 is a schematic diagram of a working mode segment selection interface in an embodiment
- FIG. 4 is a schematic diagram of a preview and adjustment interface of a single working mode segment in an embodiment.
- FIG. 3 includes a preview area 301 of the current work mode segment and a candidate work mode segment control area 302.
- FIG. 4 includes a preview area 303 of the selected work mode segment and a parameter adjustment area 304 of the selected work mode segment.
- the preview area 303 of the work mode segment is one of the areas of the display interface after any work mode segment is selected.
- the parameter adjustment area 304 includes a plurality of adjustment controls for adjusting the control parameters of the working mode segment.
- FIG. 5 is a schematic diagram of an interface of a process of selecting a working mode segment in an embodiment. 5 includes a preview area 305 of a combination of multiple work mode segments, a control 306 for controlling whether to execute the work mode segment set in the preview area 305, a control 307 for defining and adjusting the working duration of the overall work mode segment, A control 308 for defining and adjusting the interval between different work mode segments, a control 309 for defining the execution order of each work mode segment, and an area 310 for displaying candidate work mode segments, where the display area 310 can be displayed at one time Controls for one or more candidate work mode fragments.
- control type and working mode of each working mode segment obtained in the preview can be displayed in a schematic diagram.
- the specific diagram is shown in Figure 6.
- Figure 6 is a schematic diagram of the control of the working mode fragment in an embodiment.
- the spatial diagram includes different types such as points, lines, and planes. Each type corresponds to multiple different working mode fragments.
- Fig. 2 is a schematic flowchart of an electronic device control method in an embodiment. It should be understood that although the various steps in the flowchart of FIG. 2 are displayed in sequence as indicated by the arrows, these steps are not necessarily performed in sequence in the order indicated by the arrows. Unless specifically stated in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least part of the steps in FIG. 2 may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution of these sub-steps or stages The sequence is not necessarily performed sequentially, but may be performed alternately or alternately with at least a part of other steps or sub-steps or stages of other steps.
- an electronic device control apparatus 200 including:
- the data receiving module 201 is used to receive the working mode fragment set selected by the user on the interface.
- Each working mode fragment in the working mode fragment set corresponds to one or more drives, and the servo control parameter commands of each drive constitute the basic drive of the electronic device.
- Logic unit, each working mode segment corresponds to the control formed by encapsulating the control instruction set;
- the instruction generation module 202 is configured to generate a control instruction for operating characteristics of the electronic device according to the control parameters of each work mode segment in the work mode segment set;
- the instruction sending module 203 is configured to send an operating characteristic control instruction, and the operating characteristic control instruction is used to instruct the electronic device to perform an operation with a driver controlled by the operating characteristic control instruction.
- the above electronic device control apparatus 200 further includes:
- the control parameter receiving module is used to receive the control parameters of the basic logic unit of each driver.
- the control parameters of the basic logic unit of the driver are the parameters corresponding to the control instructions of the hardware operating characteristics of the driver.
- the logic instruction generating module is used to generate corresponding logic instructions according to the control parameters of the basic logic unit of the drive.
- the instruction definition module is used to separately define instructions for the drive according to the hardware operating characteristics.
- the logic instruction combination module is used to combine logic instructions into a control list to form a combined instruction set of operating characteristics.
- the control instruction set generation module is used to combine and call each instruction and instruction set according to the preset combination rule to obtain the control instruction set;
- the instruction encapsulation module is used to encapsulate the control instruction set to obtain the first control.
- the instruction encapsulation module is also used to encapsulate the operation feature control instruction to obtain the second control.
- the data receiving module is specifically configured to receive the working mode fragments of each control selected by the user on the interface to form an initial working mode fragment set; receive a user-defined sequence to be executed, and combine the initial working mode fragments in the initial working mode fragment set Each work mode segment is moved to a corresponding execution position to obtain a work mode segment set.
- the above electronic device control apparatus 200 further includes:
- the interval time adjustment module is used to receive the first time length defined by the user through the first adjustment control.
- the first time length is the interval time between the working mode fragments in the working mode fragment set.
- the interface includes a section for defining working mode fragments.
- the above electronic device control apparatus 200 further includes:
- the working mode segment duration adjustment module is used to receive the second time length defined by the user on the second adjustment control.
- the second time length is the working time length of each working mode segment.
- the interface includes a second adjustment for defining the duration of the working mode segment Control.
- the above electronic device control apparatus 200 further includes:
- the interval duration adjustment module is also used to receive a third duration defined by the user through the first adjustment control.
- the third duration is the interval duration between each work mode segment in the work mode segment set.
- the interface also includes a tool for defining work segments.
- the first adjustment control for the time interval between the current working mode segment; when the working time length of the current working mode segment is the second time length, after the third time length has elapsed, the next working mode in the sequence to be executed is started, and the execution of the next working mode segment
- the duration is the third duration.
- Fig. 8 shows an internal structure diagram of a computer device in an embodiment.
- the computer device may specifically be the electronic device 110 (or the terminal 120) in FIG. 1.
- the computer equipment is connected to the processor, memory, network interface, input device and display screen through the system bus.
- the memory includes a non-volatile storage medium and an internal memory.
- the non-volatile storage medium of the computer device stores an operating system, and may also store a computer program.
- the processor can enable the processor to implement the electronic device control method.
- a computer program may also be stored in the internal memory, and when the computer program is executed by the processor, the processor can make the processor execute the electronic device control method.
- the display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen.
- the input device of the computer equipment can be a touch layer covered on the display screen, or it can be a button, trackball or touchpad set on the housing of the computer equipment. It can be an external keyboard, touchpad, or mouse.
- FIG. 8 is only a block diagram of part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied.
- the specific computer device may Including more or fewer parts than shown in the figure, or combining some parts, or having a different arrangement of parts.
- the electronic device control apparatus provided in the present application may be implemented in the form of a computer program, and the computer program may run on the computer device as shown in FIG. 8.
- the memory of the computer device can store various program modules that make up the electronic device control device, for example, the data receiving module 201, the instruction generating module 202, and the instruction sending module 203 shown in FIG. 7.
- the computer program composed of each program module causes the processor to execute the steps in the electronic device control method of each embodiment of the present application described in this specification.
- the computer device shown in FIG. 8 can receive the working mode fragment set selected by the user on the interface through the data receiving module 201 in the electronic device control apparatus shown in FIG.
- the servo control parameter commands of each drive constitute the basic logical unit of the drive of the electronic device, and each working mode segment corresponds to the control formed by the package control command set.
- the computer device can execute the control parameters of each work mode segment in the work mode segment set through the instruction generation module 202 to generate control instructions for controlling the operating characteristics of the electronic equipment.
- the computer device can execute and send the operating feature control instruction through the instruction sending module 203, and the operating feature control instruction is used to instruct the electronic device to perform operations with the driver controlled by the operating feature control instruction.
- a computer device including a memory, a processor, and a computer program stored in the memory and running on the processor.
- the processor executes the computer program, the following steps are implemented: receiving a user's selection on the interface
- Each of the working mode fragments in the working mode fragment set corresponds to one or more drives.
- the servo control parameter commands of each drive constitute the basic logical unit of the drive of the electronic device.
- Each working mode fragment is set with the control command set by packaging
- the formed controls correspond; according to the control parameters of each work mode segment in the work mode segment set, generate operating feature control instructions for controlling the electronic device; send operating feature control instructions, the operating feature control instructions are used to instruct the electronic device to be The drive controlled by the run feature control instruction performs the operation.
- the control includes a first control.
- the processor executes the following steps when executing the computer program: receiving the control parameters of the basic logic unit of each driver, and the basic logic unit of the driver
- the control parameters are the parameters corresponding to the control instructions of the hardware operating characteristics of the drive; the corresponding logic instructions are generated according to the control parameters of the basic logic unit of the drive; the instructions are respectively defined for the hardware operating characteristics of the drive; the logic instructions are combined into a control list, Form a combined instruction set of operating characteristics; combine and call each instruction and instruction set according to a preset combination rule to obtain a control instruction set; encapsulate the control instruction set to obtain the first control.
- control further includes a second control.
- the processor further implements the following step when executing the computer program: encapsulating the operating characteristic control instruction to obtain the second control.
- receiving the working mode fragment set selected by the user on the interface includes: receiving the working mode fragments of each control selected by the user on the interface to form an initial working mode fragment set; receiving a user-defined sequence to be executed, Each work mode segment in the initial work mode segment set is moved to a corresponding execution position to obtain a work mode segment set.
- the interface includes a first adjustment control for defining the switching time interval between the working mode segments
- the processor further implements the following step when executing the computer program: receiving the first time duration defined by the user through the first adjustment control ,
- the first duration is the interval duration between each work mode segment in the work mode segment set; when the operation corresponding to each work mode segment is performed, the first time duration elapses after the execution of the current work mode segment in the work mode segment set is completed After that, the execution of the next work mode in the sequence to be executed is started.
- the interface includes a second adjustment control for defining the duration of the working mode segment
- the processor further implements the following steps when executing the computer program: receiving the second duration defined by the user on the second adjustment control, and the second The duration is the working duration of each working mode segment.
- the interface further includes a first adjustment control for defining the time interval between the work segments
- the processor further implements the following step when executing the computer program: receiving a third time period defined by the user through the first adjustment control,
- the third duration is the interval duration between each work mode segment in the work mode segment set; when the work duration of the current work mode segment is the second duration, after the third duration has elapsed, the next job in the sequence to be executed starts to be executed Mode, and the execution duration of the next working mode segment is the third duration.
- a computer-readable storage medium on which a computer program is stored.
- the computer program is executed by a processor, the following steps are implemented: receiving a set of work mode fragments selected by a user on an interface, and a set of work mode fragments
- Each operating mode segment in the corresponding to one or more drives, the servo control parameter commands of each drive constitute the basic logical unit of the drive of the electronic device, and each operating mode segment corresponds to the control formed by encapsulating the control instruction set; according to the operating mode segment set
- the control parameters of each working mode segment in the generate operating feature control instructions for controlling the electronic device; send operating feature control instructions, the operating feature control instructions are used to instruct the electronic device to perform operations with the drive controlled by the operating feature control instructions.
- the control includes a first control.
- the computer program is executed by the processor and further implements the following steps: receiving the control parameters of the basic logic unit of each driver, and the basic logic of the driver.
- the control parameters of the unit are the parameters corresponding to the control instructions of the hardware operating characteristics of the drive; the corresponding logic instructions are generated according to the control parameters of the basic logic unit of the drive; the instructions are defined separately for the hardware operating characteristics of the drive; the logic instructions are combined into a control list , Form a combined instruction set of operating characteristics; combine and call each instruction and instruction set according to a preset combination rule to obtain a control instruction set; encapsulate the control instruction set to obtain the first control.
- control further includes a second control. After the operating characteristic control instruction for controlling the electronic device is generated, when the computer program is executed by the processor, the following step is implemented: encapsulating the operating characteristic control instruction to obtain the second control.
- receiving the working mode fragment set selected by the user on the interface includes: receiving the working mode fragments of each control selected by the user on the interface to form an initial working mode fragment set; receiving a user-defined sequence to be executed, Each work mode segment in the initial work mode segment set is moved to a corresponding execution position to obtain a work mode segment set.
- the interface includes a first adjustment control for defining the switching time interval between the working mode segments
- the computer program is executed by the processor to further implement the following steps: receiving the first adjustment control defined by the user through the first adjustment control.
- Time length the first time length is the interval time between each work mode segment in the work mode segment set; when the operation corresponding to each work mode segment is executed, after the execution of the current work mode segment in the work mode segment set is completed, it passes through the first After a period of time, the next work mode in the sequence to be executed is executed.
- the interface includes a second adjustment control for defining the duration of the working mode segment, and when the computer program is executed by the processor, the following steps are further implemented: receiving the second duration defined by the user on the second adjustment control, The second time length is the working time length of each working mode segment.
- the interface further includes a first adjustment control for defining the time interval between the work segments, and when the computer program is executed by the processor, the following steps are also implemented to receive the third time period defined by the user through the first adjustment control,
- the third duration is the interval duration between each work mode segment in the work mode segment set; when the work duration of the current work mode segment is the second duration, after the third duration has elapsed, the next job in the sequence to be executed starts to be executed Mode, and the execution duration of the next working mode segment is the third duration.
- Non-volatile memory may include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory.
- Volatile memory may include random access memory (RAM) or external cache memory.
- RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous chain Channel (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
- SRAM static RAM
- DRAM dynamic RAM
- SDRAM synchronous DRAM
- DDRSDRAM double data rate SDRAM
- ESDRAM enhanced SDRAM
- SLDRAM synchronous chain Channel
- memory bus Radbus direct RAM
- RDRAM direct memory bus dynamic RAM
- RDRAM memory bus dynamic RAM
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
Description
Claims (11)
- 一种电子设备控制方法,其特征在于,包括:接收用户在界面上选取的工作模式片段集合,所述工作模式片段集合中的各个工作模式片段对应一个或多个驱动器,每个驱动器的伺服控制参数指令构成电子设备的驱动器基本逻辑单元,各个所述工作模式片段与通过封装控制指令集合形成的控件对应;按照所述工作模式片段集合中的各个工作模式片段的控制参数,生成用于控制电子设备的运行特征控制指令;发送所述运行特征控制指令,所述运行特征控制指令用于指示所述电子设备中与被所述运行特征控制指令控制的驱动器执行操作。
- 根据权利要求1所述的电子设备控制方法,其特征在于,还包括:接收各个所述驱动器基本逻辑单元的控制参数,所述驱动器基本逻辑单元的控制参数为驱动所述驱动器的硬件运行特征的控制指令对应的参数;根据所述驱动器基本逻辑单元的控制参数生成对应的逻辑指令;对所述驱动器针对硬件运行特征分别定义指令;将逻辑指令进行组合为控制列表,形成组合后的运行特征的指令集;按照预设组合规则对各个所述指令、所述指令集进行组合调用,可得到控制指令集合;封装所述控制指令集合,得到第一控件。
- 根据权利要求2所述的电子设备控制方法,其特征在于,所述控件还包括第二控件,所述生成用于控制电子设备的运行特征控制指令之后,还包括:封装所述运行特征控制指令,得到第二控件。
- 根据权利要求2或3所述的电子设备控制方法,其特征在于,所述接收用户在界面上选取的工作模式片段集合,包括:接收用户在所述界面上选取的各个控件的工作模式片段,组成初始工作模式片段集合;接收用户自定义的待执行顺序,将所述初始工作模式片段集合中的各个工作模式片段移动至对应的执行位置,得到所述工作模式片段集合。
- 根据权利要求4所述的电子设备控制方法,其特征在于,所述待执行顺序为顺序、逆序、随机顺序中的一种。
- 根据权利要求4所述的电子设备控制方法,其特征在于,所述界面上包括用于定义工作模式片段之间的切换时间间隔的第一调节控件,所述电子设备控制方法还包括:接收用户通过所述第一调节控件定义的第一时长,所述第一时长为所述工作模式片段集合中的各个工作模式片段之间的间隔时长;在执行各个工作模式片段对应的操作时,所述工作模式片段集合中的当前工作模式片段执行结束后,经过所述第一时长后,开始执行所述待执行顺序中的下一个工作模式。
- 根据权利要求4所述的电子设备控制方法,其特征在于,所述界面上包括用于定义所述工作模式片段的时长的第二调节控件,所述电子设备控制方法包括:接收用户在所述第二调节控件上定义的第二时长,所述第二时长为各所述工作模式片段的工作时长。
- 根据权利要求7所述的电子设备控制方法,其特征在于,所述界面上还包括用于定义工作片段之间的时间间隔的第一调节控件,所述电子设备控制方法包括:接收用户通过所述第一调节控件定义的第三时长,所述第三时长为所述工作模式片段集合中的各个工作模式片段之间的间隔时长;在当前工作模式片段的工作时长为第二时长时,经过所述第三时 长后,开始执行所述待执行顺序中的下一个工作模式,且所述下一个工作模式片段的执行时长为所述第三时长。
- 一种电子设备控制装置,其特征在于,所述电子设备包含多个驱动器,所述电子设备控制装置包括:数据接收模块,用于接收用户在界面上选取的工作模式片段集合,所述工作模式片段集合中的各个工作模式片段对应一个或多个驱动器,每个驱动器的伺服控制参数指令构成电子设备的驱动器基本逻辑单元,各个所述工作模式片段与通过封装控制指令集合形成的控件对应;指令生成模块,用于按照所述工作模式片段集合中的各个工作模式片段的控制参数,生成用于控制电子设备的运行特征控制指令;指令发送模块,用于发送所述运行特征控制指令,所述运行特征控制指令用于指示所述电子设备中与被所述运行特征控制指令控制的驱动器执行操作。
- 一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其特征在于,所述处理器执行所述计算机程序时实现权利要求1至8中任一项所述的电子设备控制方法的步骤。
- 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现权利要求1至8中任一项所述的电子设备控制方法的步骤。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911350924.3A CN111198514B (zh) | 2019-12-24 | 2019-12-24 | 电子设备控制方法、装置、计算机设备和存储介质 |
CN201911350924.3 | 2019-12-24 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2021128589A1 true WO2021128589A1 (zh) | 2021-07-01 |
Family
ID=70744687
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2020/077994 WO2021128589A1 (zh) | 2019-12-24 | 2020-03-05 | 电子设备控制方法、装置、计算机设备和存储介质 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN111198514B (zh) |
WO (1) | WO2021128589A1 (zh) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111198514B (zh) * | 2019-12-24 | 2022-07-05 | 深圳市倍轻松科技股份有限公司 | 电子设备控制方法、装置、计算机设备和存储介质 |
CN112774139B (zh) * | 2020-12-18 | 2023-02-07 | 深圳市倍轻松科技股份有限公司 | 健康设备管理方法、装置、计算机设备和存储介质 |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103676845A (zh) * | 2013-11-19 | 2014-03-26 | 四川长虹电器股份有限公司 | 一种电子设备及控制方法 |
US20160178882A1 (en) * | 2014-12-17 | 2016-06-23 | Carl Zeiss Microscopy Gmbh | Control system for a microscope and method for controlling a microscope |
CN107479405A (zh) * | 2016-06-08 | 2017-12-15 | 佛山市顺德区美的电热电器制造有限公司 | 一种面包机的自定义功能控制方法、装置和面包机 |
CN111198514A (zh) * | 2019-12-24 | 2020-05-26 | 深圳市倍轻松科技股份有限公司 | 电子设备控制方法、装置、计算机设备和存储介质 |
Family Cites Families (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5253159A (en) * | 1991-06-28 | 1993-10-12 | Square D Company | Electrical distribution system having controller responsive to multiple command paths |
JP3073742U (ja) * | 2000-06-01 | 2000-12-08 | 東和 巫 | マッサージ装置 |
CN101404971A (zh) * | 2006-03-31 | 2009-04-08 | 发美利株式会社 | 按摩机 |
CN102614069B (zh) * | 2012-03-23 | 2014-06-25 | 深圳市倍轻松科技股份有限公司 | 按摩器 |
CN104382573A (zh) * | 2014-11-20 | 2015-03-04 | 徐洋 | 有多种操作模式的臂带式电子血压计 |
CN204655253U (zh) * | 2015-03-03 | 2015-09-23 | 苏州大学应用技术学院 | 一种智能眼保仪 |
CA2959862C (en) * | 2017-03-03 | 2022-03-15 | The Governing Council Of The University Of Toronto | System and method for animated lip synchronization |
JP7056904B2 (ja) * | 2017-07-26 | 2022-04-19 | ファミリーイナダ株式会社 | マッサージ機システム並びにそれに用いられるマッサージ機及びウェアラブル測定機器 |
CN208212194U (zh) * | 2017-10-24 | 2018-12-11 | 横琴视保技术服务有限公司 | 一种眼科用近视纠正按摩器 |
CN109832826A (zh) * | 2017-11-24 | 2019-06-04 | 青岛海尔洗衣机有限公司 | 一种智能衣橱及其控制方法 |
CN109431768A (zh) * | 2018-11-23 | 2019-03-08 | 上海拓为汽车技术有限公司 | 一种用户可编程汽车座椅气动按摩系统 |
-
2019
- 2019-12-24 CN CN201911350924.3A patent/CN111198514B/zh active Active
-
2020
- 2020-03-05 WO PCT/CN2020/077994 patent/WO2021128589A1/zh active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103676845A (zh) * | 2013-11-19 | 2014-03-26 | 四川长虹电器股份有限公司 | 一种电子设备及控制方法 |
US20160178882A1 (en) * | 2014-12-17 | 2016-06-23 | Carl Zeiss Microscopy Gmbh | Control system for a microscope and method for controlling a microscope |
CN107479405A (zh) * | 2016-06-08 | 2017-12-15 | 佛山市顺德区美的电热电器制造有限公司 | 一种面包机的自定义功能控制方法、装置和面包机 |
CN111198514A (zh) * | 2019-12-24 | 2020-05-26 | 深圳市倍轻松科技股份有限公司 | 电子设备控制方法、装置、计算机设备和存储介质 |
Also Published As
Publication number | Publication date |
---|---|
CN111198514B (zh) | 2022-07-05 |
CN111198514A (zh) | 2020-05-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2021128589A1 (zh) | 电子设备控制方法、装置、计算机设备和存储介质 | |
US20180260994A1 (en) | Expression animation generation method and apparatus for human face model | |
WO2020088427A1 (zh) | 手部机械外骨骼及其反馈控制方法 | |
CN104603733B (zh) | 用户终端装置及其控制方法 | |
CN105278811B (zh) | 智能终端的屏幕显示装置和方法 | |
JP2018530837A (ja) | サイドスライドインターフェースの表示制御方法と装置、端末と記憶媒体 | |
WO2021196250A1 (zh) | 振动信号的生成方法、装置、设备及存储介质 | |
CN111552378B (zh) | 振动信号的生成方法、装置、终端及存储介质 | |
WO2013155756A1 (zh) | 菜单布局处理方法及装置 | |
JP2021528024A (ja) | ビデオ画面調整方法、装置、コンピュータ装置および記憶媒体 | |
CN102855648B (zh) | 一种图像处理方法及装置 | |
WO2020233080A1 (zh) | 客户端开发方法、装置、计算机设备及存储介质 | |
CN108334193A (zh) | 一种马达刹车信号的生成方法及装置 | |
WO2015096518A1 (zh) | 三维模型动态显示方法及装置 | |
CN109472849A (zh) | 处理应用中图像的方法、装置、终端设备和存储介质 | |
WO2021169827A1 (zh) | 图像裁剪方法、装置、设备及存储介质 | |
KR20200067723A (ko) | 과도 응답 특성을 개선하기 위해 액추에이터 구동 신호를 제어하기 위한 시스템 및 방법 | |
WO2021208121A1 (zh) | 振动系统快速停止的方法、装置、计算机设备及存储介质 | |
JP6352275B2 (ja) | 群集アニメーションを生成するための方法、システムおよびコンピュータ読取可能な記録媒体 | |
CN1934533A (zh) | 显示处理装置和显示处理方法 | |
CN109189301A (zh) | 一种屏幕截图的方法及装置 | |
JP2024518432A (ja) | 装置のチューニング方法及び装置 | |
JP6751778B2 (ja) | 業務システムとマルチアセンブリーとのやりとりを実現する方法、電子装置及び記憶媒体 | |
US20240066946A1 (en) | Method for controlling vehicle air conditioner and vehicle on-board controller | |
CN112449232A (zh) | 界面展示方案的生成方法、装置、设备及存储介质 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 20905501 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 20905501 Country of ref document: EP Kind code of ref document: A1 |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 16.01.2023) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 20905501 Country of ref document: EP Kind code of ref document: A1 |