CN108924286A - The control method and device of electronic device and its slide assemblies - Google Patents

The control method and device of electronic device and its slide assemblies Download PDF

Info

Publication number
CN108924286A
CN108924286A CN201810590009.0A CN201810590009A CN108924286A CN 108924286 A CN108924286 A CN 108924286A CN 201810590009 A CN201810590009 A CN 201810590009A CN 108924286 A CN108924286 A CN 108924286A
Authority
CN
China
Prior art keywords
slide assemblies
scene information
electronic device
control strategy
sliding
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810590009.0A
Other languages
Chinese (zh)
Other versions
CN108924286B (en
Inventor
张洲川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN201810590009.0A priority Critical patent/CN108924286B/en
Publication of CN108924286A publication Critical patent/CN108924286A/en
Application granted granted Critical
Publication of CN108924286B publication Critical patent/CN108924286B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/026Details of the structure or mounting of specific components
    • H04M1/0264Details of the structure or mounting of specific components for a camera module assembly
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/026Details of the structure or mounting of specific components
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/026Details of the structure or mounting of specific components
    • H04M1/0266Details of the structure or mounting of specific components for a display module assembly
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/026Details of the structure or mounting of specific components
    • H04M1/0266Details of the structure or mounting of specific components for a display module assembly
    • H04M1/0268Details of the structure or mounting of specific components for a display module assembly including a flexible display panel
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • User Interface Of Digital Computer (AREA)
  • Studio Devices (AREA)

Abstract

The present invention discloses the control method and device of a kind of electronic device and its slide assemblies, wherein method includes:Scene information where detection electronic installation;Judge the corresponding sliding control strategy of scene information;Institute's driving assembly is controlled according to sliding control strategy.Influence of the associated component to screen accounting is reduced by slide assemblies as a result, and the control of the driving assembly to control slide assemblies can be realized in the automatic identification based on scene information, provides the control method of personalized slide assemblies.And when being controlled based on scene information, slide assemblies can be controlled based on different scene informations and started at different rates, the individual demand of user is met by the Precise control to driving assembly.

Description

The control method and device of electronic device and its slide assemblies
Technical field
The present invention relates to electronic technology field more particularly to a kind of control method by sliding of slide assemblies, device and electronics Device.
Background technique
It is universal with portable electronic devices such as smart phones, the aesthetics of electronic device and functional optimization also at For main trend, for example, the raising of the screen accounting of electronic device is exactly one of fashion trend.
In the related technology, the equipment such as Front camera are installed to provide preposition camera shooting for user in the front panel of electronic device Service, thus, the occupancy of the installation space on the front panel of Front camera and the contradiction of the raising of screen accounting are urgently to be resolved.
Summary of the invention
The present invention is directed to solve at least some of the technical problems in related technologies.
For this purpose, first aspect present invention embodiment proposes a kind of control method of slide assemblies in electronic device, the electricity Sub-device includes ontology and driving assembly, and the slide assemblies are used in the first position for being contained in the ontology and from described It is slided between the second position that body exposes, the driving component is used to drive the slide assemblies, the method includes:Detection institute State the scene information where electronic device;Judge the corresponding sliding control strategy of the scene information;It is controlled according to the sliding Strategy controls institute's driving assembly.
In order to achieve the above object, second aspect of the present invention embodiment proposes a kind of control dress of slide assemblies in electronic device It sets, the electronic device includes ontology, slide assemblies and driving assembly, and the slide assemblies are for being contained in the ontology First position and slided between the second position that the ontology exposes, the driving component for driving the slide assemblies, Described device includes:Detection module, for detecting the scene information where the electronic device;Judgment module, for judging State the corresponding sliding control strategy of scene information;Control module, for according to the sliding control strategy to institute's driving assembly into Row control.
In order to achieve the above object, third aspect present invention embodiment proposes a kind of electronic device, the electronic device includes Ontology, slide assemblies and driving assembly, the slide assemblies are used in the first position for being contained in the ontology and from described It is slided between the second position that body exposes, for driving the slide assemblies, the electronic device further includes the driving component: The processor and store the calculating that can be run on a memory and on a processor that memory and the slide assemblies are electrically connected Machine program realizes the control of slide assemblies in electronic device as in the foregoing embodiment when the processor executes described program Method processed.
In order to achieve the above object, the 4th aspect embodiment of the present invention proposes a kind of computer readable storage medium, thereon It is stored with computer program, when which is executed by processor, is realized sliding in the electronic device as described in preceding method embodiment The control method of dynamic component.
Technical solution provided by the invention includes at least following beneficial effect:
Scene information where detection electronic installation judges the corresponding sliding control strategy of scene information, is controlled according to sliding System strategy controls institute's driving assembly.Influence of the associated component to screen accounting, and base are reduced by slide assemblies as a result, The control of the driving assembly to control slide assemblies can be realized in the automatic identification of scene information, provide personalized sliding The control method of component.And when being controlled based on scene information, slide assemblies can be controlled based on different scene informations Start at different rates, the individual demand of user is met by the Precise control to driving assembly.
The additional aspect of the present invention and advantage will be set forth in part in the description, and will partially become from the following description Obviously, or practice through the invention is recognized.
Detailed description of the invention
Above-mentioned and/or additional aspect and advantage of the invention will become from the following description of the accompanying drawings of embodiments Obviously and it is readily appreciated that, wherein:
Fig. 1 is status diagram of the electronic device of embodiment of the present invention at the second position;
Fig. 2 is status diagram of the electronic device of embodiment of the present invention at first position;
Fig. 3 is status diagram of the electronic device of embodiment of the present invention in the third place;
Fig. 4 is the structural schematic diagram of the detection components of embodiment of the present invention;
Fig. 5 is the usage scenario figure of the electronic device of embodiment of the present invention;
Fig. 6 is another usage scenario figure of the electronic device of embodiment of the present invention;
Fig. 7 is the structural schematic diagram of the electronic device of embodiment of the present invention;
Fig. 8 is the flow chart of the control method of slide assemblies in electronic device according to an embodiment of the invention;
Fig. 9 is the flow chart of the control method of slide assemblies in electronic device in accordance with another embodiment of the present invention;
Figure 10 is the structural schematic diagram of the control device of slide assemblies in electronic device according to an embodiment of the invention;
Figure 11 is the structural representation of the control device of slide assemblies in electronic device in accordance with another embodiment of the present invention Figure;
Figure 12 is the structural representation of the control device of slide assemblies in the electronic device of another embodiment according to the present invention Figure.
Main element symbol description:
Electronic device 100, ontology 10, shell 12, display component 14, cover board 142, sliding slot 16, groove 162, slide assemblies 20, load-bearing part 22, threaded hole 24, rotary screw rod 26, detection components 30, field generating element 32, Hall element 34, Front camera 42, earpiece 44, driving assembly 50, driving motor 52, processor 60 and memory 70, first position A, second position B, third position Set C.
Specific embodiment
Embodiments of the present invention are described below in detail, the example of the embodiment is shown in the accompanying drawings, wherein from beginning Same or similar element or element with the same or similar functions are indicated to same or similar label eventually.Below by ginseng The embodiment for examining attached drawing description is exemplary, and for explaining only the invention, and is not considered as limiting the invention.
In the description of the present invention, it is to be understood that, term " center ", " longitudinal direction ", " transverse direction ", " length ", " width ", " thickness ", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outside", " up time The orientation or positional relationship of the instructions such as needle ", " counterclockwise " is to be based on the orientation or positional relationship shown in the drawings, and is merely for convenience of The description present invention and simplified description, rather than the device or element of indication or suggestion meaning must have a particular orientation, with spy Fixed orientation construction and operation, therefore be not considered as limiting the invention.In addition, term " first ", " second " are only used for Purpose is described, relative importance is not understood to indicate or imply or implicitly indicates the quantity of indicated technical characteristic. " first " is defined as a result, the feature of " second " can explicitly or implicitly include one or more feature.? In description of the invention, the meaning of " plurality " is two or more, unless otherwise specifically defined.
In the description of the present invention, it should be noted that unless otherwise clearly defined and limited, term " installation ", " phase Even ", " connection " shall be understood in a broad sense, for example, it may be being fixedly connected, may be a detachable connection, or be integrally connected;It can To be mechanical connection, it is also possible to be electrically connected or can mutually communicate;It can be directly connected, it can also be by between intermediary It connects connected, can be the connection inside two elements or the interaction relationship of two elements.For the ordinary skill of this field For personnel, the specific meanings of the above terms in the present invention can be understood according to specific conditions.
In the present invention unless specifically defined or limited otherwise, fisrt feature second feature "upper" or "lower" It may include that the first and second features directly contact, also may include that the first and second features are not direct contacts but pass through it Between other characterisation contact.Moreover, fisrt feature includes the first spy above the second feature " above ", " above " and " above " Sign is right above second feature and oblique upper, or is merely representative of first feature horizontal height higher than second feature.Fisrt feature exists Second feature " under ", " lower section " and " following " include that fisrt feature is directly below and diagonally below the second feature, or is merely representative of First feature horizontal height is less than second feature.
Following disclosure provides many different embodiments or example is used to realize different structure of the invention.In order to Simplify disclosure of the invention, hereinafter the component of specific examples and setting are described.Certainly, they are merely examples, and And it is not intended to limit the present invention.In addition, the present invention can in different examples repeat reference numerals and/or reference letter, This repetition is for purposes of simplicity and clarity, itself not indicate between discussed various embodiments and/or setting Relationship.In addition, the present invention provides various specific techniques and material example, but those of ordinary skill in the art can be with Recognize the application of other techniques and/or the use of other materials.
Below with reference to the accompanying drawings the electronic device of the embodiment of the present invention and its control method of slide assemblies and device are described.For More clearly in the electronic device of the description embodiment of the present invention slide assemblies control method, first below to of the invention Electronic device carries out the description in structure.
Specifically, in order to reduce hardware device that Front camera etc. is mounted in electronic device front panel to screen accounting Influence Front camera etc. is controlled when needed by the sliding of slide assemblies the invention proposes a kind of slide assemblies It skids off, is contained in electronics when unwanted, as a result, in the function services without components such as Front cameras When, so that it is not take up electronic device front panel.
Specifically, as Figure 1-Figure 4, the electronic device 100 of the embodiment of the present invention includes ontology 10, slide assemblies 20 With driving assembly 50.Slide assemblies 20 are used in the first position A for being contained in ontology 10 and the second position B exposed from ontology 10 Between slide.Driving assembly 50 is used to drive slide assemblies 20 in the first position for being contained in ontology and expose from ontology second It is slided between position.
Certainly, in order to enable driving assembly 50 knows that driving slide assemblies 20 slide into corresponding position, in the electronic device It also necessarily include the detection components 30 of detection 20 current location of slide assemblies, in an embodiment of the present invention, detection components 30 are used In the position of detection slide assemblies 20, detection components 30 include field generating element 32, Hall element 34 and processor 60, magnetic field Generating element 32 and Hall element 34 are separately fixed on ontology 10 and slide assemblies 20, and processor 60 is for receiving Hall element The detected signal value of 34 outputs, and for determining slide assemblies 20 relative to the current opposite of ontology 10 according to detected signal value Position.
It is worth noting that, " field generating element 32 and Hall element 34 are separately fixed at ontology 10 and Slide Group herein On part 20 " it include two kinds of situations, first is that field generating element 32 is fixed on ontology 10, Hall element 34 is fixed on slide assemblies On 20, second is that field generating element 32 is fixed on slide assemblies 20, Hall element 34 is fixed on ontology 10.In addition, magnetic field Generating element 32 and Hall element 34 can be staggered relatively in the vertical direction, can also be staggered relatively in the horizontal direction.? I other words as long as field generating element 32 and Hall element 34 can produce relative motion, not to field generating element 32 and suddenly You are limited the specific location of element 34.
In some embodiments, ontology 10 is formed with sliding slot 16, and slide assemblies 20 are contained in sliding slot in first position A In 16.In this way, slide assemblies 20 can be made to slide between first position A and second position B by sliding slot 16.
Specifically, ontology 10 includes shell 12 and display component 14, and shell 12 and display component 14 combine composition Enclosed construction.Sliding slot 16 is provided with shell 12, to realize sliding back to and skidding off for slide assemblies 20.It is appreciated that sliding slot 16 Any one side of shell 12 can be provided with.Preferably, sliding slot 16 is provided with the top margin of shell 12.Use can so be met The use habit at family.
Display component 14 includes touch panel (not shown) and cover board 142.Touch panel includes display module (not shown) With the touch control layer (not shown) being arranged in display module.Display module be, for example, liquid crystal display die set (LCD Module, LCM), certainly, display module may be display module flexible.Touch control layer is used to receive the touch-control input of user, to generate The signal that signal and control slide assemblies 20 for controlling the content that display module is shown slide.
The material of cover board 142 can be made of translucent materials such as glass, ceramics or sapphires.Since cover board 142 is due to making For the input part of electronic device 100, cover board 142 is often subject to the contact such as collide or scratch.For example, user is by electronic device 100 when being put into pocket, and cover board 142 may be scratched by the key in user's pocket and be damaged.Therefore, the material of cover board 142 can be with Using the biggish material of hardness, such as above sapphire material.Or hardened layer is formed to improve lid on the surface of cover board 142 The anti-scratch ability of plate 142.
Touch panel and cover board 142 are for example adhesively fixed by optical cement (Optically Clear Adhesive, OCA) Together, optical cement is not only adhesively fixed touch panel and cover board 142, the light that can also be issued through touch panel.
In order to more clearly illustrate the embodiment of the present invention slide assemblies 20 function, referring to Fig. 5, when in certain implementations In mode, electronic device 100 includes Front camera 42, and slide assemblies 20 include load-bearing part 22, and the setting of Front camera 42 is carrying On part 22.In this way, Front camera 42 can be slided with slide assemblies 20.Of course, it is possible to which user is opened 42 He of Front camera It closes Front camera 42 and is used as trigger signal, in other words, when user opens Front camera 42, triggering slide assemblies 20 are sliding Out, when user closes Front camera 42, triggering slide assemblies 20 are slid back to.Such user only need to according to existing habit opening or Front camera is closed, without carrying out other operation for slide assemblies 20, can be convenient the use of user.
Other function elements 40 can also be carried in addition to Front camera 42, on load-bearing part 22, function element 40 is such as For light sensor, proximity sensor and earpiece 44 etc., as shown in Figure 1.These function elements 40 can be according to the input of user Expose to work normally from ontology 10 with skidding off for slide assemblies 20, it can also be according to the input of user with Slide Group Part 20 slides back to and is housed in ontology 10.In this way, through-hole can be arranged on display component 14 as little as possible, be conducive to meet The design requirement that electronic device 100 shields comprehensively.
Specifically, when carrying light sensor on load-bearing part 22, light sensor can be arranged in load-bearing part 22 Top, in other words, when slide assemblies 20 are contained in completely in sliding slot 16, light sensor still can be from load-bearing part 22 Top expose, to incude light in real time.
Referring to Fig. 6, when carrying proximity sensor and earpiece 44 on load-bearing part 22, user can be received calls and It hangs up the telephone as trigger signal, in other words, when user receives calls, triggering slide assemblies 20 are skidded off, when user is hung up When phone, triggering slide assemblies 20 are slid back to.Such user only need to answer or hang up the telephone according to existing habit, without being directed to Slide assemblies 20 carry out other operation, can be convenient the use of user.
It is appreciated that multiple function elements 40 can be carried on the same load-bearing part 22, multiple hold can also be carried on In holder.When multiple function elements 40 are carried on the same load-bearing part 22, multiple function elements 40 can be located with longitudinal arrangement Reason device 60 can by control the distance controlling that skid off of slide assemblies 20 be arranged in 22 lower part of load-bearing part function element 40 whether Expose.When multiple function elements 40 are carried on on multiple load-bearing parts 22, processor 60 can be by controlling some load-bearing part 22 sliding is to select the function element 40 for needing to expose.
Referring to Fig. 7, in some embodiments, slide assemblies 20 include the threaded hole 24 that 22 middle part of load-bearing part is arranged in With the rotary screw rod 26 cooperated with threaded hole 24.Sliding slot 16 includes being oppositely arranged with threaded hole 24 and being located at the recessed of 16 bottom of sliding slot Slot 162.Electronic device 100 includes the driving assembly 50 that groove 162 is arranged in.Driving assembly 50 includes connecting with processor 60 Driving motor 52 and the output shaft (not shown) being connect with the bottom of rotary screw rod 26.
It is appreciated that processor 60 can control the sliding of slide assemblies 20 by control driving motor 52.Work as user When order slide assemblies 20 are slided from first position A to second position B, processor 60 controls driving motor 52 and rotates forward, to make Output shaft drives rotary screw rod 26 to rotate in threaded hole 24 so that slide assemblies 20 are from first position A to second Set B sliding.When user command slide assemblies 20 are slided from second position B to first position A, processor 60 controls driving motor 52 reversions, so that output shaft drives rotary screw rod 26 to rotate in threaded hole 24, so that slide assemblies 20 from second Position B is slided to first position A.It is worth noting that, " from first position A to second position B " herein and " from the second position B refers to the direction of sliding to first position A ", the beginning and end without referring to sliding.
The electronic device 100 of embodiment of the present invention determines slide assemblies using Hall element 34 and field generating element 32 20 current relative position can detect cunning when the function elements such as Front camera 40 are carried on slide assemblies 20 in real time The state of dynamic component 20, so that it is determined that the position of function element 40.
It is appreciated that the function elements 40 such as Front camera 42 need to expose from ontology 10, otherwise can not work normally.This hair The electronic device 100 of bright embodiment is by the bearing function device 40 on slide assemblies, so that function element 40 is not needing It is housed in when work in ontology 10, exposes with slide assemblies 20 from ontology 10 when needing work.In this way, without in display group The through-hole to expose the function elements 40 such as Front camera 42 is opened up on part 14, to increase screen accounting, and then improves user's Experience.
As analyzing above, the driving assembly of the embodiment of the present invention can drive when detecting that the application such as camera enables Dynamic slide assemblies skid off electronics operation, and when detecting that the application such as camera is closed, driving slide assemblies are contained in electronics Device noumenon, this method of operation open camera application program etc., the embodiment of the present invention dependent on user's manual operation screen In, in order to realize the automation to driving assembly control, providing one kind be can be realized without user's manual operation screen to drive The mode of dynamic component control.The control method of slide assemblies in the electronic device is specifically described below:
Fig. 8 is the flow chart of the control method of slide assemblies in electronic device according to an embodiment of the invention, such as Fig. 8 Shown, this approach includes the following steps:
Step 101, the scene information where detection electronic installation.
Wherein, scene information includes light information, location information and acoustic information etc., it should be appreciated that the present invention is real The scene information for applying example can be detected by GPS positioning system, light sensor, the sound transducer etc. in electronic device.
It should be understood that under some possible application scenarios, the bat of scene information and user where electronic device According to etc. demands it is closely bound up, for example, user usually has the demand for souvenir of taking pictures, for another example, detecting under the scenes such as scenic spot To under the scene of dimming, does not know for being typically due to take pictures and there is the demand for packing up camera for another example to detect To surrounding it is more noisy in the case where, since shooting is difficult, user usually has the demand for packing up camera.Thus, in this reality It applies in example, by the scene information where detection electronic installation, in order to further determine whether that there is demand of taking pictures.
Step 102, judge the corresponding sliding control strategy of scene information.
Step 103, institute's driving assembly is controlled according to sliding control strategy.
It is appreciated that corresponding sliding control strategy is established previously according to scene information, thus, according to the scene detected After information matches go out corresponding sliding strategy, directly driving assembly is controlled according to sliding strategy, wherein sliding strategy packet Include but be not limited to the driving direction of driving assembly, driving speed etc..User opens corresponding phase without manual operation screen as a result, Machine application etc., can be realized the control to corresponding driving assembly, to drive slide assemblies will be with by the control to driving assembly The camera of connection electronics are skidded off with corresponding speed, alternatively, being contained in electronics.
It is emphasized that in order to avoid erroneous judgement, for example, when detecting that i.e. judgement has demand of taking pictures when being located at scenic spot, To driving slide assemblies to skid off to drive camera to skid off, still, when user is at scenic spot, but the ground more dark at scenic spot Fang Shi, user do not take pictures usually demand, and thus, the scene information in the present embodiment includes the combination of several scenes information, For example, both having further included location information etc. including acoustic information, light information.
In one embodiment of the invention, in order to realize the Precise control to slide assemblies, can also be believed based on scene Breath control slide assemblies operate at different rates, to meet different scene demands.
Specifically, Fig. 9 is the control method of slide assemblies in electronic device in accordance with another embodiment of the present invention Flow chart, as shown in figure 9, step 102 includes the following steps:
Step 201, judge whether scene information is preset first scene information set or the second scene information set.
It should be understood that the first scene information set of setting or the second scene information set, are changeable in order to adapt to Ambient conditions, the first scene information set by the inclusion of multiple first scenes or the second scene letter including multiple second scenes Breath set, has adapted to a variety of different environment, it is easier to recognize demand of taking pictures of user etc..
Step 202, if it is determined that the first scene information set, it is determined that sliding control strategy is that quick sliding controls plan Slightly.
Step 203, if it is determined that the second scene information set, it is determined that sliding control strategy is that common sliding controls plan Slightly.
Specifically, in order to realize the Precise control to slide assemblies, the first scene information set and second are preset Scene information set, wherein the corresponding sliding control strategy of the first scene for including in the first scene information set is fast ski-running Dynamic control strategy, that is to say, that the first scene of scene information in the first scene information, which corresponds to, quickly skids off camera progress Shooting demand (for example, the position of Current electronic device be famous sight spot position and noise it is relatively small, then user this When with the demand quickly captured), alternatively, quickly receiving camera in electronics demand (for example, Current electronic fill It sets and detects that light is dimmed suddenly and detects blocking for barrier, then taken the photograph at this time in order to protect camera to have quickly to accommodate As head is in the demand of electronics), the corresponding sliding control strategy of the second scene for including in the second scene information set Commonly to slide control strategy, can be realized as a result, by the different scene informations detected to slide assemblies friction speed Precise control.
In one embodiment of the invention, when sliding control strategy is quick sliding control strategy, driving group is controlled Part is with predetermined torque driving slide assemblies sliding, it should be appreciated that the predetermined torque should can be provided in driving assembly Biggish torque in range gradually reduces torque until slide assemblies stop at when slide assemblies slide into predeterminated position Target position, wherein predeterminated position is depending on the size of the sliding total kilometres of slide assemblies and predetermined torque, to ensure When slide assemblies slide into predeterminated position, torque is gradually reduced until slide assemblies can stop at target position just, to subtract The small hardware to dependency structure hits loss, which, according to the difference of glide direction, can be first position, can also be with For the second position.
In the present embodiment, for the quick start demand, such as candid photograph demand etc. for meeting user, control driving assembly with compared with Driving slide assemblies skid off at high speed, and in order to reduce the hardware shock loss to dependency structure, are sliding into certain position Locate, gradually reduction of speed, until sliding into target position.
Alternatively, packing up demand to meet the quick of user, for example user wants quickly to put terminal device into pocket, subtracts The demand etc. of small waiting time, control driving assembly drive slide assemblies to be contained in electronic device at a relatively high speed, and in order to Reduce and loss is hit to the hardware of dependency structure, sliding at certain position, gradually reduction of speed, until sliding into target position.
In one embodiment of the invention, when sliding control strategy is common sliding control strategy, driving group is controlled Part driving slide assemblies are slided with predetermined acceleration, until slide assemblies reach pre-set velocity, wherein the pre-set velocity with The driving force of driving assembly is related, can for factory when producer setting etc., when slide assemblies slide into predeterminated position, gradually Reduce torque until slide assemblies stop at target position, wherein predeterminated position according to the sliding total kilometres of slide assemblies and Depending on the size of predetermined torque, to ensure when slide assemblies slide into predeterminated position, torque is gradually reduced until slide assemblies Target position can be stopped at just, and to reduce the hardware shock loss to dependency structure, the target position is according to glide direction Difference, can be first position, or the second position.
In the present embodiment, avoided to meet the camera starting demand of user in order to mitigate the driving pressure of driving assembly Driving force deficiency causes to dally, and control driving assembly is gradually increased speed and skids off, and in order to reduce the hardware to dependency structure Loss is hit, is being slided at certain position, gradually reduction of speed, until sliding into target position.
Alternatively, avoiding driving force to meet the camera of user closing demand to mitigate the driving pressure of driving assembly Deficiency causes to dally, and control driving assembly is gradually increased speed and is contained in electronics, and ties to reduce to correlation The hardware of structure hits loss, is sliding at certain position, gradually reduction of speed, until sliding into target position.
Certainly, it due to the complexity of reality, skids off component and is possible to Caton etc. occur that predetermined position can not be slided into Situation.Thus, in order to protect slide assemblies in time, it is also necessary to the Slide Group in the case where taking measures to breaking down Part is protected.
In the present embodiment, whether detection slide assemblies occur to slide failure, when the sliding failure for detecting slide assemblies When signal, for example, being detected at the third place as shown in Figure 3 by position sensor, slide assemblies can not be moved, and be compared Such as, Hall element detects between first position and the second position, and the detected signal value that multi collect arrives is constant, or variation is slow Slowly, then occur to slide fault-signal, thus, when detecting sliding failure, alarm signal is sent, for example, buzzing prompting is carried out, So that user debugs in time.
To sum up, in the electronic device of the embodiment of the present invention slide assemblies control method, the field where detection electronic installation Scape information judges the corresponding sliding control strategy of scene information, is controlled according to sliding control strategy institute's driving assembly.By This, reduces influence of the associated component to screen accounting by slide assemblies, and the automatic identification based on scene information can be realized Control to the driving assembly of control slide assemblies, provides the control method of personalized slide assemblies.And it is being based on scene When information is controlled, slide assemblies can be controlled based on different scene informations and started at different rates, by driving The Precise control of component meets the individual demand of user.
In order to realize above-described embodiment, the present invention also proposes a kind of control device of slide assemblies in electronic device, electronics Device includes ontology and driving assembly, and slide assemblies are used in the first position for being contained in ontology and the second exposed from ontology It is slided between setting, driving assembly is for driving slide assemblies, and as shown in Figure 10, which includes:Detection module 21, judgment module 22 and control module 23.
Wherein, detection module 21, for the scene information where detection electronic installation.
Judgment module 22, for judging the corresponding sliding control strategy of scene information.
Control module 23, for being controlled according to sliding control strategy institute's driving assembly.
In one embodiment of the invention, as shown in figure 11, judgment module 22 includes judging unit 221 and determination unit 222, wherein judging unit 221, for judging whether scene information is preset first scene information set or the second scene letter Breath set.
Determination unit 222, for when being judged as the first scene information set, determining that sliding control strategy is quick sliding Control strategy.
In one embodiment of the invention, determination unit 222, for determining and sliding when being judged as the second scene information Dynamic control strategy is common sliding control strategy.
In one embodiment of the invention, as shown in figure 12, on the basis of as shown in Figure 10, which further includes hair Send module 24, wherein in the present embodiment, detection module 21 is also used to detect whether slide assemblies occur to slide failure.
Sending module 24, for sending alarm signal when detecting sliding failure.
It should be noted that aforementioned concentrate drives described in the control method embodiment of slide assemblies in an electronic Component and slide assemblies are also applied for the control device of slide assemblies in the electronic device of the embodiment of the present invention, no longer right herein Its implementation detail and technical effect repeat.
In order to realize above-described embodiment, the invention also provides a kind of electronic devices, wherein-Fig. 4 referring to Fig.1, electronics dress It sets including ontology 10, detection components 30 and driving assembly 50, driving assembly 50 is being contained in ontology for controlling slide assemblies First position and from ontology expose the second position between slide, electronic device further includes:Memory 70 and slide assemblies are electrical The processor 60 of connection and it is stored in the computer program that can be run on memory 70 and on a processor, processor 60 executes journey When sequence, the control method of slide assemblies in the electronic device as described in previous embodiment is realized.
In order to realize above-described embodiment, the embodiment of the present invention also proposes a kind of computer readable storage medium, stores thereon There is computer program, slide assemblies in the electronic device as described in preceding method embodiment are realized when which is executed by processor Control method.
In the description of this specification, reference term " embodiment ", " certain embodiments ", " schematically implementation The description of mode ", " example ", " specific example " or " some examples " etc. means embodiment or example is combined to describe specific Feature, structure, material or feature are contained at least one embodiment or example of the invention.In the present specification, right The schematic representation of above-mentioned term is not necessarily referring to identical embodiment or example.Moreover, the specific features of description, knot Structure, material or feature can be combined in any suitable manner in any one or more embodiments or example.
While embodiments of the present invention have been illustrated and described, it will be understood by those skilled in the art that:? These embodiments can be carried out with a variety of variations, modification, replacement in the case where not departing from the principle of the present invention and objective and become Type, the scope of the present invention are defined by the claims and their equivalents.

Claims (10)

1. the control method of slide assemblies in a kind of electronic device, which is characterized in that the electronic device includes ontology and driving Component, the slide assemblies are used in the first position for being contained in the ontology and between the second position that the ontology exposes Sliding, the driving component are used to drive the slide assemblies, the method includes:
Detect the scene information where the electronic device;
Judge the corresponding sliding control strategy of the scene information;
Institute's driving assembly is controlled according to the sliding control strategy.
2. the method as described in claim 1, which is characterized in that described to judge the corresponding sliding control strategy of the scene information It specifically includes:
Judge whether the scene information is preset first scene information set or the second scene information set;
If it is determined that the first scene information set, it is determined that the sliding control strategy is quick sliding control strategy;
If it is determined that the second scene information set, it is determined that the sliding control strategy is common sliding control strategy.
3. method according to claim 2, which is characterized in that when the sliding control strategy is quick sliding control strategy When, it is described according to the sliding control strategy to institute's driving assembly carry out control specifically include:
It controls the driving component and the slide assemblies sliding is driven with predetermined torque;
When the slide assemblies slide into predeterminated position, torque is gradually reduced until the slide assemblies stop at target position It sets.
4. method as claimed in claim 2 or claim 3, which is characterized in that when the sliding control strategy is that common sliding controls plan Slightly when, it is described according to the sliding control strategy to institute's driving assembly carry out control specifically include:
Control the driving component drives the slide assemblies to be slided with predetermined acceleration, until the slide assemblies reach Pre-set velocity;
When the slide assemblies slide into predeterminated position, torque is gradually reduced until the slide assemblies stop at target position It sets.
5. the method as described in claim 1, which is characterized in that it is described according to the sliding control strategy to institute's driving assembly After being controlled, further include:
Detect whether the slide assemblies occur to slide failure;
When detecting the sliding failure, alarm signal is sent.
6. the control device of slide assemblies in a kind of electronic device, which is characterized in that the electronic device includes ontology, Slide Group Part and driving assembly, the slide assemblies are used in the first position for being contained in the ontology and expose from the ontology second It is slided between position, for driving the slide assemblies, described device includes the driving component:
Detection module, for detecting the scene information where the electronic device;
Judgment module, for judging the corresponding sliding control strategy of the scene information;
Control module, for being controlled according to the sliding control strategy institute's driving assembly.
7. device as claimed in claim 6, which is characterized in that the judgment module, including:
Judging unit, for judging whether the scene information is preset first scene information set or the second scene information collection It closes;
Determination unit, for when being judged as the first scene information set, determining that the sliding control strategy is quick sliding control System strategy;
The determination unit is also used to when being judged as the second scene information set, determines that the sliding control strategy is Common sliding control strategy.
8. device as claimed in claim 6, which is characterized in that described device further includes:
The detection module, is also used to detect whether the slide assemblies occur to slide failure;
Sending module, for sending alarm signal when detecting the sliding failure.
9. a kind of electronic device, which is characterized in that the electronic device includes ontology, slide assemblies and driving assembly, the cunning Dynamic component is used to slide in the first position for being contained in the ontology and between the second position that the ontology exposes, the drive For driving the slide assemblies, the electronic device further includes dynamic component:What memory and the slide assemblies were electrically connected Processor and storage on a memory and the computer program that can run on a processor, the processor execution described program When, realize the control method of slide assemblies in electronic device as described in any one in claim 1-5.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program The control method of slide assemblies in electronic device as described in any one in claim 1-5 is realized when being executed by processor.
CN201810590009.0A 2018-06-08 2018-06-08 Electronic device and control method and device of sliding assembly of electronic device Expired - Fee Related CN108924286B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810590009.0A CN108924286B (en) 2018-06-08 2018-06-08 Electronic device and control method and device of sliding assembly of electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810590009.0A CN108924286B (en) 2018-06-08 2018-06-08 Electronic device and control method and device of sliding assembly of electronic device

Publications (2)

Publication Number Publication Date
CN108924286A true CN108924286A (en) 2018-11-30
CN108924286B CN108924286B (en) 2020-12-04

Family

ID=64418677

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810590009.0A Expired - Fee Related CN108924286B (en) 2018-06-08 2018-06-08 Electronic device and control method and device of sliding assembly of electronic device

Country Status (1)

Country Link
CN (1) CN108924286B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109672785A (en) * 2018-12-29 2019-04-23 维沃移动通信(杭州)有限公司 A kind of Pop-up camera Repossession method and mobile terminal
CN110806325A (en) * 2019-10-22 2020-02-18 Oppo(重庆)智能科技有限公司 Electronic equipment detection method and electronic equipment
CN113411421A (en) * 2018-12-29 2021-09-17 Oppo广东移动通信有限公司 Electronic device
CN113411421B (en) * 2018-12-29 2024-08-02 Oppo广东移动通信有限公司 Electronic equipment

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002104008A1 (en) * 2001-06-19 2002-12-27 Matsushita Electric Industrial Co., Ltd. Information terminal device provided with turning function-carrying camera
US20090111515A1 (en) * 2007-10-31 2009-04-30 Joo Won-Seok Mobile terminal
CN101834917A (en) * 2009-03-12 2010-09-15 纬创资通股份有限公司 Electronic device capable of containing peripheral component and method for pushing peripheral component out of electronic device
CN103116387A (en) * 2011-09-18 2013-05-22 仁宝电脑工业股份有限公司 Electronic device and rotating base driving method
CN104883492A (en) * 2015-03-23 2015-09-02 广东欧珀移动通信有限公司 Camera rotation control method and terminal
CN105072326A (en) * 2015-05-19 2015-11-18 广东欧珀移动通信有限公司 Method for controlling rotation of camera and terminal
CN107333004A (en) * 2017-07-25 2017-11-07 维沃移动通信有限公司 A kind of photographic method and mobile terminal
CN107820024A (en) * 2017-12-05 2018-03-20 北京小米移动软件有限公司 Image capturing method, device and storage medium
CN107819907A (en) * 2017-11-14 2018-03-20 维沃移动通信有限公司 A kind of camera control method and mobile terminal
CN108093099A (en) * 2017-11-07 2018-05-29 广东欧珀移动通信有限公司 Mobile terminal falling protection method and system and mobile terminal

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002104008A1 (en) * 2001-06-19 2002-12-27 Matsushita Electric Industrial Co., Ltd. Information terminal device provided with turning function-carrying camera
US20090111515A1 (en) * 2007-10-31 2009-04-30 Joo Won-Seok Mobile terminal
CN101834917A (en) * 2009-03-12 2010-09-15 纬创资通股份有限公司 Electronic device capable of containing peripheral component and method for pushing peripheral component out of electronic device
CN103116387A (en) * 2011-09-18 2013-05-22 仁宝电脑工业股份有限公司 Electronic device and rotating base driving method
CN104883492A (en) * 2015-03-23 2015-09-02 广东欧珀移动通信有限公司 Camera rotation control method and terminal
CN105072326A (en) * 2015-05-19 2015-11-18 广东欧珀移动通信有限公司 Method for controlling rotation of camera and terminal
CN107333004A (en) * 2017-07-25 2017-11-07 维沃移动通信有限公司 A kind of photographic method and mobile terminal
CN108093099A (en) * 2017-11-07 2018-05-29 广东欧珀移动通信有限公司 Mobile terminal falling protection method and system and mobile terminal
CN107819907A (en) * 2017-11-14 2018-03-20 维沃移动通信有限公司 A kind of camera control method and mobile terminal
CN107820024A (en) * 2017-12-05 2018-03-20 北京小米移动软件有限公司 Image capturing method, device and storage medium

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109672785A (en) * 2018-12-29 2019-04-23 维沃移动通信(杭州)有限公司 A kind of Pop-up camera Repossession method and mobile terminal
CN109672785B (en) * 2018-12-29 2020-08-14 维沃移动通信(杭州)有限公司 Pop-up camera retracting method and mobile terminal
CN113411421A (en) * 2018-12-29 2021-09-17 Oppo广东移动通信有限公司 Electronic device
CN113411421B (en) * 2018-12-29 2024-08-02 Oppo广东移动通信有限公司 Electronic equipment
CN110806325A (en) * 2019-10-22 2020-02-18 Oppo(重庆)智能科技有限公司 Electronic equipment detection method and electronic equipment

Also Published As

Publication number Publication date
CN108924286B (en) 2020-12-04

Similar Documents

Publication Publication Date Title
CN109547598B (en) Camera module control method and device
KR102340795B1 (en) Mobile device including stylus pen and operating method for the same
CN105051651B (en) Show equipment and its control method
CN108833623A (en) Control method by sliding, device and the electronic device of slide assemblies
KR20170130582A (en) Hover behavior for gaze interaction in virtual reality
CN103165069B (en) The control method of display control apparatus and display control apparatus
CN108924283A (en) Control method by sliding, device and the electronic device of slide assemblies
CN108833699A (en) The control method and device of electronic device and its slide assemblies
CN104270565A (en) Image shooting method and device and equipment
CN108900663A (en) Control method by sliding, device and the electronic device of slide assemblies
CN108924286A (en) The control method and device of electronic device and its slide assemblies
US20140313218A1 (en) Method and apparatus for controlling transparency in portable terminal having transparent display unit
US11789470B2 (en) Method and apparatus for calibrating sliding of sliding component
WO2020108008A1 (en) Camera module control method and apparatus
CN110312001A (en) Skid off method for detecting position, detection components and the electronic device of structure
CN104317402A (en) Description information display method and device and electronic equipment
CN109479096A (en) Electronic equipment and its control method
CN107220622A (en) Organic light-emitting diode display module and its control method
CN105554255A (en) Operation control method and device for terminal equipment
EP2866124A1 (en) Contactless gesture recognition with sensor having asymmetric field of view
CN108924284A (en) The control method and device of electronic device and its slide assemblies
EP2450775A1 (en) Image orientation control in a handheld device
CN106502522A (en) The method of controlling operation thereof and device of mobile terminal
US20080079689A1 (en) Rotating UI for better usage
CN107566626A (en) Terminal state control method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20201204

CF01 Termination of patent right due to non-payment of annual fee