CN107087073A - Terminal control method and device - Google Patents

Terminal control method and device Download PDF

Info

Publication number
CN107087073A
CN107087073A CN201710288243.3A CN201710288243A CN107087073A CN 107087073 A CN107087073 A CN 107087073A CN 201710288243 A CN201710288243 A CN 201710288243A CN 107087073 A CN107087073 A CN 107087073A
Authority
CN
China
Prior art keywords
terminal
distance
chat list
terminal screen
operation thing
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
CN201710288243.3A
Other languages
Chinese (zh)
Other versions
CN107087073B (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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201710288243.3A priority Critical patent/CN107087073B/en
Publication of CN107087073A publication Critical patent/CN107087073A/en
Application granted granted Critical
Publication of CN107087073B publication Critical patent/CN107087073B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • 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
    • 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/72469User interfaces specially adapted for cordless or mobile telephones for operating the device by selecting functions from two or more displayed items, e.g. menus or icons

Abstract

The disclosure is directed to a kind of terminal control method and device.This method includes:Obtain the distance of operation thing and the terminal screen;When the distance of the operation thing and the terminal screen is received when needing to carry out the message of chat list renewal less than or equal to the first pre-determined distance threshold value, and the terminal, the time point that the chat list updates is delayed to the first preset time period.In the technical scheme, when user's finger is close to terminal screen, when determining that user may operate to terminal, the renewal of chat list can be delayed, avoid the change that each chat tabs put in order in chat list in the short time, and then maloperation of the user to chat list is avoided, improve Consumer's Experience.

Description

Terminal control method and device
Technical field
This disclosure relates to terminal control technical field, more particularly to a kind of terminal control method and device.
Background technology
With the development of the communication technology, the use of mobile phone is more and more extensive, greatly extends the social scope of people.Together When, the expansion based on social scope, the situation that the instant messaging application of the use mobile phone of user is exchanged is also more and more.
In correlation technique, user can be different by instant messaging application addition multidigit good friend or the multiple chat groups of addition Good friend or different groups can be identified in chat list by different chat tabs.User is in needs and who When good friend chats, the chat tabs of the good friend can be clicked on.Mobile phone opens chat circle of the good friend when detecting the click Face, user can send word, picture or voice on the chat interface, be exchanged with good friend.
The content of the invention
To overcome problem present in correlation technique, the embodiment of the present disclosure provides a kind of terminal control method and device.Institute State technical scheme as follows:
According to the first aspect of the embodiment of the present disclosure there is provided a kind of terminal control method, including:
Obtain the distance of operation thing and the terminal screen;
When the distance of the operation thing and the terminal screen is less than or equal to the first pre-determined distance threshold value, and the terminal Receive when needing to carry out the message of chat list renewal, by the time point that the chat list updates delay to first it is default when Between after section.
The technical scheme provided by this disclosed embodiment can include the following benefits:When user's finger is close to end panel Curtain, that is, determine that user when may be operated to terminal, can delay the renewal of chat list, it is to avoid chat in the short time The change that each chat tabs put in order in list, and then maloperation of the user to chat list is avoided, improve user's body Test.
In one embodiment, the distance for obtaining operation thing and the terminal screen includes:
Obtain the distance between the operation thing and the terminal screen knots modification in the second preset time period;
The distance for working as the operation thing and the terminal screen is less than or equal to the first pre-determined distance threshold value, and described Terminal is received when needing to carry out the message of chat list renewal, and the time point that the chat list updates is delayed to first pre- If including after the period:
When in second preset time period the distance between described operation thing and described terminal screen knots modification be more than or Equal to design variables threshold value, and the terminal is received when needing to carry out the message of chat list renewal, by the chat list The time point of renewal delays to the first preset time period.
The technical scheme provided by this disclosed embodiment can include the following benefits:Pass through user's finger and end panel The distance between curtain knots modification, determines whether user will currently operate to terminal, improves the judgement precision of terminal, enter And improve Consumer's Experience.
In one embodiment, the distance for obtaining operation thing and the terminal screen includes:
When the current interface of the terminal is the chat list interface, the operation thing and the terminal screen are obtained Distance.
The technical scheme provided by this disclosed embodiment can include the following benefits:It is to chat in the current interface of terminal During its list interface, determine whether user may currently grasp to terminal by the distance of user's finger and terminal screen Make, it is to avoid because other objects are close to the terminal erroneous judgement that terminal-pair chat list updates caused by excessively near, it is ensured that in user Information can be timely received by not operating temporarily during terminal, and then improve Consumer's Experience.
In one embodiment, it is described to delay the time point that the chat list updates to the first preset time period Including:
Determine display of the air line distance less than or equal to second distance threshold value with the operation thing on the terminal screen Region;
The time point of the renewal of the chat list shown in the viewing area is delayed to the first preset time period Afterwards.
The technical scheme provided by this disclosed embodiment can include the following benefits:Terminal may be entered in user During row operation, delay to update the chat list of the viewing area closer to the distance with user's finger on terminal screen, other and user The chat list in the distant region of finger normally updates, it is ensured that the chat list that the region that user does not operate temporarily is shown Normal renewal, and then improve Consumer's Experience.
In one embodiment, the distance for obtaining operation thing and the terminal screen includes:
The operation thing and the terminal are obtained by the range sensor or ultrasonic sensor of the terminal built-in The distance of screen.
The technical scheme provided by this disclosed embodiment can include the following benefits:Passed by the distance of terminal built-in Sensor or ultrasonic sensor obtain user's finger and the distance of terminal screen, improve terminal obtain distance convenience and Accuracy.
According to the second aspect of the embodiment of the present disclosure there is provided a kind of terminal control mechanism, including:
Acquisition module, the distance for obtaining operation thing and the terminal screen;
Delay module, for being less than or equal to the first pre-determined distance threshold in the distance of the operation thing and the terminal screen It is worth, and the terminal is received when needing to carry out the message of chat list renewal, and the time point that the chat list updates is prolonged Delay to the first preset time period.
In one embodiment, the acquisition module includes:
First acquisition submodule, for obtaining in the second preset time period between the operation thing and the terminal screen Apart from knots modification;
It is described to delay module to include:
First delays submodule, is operated for described in second preset time period between thing and the terminal screen Apart from knots modification be more than or equal to design variables threshold value, and the terminal receive need carry out chat list renewal message When, the time point that the chat list updates is delayed to the first preset time period.
In one embodiment, the acquisition module includes:
Second acquisition submodule, for when the current interface of the terminal is the chat list interface, obtaining described Operate the distance of thing and the terminal screen.
In one embodiment, it is described to delay module to include:
Determination sub-module, for determining that the air line distance on the terminal screen with the operation thing is less than or equal to second The viewing area of distance threshold;
Second delays submodule, for the time point of the renewal of the chat list shown in the viewing area to be prolonged Delay to the first preset time period.
In one embodiment, the acquisition module includes:
3rd acquisition submodule, institute is obtained for the range sensor by the terminal built-in or ultrasonic sensor State the distance of operation thing and the terminal screen.
According to the third aspect of the embodiment of the present disclosure there is provided a kind of terminal control mechanism, including:
Processor;
Memory for storing processor-executable instruction;
Wherein, the processor is configured as:
Obtain the distance of operation thing and the terminal screen;
When the distance of the operation thing and the terminal screen is less than or equal to the first pre-determined distance threshold value, and the terminal Receive when needing to carry out the message of chat list renewal, by the time point that the chat list updates delay to first it is default when Between after section.
It should be appreciated that the general description of the above and detailed description hereinafter are only exemplary and explanatory, not The disclosure can be limited.
Brief description of the drawings
Accompanying drawing herein is merged in specification and constitutes the part of this specification, shows the implementation for meeting the disclosure Example, and be used to together with specification to explain the principle of the disclosure.
Fig. 1 a are the flow charts of the terminal control method according to an exemplary embodiment.
Fig. 1 b are the flow charts of the terminal control method according to an exemplary embodiment.
Fig. 1 c are the flow charts of the terminal control method according to an exemplary embodiment.
Fig. 2 is the flow chart of the terminal control method according to an exemplary embodiment.
Fig. 3 is the flow chart of the terminal control method according to an exemplary embodiment.
Fig. 4 a are the structural representations of the terminal control mechanism according to an exemplary embodiment.
Fig. 4 b are the structural representations of the terminal control mechanism according to an exemplary embodiment.
Fig. 4 c are the structural representations of the terminal control mechanism according to an exemplary embodiment.
Fig. 4 d are the structural representations of the terminal control mechanism according to an exemplary embodiment.
Fig. 4 e are the structural representations of the terminal control mechanism according to an exemplary embodiment.
Fig. 5 is the structured flowchart of the terminal control mechanism according to an exemplary embodiment.
Embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the disclosure.On the contrary, they be only with it is such as appended The example of the consistent apparatus and method of some aspects be described in detail in claims, the disclosure.
The technical scheme that the embodiment of the present disclosure is provided is related to terminal, and the terminal can be mobile phone, and tablet personal computer intelligently may be used Wearable device and other can carry out the device of instant chat, the embodiment of the present disclosure is not construed as limiting to this.In correlation technique, i.e., When chat application chat list interface on according to the sequencing for the time for receiving the last item message be arranged with it is multiple chat Its label, each chat tabs one good friend of correspondence or a group, user can click on chat tabs as needed and be grasped Make.But if when user is that will click on the first chat tabs, the message of the second chat tabs is received just, now terminal According to current time, to the second chat tabs, the position in chat list is updated for meeting, and this renewal may change first and chat Position of its label in chat list, and then cause user to click on mistake, Consumer's Experience is not good.Embodiment of the disclosure is provided Technical scheme in, when user's finger is close to terminal screen, that is, determines that user may operate to terminal, can delay The renewal of chat list, it is to avoid the change that each chat tabs put in order in chat list in the short time, and then avoid use Maloperation of the family to chat list, improves Consumer's Experience.
Fig. 1 a are a kind of flow charts of terminal control method according to an exemplary embodiment, and this method is used for eventually End, the terminal can be mobile phone, tablet personal computer, intelligent wearable device and other can carry out the device of instant chat. As shown in Figure 1a, the terminal control method comprises the following steps 101 to step 102:
In a step 101, the distance of operation thing and terminal screen is obtained.
Example, the operation thing can be user's finger or capacitance pen, or can also be that other being capable of point Terminal and the object operated to the terminal are hit, the embodiment of the present disclosure is not construed as limiting to this.
The embodiment of the present disclosure by operate thing be user's finger exemplified by illustrate.During initialization, it can set in the terminal Range sensor or ultrasonic sensor, then by the range sensor or ultrasonic sensor obtain user's finger with The distance of terminal screen, improves convenience and accuracy that terminal obtains distance.Specifically, range sensor can pass through hair Penetrate light pulse, and measure the light pulse from be transmitted into reflected by user's finger after turn again to time of transmitting terminal, during by this Between and the aerial spread speed of light determine the distance between terminal and user's finger.Ultrasonic sensor can launch ultrasound Ripple, and measure the ultrasonic wave from be transmitted into reflected by user's finger after turn again to time of transmitting terminal, by time and super The aerial spread speed of sound wave determines the distance between terminal and user's finger.
In a step 102, when the distance of operation thing and terminal screen is less than or equal to the first pre-determined distance threshold value, and terminal When receiving the message for needing progress chat list renewal, the time point that chat list updates is delayed to the first preset time period Afterwards.
Common, terminal can carry out chat list at once when receiving the message for needing progress chat list renewal Update, that is, the time point for receiving the message that the needs carry out chat list renewal is the time point that chat list updates.
Operation of the user to terminal is influenceed when being updated in order to avoid chat list, determines to receive in terminal to need to be chatted After the message of its list update, it can detect whether the distance of user's finger and terminal screen is pre- less than or equal to first first If distance threshold, if user's finger and the distance of terminal screen are less than or equal to the first pre-determined distance threshold value, illustrate that user may Terminal is operated, now terminal the time point that chat list updates can be delayed to the first preset time period it Afterwards, it is to avoid produce false touch when user clicks on a certain chat tabs.
Or, terminal can monitor the distance of user's finger and terminal in real time, be less than in the distance of user's finger and terminal Or during equal to the first pre-determined distance threshold value, it is determined whether the message for needing to carry out chat list renewal is received, if having been received by The message of progress chat list renewal is needed, then is delayed the time point that chat list updates to the first preset time period, Avoid carrying out the false touch that the renewal of chat list is caused when user clicks on a certain chat tabs.
Example, first preset time period can be configured according to actual conditions, and the embodiment of the present disclosure is not done to this Limit.For example, the first preset time period can be 2 seconds, i.e., when user's finger and the distance of terminal screen are less than or equal to first Pre-determined distance threshold value, and terminal receive need carry out chat list renewal message when, the time point that chat list is updated Delay to after 2 seconds.
In the technical scheme provided by this disclosed embodiment, when user's finger is close to terminal screen, that is, determine that user may When being operated to terminal, the renewal of chat list can be delayed, it is to avoid each chat tabs in chat list in the short time The change put in order, and then maloperation of the user to chat list is avoided, improve Consumer's Experience.
In one embodiment, as shown in Figure 1 b, in a step 101, obtain operation thing and the distance of terminal screen can be with Realized by step 1011:
In step 1011, the distance between operation thing and terminal screen knots modification in the second preset time period are obtained.
In a step 102, when the distance of operation thing and terminal screen is less than or equal to the first pre-determined distance threshold value, and terminal When receiving the message for needing progress chat list renewal, the time point that chat list updates is delayed to the first preset time period It can be realized afterwards by step 1021:
In step 1021, when operating the distance between thing and terminal screen knots modification to be more than in the second preset time period or Equal to design variables threshold value, and terminal is received when needing to carry out the message of chat list renewal, by chat list update when Between point delay to the first preset time period.
Example, if user needs to operate terminal, user's finger may be quickly close to terminal, therefore terminal Speed of the user's finger close to terminal can also be monitored in real time, if the speed is more than or equal to pre-set velocity threshold value, and terminal connects Receive need carry out chat list renewal message when, by the time point that chat list updates delay to the first preset time period it Afterwards.
Specifically, when detecting user's finger close to the speed of terminal, user's hand in the second preset time period can be detected The distance between finger and terminal screen knots modification, second preset time period can be 1s, then used in the second preset time period The distance between family finger and terminal screen knots modification are speed of the user's finger close to terminal.If the second preset time period The distance between interior user's finger and terminal screen knots modification are more than or equal to design variables threshold value, i.e., user's finger is close to terminal Speed be more than or equal to pre-set velocity threshold value, illustrate that user is likely to operate terminal, now, terminal can will merely The time point of its list update delays to the first preset time period.
In the technical scheme provided by this disclosed embodiment, changed by the distance between user's finger and terminal screen Amount, determines whether user will currently operate to terminal, improves the judgement precision of terminal, and then improve user's body Test.
In one embodiment, as illustrated in figure 1 c, in a step 101, obtain operation thing and the distance of terminal screen can be with Realized by step 1012:
In step 1012, when the current interface of terminal is chat list interface, operation thing and terminal screen are obtained Distance.
Example, most of the time terminal may be placed in pocket or handbag by user terminal.If terminal is real When the distance between monitoring user's finger and terminal, on the one hand, may result in the power consumption increase of terminal, on the other hand, by There are other object distance terminals in pocket or handbag nearer, terminal may be by above-mentioned object as user's finger, therefore The renewal time of chat list can persistently be delayed, cause user can not timely receive information.Therefore terminal can be only current When interface is chat list interface, range sensor or ultrasonic sensor are opened, user's finger is obtained to the distance of terminal, The power resources of terminal have been saved, while ensureing that user can timely receive information, Consumer's Experience have been improved.
In the technical scheme provided by this disclosed embodiment, when the current interface of terminal is chat list interface, pass through User's finger and the distance of terminal screen determine whether user may currently operate to terminal, it is to avoid due to other things Body is close to the terminal erroneous judgement that terminal-pair chat list updates caused by excessively near, it is ensured that can when user does not temporarily operate terminal Information is timely received, and then improves Consumer's Experience.
In one embodiment, can when delaying to the first preset time period at the time point for updating chat list To determine, with operating the air line distance of thing to be less than or equal to the viewing area of second distance threshold value on terminal screen, then will first The time point of the renewal of the chat list shown in the viewing area delays to the first preset time period.
Example, because the viewing area of terminal screen is larger, if once user's finger is nearer apart from terminal, just delay The renewal of chat list, it is possible that user can not timely receive the situation of information.Therefore in user's finger apart from terminal When nearer, the air line distance that terminal can obtain on screen with user's finger is less than or equal to the viewing area of second distance threshold value Domain, and time point only by the renewal of the chat list shown in the viewing area delay to the first preset time period, its Remaining viewing area normally updates, it is ensured that in the case where not influenceing user to operate, user can timely receive information, improve Consumer's Experience.
In the technical scheme provided by this disclosed embodiment, when user may operate terminal, delay to update The chat list of the viewing area closer to the distance with user's finger on terminal screen, other regions distant with user's finger Chat list normally update, it is ensured that the normal renewal for the chat list that the region that user does not operate temporarily is shown, Jin Erti High Consumer's Experience.
Implementation process is discussed in detail below by several embodiments.
Fig. 2 is a kind of flow chart of terminal control method according to an exemplary embodiment, and executive agent is terminal, As shown in Fig. 2 comprising the following steps 201 to step 206:
In step 201, when the current interface of terminal is chat list interface, the range sensor of terminal built-in is passed through Or ultrasonic sensor obtains user's finger and the distance of terminal screen, step 202 is performed.
In step 202., determine whether the distance of user's finger and terminal screen is less than or equal to the first pre-determined distance threshold Value;When user's finger and the distance of terminal screen are more than the first pre-determined distance threshold value, step 203 is performed;When user's finger with When the distance of terminal screen is less than or equal to the first pre-determined distance threshold value, step 204 is performed.
In step 203, the current normal condition of terminal is maintained, this flow terminates.
In step 204, it is determined whether receive the message for needing to carry out chat list renewal;If do not receive need into The message that row chat list updates, performs step 203;If receiving the message for needing to carry out chat list renewal, step is performed 205。
In step 205, obtain the air line distance on terminal screen with user's finger and be less than or equal to second distance threshold value Viewing area, perform step 206.
In step 206, the time point of the renewal of the chat list shown in the viewing area is delayed to first to preset After period.
Embodiment of the disclosure provides a kind of terminal control method, when user's finger is close to terminal screen, that is, determines user When may be operated to terminal, the renewal of chat list can be delayed, it is to avoid respectively chatted in chat list in the short time The change of tagging arrangements order, and then maloperation of the user to chat list is avoided, improve Consumer's Experience.
Fig. 3 is a kind of flow chart of terminal control method according to an exemplary embodiment, and executive agent is terminal, As shown in figure 3, comprising the following steps 301 to step 306:
In step 301, when the current interface of terminal is chat list interface, the supersonic sensing of terminal built-in is passed through The distance between user's finger and terminal screen knots modification in the preset time period of device second, perform step 302.
In step 302, determine that the distance between user's finger and terminal screen knots modification are in the second preset time period It is no to be more than or equal to design variables threshold value;When this apart from knots modification be less than design variables threshold value, perform step 303;When the distance When knots modification is more than or equal to design variables threshold value, step 304 is performed.
In step 303, the current normal condition of terminal is maintained, this flow terminates.
In step 304, it is determined whether receive the message for needing to carry out chat list renewal;If do not receive need into The message that row chat list updates, performs step 303;If receiving the message for needing to carry out chat list renewal, step is performed 305。
In step 305, obtain the air line distance on terminal screen with user's finger and be less than or equal to second distance threshold value Viewing area, perform step 306.
Within step 306, the time point of the renewal of the chat list shown in the viewing area is delayed to first to preset After period.
Embodiment of the disclosure provides a kind of terminal control method, when user's finger is close to terminal screen, that is, determines user When may be operated to terminal, the renewal of chat list can be delayed, it is to avoid respectively chatted in chat list in the short time The change of tagging arrangements order, and then maloperation of the user to chat list is avoided, improve Consumer's Experience.
Following is disclosure device embodiment, can be used for performing method of disclosure embodiment.
Fig. 4 a are a kind of structural representation of terminal control mechanism 40 according to an exemplary embodiment, the device 40 Can by software, hardware or both be implemented in combination with it is some or all of as electronic equipment.As shown in fig. 4 a, the end End control device 40 includes acquisition module 401 and delays module 402.
Wherein, acquisition module 401, the distance for obtaining operation thing and the terminal screen.
Delay module 402, for the distance of operation thing and the terminal screen be less than or equal to first it is default away from From threshold value, and the terminal is received when needing to carry out the message of chat list renewal, the time that the chat list is updated Point delays to the first preset time period.
In one embodiment, as shown in Figure 4 b, the acquisition module 401 includes the first acquisition submodule 4011.
First acquisition submodule 4011, for obtaining the operation thing and the end panel in the second preset time period The distance between curtain knots modification.
It is described to delay module 402 to delay submodule 4021 including first.
Described first delays submodule 4021, for the operation thing in second preset time period and the terminal The distance between screen knots modification be more than or equal to design variables threshold value, and the terminal receive need carry out chat list more During new message, the time point that the chat list updates is delayed to the first preset time period.
In one embodiment, as illustrated in fig. 4 c, the acquisition module 401 includes the second acquisition submodule 4012.
Second acquisition submodule 4012, for when the terminal current interface be the chat list interface when, Obtain the distance of the operation thing and the terminal screen.
In one embodiment, as shown in figure 4d, it is described to delay module 402 to delay including determination sub-module 4022 and second Submodule 4023.
Wherein it is determined that submodule 4022, for determining that the air line distance on the terminal screen with the operation thing is less than Or equal to the viewing area of second distance threshold value.
Second delays submodule 4023, for the time for the renewal of the chat list that will be shown in the viewing area Point delays to the first preset time period.
In one embodiment, as shown in fig 4e, the acquisition module 401 includes the 3rd acquisition submodule 4013.
3rd acquisition submodule 4013, for the range sensor or supersonic sensing by the terminal built-in Device obtains the distance of the operation thing and the terminal screen.
Embodiment of the disclosure provides a kind of terminal control mechanism, when user's finger is close to terminal screen, that is, determines user When may be operated to terminal, the device can delay the renewal of chat list, it is to avoid in the short time in chat list The change that each chat tabs put in order, and then maloperation of the user to chat list is avoided, improve Consumer's Experience.
The embodiment of the present disclosure provides a kind of terminal control mechanism, and the terminal control mechanism includes:
Processor;
Memory for storing processor-executable instruction;
Wherein, processor is configured as:
Obtain the distance of operation thing and the terminal screen;
When the distance of the operation thing and the terminal screen is less than or equal to the first pre-determined distance threshold value, and the terminal Receive when needing to carry out the message of chat list renewal, by the time point that the chat list updates delay to first it is default when Between after section.
In one embodiment, above-mentioned processor is also configured to:Obtain the operation thing in the second preset time period With the distance between terminal screen knots modification;When the operation thing in second preset time period and the terminal screen The distance between knots modification be more than or equal to design variables threshold value, and the terminal receives and needs to carry out chat list renewal During message, the time point that the chat list updates is delayed to the first preset time period.
In one embodiment, above-mentioned processor is also configured to:When the current interface of the terminal is the chat During list interface, the distance of the operation thing and the terminal screen is obtained.
In one embodiment, above-mentioned processor is also configured to:Determine on the terminal screen with the operation thing Air line distance be less than or equal to second distance threshold value viewing area;The chat list that will be shown in the viewing area Time point of renewal delay to the first preset time period.
In one embodiment, above-mentioned processor is also configured to:By the range sensor of the terminal built-in or Person's ultrasonic sensor obtains the distance of the operation thing and the terminal screen.
Embodiment of the disclosure provides a kind of terminal control mechanism, when user's finger is close to terminal screen, that is, determines user When may be operated to terminal, the device can delay the renewal of chat list, it is to avoid in the short time in chat list The change that each chat tabs put in order, and then maloperation of the user to chat list is avoided, improve Consumer's Experience.
On the device in above-described embodiment, wherein modules perform the concrete mode of operation in relevant this method Embodiment in be described in detail, explanation will be not set forth in detail herein.
Fig. 5 is a kind of structured flowchart for terminal control mechanism 50 according to an exemplary embodiment, the device Suitable for terminal device.For example, device 50 can be mobile phone, computer, digital broadcast terminal, messaging devices, trip Play console, tablet device, Medical Devices, body-building equipment, personal digital assistant etc..
Device 50 can include following one or more assemblies:Processing assembly 502, memory 504, power supply module 506 is more Media component 508, audio-frequency assembly 510, the interface 512 of input/output (I/O), sensor cluster 514, and communication component 516。
The integrated operation of the usual control device 50 of processing assembly 502, such as with display, call, data communication, camera The operation operation associated with record operation.Processing assembly 502 can carry out execute instruction including one or more processors 520, To complete all or part of step of above-mentioned method.In addition, processing assembly 502 can include one or more modules, it is easy to Interaction between processing assembly 502 and other assemblies.For example, processing assembly 502 can include multi-media module, to facilitate many matchmakers Interaction between body component 508 and processing assembly 502.
Memory 504 is configured as storing various types of data supporting the operation in device 50.These data are shown Example includes the instruction of any application program or method for operating on apparatus 50, and contact data, telephone book data disappears Breath, picture, video etc..Memory 504 can be by any kind of volatibility or non-volatile memory device or their group Close and realize, such as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM) is erasable to compile Journey read-only storage (EPROM), programmable read only memory (PROM), read-only storage (ROM), magnetic memory, flash Device, disk or CD.
Power supply module 506 provides electric power for the various assemblies of device 50.Power supply module 506 can include power management system System, one or more power supplys, and other components associated with generating, managing and distributing electric power for device 50.
Multimedia groupware 508 is included in the screen of one output interface of offer between described device 50 and user.One In a little embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen Curtain may be implemented as touch-screen, to receive the input signal from user.Touch panel includes one or more touch sensings Device is with the gesture on sensing touch, slip and touch panel.The touch sensor can not only sensing touch or sliding action Border, but also detection touches or slide related duration and pressure with described.In certain embodiments, many matchmakers Body component 508 includes a front camera and/or rear camera.When device 50 be in operator scheme, such as screening-mode or During video mode, front camera and/or rear camera can receive the multi-medium data of outside.Each front camera and Rear camera can be a fixed optical lens system or with focusing and optical zoom capabilities.
Audio-frequency assembly 510 is configured as output and/or input audio signal.For example, audio-frequency assembly 510 includes a Mike Wind (MIC), when device 50 is in operator scheme, when such as call model, logging mode and speech recognition mode, microphone is configured To receive external audio signal.The audio signal received can be further stored in memory 504 or via communication component 516 send.In certain embodiments, audio-frequency assembly 510 also includes a loudspeaker, for exports audio signal.
I/O interfaces 512 is provide interface between processing assembly 502 and peripheral interface module, above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock Determine button.
Sensor cluster 514 includes one or more sensors, the state estimation for providing various aspects for device 50. For example, sensor cluster 514 can detect opening/closed mode of device 50, the relative positioning of component, such as described component For the display and keypad of device 50, sensor cluster 514 can be with the position of 50 1 components of detection means 50 or device Change, the existence or non-existence that user contacts with device 50, the orientation of device 50 or acceleration/deceleration and the temperature change of device 50. Sensor cluster 514 can include proximity transducer, be configured in not any physical contact object near detection Presence.Sensor cluster 514 can also include optical sensor, such as CMOS or ccd image sensor, in imaging applications Use.In certain embodiments, the sensor cluster 514 can also include acceleration transducer, gyro sensor, magnetic sensing Device, pressure sensor or temperature sensor.
Communication component 516 is configured to facilitate the communication of wired or wireless way between device 50 and other equipment.Device 50 can access the wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof.In an exemplary implementation In example, communication component 516 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel. In one exemplary embodiment, the communication component 516 also includes near-field communication (NFC) module, to promote junction service.Example Such as, NFC module can be based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology, Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 50 can be believed by one or more application specific integrated circuits (ASIC), numeral Number processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic building bricks are realized, for performing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided Such as include the memory 504 of instruction, above-mentioned instruction can be performed to complete the above method by the processor 520 of device 50.For example, institute State non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and Optical data storage devices etc..
The embodiment of the present disclosure provides a kind of non-transitorycomputer readable storage medium, the instruction in the storage medium By the computing device of device 50 when so that device 50 is able to carry out above-mentioned terminal control method, and methods described includes:
Obtain the distance of operation thing and the terminal screen;
When the distance of the operation thing and the terminal screen is less than or equal to the first pre-determined distance threshold value, and the terminal Receive when needing to carry out the message of chat list renewal, by the time point that the chat list updates delay to first it is default when Between after section.
In one embodiment, the distance for obtaining operation thing and the terminal screen includes:When acquisition second is default Between the distance between the operation thing and described terminal screen knots modification in section;It is described to operate thing and the terminal screen when described Distance be less than or equal to the first pre-determined distance threshold value, and the terminal receive need carry out chat list renewal message When, the time point that the chat list updates is delayed to the first preset time period to include:When second preset time The distance between the operation thing and the terminal screen knots modification are more than or equal to design variables threshold value, and the terminal in section Receive when needing to carry out the message of chat list renewal, by the time point that the chat list updates delay to first it is default when Between after section.
In one embodiment, the distance for obtaining operation thing and the terminal screen includes:When working as the terminal When front interface is the chat list interface, the distance of the operation thing and the terminal screen is obtained.
In one embodiment, it is described to delay the time point that the chat list updates to the first preset time period Including:Determine viewing area of the air line distance less than or equal to second distance threshold value with the operation thing on the terminal screen Domain;The time point of the renewal of the chat list shown in the viewing area is delayed to the first preset time period.
In one embodiment, the distance for obtaining operation thing and the terminal screen includes:By in the terminal The range sensor or ultrasonic sensor put obtain the distance of the operation thing and the terminal screen.
Those skilled in the art will readily occur to its of the disclosure after considering specification and putting into practice disclosure disclosed herein Its embodiment.The application is intended to any modification, purposes or the adaptations of the disclosure, these modifications, purposes or Person's adaptations follow the general principle of the disclosure and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.Description and embodiments are considered only as exemplary, and the true scope of the disclosure and spirit are by following Claim is pointed out.
It should be appreciated that the precision architecture that the disclosure is not limited to be described above and is shown in the drawings, and And various modifications and changes can be being carried out without departing from the scope.The scope of the present disclosure is only limited by appended claim.

Claims (12)

1. a kind of terminal control method, it is characterised in that including:
Obtain the distance of operation thing and the terminal screen;
When the distance of the operation thing and the terminal screen is less than or equal to the first pre-determined distance threshold value, and terminal reception To when needing to carry out the message of chat list renewal, the time point that the chat list updates is delayed to the first preset time period Afterwards.
2. according to the method described in claim 1, it is characterised in that
The distance for obtaining operation thing and the terminal screen includes:
Obtain the distance between the operation thing and the terminal screen knots modification in the second preset time period;
It is described when the distance of operation thing and the terminal screen is less than or equal to the first pre-determined distance threshold value, and the terminal Receive when needing to carry out the message of chat list renewal, by the time point that the chat list updates delay to first it is default when Between include after section:
When the distance between described operation thing and described terminal screen knots modification are more than or equal in second preset time period Design variables threshold value, and the terminal receive need carry out chat list renewal message when, the chat list is updated Time point delay to the first preset time period.
3. method according to claim 1 or 2, it is characterised in that the acquisition operation thing and the terminal screen away from From including:
When the current interface of the terminal is the chat list interface, obtain operation thing and the terminal screen away from From.
4. method according to claim 1 or 2, it is characterised in that described to prolong the time point that the chat list updates Delaying to the first preset time period includes:
Determine viewing area of the air line distance less than or equal to second distance threshold value with the operation thing on the terminal screen;
The time point of the renewal of the chat list shown in the viewing area is delayed to the first preset time period.
5. method according to claim 1 or 2, it is characterised in that the acquisition operation thing and the terminal screen away from From including:
The operation thing and the terminal screen are obtained by the range sensor or ultrasonic sensor of the terminal built-in Distance.
6. a kind of terminal control mechanism, it is characterised in that including:
Acquisition module, the distance for obtaining operation thing and the terminal screen;
Delay module, for being less than or equal to the first pre-determined distance threshold value in the distance of the operation thing and the terminal screen, And the terminal receive need carry out chat list renewal message when, by the time point that the chat list updates delay to After first preset time period.
7. device according to claim 6, it is characterised in that the acquisition module includes:
First acquisition submodule, for obtaining the distance between the operation thing and the terminal screen in the second preset time period Knots modification;
It is described to delay module to include:
First delays submodule, in second preset time period it is described operation thing and the terminal screen between away from It is more than or equal to design variables threshold value from knots modification, and the terminal is received when needing to carry out the message of chat list renewal, The time point that the chat list updates is delayed to the first preset time period.
8. the device according to claim 6 or 7, it is characterised in that the acquisition module includes:
Second acquisition submodule, for when the current interface of the terminal is the chat list interface, obtaining the operation The distance of thing and the terminal screen.
9. the device according to claim 6 or 7, it is characterised in that described to delay module to include:
Determination sub-module, for determining that the air line distance on the terminal screen with the operation thing is less than or equal to second distance The viewing area of threshold value;
Second delays submodule, for by the time point of the renewal of the chat list shown in the viewing area delay to After first preset time period.
10. the device according to claim 6 or 7, it is characterised in that the acquisition module includes:
3rd acquisition submodule, the behaviour is obtained for the range sensor by the terminal built-in or ultrasonic sensor Crop and the distance of the terminal screen.
11. a kind of terminal control mechanism, it is characterised in that including:
Processor;
Memory for storing processor-executable instruction;
Wherein, the processor is configured as:
Obtain the distance of operation thing and the terminal screen;
When the distance of the operation thing and the terminal screen is less than or equal to the first pre-determined distance threshold value, and terminal reception To when needing to carry out the message of chat list renewal, the time point that the chat list updates is delayed to the first preset time period Afterwards.
12. a kind of computer-readable recording medium, is stored thereon with computer instruction, it is characterised in that the instruction is by processor The step of claim 1 to 5 any one claim methods described is realized during execution.
CN201710288243.3A 2017-04-27 2017-04-27 Terminal control method and device Active CN107087073B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710288243.3A CN107087073B (en) 2017-04-27 2017-04-27 Terminal control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710288243.3A CN107087073B (en) 2017-04-27 2017-04-27 Terminal control method and device

Publications (2)

Publication Number Publication Date
CN107087073A true CN107087073A (en) 2017-08-22
CN107087073B CN107087073B (en) 2020-06-02

Family

ID=59611535

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710288243.3A Active CN107087073B (en) 2017-04-27 2017-04-27 Terminal control method and device

Country Status (1)

Country Link
CN (1) CN107087073B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107885424A (en) * 2017-12-05 2018-04-06 北京小米移动软件有限公司 A kind of method and device for updating dialogue option display order
CN109725814A (en) * 2018-12-30 2019-05-07 联想(北京)有限公司 Information processing method, device and electronic equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006001679A1 (en) * 2004-06-29 2006-01-05 Nhn Corporation Method and system for renewing screen
CN105119806A (en) * 2015-07-15 2015-12-02 腾讯科技(深圳)有限公司 Message updating method and device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006001679A1 (en) * 2004-06-29 2006-01-05 Nhn Corporation Method and system for renewing screen
CN105119806A (en) * 2015-07-15 2015-12-02 腾讯科技(深圳)有限公司 Message updating method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107885424A (en) * 2017-12-05 2018-04-06 北京小米移动软件有限公司 A kind of method and device for updating dialogue option display order
CN109725814A (en) * 2018-12-30 2019-05-07 联想(北京)有限公司 Information processing method, device and electronic equipment

Also Published As

Publication number Publication date
CN107087073B (en) 2020-06-02

Similar Documents

Publication Publication Date Title
CN106709306A (en) Message reading method and apparatus
EP3933570A1 (en) Method and apparatus for controlling a voice assistant, and computer-readable storage medium
CN105224349A (en) The deletion reminding method of application program and device
CN103944804A (en) Contact recommending method and device
CN109117874A (en) Operation behavior prediction technique and device
CN108345667A (en) A kind of searching method and relevant apparatus
US20150288764A1 (en) Method and apparatus for controlling smart terminal
CN105406882A (en) Terminal equipment control method and device
CN107992257A (en) Split screen method and device
CN109039877A (en) A kind of method, apparatus, electronic equipment and storage medium showing unread message quantity
CN108133708B (en) Voice assistant control method and device and mobile terminal
CN105607738B (en) Determine the method and device of one hand pattern
CN103955274A (en) Application control method and device
CN108108671A (en) Description of product information acquisition method and device
CN106453058A (en) Information pushing method and apparatus
CN106572268A (en) Information display method and device
CN106656746A (en) Information output method and device
CN104461366A (en) Method and device for activating operation state of mobile terminal
CN106339137A (en) Terminal touch recognition method and device
CN106921797A (en) Information prompting method and device
CN107087073A (en) Terminal control method and device
CN104035764A (en) Object control method and relevant device
CN109521938A (en) Determination method, apparatus, electronic equipment and the storage medium of data evaluation information
CN105589622A (en) Chatting method and device based on pop-up comment
CN105824677B (en) Installation kit delet method based on user's operation data

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