CN114564080A - Device control method, device, storage medium and electronic device - Google Patents

Device control method, device, storage medium and electronic device Download PDF

Info

Publication number
CN114564080A
CN114564080A CN202210276228.8A CN202210276228A CN114564080A CN 114564080 A CN114564080 A CN 114564080A CN 202210276228 A CN202210276228 A CN 202210276228A CN 114564080 A CN114564080 A CN 114564080A
Authority
CN
China
Prior art keywords
component
character
state
parameter
sequence
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.)
Pending
Application number
CN202210276228.8A
Other languages
Chinese (zh)
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202210276228.8A priority Critical patent/CN114564080A/en
Publication of CN114564080A publication Critical patent/CN114564080A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1615Constructional details or arrangements for portable computers with several enclosures having relative motions, each enclosure supporting at least one I/O or computing function
    • G06F1/1616Constructional details or arrangements for portable computers with several enclosures having relative motions, each enclosure supporting at least one I/O or computing function with folding flat displays, e.g. laptop computers or notebooks having a clamshell configuration, with body parts pivoting to an open position around an axis parallel to the plane they define in closed position
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/0346Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of the device orientation or free movement in a 3D space, e.g. 3D mice, 6-DOF [six degrees of freedom] pointers using gyroscopes, accelerometers or tilt-sensors
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/279Recognition of textual entities
    • 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)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • General Health & Medical Sciences (AREA)
  • Mathematical Physics (AREA)
  • Artificial Intelligence (AREA)
  • Computational Linguistics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the application discloses a device control method, a device, a storage medium and an electronic device, wherein the method comprises the following steps: when the expandable component is in a component adjustment state, at least one component state parameter of the expandable component is acquired, a character sequence corresponding to each component state parameter is determined, and equipment control is carried out based on the character sequence. By adopting the embodiment of the application, the convenience of equipment control can be improved.

Description

Device control method, device, storage medium and electronic device
Technical Field
The present application relates to the field of computer technologies, and in particular, to a device control method and apparatus, a storage medium, and an electronic device.
Background
With the continuous progress of science and technology, various electronic devices such as mobile phones and tablets are more and more popular, and great convenience is brought to the life of people. In order to bring a better experience to the user, the electronic device may have an expandable component, for example, the electronic device may have an expandable display screen, which brings a better visual experience to the user by controlling the expansion of the display screen; the electronic equipment can also be provided with an extensible camera, and when the user uses the electronic equipment to take a picture, the camera is controlled to be extended, so that better shooting experience is brought to the user, and the like.
Disclosure of Invention
The embodiment of the application provides a device control method and device, a storage medium and an electronic device. The technical scheme of the embodiment of the application is as follows:
in a first aspect, an embodiment of the present application provides a device control method, which is applied to an electronic device having an extensible component, and the method includes:
acquiring at least one component state parameter of the expandable component when the expandable component is in a component adjustment state;
and determining a character sequence corresponding to each component state parameter, and controlling equipment based on the character sequence.
In a second aspect, an embodiment of the present application provides an apparatus for controlling a device, where the apparatus includes:
a parameter obtaining module, configured to obtain at least one component state parameter of the extensible component when the extensible component is in a component adjustment state;
and the equipment control module is used for determining a character sequence corresponding to each component state parameter and controlling equipment based on the character sequence.
In a third aspect, embodiments of the present application provide a computer storage medium storing a plurality of instructions adapted to be loaded by a processor and to perform the above-mentioned method steps.
In a fourth aspect, an embodiment of the present application provides an electronic device, which may include: a processor and a memory; wherein the memory stores a computer program adapted to be loaded by the processor and to perform the above-mentioned method steps.
The beneficial effects brought by the technical scheme provided by some embodiments of the application at least comprise:
in one or more embodiments of the present application, when an expandable component is in a component adjustment state, an electronic device may obtain at least one component state parameter of the expandable component, determine a character sequence corresponding to each component state parameter, and perform device control based on the character sequence. By combining the state change of the expandable component, the character sequence is generated based on the component state parameter in the adjustment of the expandable component, and the convenient equipment control can be realized by identifying the character sequence, so that the convenience of the equipment control is improved, and the operation flow of the equipment control is simplified.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flowchart of a device control method according to an embodiment of the present application;
fig. 2 is a schematic physical form diagram of an expandable component involved in a device control method provided in an embodiment of the present application;
fig. 3 is a schematic flowchart of another apparatus control method provided in an embodiment of the present application;
fig. 4 is an extended scene schematic diagram of an electronic device related to a device control method provided in an embodiment of the present application;
fig. 5 is a schematic flowchart of another apparatus control method provided in an embodiment of the present application;
fig. 6 is an expanded scene schematic diagram of another electronic device related to a device control method provided in an embodiment of the present application;
fig. 7 is a schematic structural diagram of an apparatus control device according to an embodiment of the present application;
FIG. 8 is a schematic structural diagram of an equipment control module according to an embodiment of the present disclosure;
fig. 9 is a schematic structural diagram of a character determination unit according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of a parameter obtaining module according to an embodiment of the present application;
FIG. 11 is a schematic structural diagram of another device control apparatus provided in an embodiment of the present application;
fig. 12 is a schematic structural diagram of an electronic device provided in an embodiment of the present application;
FIG. 13 is a schematic structural diagram of an operating system and a user space provided in an embodiment of the present application;
FIG. 14 is an architectural diagram of the android operating system of FIG. 13;
FIG. 15 is an architectural diagram of the IOS operating system of FIG. 13.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In the description of the present application, it is to be understood that the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. In the description of the present application, it is noted that, unless explicitly stated or limited otherwise, "including" and "having" and any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus. The specific meaning of the above terms in the present application can be understood in a specific case by those of ordinary skill in the art. Further, in the description of the present application, "a plurality" means two or more unless otherwise specified. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
In the related art, electronic devices having expandable parts, such as electronic devices having foldable display screens, electronic devices having retractable display screens, and the like, are becoming more common. However, the device control method of the electronic device based on the extensible component is still inconvenient in most scenes, for example, a user needs to start a certain device function based on the electronic device based on the extensible component, and often needs to perform multi-step operation to find an option of the corresponding device function, so that the number of operation steps is large, and the device control is inconvenient.
The present application will be described in detail with reference to specific examples.
In one embodiment, as shown in fig. 1, a device control method is proposed, which can be implemented by means of a computer program and can be run on a device control apparatus based on a von neumann architecture. The computer program may be integrated into the application or may run as a separate tool-like application. The device control apparatus may be an electronic device having an expandable component, including but not limited to: handheld devices, personal computers, tablet computers, in-vehicle devices, smart phones, computing devices or other processing devices connected to a wireless modem, and the like. The terminal devices in different networks may be called different names, for example: user equipment, access terminal, subscriber unit, subscriber station, mobile station, remote terminal, mobile device, user terminal, wireless communication device, user agent or user equipment, cellular telephone, cordless telephone, Personal Digital Assistant (PDA), device in a 5G network or future evolution network, and the like.
Specifically, the device control method includes:
step S101: obtaining at least one component state parameter of the expandable component while the expandable component is in a component adjustment state.
In the embodiment of the application, the electronic device has expandable components, the number of the expandable components of the electronic device can be one or more, and the types of the expandable components can be the same or different;
optionally, the expandable component may be a display screen, a microphone, a camera, an indicator light, or the like. Taking the expandable component as the display screen, the electronic device may be a display screen with a retractable function, or the electronic device may be a display screen with an extendable or foldable function.
When the retractable display screen of the electronic device is in the component adjustment state to perform component adjustment, the component state of the extensible component of the electronic device changes (it can also be understood that the component form changes);
optionally, the electronic device may detect, via the measurement module, a component state parameter for the expandable component, the component state parameter including, but not limited to, a fit to one or more of a form change angle, a form change area, a form change size, a form change time, a form change rate, and the like of the expandable component.
In a possible embodiment, when the expandable element is in the element adjustment state, taking the expandable element as a foldable display screen as an example, the electronic device may detect, by the measurement module, an element state parameter of the expandable display screen in the element adjustment state, illustratively, for example, an element angle value of the expandable element of the electronic device may be measured; taking the extensible component as the retractable display screen as an example, the measuring device may also measure the area or length of the retractable display screen that has not yet been retracted into the interior of the electronic device. And, in the case where the retractable display screen is expanded or contracted, the measuring means may measure the displacement value of the retractable display screen, or the like.
In a specific implementation scenario, the measurement module may configure corresponding devices according to the actual application environment, such as sensors configured with at least one of a touch sensor, an infrared/ultraviolet sensor, a phototransistor, a photoconductive element, a position sensitive detector, a gyroscope sensor, and a strain gauge, a laser length measurement sensor, a potentiometer, a measurement sensor capable of measuring at least one of a stroke length, an angle, a length, an angular velocity, an extension velocity, an instantaneous velocity, and an average velocity. The measurement module may not be limited to the aforementioned sensors and may include all sensing devices capable of measuring the component status parameters referred to above. The measurement module can be located at various positions of the electronic device, such as the housing unit, the expandable member itself, the sides of the expandable member, and the like. The measurement method may be distinguished according to the position of the measurement module or the kind of sensor of the measurement device.
In one possible embodiment: the electronic device may control the included expandable element to perform element state adjustment, such as controlling the expandable element to unfold or fold, controlling the expandable element to contract, and so on, in response to an element adjustment operation input by a user, and the electronic device may determine that the expandable element is in the element adjustment state when the expandable element starts performing the element state adjustment or during the element state adjustment. Determining that an expandable component is in a component adjustment state by responding to at least one component adjustment operation for the expandable component. And acquiring at least one component state parameter of the expandable component when the expandable component is in the component adjustment state.
The component adjustment operation is an instruction or a command for instructing the electronic device to control the expandable component to operate, and in the embodiment of the present application, the component adjustment operation may be understood as a code for instructing the electronic device to execute a function (also may be understood as component form adjustment) for controlling the expandable component to perform component state adjustment, and the electronic device may control the expandable component to perform component state adjustment by executing the code.
Optionally, the component state adjustment performed by the expandable component may be performed by inputting a corresponding mechanical operation by a user and directly acting on the expandable component of the electronic device, for example, manually adjusting the component state of the expandable component of the electronic device; the component state adjustment performed by the expandable component may be the component state adjustment performed by recognizing a gesture operation of a user through a camera; the component state adjustment by the extensible component may be a component state adjustment by recognizing a state adjustment voice signal of a user, or the like.
In the present application, the component state of the expandable component of the electronic device is adjusted, and the expandable component feeds back the current form or the parameters of the current state of the expandable component during the adjustment of the component state, including, but not limited to, the size, angle, position, and the like corresponding to the expandable component.
In a specific implementation scenario, as shown in fig. 2, a physical form diagram of an extensible component provided in the embodiment of the present application is shown. The expandable member included in the electronic device may be a foldable display screen, and illustratively, the user may adjust the operation by inputting at least one member, and the electronic device may control the screen expansion or the screen folding of the foldable display screen based on each member adjustment operation. Illustratively, when a user needs to implement a certain device control, at least one form adjustment may be performed by controlling a foldable display screen of the electronic device, where the foldable display screen corresponds to a component state parameter in each form adjustment process, and as shown in fig. 2-ii, the form is a schematic diagram of a component adjustment process, and in the component adjustment process, for example, the user may manually adjust the foldable display screen to a component state a through a component adjustment operation at time t0, the user may manually adjust the foldable display screen from the component state a to a component state B through the component adjustment operation at time t1, the user may manually adjust the foldable display screen from the component state B to the component state d at time t2, and so on. Illustratively, in the whole form adjustment process, the electronic device may acquire the component state parameter 1 at the time t0, the component state parameter 2 at the time t1, and the component state parameter 3 at the time t2, that is, the electronic device may acquire the component state parameter of the expandable component at each component adjustment.
In a possible implementation manner, after acquiring at least one component state parameter of the extensible component, the electronic device may further output a parameter prompt message corresponding to the at least one component state parameter. To prompt the user whether the current component status parameters are correct.
Optionally, the parameter prompt information includes, but is not limited to, one or more of a vibration prompt mode, a voice prompt mode, a text prompt mode, a prompt lamp prompt mode, a display screen display and other prompt modes, and may be specifically determined based on an actual application scenario.
Optionally, the user is reminded in the form of a character prompt message, and when the user actually expects that the component state parameter is incorrect or is recognized incorrectly, the user may re-input the component adjustment operation at this time to instruct the electronic device to re-acquire the next component state parameter to correct or adjust the wrong component state parameter.
Illustratively, in the component adjustment process, if a user can manually adjust the foldable display screen to the component state a through the component adjustment operation at time t0, the electronic device outputs a prompt message indicating that the component state parameter a corresponds to the component state parameter a, and the user can input a parameter confirmation signal according to the prompt message, where the component state parameter is correctly identified as a parameter corresponding to the user's desired or actual input operation; the user can input a parameter correction signal aiming at the prompt message, the parameter correction signal is a signal input when the current component state parameter A is not the component state parameter expected by the user, the user can identify the component state correction parameter B corresponding to the current component state by readjusting the component state of the expandable component, and the electronic equipment corrects the component state parameter A through the component state correction parameter B.
In one specific implementation scenario, during component tuning, the following is:
1. the user may manually adjust the expandable component to a component state a at time t0 through component adjustment operation 1, where the component state parameters corresponding to component state a are: the component angle value is 90 degrees, the electronic equipment identifies the component angle value and outputs prompt information of 'the component angle value is 90 degrees', a user inputs a parameter confirmation signal, and a character corresponding to the component angle value is 2; the character sequence at this time is: 2;
2. the user may manually adjust the expandable component to a component state B at time t1 through component adjustment operation 2, where the component state parameters corresponding to component state B are: the component angle value is 60 degrees, the electronic equipment identifies the component angle value and outputs prompt information of 'the component angle value is 60 degrees', a user inputs a parameter confirmation signal, and a character corresponding to the component angle value is 1; the character sequence at this time is: 21;
3. the user may manually adjust the expandable component to a component state C at time t2 through component adjustment operation 3, where the component state parameters corresponding to component state C are: the component angle value is 130 degrees, the electronic device identifies the component angle value and outputs prompt information of 'the component angle value is 130 degrees', the user inputs a parameter correction signal and inputs next correction state operation 4 aiming at 'the component angle value is 130 degrees' so as to control the expandable component to be in a component state D, and component state parameters corresponding to the component state D are as follows: the component angle value is 150 degrees, the current component angle value is 130 degrees through the component angle value of 150 degrees, and the character corresponding to the component angle value of 150 degrees at this time is: 33, the character sequence at this time is: 2133, preparing a medicament; .....
Step S102: and determining a character sequence corresponding to each component state parameter, and controlling equipment based on the character sequence.
The character sequence is a sequence formed by several characters. Characters may refer to glyph-like units or symbols, including letters, numbers, Chinese characters, operator symbols, punctuation marks and other symbols, and the like. The character sequence corresponds to a particular device control scheme. For example, reference to a particular device control may be understood as a reference to a device-executable function, a device-executable service, etc. that is specifically identified as a sequence of characters.
Optionally, each part form parameter corresponds to at least one character, and the characters corresponding to the part form parameters may correspond to one character sequence according to the character determination time. The mapping relation between a plurality of reference character sequences and the control mode of the intelligent equipment is preset, so that the quick equipment control of the electronic equipment with extensible components can be realized, wherein the equipment control object can be the electronic equipment or other intelligent equipment which is in communication connection with the electronic equipment.
Illustratively, after at least one component state parameter of the extensible component is acquired, the characters corresponding to each component state parameter can be determined and determined, the characters corresponding to a plurality of component state parameters can be combined into a character sequence according to the character determination time, the electronic device identifies the character sequence to determine the device control mode or device control operation corresponding to the character sequence, and then the electronic device performs device control. For example, the character sequence is: 1234, the device control mode corresponding to "1234" may be device unlocking, and the electronic device may perform device unlocking; for example, the character sequence is: 12aa and the equipment control mode corresponding to the '12 aa' can be that an indicator lamp is turned on, and the electronic equipment can be turned on by indication; for example, the character sequence is: 00ab, 00ab may be a device control mode corresponding to starting an application, and the electronic device may start an application.
The method can be understood that the method can correspond to a plurality of equipment quick control modes based on the electronic equipment with the extensible component in a character sequence mode, and can realize quick starting of a plurality of equipment functions; meanwhile, due to the fact that the character sequences correspond to one group in the actual application scene generally in the character sequence mode, misoperation or error recognition can be avoided, control accuracy can be greatly improved, and practicability and intelligence of the electronic equipment with the extensible components are improved.
In this embodiment of the present application, when an expandable component is in a component adjustment state, an electronic device may acquire at least one component state parameter of the expandable component, and then determine a character sequence corresponding to each component state parameter, so as to perform device control based on the character sequence. By combining the state change of the expandable component, the character sequence is generated based on the component state parameter in the adjustment of the expandable component, and the convenient equipment control can be realized by identifying the character sequence, so that the convenience of the equipment control is improved, and the operation flow of the equipment control is simplified.
Referring to fig. 3, fig. 3 is a schematic flowchart of another embodiment of an apparatus control method according to the present application. Specifically, the method comprises the following steps:
step S201: when the expandable component is in a component adjustment state, acquiring at least one candidate state parameter corresponding to the expandable component, and determining the reference time when the expandable component is in the component state corresponding to the candidate state parameter;
the candidate state parameters are corresponding component form parameters when the expandable component is in a certain specific component adjustment state; in an embodiment of the present application, the filtering may be performed in conjunction with a time when the expandable component (e.g., the foldable display screen) is in the state corresponding to the candidate state parameter.
As can be understood, in order to accurately determine the component state parameters corresponding to the adjustment state of each component, the false recognition is avoided; for example, when a user operates an extensible component of an electronic device to perform a component adjustment state, the extensible component actually corresponds to a component state at each time and parameters such as a component angle value, a component extension distance value, a component extension direction value, and the like of the component state at this time, but the parameters at each time are not included in a reference for generating a character sequence, so as to avoid misidentification, screening may be performed in combination with a time when the extensible component is in a certain component adjustment state, and a candidate state parameter meeting expectations is determined to be included in the reference, so as to determine a component state parameter for the extensible component.
Referring to fig. 4, the electronic device of the present embodiment may be the electronic device 100 shown in the figure, the electronic device 100 has a retractable display, and the electronic device 100 may include a housing assembly 10, a flexible display 30, a driving member (not shown) and a driving mechanism (not shown). The housing assembly 10 may be a hollow structure; components such as the driver, drive mechanism, etc. may be provided in the housing assembly 10. It is understood that the electronic device 100 according to the embodiment of the present disclosure includes, but is not limited to, a mobile terminal such as a mobile phone, a tablet, or other portable electronic devices, and the electronic device 100 is taken as an example of a mobile phone in this document.
In the present embodiment, the housing assembly 10 includes a first housing 12 and a second housing 14, and the first housing 12 and the second housing 14 are relatively movable. Specifically, in the present embodiment, the first housing 12 and the second housing 14 are slidably connected, that is, the second housing 14 is slidable with respect to the first housing 12.
Illustratively, the driving element (not shown in the figure) may be disposed on the second housing 14, one end of the flexible display 30 is disposed on the first housing 12, the flexible display 30 bypasses the driving element 50, and the other end of the flexible display is disposed in the accommodating space, so that a part of the flexible display is hidden in the accommodating space, and a part of the flexible display 30 hidden in the accommodating space may not be lighted. The first housing 12 and the second housing 14 are relatively far away from each other, and the flexible display screen 30 can be driven to be unfolded by the driving member (i.e. the retractable display screen of the electronic device is unfolded), so that more flexible display screens 30 are exposed out of the accommodating space. The flexible display screen 30 exposed outside the accommodating space is lighted, so that the display area presented by the electronic device 100 is enlarged. When the first housing 12 and the second housing 14 are relatively close to each other, the flexible display screen can be retracted by the driving member 50, so as to achieve the visual effect that the electronic device controls the retractable display screen to retract.
Illustratively, the user may directly input at least one component adjustment operation by hand or the like to cause the first housing and the second housing to move relative to each other. It can be understood that, during the relative movement of the first housing and the second housing, it can be understood that the retractable display screen included in the electronic device is in the component adjustment state at this time, and during the component adjustment process, the candidate state parameter corresponding to the display screen changes. It is understood that the component adjustment is performed on the retractable display screen by each component adjustment operation, and the retractable display screen can be brought into different component candidate states at different times of the component adjustment operation input.
Illustratively, the configuration shown in fig. 4 (ii) is a schematic diagram of a component adjustment process, in which, for example, a user may manually adjust the retractable display screen to the component state a through a component adjustment operation at time t0, the user may manually adjust the retractable display screen from the component state a to the component state B through the component adjustment operation at time t1, the user may manually adjust the retractable display screen from the component state B to the component state d at time t2, and so on. In the whole form adjustment process, the electronic device may acquire the candidate state parameter 1 at the time t0, the candidate state parameter 2 at the time t1, and the candidate state parameter 3 at the time t2, that is, the electronic device may acquire the candidate state parameter of the expandable component at each component adjustment.
Illustratively, the extensible component may further calculate a reference time for the retractable display to be in the state of the component corresponding to the candidate state parameter, for example, the retractable display is in: time 1 of component state a for candidate state parameter 1, for example, the retractable display screen is at: time 2 of component state B for candidate state parameter 2, e.g., the retractable display screen is at: time 3 of component state d. corresponding to candidate state parameter 3.
Step S202: based on the reference time, the candidate state parameter is taken as a component state parameter for the expandable component.
It is understood that, instead of including the candidate state parameters (such as the component angle value, the component extension distance value, the component extension direction value, and the like) in each component state into the reference for generating the character sequence, to avoid misidentification, a time threshold may be set for screening in combination with the time that the extensible component is in a certain component adjustment state, and the candidate state parameters meeting expectations are determined to be included into the reference to determine the component state parameters for the extensible component.
Illustratively, determining the reference time of the expandable component in the component state corresponding to each candidate state parameter, then comparing the reference time corresponding to each candidate state parameter with a time threshold, and if the reference time corresponding to the current candidate state parameter is greater than or equal to the time threshold, taking the candidate state parameter as the component state parameter for the expandable component; otherwise, the candidate state parameters with the reference time value being larger than the time threshold value are ignored.
Optionally, a time reference range may be set for the reference time, whether the reference time falls within the time reference range is determined, and candidate state parameters with the reference time falling within the time reference range are sequentially used as the component state parameters for the extensible component, otherwise, the candidate state parameters with the reference time falling outside the time reference range are ignored.
It is understood that, after acquiring at least one component state parameter of the extensible component, the electronic device may then determine a character sequence corresponding to each component state parameter based on at least one state reference parameter and a reference character corresponding to the state reference parameter.
Step S203: and determining that the component state parameter is matched with a target state reference parameter in the at least one state reference parameter, and acquiring a first character corresponding to the target state reference parameter.
In one or more embodiments of the present specification, a character mapping relationship between a plurality of state reference parameters and reference characters corresponding thereto may be pre-established, and it may be understood that one state reference parameter may correspond to parameters (such as a component angle value, a component extension distance value, a component extension direction value, and other parameters) of a plurality of different parameter types, and the character mapping relationship may be represented in a form of a character mapping set, a character mapping table, a character mapping array, and the like in actual implementation. After determining the component state parameter, the electronic device may extract a first character corresponding to the "component state parameter" based on the character mapping relationship; it can be understood that if the component state parameter is one of the plurality of state reference parameters, the component state parameter is the target state reference parameter; and then acquiring a first character indicated by the target state reference parameter, and taking the first character as a target character corresponding to the component state parameter.
Optionally, if the number of the component state parameters is multiple, at least one target state reference parameter is determined according to the above manner, so as to obtain a first character corresponding to each target state reference parameter.
It can be understood that the first character is also a reference character corresponding to the target state reference parameter. Taking the target state reference parameter as the component extended distance value a as an example, a reference character '123' corresponding to the component extended distance value a is a first character; taking the target state reference parameter as the component expansion direction value of 45 degrees as an example, the reference character "abc" corresponding to the component expansion direction value of 45 degrees is the first character.
Step S204: and taking the first character as a target character corresponding to the component state parameter.
Step S205: determining a character sequence based on the target characters corresponding to the state parameters of each component
In one or more embodiments of the present description, the character sequence is a sequence formed by several characters. It is understood that a character sequence is formed on the basis of several target characters.
In a possible implementation manner, each part form parameter corresponds to one target character, the target character may be formed by one or more characters, all the target characters corresponding to a plurality of part form parameters are combined, and the combined character set is also a character sequence.
Optionally, the character determination time corresponding to each target character may be obtained, and the target characters are subjected to character sorting according to the character determination time, so that a character sequence may be generated.
Optionally, a sorting rule may be set according to the character determination time, and a character sequence may be generated after a character combination is performed according to the sorting rule in combination with the character determination time.
In a possible embodiment, the target character comprises a sequence constituent character, which is to be understood as a character sequence consisting of sequence constituent characters, and target characters not belonging to a sequence constituent character are not included in a character sequence reference.
Specifically, at least one sequence composition character in the target characters corresponding to each component state parameter may be acquired, and then a character sequence corresponding to the at least one sequence composition character may be determined.
Optionally, a character selection rule may be set, where the character selection rule may include a character indication bit, and a sequence composition character on the character indication bit is taken as a character included in the character sequence. For example, the character indicating position may be odd, even, fixed; the electronic equipment can determine a character set formed by all target characters, and then selects sequences from the character set according to the character indication bits in the character selection rule to form characters to form a character sequence. By adopting the method, the safety of character sequence generation can be improved.
In one possible embodiment, the target character includes a sequence composition character, a sequence trigger character, and/or a sequence end character;
the electronic device may generate a sequence of characters based on at least one of a sequence trigger character and a sequence end character in combination with a sequence composition character.
Alternatively, the electronic device may generate a sequence of characters based on the sequence trigger character and the sequence composition character. Can be as follows: after the electronic equipment identifies the sequence trigger character, all characters behind the sequence trigger character in a character set consisting of target characters are used as sequence composition characters, and all the sequence composition characters form a character sequence; the characters with fixed number of characters after the sequence trigger characters in the character set composed of the target characters can be used as sequence composition characters, and all the sequence composition characters form a character sequence;
alternatively, the electronic device may generate a sequence of characters based on the end-of-sequence character and the sequence composition character. Can be as follows: after the electronic equipment identifies the sequence ending characters, all characters before the sequence ending characters in a character set consisting of target characters are used as sequence forming characters, and all sequences form characters to form a character sequence; the characters with fixed character quantity before the sequence ending characters in the character set consisting of the target characters can be used as sequence composition characters, and all the sequence composition characters form a character sequence;
alternatively, the electronic device may generate a sequence of characters based on the sequence trigger character, the sequence end character, and the sequence composition character. Can be as follows: the electronic equipment determines a character set consisting of target characters, then determines a first position corresponding to a sequence trigger character and a second position corresponding to a sequence end character in the character set, namely determines the first position corresponding to the sequence trigger character and the second position corresponding to the sequence end character from the target characters corresponding to the state parameters of each component; then, based on the character between the first position and the second position as a sequence composition character, a character sequence composed of each of the sequence composition characters is generated.
Wherein the sequence trigger character and the sequence end character may be at least one fixed character determined in advance. In practical application, the sequence trigger character and the sequence end character can be understood as that a user inputs a character start signal or a character end signal for controlling a corresponding character sequence of the device to the electronic equipment by adjusting the expandable component to a fixed state, and the electronic equipment can accurately determine the character sequence which is expected to be generated by the user after identifying the sequence trigger character and/or the sequence end character in the target character by continuously identifying the target character, so that the accuracy of device control is improved.
Illustratively, the character set corresponding to all the target characters is "08949131 abcv 9". The sequence trigger character may be preset to be the character "0", the sequence end character may be the character "v", and the corresponding generated character sequence may be "8949131 abc".
Step S206: and determining a target control function corresponding to the character sequence, and controlling target equipment to execute the target control function.
The target control function may be preset, and may be to open a certain target application, such as opening a camera application, opening an instant messaging application, opening an information application, and the like; may be to perform a device function, such as performing a screen unlock, performing a flashlight on, performing a phone call, etc.; it may be that a certain device service is performed, such as a location update service, a device navigation service, etc.
In a possible implementation manner, the target device may be an electronic device local side, that is, the target device is controlled by the electronic device to execute the target control function; illustratively, the device context object is set as the local terminal of the electronic device by setting the device context object, operation context information corresponding to the target control function is generated, the electronic device identifies the operation context information, and executes the corresponding target control function, such as the electronic device executes unlocking of the local terminal of the device.
In a possible implementation, the target device may not be the local terminal of the electronic device, but may be another intelligent device, such as an intelligent device (e.g., a mobile phone, a computer, a tablet, a wireless headset, a wireless speaker, an intelligent television, an intelligent curtain, an intelligent door lock, etc.) capable of establishing a communication connection with the electronic device, that is, the electronic device controls the intelligent device to perform the target control function. Illustratively, the device context object is set as the smart device, operation context information (which can be identified by the smart device) corresponding to the target control function is generated, the electronic device sends the operation context information to the smart device, and the smart device executes the corresponding target control function based on the operation context information. Wherein the operating context information may understand machine executable logic code that instructs the smart device to perform the target control function.
The smart devices include full functions, can realize complete or partial functions independent of electronic devices (such as smart phones), such as smart watches, smart glasses, smart speakers, smart toothbrushes, smart televisions, smart air conditioners, notebook computers, and the like, and only focus on a certain application function, and need to be used in cooperation with other devices such as smart phones, for example, various smart devices such as smart bracelets, smart jewelry, smart bags, and the like, which perform physical sign monitoring.
Optionally, the electronic device may establish a communication connection with the smart device, set the smart device as a device control object, and then control the smart device to execute the target control function.
The communication connection may be a wireless communication connection including, but not limited to, a cellular communication connection, a wireless local area network connection, an infrared network communication connection, a near field communication connection, or a bluetooth communication connection, or a wired communication connection including, but not limited to, an ethernet, a Universal Serial Bus (USB), or a controller area network connection.
Illustratively, the smart device may be a smart television, the electronic device may communicate with the smart television, a user operates the electronic device to be in a component adjustment state to generate a character sequence, a target control function corresponding to the character sequence may be to switch a television channel and increase/decrease a volume, after identifying that an object corresponding to the target control function is the smart television, the electronic device uses the smart television device as a device control object, generates an operation instruction (i.e., operation context information) of the target control function such as to switch the television channel and increase/decrease the volume, and sends the operation instruction to the smart television, and the smart television may respond to the operation instruction to perform the target control function such as to switch the television channel and increase/decrease the volume.
Illustratively, the intelligent device may be an intelligent air conditioner, the electronic device may communicate with the intelligent air conditioner, a user may operate the electronic device to be in a component adjustment state to generate a character sequence, a target control function corresponding to the character sequence may be switching an air conditioning mode and increasing/decreasing a temperature, after identifying that an object corresponding to the target control function is the intelligent air conditioner, the electronic device may use the intelligent air conditioner as a device control object, generate an operation instruction (i.e., operation context information) of the target control function such as switching the air conditioning mode and increasing/decreasing the temperature, and send the operation instruction to the intelligent air conditioner, and the intelligent air conditioner may respond to the operation instruction to perform the target control function such as switching the air conditioning mode and increasing/decreasing the temperature.
In this embodiment of the present application, when an expandable component is in a component adjustment state, an electronic device may acquire at least one component state parameter of the expandable component, and then determine a character sequence corresponding to each component state parameter, so as to perform device control based on the character sequence. By combining the state change of the expandable component, a character sequence is generated based on the component state parameters in the adjustment of the expandable component, and convenient equipment control can be realized by identifying the character sequence, so that the convenience of equipment control is improved, and the operation flow of equipment control is simplified; the component state parameters can be determined by combining the reference time, so that parameter error identification can be reduced, and the accuracy of parameter identification is improved; and the intelligent equipment except the electronic equipment can be controlled, the equipment control scene is expanded, and the convenient equipment control of other intelligent equipment can be realized.
Referring to fig. 5, fig. 5 is a schematic flowchart illustrating an apparatus control method according to another embodiment of the present disclosure. Specifically, the method comprises the following steps:
step S301: when an expandable component is in a component adjustment state, acquiring at least one component state parameter of the expandable component;
specifically, reference may be made to the steps in other embodiments of the present description, which are not repeated herein.
Step S302: and acquiring at least one state reference range and reference characters corresponding to the state reference range, and judging whether the component state parameters fall into the at least one state reference range.
In a specific implementation scenario, the state reference parameter may be a state reference range.
The character mapping relationship between a plurality of state reference ranges and the reference characters corresponding to the state reference ranges can be pre-established, it can be understood that one state reference range can correspond to a plurality of parameters (such as parameters of a component angle value, a component extension distance value, a component extension direction value, and the like) of different parameter types, and the character mapping relationship can be represented in the form of a character mapping set, a character mapping table, a character mapping array, and the like in actual implementation. After determining the component state parameters, the electronic equipment judges whether the component state parameters fall into at least one state reference range, and can draw a first character corresponding to a target state range when the 'component state parameters' fall into the target state range based on the character mapping relation; it can be understood that if the component state parameter satisfies one of the plurality of state reference ranges, that is, the component state parameter falls into one of the plurality of state reference ranges, the component state parameter is the target state reference parameter; and then acquiring a first character indicated by the target state reference parameter, and taking the first character as a target character corresponding to the component state parameter.
Optionally, if the number of the component state parameters is multiple, at least one target state reference parameter is determined according to the above manner, so as to obtain a first character corresponding to each target state reference parameter.
In one particular implementation scenario, the component state parameter may be a component angle value.
Schematically, as shown in fig. 6, fig. 6 is a schematic view of an electronic device provided in the present specification, and in fig. 6, the electronic device 10 has an expandable component. The electronic device 10 comprises a first housing 11, a second housing 12, an inner display 14, an outer display 13 and a measurement module. The first housing 11 and the second housing 12 are rotatably connected to enable the foldable electronic device 10 to assume a folded state or an unfolded state. It is understood that the first housing 11 and the second housing 12 can be regarded as expandable components of the electronic device 10, in some embodiments, the electronic device 10 can also be referred to as a foldable electronic device 10, the first housing 11 includes a first inner side 111 and a first outer side 112 that are oppositely disposed, the second housing 12 includes a second inner side 121 and a second outer side 122 that are oppositely disposed, when the foldable electronic device 10 is in a folded state, the first inner side 111 and the second inner side 121 are oppositely disposed, and the foldable electronic device 10 further includes a first intermediate state and a second intermediate state between the folded state and the unfolded state. The inner display screen 14 is located on the first inner side surface 111 and the second inner side surface 121, the outer display screen 13 is located on the first outer side surface 11 of the first shell 11, and the measuring module is used for detecting the relative state of the first shell 11 and the second shell 12. The first housing 11 and the second housing 12 can rotate relatively within a certain angle (e.g., 0 ° to 180 °). When the foldable electronic device 10 is in a folded state, an included angle θ between the first housing 11 and the second housing 12 is 0 °; when the foldable electronic device 10 is in the unfolded state, the included angle θ between the first housing 11 and the second housing 12 is 180 °. When the first housing 11 and the second housing 12 are rotated back to back, the angle θ between the first housing 11 and the second housing 12 increases.
Illustratively, when the expandable components, that is, "the first housing 11 and the second housing 12, are relatively rotated", at this time, the expandable components (the first housing 11 and the second housing 12) of the electronic device are in a component adjustment state, and at least one component angle value θ between "the first housing 11 and the second housing 12", that is, a component state parameter, that is, a component angle value θ, is obtained by the measurement module. In the component adjustment process, if the user can manually adjust the foldable display screen to the component state a through the component adjustment operation at time t0, the user can directly act on the first casing 11 and the second casing 12 through the manual operation, schematically: manually adjusting the foldable display screen (the first housing 11 and the second housing 12) from the component angle value θ 1 to the component angle value θ 2 by a component adjustment operation at time t1, the user may manually adjust the foldable display screen from the component angle value θ 2 to the component angle value θ 3 by a component adjustment operation at time t2, and so on.
Illustratively, the component status parameter may be a component angle value, and the status reference range may be an angle reference range, and specifically may be: determining whether the component angle value θ falls within at least one angle reference range;
the angle reference range includes but is not limited to fitting of one or more of reference ranges such as a zero angle reference range, an acute angle reference range, a right angle reference range, an obtuse angle reference range, a straight angle reference range, a good angle reference range, a bad angle reference range, a peripheral angle reference range, a negative angle reference range, a positive angle reference range and the like, and can be determined by combining with a specific implementation scenario in practical application.
Acute reference range: an angle with an angle value larger than 0 ° and smaller than 90 ° is usually called an acute angle, and practical applications may combine with specific implementation scenarios, for example, in order to improve operability, an angle factor a (e.g., ± 10 °) is added as an acute angle reference range, for example, the acute angle reference range may be [0 °, 80 ° ];
right angle reference range: an angle having a value equal to 90 ° is generally called a right angle. In practical application, a specific implementation scenario may be combined, for example, in order to improve operability, an angle factor b (e.g., ± 10 °) is added as a right-angle reference range, for example, the right-angle reference range may be (80 °, 100 °);
obtuse angle reference range: angles having a value greater than 90 and less than 180 are generally called obtuse angles. In practical application, a specific implementation scenario can be combined, for example, in order to improve operability, an angle factor c (e.g., ± 10 °) is added as the obtuse angle reference range, for example, the obtuse angle reference range may be (100 °, 170 °);
straight angle reference range: an angle equal to 180 is called a straight angle. The flat angle reference range may be a range value: 180 degrees; an angle factor d (such as +/-10 ℃) can be added to the base to serve as a straight angle reference range, (170 degrees, 180 degrees);
reflex angle reference range: usually the value of the angle is greater than 180 and less than 360. In practical application, a specific implementation scenario may be combined, for example, in order to improve operability, an angle factor e (e.g., ± 10 °) is added as a reflex reference range, for example, an obtuse reference range may be (180 °, 350 °);
inferior angle reference range: the angle values of more than 0 DEG and less than 180 DEG are usually called inferior angles, and acute angles, right angles and obtuse angles are inferior angles.
Peripheral angle reference range: an angle having a value equal to 360 ° is generally called a circumferential angle.
Negative angle reference range: in general, the angle at which the angle value is rotated in the clockwise direction is called a negative angle.
Positive angle reference range: typically the angle by which the angular value is rotated counterclockwise is a positive angle.
Zero angle reference range: typically the angle value is equal to an angle of zero degrees. Taking the expandable component as the foldable display screen as an example, the zero angle generally corresponds to the foldable display screen being in a closed state or a folded state.
Step S303: determining that the component state parameter matches a target state reference range of the at least one state reference range if the state parameter falls within the target state reference range.
Illustratively, in a specific implementation scenario, the following angle reference range and reference value correspondence may be set.
Zero angle reference range: the angle value is 0 degrees; reference character "0" corresponding to the zero angle reference range;
acute reference range: the range may be [10 °, 80 ° ]; the reference character "1" for the acute reference range;
right angle reference range: the range may be (80 °, 100 °); reference character "2" corresponding to the right angle reference range;
obtuse angle reference range: the range may be [100 °, 170 ° ]; reference character "3" corresponding to the obtuse reference range;
straight angle reference range: the angle value is 180 degrees; reference character "4" corresponding to the straight angle reference range;
step S304: acquiring a first character corresponding to the target state reference range, and outputting character prompt information corresponding to the first character;
illustratively, the first character is also a reference character corresponding to the target state reference parameter. Taking the target state reference parameter as the component extended distance value a as an example, a reference character '123' corresponding to the component extended distance value a is a first character; taking the target state reference parameter as the component expansion direction value of 45 degrees as an example, the reference character "abc" corresponding to the component expansion direction value of 45 degrees is the first character.
The character prompt information is used for prompting the characters matched according to the current component state of the expandable component to the current user; illustratively, the user is reminded in the form of character prompt information to remind the user whether the first character is the character that the user expects to match currently. Further, the user may determine or adjust the first character based on the character prompt information output for the first character.
The character prompt information includes but is not limited to one or more of a vibration prompt mode, a voice prompt mode, a text prompt mode, a prompt lamp prompt mode, a display screen display and other prompt modes, and can be determined based on the actual application scene.
Step S305: responding to a character confirmation signal aiming at the character prompt message, and taking the first character as a target character corresponding to the component state parameter;
the character confirmation signal is used for confirming that the first character is a correct character, namely the first character is a character expected to be matched by a user.
Optionally, the operation mode of inputting the character confirmation signal may be a character confirmation voice for the first character, which is input by the user in a voice input mode; the method may be a character confirmation operation input by a user on the electronic device, such as a character confirmation signal generated by the user by touching a corresponding operation control on a display screen; it may be a user inputting a specific gesture operation, a character confirmation signal generated by the electronic device by recognizing the gesture operation, and so on.
Step S306: and responding to a character correction signal aiming at the character prompt information, acquiring a next correction state parameter aiming at the component state parameter, determining a second character corresponding to the correction state parameter, and taking the second character as a target character corresponding to the component state parameter.
The character correction signal can be understood as a character correction signal generated when the currently recognized first character is wrong, and can be understood as a character prompt message for reminding a user, and the user actually expects that the matched character is not the first character, and at the moment, the user can input the component adjustment operation again to indicate the electronic equipment to re-determine a new character, namely a second character.
Optionally, the operation mode of inputting the character correction signal may be a character correction voice for the first character, which is input by the user in a voice input mode; the character correction operation input by the user on the electronic device may be, for example, a character correction signal generated by the user by touching the corresponding operation control on the display screen; it may be a user inputting a specific gesture operation, a character correction signal generated by the electronic device by recognizing the gesture operation, and so on. Illustratively, the character correction signal is used to indicate that the electronic device has a wrong first character, and the user may then re-adjust the component shape of the expandable component, for example, adjust the component angle value (i.e., the next correction status parameter) of the expandable component, and the electronic device may re-identify the component angle value to determine the second character.
The next correction state parameter may be understood as: after the part corresponding to the first character adjusts the parameter, the user readjusts the part form of the expandable part, and at this time, the part state parameter corresponding to the expandable part is the next corrected state parameter, which can be understood as the part adjustment parameter after the part adjustment parameter corresponding to the first character. And the character corresponding to the next correction state parameter is also the second character.
The mode of determining the second character corresponding to the next correction state parameter can refer to the mode of determining the first character. Namely, the corrected state parameter is determined to be matched with a target state reference parameter in the at least one state reference parameter, a second character corresponding to the target state reference parameter at the moment is obtained, and the second character is used as a target character corresponding to the component state parameter.
Step S307: determining a character sequence based on the target characters corresponding to the state parameters of each component
Specifically, reference may be made to the steps in other embodiments of the present description, which are not repeated herein.
Step S308: and controlling the equipment based on the character sequence.
Specifically, reference may be made to the steps in other embodiments of the present description, which are not repeated herein.
In this embodiment of the present application, when an expandable component is in a component adjustment state, an electronic device may acquire at least one component state parameter of the expandable component, and then determine a character sequence corresponding to each component state parameter, so as to perform device control based on the character sequence. By combining the state change of the expandable component, a character sequence is generated based on the component state parameter in the adjustment of the expandable component, and convenient equipment control can be realized by identifying the character sequence, so that the convenience of equipment control is improved, and the operation flow of equipment control is simplified; the component state parameters can be determined by combining the reference time, so that parameter error identification can be reduced, and the accuracy of parameter identification is improved; and the intelligent equipment except the electronic equipment can be controlled, the equipment control scene is expanded, and the convenient equipment control of other intelligent equipment can be realized.
The following are embodiments of the apparatus of the present application that may be used to perform embodiments of the method of the present application. For details which are not disclosed in the embodiments of the apparatus of the present application, reference is made to the embodiments of the method of the present application.
Please refer to fig. 7, which illustrates a schematic structural diagram of an apparatus control device according to an exemplary embodiment of the present application. The device control apparatus may be implemented as all or part of an apparatus by software, hardware, or a combination of both. The apparatus 1 comprises a parameter acquisition module 11 and a device control module 12.
A parameter obtaining module 11, configured to obtain at least one component state parameter of an extensible component when the extensible component is in a component adjustment state;
and the device control module 12 is configured to determine a character sequence corresponding to each component state parameter, and perform device control based on the character sequence.
Optionally, as shown in fig. 11, the apparatus 1 further includes:
an operation response module 13, configured to determine that the expandable component is in a component adjustment state in response to at least one component adjustment operation for the expandable component.
Optionally, the parameter obtaining module 11 is specifically configured to:
and determining a character sequence corresponding to each component state parameter based on each component state parameter, at least one state reference parameter and a reference character corresponding to the state reference parameter.
Optionally, as shown in fig. 8, the device control module 12 includes:
a character determining unit 121, configured to determine that the component state parameter matches a target state reference parameter in the at least one state reference parameter, obtain a first character corresponding to the target state reference parameter, and use the first character as a target character corresponding to the component state parameter;
a sequence determining unit 122, configured to determine a character sequence based on the target character corresponding to each component state parameter.
Optionally, the state reference parameter is a state reference range, as shown in fig. 9, the character determining unit 121 includes:
a determining subunit 1211, configured to obtain at least one state reference range and a reference character corresponding to the state reference range, and determine whether the component state parameter falls within the at least one state reference range.
A matching subunit 1212, configured to determine that the component status parameter matches the target status reference range if the status parameter falls within the target status reference range of the at least one status reference range.
Optionally, the component state parameter is a component angle value, and the matching subunit 1112 is specifically configured to:
determining whether the component angle value falls within at least one angle reference range;
wherein the angle reference range comprises at least one of a zero angle reference range, an acute angle reference range, a right angle reference range, an obtuse angle reference range, a straight angle reference range, a good angle reference range, a bad angle reference range, a peripheral angle reference range, a negative angle reference range and a positive angle reference range.
Optionally, the target characters include sequence composition characters, and the sequence determining unit 122 is specifically configured to:
and acquiring at least one sequence composition character in the target characters corresponding to the component state parameters, and determining a character sequence corresponding to the at least one sequence composition character.
Optionally, the target characters include a sequence trigger character and a sequence end character; the sequence determining unit 122 is specifically configured to:
determining a first position corresponding to the sequence trigger character and a second position corresponding to the sequence end character from target characters corresponding to the component state parameters;
generating a sequence of characters based on each of the sequence composition characters between the first location and the second location.
Optionally, the apparatus 1 is further configured to:
and outputting character prompt information corresponding to the first character.
Optionally, the apparatus 1 is specifically configured to:
responding to a character confirmation signal aiming at the character prompt message, and taking the first character as a target character corresponding to the component state parameter; or the like, or, alternatively,
and responding to a character correction signal aiming at the character prompt information, acquiring a next correction state parameter aiming at the component state parameter, determining a second character corresponding to the correction state parameter, and taking the second character as a target character corresponding to the component state parameter.
Optionally, the apparatus 1 is further configured to:
and outputting parameter prompt information corresponding to the at least one component state parameter.
Optionally, as shown in fig. 10, the parameter obtaining module 11 includes:
a time determining unit 111, configured to obtain at least one candidate state parameter corresponding to the extensible component, and determine a reference time when the extensible component is in a component state corresponding to the candidate state parameter;
a parameter determining unit 112, configured to take the candidate state parameter as a component state parameter for the extensible component based on the reference time.
Optionally, the device control module 12 is specifically configured to:
and determining a target control function corresponding to the character sequence, and controlling target equipment to execute the target control function.
Optionally, the device control module 12 is specifically configured to:
controlling the electronic device to execute the target control function; and/or the presence of a gas in the atmosphere,
and controlling intelligent equipment to execute the target control function, wherein the intelligent equipment is equipment connected with the electronic equipment.
Optionally, the apparatus 1 is specifically configured to:
and establishing communication connection with the intelligent equipment, and setting the intelligent equipment as an equipment control object.
It should be noted that, when the device control apparatus provided in the foregoing embodiment executes the device control method, only the division of each functional module is illustrated by way of example, and in practical applications, the function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules, so as to complete all or part of the functions described above. In addition, the device control apparatus and the device control method provided in the above embodiments belong to the same concept, and details of implementation processes thereof are referred to in the method embodiments and are not described herein again.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
An embodiment of the present application further provides a computer storage medium, where the computer storage medium may store multiple instructions, where the instructions are suitable for being loaded by a processor and executed by the device control method according to the embodiment shown in fig. 1 to fig. 6, and specific execution processes may refer to specific descriptions of the embodiment shown in fig. 1 to fig. 6, which are not described herein again.
The present application further provides a computer program product, where at least one instruction is stored, and the at least one instruction is loaded by the processor and executes the device control method according to the embodiment shown in fig. 1 to 6, where a specific execution process may refer to specific descriptions of the embodiment shown in fig. 1 to 6, and is not described herein again.
Referring to fig. 12, a block diagram of an electronic device according to an exemplary embodiment of the present application is shown. The electronic device in the present application may comprise one or more of the following components: a processor 110, a memory 120, an input device 130, an output device 140, and a bus 150. The processor 110, memory 120, input device 130, and output device 140 may be connected by a bus 150.
Processor 110 may include one or more processing cores. The processor 110 connects various parts within the overall electronic device using various interfaces and lines, and performs various functions of the electronic device 100 and processes data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 120 and calling data stored in the memory 120. Alternatively, the processor 110 may be implemented in hardware using at least one of Digital Signal Processing (DSP), field-programmable gate Array (FPGA), and Programmable Logic Array (PLA). The processor 110 may integrate one or more of a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a modem, and the like. Wherein, the CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing display content; the modem is used to handle wireless communications. It is understood that the modem may not be integrated into the processor 110, but may be implemented by a communication chip.
The Memory 120 may include a Random Access Memory (RAM) or a read-only Memory (ROM). Optionally, the memory 120 includes a non-transitory computer-readable medium. The memory 120 may be used to store instructions, programs, code sets, or instruction sets. The memory 120 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing various method embodiments described below, and the like, and the operating system may be an Android (Android) system, including a system based on Android system depth development, an IOS system developed by apple, including a system based on IOS system depth development, or other systems. The data storage area may also store data created by the electronic device during use, such as phone books, audio and video data, chat log data, and the like.
Referring to fig. 13, the memory 120 may be divided into an operating system space, in which an operating system runs, and a user space, in which native and third-party applications run. In order to ensure that different third-party application programs can achieve a better operation effect, the operating system allocates corresponding system resources for the different third-party application programs. However, the requirements of different application scenarios in the same third-party application program on system resources are different, for example, in a local resource loading scenario, the third-party application program has a higher requirement on the disk reading speed; in the animation rendering scene, the third-party application program has a high requirement on the performance of the GPU. The operating system and the third-party application program are independent from each other, and the operating system cannot sense the current application scene of the third-party application program in time, so that the operating system cannot perform targeted system resource adaptation according to the specific application scene of the third-party application program.
In order to enable the operating system to distinguish a specific application scenario of the third-party application program, data communication between the third-party application program and the operating system needs to be opened, so that the operating system can acquire current scenario information of the third-party application program at any time, and further perform targeted system resource adaptation based on the current scenario.
Taking an operating system as an Android system as an example, programs and data stored in the memory 120 are as shown in fig. 14, and a Linux kernel layer 320, a system runtime library layer 340, an application framework layer 360, and an application layer 380 may be stored in the memory 120, where the Linux kernel layer 320, the system runtime library layer 340, and the application framework layer 360 belong to an operating system space, and the application layer 380 belongs to a user space. The Linux kernel layer 320 provides underlying drivers for various hardware of the electronic device, such as a display driver, an audio driver, a camera driver, a bluetooth driver, a Wi-Fi driver, power management, and the like. The system runtime library layer 340 provides a main feature support for the Android system through some C/C + + libraries. For example, the SQLite library provides support for a database, the OpenGL/ES library provides support for 3D drawing, the Webkit library provides support for a browser kernel, and the like. Also provided in the system runtime library layer 340 is an Android runtime library (Android runtime), which mainly provides some core libraries that can allow developers to write Android applications using the Java language. The application framework layer 360 provides various APIs that may be used in building an application, and developers may build their own applications by using these APIs, such as activity management, window management, view management, notification management, content provider, package management, session management, resource management, and location management. At least one application program runs in the application layer 380, and the application programs may be native application programs carried by the operating system, such as a contact program, a short message program, a clock program, a camera application, and the like; or may be a third-party application developed by a third-party developer, such as a game application, an instant messaging program, a photo beautification program, a device control program, and the like.
Taking an operating system as an IOS system as an example, programs and data stored in the memory 120 are shown in fig. 15, and the IOS system includes: a Core operating system Layer 420(Core OS Layer), a Core Services Layer 440(Core Services Layer), a Media Layer 460(Media Layer), and a touchable Layer 480(Cocoa Touch Layer). The kernel operating system layer 420 includes an operating system kernel, drivers, and underlying program frameworks that provide functionality closer to hardware for use by program frameworks located in the core services layer 440. The core services layer 440 provides system services and/or program frameworks, such as a Foundation framework, an account framework, an advertisement framework, a data storage framework, a network connection framework, a geographic location framework, a motion framework, and so forth, as required by the application. The media layer 460 provides audiovisual related interfaces for applications, such as graphics image related interfaces, audio technology related interfaces, video technology related interfaces, audio video transmission technology wireless playback (AirPlay) interfaces, and the like. Touchable layer 480 provides various common interface-related frameworks for application development, and touchable layer 480 is responsible for user touch interaction operations on the electronic device. Such as a local notification service, a remote push service, an advertising framework, a game tool framework, a messaging User Interface (UI) framework, a User Interface UIKit framework, a map framework, and so forth.
In the framework shown in FIG. 15, the framework associated with most applications includes, but is not limited to: a base framework in the core services layer 440 and a UIKit framework in the touchable layer 480. The base framework provides many basic object classes and data types, provides the most basic system services for all applications, and is UI independent. While the class provided by the UIKit framework is a basic library of UI classes for creating touch-based user interfaces, iOS applications can provide UIs based on the UIKit framework, so it provides an infrastructure for applications for building user interfaces, drawing, processing and user interaction events, responding to gestures, and the like.
The Android system can be referred to as a mode and a principle for realizing data communication between the third-party application program and the operating system in the IOS system, and details are not repeated herein.
The input device 130 is used for receiving input instructions or data, and the input device 130 includes, but is not limited to, a keyboard, a mouse, a camera, a microphone, or a touch device. The output device 140 is used for outputting instructions or data, and the output device 140 includes, but is not limited to, a display device, a speaker, and the like. In one example, the input device 130 and the output device 140 may be combined, and the input device 130 and the output device 140 are touch display screens for receiving touch operations of a user on or near the touch display screens by using any suitable object such as a finger, a touch pen, and the like, and displaying user interfaces of various applications. Touch displays are typically provided on the front panel of an electronic device. The touch display screen may be designed as a full-face screen, a curved screen, or a profiled screen. The touch display screen can also be designed to be a combination of a full-face screen and a curved-face screen, and a combination of a special-shaped screen and a curved-face screen, which is not limited in the embodiment of the present application.
In addition, those skilled in the art will appreciate that the configurations of the electronic devices illustrated in the above-described figures do not constitute limitations on the electronic devices, which may include more or fewer components than illustrated, or some components may be combined, or a different arrangement of components. For example, the electronic device further includes a radio frequency circuit, an input unit, a sensor, an audio circuit, a wireless fidelity (WiFi) module, a power supply, a bluetooth module, and other components, which are not described herein again.
In the embodiment of the present application, the main body of execution of each step may be the electronic device described above. Optionally, the execution subject of each step is an operating system of the electronic device. The operating system may be an android system, an IOS system, or another operating system, which is not limited in this embodiment of the present application.
The electronic device of the embodiment of the application can also be provided with a display device, and the display device can be various devices capable of realizing a display function, for example: a cathode ray tube display (CR), a light-emitting diode display (LED), an electronic ink panel, a Liquid Crystal Display (LCD), a Plasma Display Panel (PDP), and the like. A user may utilize a display device on the electronic device 101 to view information such as displayed text, images, video, and the like. The electronic device may be a smartphone, a tablet computer, a gaming device, an AR (Augmented Reality) device, an automobile, a data storage device, an audio playback device, a video playback device, a notebook, a desktop computing device, a wearable device such as an electronic watch, an electronic glasses, an electronic helmet, an electronic bracelet, an electronic necklace, an electronic garment, or the like.
In the electronic device shown in fig. 12, where the electronic device may be a device with an extensible component, the processor 110 may be configured to call a device control application stored in the memory 120 and specifically perform the following operations:
acquiring at least one component state parameter of the expandable component when the expandable component is in a component adjustment state;
and determining a character sequence corresponding to each component state parameter, and controlling equipment based on the character sequence.
In one embodiment, the processor 110 further performs the following operations before performing the acquiring of the at least one component state parameter of the expandable component while the expandable component is in the component adjustment state:
in response to at least one component adjustment operation for the expandable component, determining that the expandable component is in a component adjustment state.
In an embodiment, when the processor 110 determines the character sequence corresponding to each component state parameter, the following steps are specifically performed:
and determining a character sequence corresponding to each component state parameter based on each component state parameter, at least one state reference parameter and a reference character corresponding to the state reference parameter.
In an embodiment, when the processor 110 determines the character sequence corresponding to each component state parameter based on each component state parameter, at least one state reference parameter, and the reference character corresponding to the state reference parameter, the following steps are specifically performed:
determining that the component state parameter is matched with a target state reference parameter in the at least one state reference parameter, acquiring a first character corresponding to the target state reference parameter, and taking the first character as a target character corresponding to the component state parameter;
and determining a character sequence based on the target characters corresponding to the component state parameters.
In one embodiment, the processor 110 executes the state reference parameter as a state reference range,
when it is determined that the component state parameter matches a target state reference parameter of the at least one state reference parameter, specifically performing the following steps:
and acquiring at least one state reference range and reference characters corresponding to the state reference range, and judging whether the component state parameters fall into the at least one state reference range.
Determining that the component state parameter matches a target state reference range of the at least one state reference range if the state parameter falls within the target state reference range.
In one embodiment, the processor 110 performs the component state parameter as a component angle value,
when judging whether the component state parameter falls into the at least one state reference range, specifically executing the following steps: determining whether the component angle value falls within at least one angle reference range;
wherein the angle reference range comprises at least one of a zero angle reference range, an acute angle reference range, a right angle reference range, an obtuse angle reference range, a straight angle reference range, a good angle reference range, a bad angle reference range, a peripheral angle reference range, a negative angle reference range and a positive angle reference range.
In one embodiment, the processor 110 executing the target character includes a sequence composition character;
when determining a character sequence based on the target characters corresponding to the component state parameters, specifically executing the following steps:
and acquiring at least one sequence composition character in the target characters corresponding to the component state parameters, and determining a character sequence corresponding to the at least one sequence composition character.
In an embodiment, the target characters include a sequence trigger character and a sequence end character, and when the processor 110 executes the steps of obtaining at least one sequence constituent character in the target characters corresponding to the component state parameters and determining a character sequence corresponding to the at least one sequence constituent character, the following steps are specifically executed:
determining a first position corresponding to the sequence trigger character and a second position corresponding to the sequence end character from target characters corresponding to the component state parameters;
generating a sequence of characters based on each of the sequence composition characters between the first location and the second location.
In one embodiment, after the obtaining the first character corresponding to the target state reference parameter, the processor 110 further performs the following steps:
and outputting character prompt information corresponding to the first character.
In an embodiment, when the processor 110 executes the first character as the target character corresponding to the component state parameter, the following steps are specifically executed:
responding to a character confirmation signal aiming at the character prompt information, and taking the first character as a target character corresponding to the component state parameter; or the like, or, alternatively,
and responding to a character correction signal aiming at the character prompt information, acquiring a next correction state parameter aiming at the component state parameter, determining a second character corresponding to the correction state parameter, and taking the second character as a target character corresponding to the component state parameter.
In one embodiment, the processor 110 further performs the following steps after performing the step of obtaining at least one component status parameter of the extensible component:
and outputting parameter prompt information corresponding to the at least one component state parameter.
In an embodiment, when the processor 110 performs the acquiring of the at least one component state parameter of the extensible component, the following steps are specifically performed:
acquiring at least one candidate state parameter corresponding to the expandable component, and determining the reference time of the expandable component in the state of the component corresponding to the candidate state parameter;
based on the reference time, the candidate state parameter is taken as a component state parameter for the expandable component.
In an embodiment, when executing the device control based on the character sequence, the processor 110 specifically executes the following steps:
and determining a target control function corresponding to the character sequence, and controlling target equipment to execute the target control function.
In an embodiment, when executing the target control function on the target device, the processor 110 specifically executes the following steps:
controlling the electronic device to execute the target control function; and/or the presence of a gas in the gas,
and controlling intelligent equipment to execute the target control function, wherein the intelligent equipment is connected with the electronic equipment.
In one embodiment, the processor 110, when executing the device control method, further performs the following steps:
and establishing communication connection with the intelligent equipment, and setting the intelligent equipment as an equipment control object.
It is clear to a person skilled in the art that the solution of the present application can be implemented by means of software and/or hardware. The "unit" and "module" in this specification refer to software and/or hardware that can perform a specific function independently or in cooperation with other components, where the hardware may be, for example, a Field-ProgrammaBLE Gate Array (FPGA), an Integrated Circuit (IC), or the like.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one type of logical functional division, and other divisions may be realized in practice, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some service interfaces, devices or units, and may be an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one position, or may be distributed on multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment. In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable memory. Based on such understanding, the technical solution of the present application may be substantially implemented or a part of or all or part of the technical solution contributing to the prior art may be embodied in the form of a software product stored in a memory, and including several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method described in the embodiments of the present application. And the aforementioned memory comprises: various media capable of storing program codes, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk. Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by a program, which is stored in a computer-readable memory, and the memory may include: flash disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The above description is only an exemplary embodiment of the present disclosure, and the scope of the present disclosure should not be limited thereby. That is, all equivalent changes and modifications made in accordance with the teachings of the present disclosure are intended to be included within the scope of the present disclosure. Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.

Claims (13)

1. A device control method applied to an electronic device having an extensible part, the method comprising:
acquiring at least one component state parameter of the expandable component when the expandable component is in a component adjustment state;
and determining a character sequence corresponding to each component state parameter, and performing equipment control based on the character sequence.
2. The method of claim 1, wherein before obtaining at least one component state parameter of the extensible component while the extensible component is in the component adjustment state, further comprising:
in response to at least one component adjustment operation for the expandable component, determining that the expandable component is in a component adjustment state.
3. The method of claim 1, wherein the determining the character sequence corresponding to each component status parameter comprises:
and determining a character sequence corresponding to each component state parameter based on each component state parameter, at least one state reference parameter and a reference character corresponding to the state reference parameter.
4. The method of claim 3, wherein determining the character sequence corresponding to each component status parameter based on each component status parameter, at least one status reference parameter, and the reference character corresponding to the status reference parameter comprises:
determining that the component state parameter is matched with a target state reference parameter in the at least one state reference parameter, acquiring a first character corresponding to the target state reference parameter, and taking the first character as a target character corresponding to the component state parameter;
and determining a character sequence based on the target characters corresponding to the component state parameters.
5. The method of claim 4, wherein the state reference parameter is a state reference range,
the determining that the component state parameter matches a target state reference parameter of the at least one state reference parameter comprises:
acquiring at least one state reference range and reference characters corresponding to the state reference range, and judging whether the component state parameters fall into the at least one state reference range;
determining that the component state parameter matches a target state reference range of the at least one state reference range if the state parameter falls within the target state reference range.
6. The method of claim 5, wherein the component status parameter is a component angle value,
the determining whether the component state parameter falls within the at least one state reference range comprises:
determining whether the component angle value falls within at least one angle reference range;
wherein the angle reference range comprises at least one of a zero angle reference range, an acute angle reference range, a right angle reference range, an obtuse angle reference range, a straight angle reference range, a good angle reference range, a bad angle reference range, a peripheral angle reference range, a negative angle reference range and a positive angle reference range.
7. The method of claim 4, wherein the target character comprises a sequence composition character;
determining a character sequence based on the target characters corresponding to the component state parameters, wherein the character sequence comprises the following steps:
and acquiring at least one sequence composition character in the target characters corresponding to the component state parameters, and determining a character sequence corresponding to the at least one sequence composition character.
8. The method of claim 7, wherein the target characters comprise a sequence trigger character and a sequence end character;
the obtaining at least one sequence composition character in the target characters corresponding to the component state parameters and determining the character sequence corresponding to the at least one sequence composition character includes:
determining a first position corresponding to the sequence trigger character and a second position corresponding to the sequence end character from target characters corresponding to the component state parameters;
generating a sequence of characters based on each of the sequence composition characters between the first location and the second location.
9. The method of claim 1, wherein after obtaining at least one component status parameter of the extensible component, further comprising:
and outputting parameter prompt information corresponding to the at least one component state parameter.
10. The method of claim 1, wherein the performing device control based on the character sequence comprises:
and determining a target control function corresponding to the character sequence, and controlling target equipment to execute the target control function.
11. An apparatus control device, characterized in that the device comprises:
the parameter acquisition module is used for acquiring at least one component state parameter of the expandable component when the expandable component is in a component adjustment state;
and the equipment control module is used for determining a character sequence corresponding to each component state parameter and controlling equipment based on the character sequence.
12. A computer storage medium, characterized in that it stores a plurality of instructions adapted to be loaded by a processor and to perform the method steps according to any of claims 1 to 10.
13. An electronic device, comprising: a processor and a memory; wherein the memory stores a computer program adapted to be loaded by the processor and to perform the method steps of any of claims 1 to 10.
CN202210276228.8A 2022-03-21 2022-03-21 Device control method, device, storage medium and electronic device Pending CN114564080A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210276228.8A CN114564080A (en) 2022-03-21 2022-03-21 Device control method, device, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210276228.8A CN114564080A (en) 2022-03-21 2022-03-21 Device control method, device, storage medium and electronic device

Publications (1)

Publication Number Publication Date
CN114564080A true CN114564080A (en) 2022-05-31

Family

ID=81720066

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210276228.8A Pending CN114564080A (en) 2022-03-21 2022-03-21 Device control method, device, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN114564080A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109871147A (en) * 2019-02-22 2019-06-11 华为技术有限公司 A kind of response method and electronic equipment of touch screen
CN109886686A (en) * 2019-02-28 2019-06-14 努比亚技术有限公司 A kind of safe payment method, equipment and computer readable storage medium
CN113163055A (en) * 2021-04-22 2021-07-23 Oppo广东移动通信有限公司 Vibration adjusting method and device, storage medium and electronic equipment
WO2022022177A1 (en) * 2020-07-28 2022-02-03 华为技术有限公司 Display method and electronic device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109871147A (en) * 2019-02-22 2019-06-11 华为技术有限公司 A kind of response method and electronic equipment of touch screen
CN109886686A (en) * 2019-02-28 2019-06-14 努比亚技术有限公司 A kind of safe payment method, equipment and computer readable storage medium
WO2022022177A1 (en) * 2020-07-28 2022-02-03 华为技术有限公司 Display method and electronic device
CN113163055A (en) * 2021-04-22 2021-07-23 Oppo广东移动通信有限公司 Vibration adjusting method and device, storage medium and electronic equipment

Similar Documents

Publication Publication Date Title
US11886252B2 (en) Foldable device and method of controlling the same
EP3345077B1 (en) Foldable electronic device including hidden display and information display method thereof
EP3335097B1 (en) Method for measuring angles between displays and electronic device using the same
US10853979B2 (en) Electronic device and method for displaying screen thereof
US10108612B2 (en) Mobile device having human language translation capability with positional feedback
US20180356971A1 (en) Method of controlling a list scroll bar and an electronic device using the same
US10209513B2 (en) Wearable device and control method thereof
EP3920523A1 (en) Photographing method and terminal device
EP2385684B1 (en) Mobile terminal with elongated body and projector
KR20190108551A (en) User terminal device and method for displaying thereof
EP2927787B1 (en) Method and device for displaying picture
US10908712B2 (en) Method for recognizing rotation of rotating body and electronic device for processing the same
EP3206110A1 (en) Method of providing handwriting style correction function and electronic device adapted thereto
EP3641285B1 (en) Method and device for starting application program
CN108391058B (en) Image capturing method, image capturing apparatus, electronic apparatus, and storage medium
US10409404B2 (en) Method of processing touch events and electronic device adapted thereto
KR102328102B1 (en) Electronic apparatus and screen display method thereof
US20150063785A1 (en) Method of overlappingly displaying visual object on video, storage medium, and electronic device
US7715804B2 (en) Keypad display method and apparatus of portable device
CN110221736B (en) Icon processing method and device, mobile terminal and storage medium
CN113452834B (en) Display method and device, storage medium and electronic equipment
CN108833791B (en) Shooting method and device
CN109995804B (en) Target resource information display method, information providing method and device
CN107918517B (en) Screen rotation response method and device, mobile terminal and storage medium
CN108650413B (en) Projection method, projection device, mobile terminal and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination