CN106874021A - terminal visual interface automatic switching method and device - Google Patents

terminal visual interface automatic switching method and device Download PDF

Info

Publication number
CN106874021A
CN106874021A CN201510923727.1A CN201510923727A CN106874021A CN 106874021 A CN106874021 A CN 106874021A CN 201510923727 A CN201510923727 A CN 201510923727A CN 106874021 A CN106874021 A CN 106874021A
Authority
CN
China
Prior art keywords
terminal
residing
geographical position
environmental information
visual interface
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
CN201510923727.1A
Other languages
Chinese (zh)
Other versions
CN106874021B (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201510923727.1A priority Critical patent/CN106874021B/en
Publication of CN106874021A publication Critical patent/CN106874021A/en
Application granted granted Critical
Publication of CN106874021B publication Critical patent/CN106874021B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The present invention relates to a kind of terminal visual interface automatic switching method and device.The described method comprises the following steps:Environmental information residing for detection terminal, the environmental information includes geographical position and time;Environmental information in the environmental information residing for terminal that this is detected and the adjacent preceding one-time detection of this detection residing for terminal is compared;Judge whether the environmental information residing for terminal changes, if so, the geographical position and time according to residing for the terminal that this is detected adjust the visual interface of terminal, if it is not, the step of then returning to the environmental information residing for perform detection terminal.Above-mentioned terminal visual interface automatic switching method and device, by detecting geographical position and time in the environmental information residing for terminal, judge whether terminal local environment changes according to geographical position and time, if changing, then according to geographical position and the visual interface of time adjust automatically terminal, need not user is manually operated switches over visual interface, can be automatically switched according to environment.

Description

Terminal visual interface automatic switching method and device
Technical field
The present invention relates to electronic device field, more particularly to a kind of terminal visual interface automatic switching method and Device.
Background technology
With the generation of various electronic equipments, use requirement more and more higher of the user to electronic equipment.User's meeting Visual interface is adjusted according to different demands, visual interface can be desktop or idle screen.For example, user exists In different environment and scene, different, the example such as the application being commonly used and the desktop theme had a preference for The instrument of some offices, notes, dictionary class, and more formal master may such as be commonly used in company Topic;Video, the application of game class may be had a preference at home and the theme of some that lies fallow;Compare on bus Relatively application such as preference reading, novel, game etc..But traditional desktop is realized not differentiating between scene, Any situation desktop is all changeless, it is necessary to, it is necessary to user is manually operated to carry out desktop when converting desktop Switching, it is cumbersome.
The content of the invention
It is cumbersome based on this, it is necessary to need user's manual switching for traditional visual interface switching A kind of problem, there is provided terminal visual interface automatic switching method, can be according to environment automatic switchover visual interface.
Additionally, there is a need to a kind of terminal visual interface automatic switching control equipment of offer, can automatically be cut according to environment Change visual interface.
A kind of terminal visual interface automatic switching method, comprises the following steps:
Environmental information residing for detection terminal, the environmental information includes geographical position and time;
Terminal institute in the environmental information residing for terminal that this is detected and the adjacent preceding one-time detection of this detection The environmental information at place is compared;
Judge whether the environmental information residing for terminal changes, if so, according to residing for the terminal that this is detected Geographical position and the time adjust terminal visual interface, if it is not, then return perform detection terminal residing for ring The step of environment information.
A kind of terminal visual interface automatic switching control equipment, including:
Detection module, for detecting the environmental information residing for terminal, the environmental information include geographical position and Time;
Comparison module, for adjacent previous of the environmental information residing for the terminal that detects this and this detection Environmental information in secondary detection residing for terminal is compared;
Judge module, for judging whether the environmental information residing for terminal changes;
Handover module, for after judging that the environmental information residing for terminal changes, according to this detection Terminal residing for geographical position and the time adjust terminal visual interface;
The detection module is additionally operable to, when judging that the environmental information residing for terminal does not change, continue to examine Survey the environmental information residing for terminal.
Above-mentioned terminal visual interface automatic switching method and device, by detecting the environmental information residing for terminal in Geographical position and the time, judge whether terminal local environment changes according to geographical position and time, if Change, then according to geographical position and the visual interface of time adjust automatically terminal, it is not necessary to which user is manual Operation switches over visual interface, can be automatically switched according to environment.
Brief description of the drawings
Fig. 1 is the internal structure schematic diagram of terminal in one embodiment;
Fig. 2 is the flow chart of terminal visual interface automatic switching method in one embodiment;
Fig. 3 is the schematic diagram of the different scenes in scene picture library;
Fig. 4 is the flow chart of terminal visual interface automatic switching method in another embodiment;
Fig. 5 is the desktop schematic diagram under office scenarios;
Fig. 6 is the desktop schematic diagram under home scenarios;
Fig. 7 is the structural representation of terminal visual interface automatic switching control equipment in one embodiment;
Fig. 8 is the structural representation of terminal visual interface automatic switching control equipment in another embodiment;
Fig. 9 is the structural representation of terminal visual interface automatic switching control equipment in another embodiment;
Figure 10 is the structural representation of terminal visual interface automatic switching control equipment in another embodiment.
Specific embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, below in conjunction with accompanying drawing and reality Example is applied, the present invention will be described in further detail.It should be appreciated that specific embodiment described herein is only Only it is used to explain the present invention, is not intended to limit the present invention.
Fig. 1 is the internal structure schematic diagram of terminal in one embodiment.As shown in figure 1, the terminal includes passing through Processor, storage medium, internal memory, network interface, display screen and input unit that system bus is connected.Its In, the storage medium of terminal is stored with operating system, also including a kind of terminal visual interface automatic switching control equipment, The terminal visual interface automatic switching control equipment is used to realize a kind of terminal visual interface automatic switching method.At this Reason device is used to provide calculating and control ability, supports the operation of whole terminal.Storage is saved as in terminal to be situated between The operation of the terminal visual interface automatic switching control equipment in matter provides environment, and network interface is used to enter with server Row network service, such as sends data to server, data that the reception server is returned etc..The display screen of terminal Can be LCDs or electric ink display screen etc., input unit can be the tactile of covering on display screen Touch button, trace ball or Trackpad, or the external key set in layer, or terminal enclosure Disk, Trackpad or mouse etc..The terminal can be mobile phone, panel computer or personal digital assistant etc..This Art personnel are appreciated that the structure shown in Fig. 1, part knot only related to application scheme The block diagram of structure, does not constitute the restriction of the terminal being applied thereon to application scheme, and specific terminal can With including than more or less part shown in figure, or some parts are combined, or with different portions Part is arranged.
Fig. 2 is the flow chart of terminal visual interface automatic switching method in one embodiment.As shown in Fig. 2 A kind of terminal visual interface automatic switching method, runs in the terminal in Fig. 1, comprises the following steps:
Step 202, the environmental information residing for detection terminal, environmental information includes geographical position and time.
Include in the present embodiment, the step of geographical position in the environmental information residing for the detection terminal:Pass through GPS or WiFi or architecture detect the geographical position of terminal.
Specifically, can by terminal install GPS (Globe Positioning System, Global Satellite is fixed Position system) terminal is positioned, so as to detect the geographical position residing for terminal.Also can be connected by terminal The geographical position of the network node residing for WiFi network for connecing, using the geographical position of network node as terminal institute The geographical position at place.Or, the geography residing for the base station of 2G, 3G or 4G network that detection terminal is used Position, using the geographical position residing for the geographical position as terminal residing for base station.
In other embodiments, the step of geographical position in the environmental information residing for the detection terminal includes: The environment picture residing for terminal is obtained, the environment picture of the acquisition is compared with the scene picture for pre-building Compared with the scene residing for terminal being identified, using the scene residing for the terminal as the geographical position of terminal.
Specifically, because different scenes has each distinct feature, scene picture library can be pre-build, The picture of the several scenes that are stored with scene picture library.As shown in figure 3, can be stored with scene picture library It is the picture of office, the picture of family, the picture of bus, the picture of road, the picture of supermarket, outdoor Picture etc..Such as include desk and computer in the picture of office.Family picture include cabinet for TV, TV, bed etc..Comprising bus seat, handrail etc. in the picture of bus.Zebra is included in the picture of road Line, car etc..The picture of supermarket includes shelf, commodity etc..Comprising trees, mountain etc. in outdoor picture.Will The environment picture of acquisition carries out contrast with scene picture can be using picture similarity identification algorithm, such as discrete Kazakhstan Uncommon algorithm etc..Discrete hash algorithm two enters what the binary value of random length was mapped as shorter regular length Value processed, this small binary value is referred to as cryptographic Hash.Cryptographic Hash is the unique and extremely compact number of one piece of data Value representation.If hashing one section of plaintext and even only changing a letter of the paragraph, subsequent Kazakhstan It is uncommon all to produce different values.It is two different inputs of same value to find hash, is computationally It is impossible, so the cryptographic Hash of data can be with the integrality of inspection data.
Time can be determined by the clock of the time or server of network time or terminal clock.
Step 204, the environmental information and the adjacent preceding one-time detection of this detection residing for terminal that this is detected Environmental information residing for middle terminal is compared.
Specifically, can be using the environmental information residing for periodic detection terminal.By comparing this terminal for detecting Environmental information in residing environmental information and the adjacent preceding one-time detection of this detection residing for terminal, can learn Whether the environmental information residing for terminal changes.Environmental information includes geographical position and time.
Geographical position for example residing for the terminal of this detection is Shenzhen, and the time is 16 days 15 November in 2015 When 10 points 10 seconds.Geographical position residing for this adjacent preceding one-time detection terminal is Beijing, and the time is 2015 20 points 20 seconds during on November 16,22 in.The geographical position and time that will be detected twice compare, and draw end The residing environmental information in end there occurs change.
For another example, the geographical position residing for the terminal of this detection is Shenzhen, and the time is on November 16th, 2015 10 points 10 seconds when 15.Geographical position residing for this adjacent preceding one-time detection terminal is Shenzhen, and the time is 20 points 20 seconds during 16 days 16 November in 2015.The geographical position and time that will be detected twice compare, and obtain Go out geographical position in the environmental information residing for terminal not changing, the time is in work Time of Day on the same day, Time does not change yet, then the environmental information residing for terminal does not change.
Step 206, judges whether the environmental information residing for terminal changes, if so, step 208 is performed, If it is not, performing step 202.
Step 208, geographical position according to residing for the terminal that this is detected and time adjustment terminal can visual field Face.
In the present embodiment, geographical position and time according to residing for the terminal that this is detected adjust the visual of terminal The step of interface, includes:Geographical position and time according to residing for the terminal that this is detected are from the ground for pre-building The geography residing for the terminal of this detection is obtained in reason position and the mapping relations between time and the desktop of terminal Visual interface corresponding to position and time, to be switched to the visual interface as terminal after this detection Visual interface.
Specifically, visual interface can be desktop or idle screen etc..If visual interface is desktop, initially set up Mapping relations between geographical position and time and the desktop of terminal.The mapping relations may include that basis often goes out The time and geographical position for entering preset various desktops.The many general desktop of system intialization is may also comprise, for example The corresponding desktops such as family's (whole day), company's (daytime), supermarket's (whole day), public transport (whole day).Desktop Element includes desktop icons and the pattern and display location, desktop theme etc. of shortcut.Set up geographical position Mapping relations and time and desktop between, refer to set up geographical position and the desktop corresponding to the time to show Icon, shortcut, desktop theme etc..Desktop icons refer to application icon.Shortcut refers to The shortcut of application program or file.
The geographical position of foundation and time may include that geographical position is for family, time with the mapping relations of desktop Working day, then corresponding desktop is desk tops;Geographical position is office, and the time is working day, then right The desktop answered is desk tops;Geographical position is family, and the time is festivals or holidays, then corresponding desktop is leisure Desktop etc..The icons such as Email, office software are arranged in homepage in desk tops;In leisure tabletop It is middle that the icons such as shopping website, instant communication software, air ticket software, Games Software are arranged in homepage.
Additionally, the icon on desktop can be arranged by user oneself, desktop theme can be selected by user oneself.
If visual interface is idle screen, pre-build that geographical position and time close with the mapping of idle screen System.For example geographical position is office, and the time is working day, then idle screen can be office class idle screen; Geographical position is family, and the time is festivals or holidays, then idle screen can be leisure idle screen.Office class is treated Machine screen can be the Nature scene or celestial body etc..Leisure idle screen can be cartoon figure etc..
Above-mentioned terminal visual interface automatic switching method, by detecting the geography in the environmental information residing for terminal Position and time, judge whether terminal local environment changes according to geographical position and time, if becoming Change, then according to geographical position and the visual interface of time adjust automatically terminal, it is not necessary to user it is manually operated enter Row switching visual interface, can automatically switch according to environment.
In one embodiment, when the visual interface is desktop, the terminal visual interface automatic switching method is also Including:Use habit data of the counting user to application program;According to user to the use habit of application program Data are ranked up to desktop icons.
Specifically, counting user may include to use frequency to application program to the use habit data of application program One or more of rate, the erection sequence of application, classification of application etc..Habit is used further according to application program Used data are ranked up to desktop icons.For example, entering to desktop icons according to the frequency of use to application program Row sequence.Desktop icons are application icon.According to user to the use habit data pair of application program Desktop icons are ranked up the convenience that can improve user's operation.
In one embodiment, the visual interface is desktop, and the environmental information also includes light and color, should Terminal visual interface automatic switching method also includes:According to light luminance value and color colour to the desktop of terminal Theme be adjusted.
Specifically, the bright dark and color of light for terminal local environment being obtained by optical sensor.Color may include The color of surrounding environment and the dress ornament color of terminal user etc..The color of surrounding environment may include sandy beach, grass Ground, building, room wall etc..The picture of one or more surrounding environment, profit can be shot by camera The colour of picture is extracted with picture colour extraction algorithm.The colour is the value of color.Further according to the bright of light The colour of angle value and color is adjusted to the theme of the desktop of terminal.The picture colour extraction algorithm may include Octree algorithm and minimal difference method etc..The theme of the desktop of terminal is adjusted according to light and color can Desktop theme to having switched carries out the adjustment of light luminance and color colour.
In one embodiment, the visual interface is desktop, and the terminal visual interface automatic switching method is also wrapped Include:Geographical position of the reception server according to residing for terminal is corresponding with message from the geographical position for pre-building The message of user is obtained and is pushed in relation.
Specifically, the corresponding relation in geographical position and message is pre-build, such as geographical position is office, Then message can be working, be earnest about one's work.Geographical position is family, then message can rest for this.Clothes The geographical position that business device is uploaded according to terminal, finds corresponding message, pushes messages to user.
Fig. 4 is the flow chart of terminal visual interface automatic switching method in another embodiment.As shown in figure 4, A kind of terminal visual interface automatic switching method, comprises the following steps:
Step 402, obtains and monitors open command.
Specifically, the monitoring unlatching that user triggers oracle listener and produces by keyboard, touch-screen etc. is got Instruction.
Step 404, the environmental information according to residing for the monitoring open command starts monitor terminal.
Specifically, the environmental information residing for oracle listener monitor terminal is started.
Step 406, the environmental information residing for detection terminal, environmental information includes geographical position and time.
Include in the present embodiment, the step of geographical position in the environmental information residing for the detection terminal:Pass through GPS or WiFi or architecture detect the geographical position of terminal.
Specifically, terminal can be positioned by the GPS installed in terminal, so as to detect residing for terminal Geographical position.The geographical position of the network node residing for WiFi network that can be also connected by terminal, by net The geographical position of network node is used as the geographical position residing for terminal.Or, 2G, 3G that detection terminal is used Or the geographical position residing for the base station of 4G networks, using the geography residing for the geographical position as terminal residing for base station Position.
In other embodiments, the step of geographical position in the environmental information residing for the detection terminal includes: The environment picture residing for terminal is obtained, the environment picture of the acquisition is compared with the scene picture for pre-building Compared with the scene residing for terminal being identified, using the scene residing for the terminal as the geographical position of terminal.
Specifically, because different scenes has each distinct feature, scene picture library can be pre-build, The picture of the several scenes that are stored with scene picture library.
Step 408, the environmental information and the adjacent preceding one-time detection of this detection residing for terminal that this is detected Environmental information residing for middle terminal is compared.
Specifically, can be using the environmental information residing for periodic detection terminal.By comparing this terminal for detecting Environmental information in residing environmental information and the adjacent preceding one-time detection of this detection residing for terminal, can learn Whether the environmental information residing for terminal changes.Environmental information includes geographical position and time.
Geographical position for example residing for the terminal of this detection is Shenzhen, and the time is 16 days 15 November in 2015 When 10 points 10 seconds.Geographical position residing for this adjacent preceding one-time detection terminal is Beijing, and the time is 2015 20 points 20 seconds during on November 16,22 in.The geographical position and time that will be detected twice compare, and draw end The residing environmental information in end there occurs change.
For another example, the geographical position residing for the terminal of this detection is Shenzhen, and the time is on November 16th, 2015 10 points 10 seconds when 15.Geographical position residing for this adjacent preceding one-time detection terminal is Shenzhen, and the time is 20 points 20 seconds during 16 days 16 November in 2015.The geographical position and time that will be detected twice compare, and obtain Go out geographical position in the environmental information residing for terminal not changing, the time is in work Time of Day on the same day, Time does not change yet, then the environmental information residing for terminal does not change.
Step 410, judges whether the environmental information residing for terminal changes, if so, step 412 is performed, If it is not, performing step 406.
Step 412, geographical position according to residing for the terminal that this is detected and time adjustment terminal can visual field Face.
In the present embodiment, geographical position and time according to residing for the terminal that this is detected adjust the visual of terminal The step of interface, includes:Geographical position and time according to residing for the terminal that this is detected are from the ground for pre-building The geography residing for the terminal of this detection is obtained in reason position and the mapping relations between time and the desktop of terminal Visual interface corresponding to position and time, to be switched to the visual interface as terminal after this detection Visual interface.
Step 414, obtains and monitors out code.
Step 416, the service of the environmental information according to residing for monitor terminal is closed in the monitoring out code.
Specifically, oracle listener is closed according to monitoring out code, that is, closes the environment residing for monitor terminal The service of information.
Above-mentioned terminal visual interface automatic switching method, by detecting the geography in the environmental information residing for terminal Position and time, judge whether terminal local environment changes according to geographical position and time, if becoming Change, then according to geographical position and the visual interface of time adjust automatically terminal, it is not necessary to user it is manually operated enter Row switching visual interface, can automatically switch according to environment;And by monitoring enabled instruction and monitoring out code The realization of monitor function can effectively be controlled.
The implementation process of terminal visual interface automatic switching method is described with reference to specific application scenarios.With Visual interface is for as a example by mobile phone desktop.As shown in figure 5, the geographical position where user mobile phone is office, Time is working day, and corresponding desk tops are found according to geographical position and time, will in desk tops Related application of handling official business launches on the table, the region for being easy to operation is put into, in the region 510 in such as Fig. 5 It is placed with outlook mailboxes, microsoft word, microsoft power, thin cloud, Email etc.. Also be placed with desktop utility, travelling with traffic, life, books and reading, instant messaging application, Weather etc..There are dialing, contact person, short message, browser etc. in shortcuts bar.Come off duty back when user is detected After family, corresponding leisure tabletop is found according to geographical position and time, will leisure correlation on leisure tabletop Application launch on the table, be put into be easy to operation region, be placed with purchase in the region 610 in such as Fig. 6 Thing application, game application, purchase by group application, instant messaging application etc..Also be placed with the table utility, Travelling and traffic, life, books and reading, weather etc..
Fig. 7 is the structural representation of terminal visual interface automatic switching control equipment in one embodiment.Such as Fig. 7 institutes Show, a kind of terminal visual interface automatic switching control equipment, including detection module 702, comparison module 704, judgement Module 706 and handover module 708.
Detection module 702 is used to detecting environmental information residing for terminal, the environmental information include geographical position and Time.
In the present embodiment, detection module 702 is additionally operable to be examined by global positioning satellite or WiFi or architecture Survey the geographical position of terminal.
Specifically, terminal can be positioned by the GPS installed in terminal, so as to detect residing for terminal Geographical position.The geographical position of the network node residing for WiFi network that can be also connected by terminal, by net The geographical position of network node is used as the geographical position residing for terminal.Or, 2G, 3G that detection terminal is used Or the geographical position residing for the base station of 4G networks, using the geography residing for the geographical position as terminal residing for base station Position.
In other embodiments, the detection module 702 is additionally operable to obtain the environment picture residing for terminal, by this The environment picture of acquisition is compared with the scene picture for pre-building, identifies the scene residing for terminal, will Scene residing for the terminal as terminal geographical position.
Specifically, because different scenes has each distinct feature, scene picture library can be pre-build, The picture of the several scenes that are stored with scene picture library.It is right that the environment picture of acquisition and scene picture are carried out Than picture similarity identification algorithm, such as discrete hash algorithm etc. can be used.
Comparison module 704 be used for the environmental information residing for the terminal that detects this and this detection it is adjacent before Environmental information in one-time detection residing for terminal is compared.
Specifically, can be using the environmental information residing for periodic detection terminal.By comparing this terminal for detecting Environmental information in residing environmental information and the adjacent preceding one-time detection of this detection residing for terminal, can learn Whether the environmental information residing for terminal changes.Environmental information includes geographical position and time.
Geographical position for example residing for the terminal of this detection is Shenzhen, and the time is 16 days 15 November in 2015 When 10 points 10 seconds.Geographical position residing for this adjacent preceding one-time detection terminal is Beijing, and the time is 2015 20 points 20 seconds during on November 16,22 in.The geographical position and time that will be detected twice compare, and draw end The residing environmental information in end there occurs change.
For another example, the geographical position residing for the terminal of this detection is Shenzhen, and the time is on November 16th, 2015 10 points 10 seconds when 15.Geographical position residing for this adjacent preceding one-time detection terminal is Shenzhen, and the time is 20 points 20 seconds during 16 days 16 November in 2015.The geographical position and time that will be detected twice compare, and obtain Go out geographical position in the environmental information residing for terminal not changing, the time is in work Time of Day on the same day, Time does not change yet, then the environmental information residing for terminal does not change.
Judge module 706 is used to judge whether the environmental information residing for terminal changes.
Handover module 708 is used for after judging that the environmental information residing for terminal changes, according to this inspection Geographical position and time residing for the terminal of survey adjust the visual interface of terminal.
The detection module 702 is additionally operable to, when judging that the environmental information residing for terminal does not change, continue Environmental information residing for detection terminal.
In the present embodiment, handover module 708 be additionally operable to geographical position according to residing for the terminal that this is detected and Time obtains this inspection in the mapping relations between the geographical position and time and the desktop of terminal that pre-build The visual interface corresponding to geographical position and time residing for the terminal of survey, examines the visual interface as this The terminal visual interface to be switched to after survey.
Specifically, visual interface can be desktop or idle screen etc..If visual interface is desktop, initially set up Mapping relations between geographical position and time and the desktop of terminal.The mapping relations may include that basis often goes out The time and geographical position for entering preset various desktops.The many general desktop of system intialization is may also comprise, for example The corresponding desktops such as family's (whole day), company's (daytime), supermarket's (whole day), public transport (whole day).Desktop Element includes desktop icons and the pattern and display location, desktop theme etc. of shortcut.Set up geographical position Mapping relations and time and desktop between, refer to set up geographical position and the desktop corresponding to the time to show Icon, shortcut, desktop theme etc..Desktop icons refer to application icon.Shortcut refers to The shortcut of application program or file.
The geographical position of foundation and time may include that geographical position is for family, time with the mapping relations of desktop Working day, then corresponding desktop is desk tops;Geographical position is office, and the time is working day, then right The desktop answered is desk tops;Geographical position is family, and the time is festivals or holidays, then corresponding desktop is leisure Desktop etc..The icons such as Email, office software are arranged in homepage in desk tops;In leisure tabletop It is middle that the icons such as shopping website, instant communication software, air ticket software, Games Software are arranged in homepage.
Additionally, the icon on desktop can be arranged by user oneself, desktop theme can be selected by user oneself.
If visual interface is idle screen, pre-build that geographical position and time close with the mapping of idle screen System.For example geographical position is office, and the time is working day, then idle screen can be office class idle screen; Geographical position is family, and the time is festivals or holidays, then idle screen can be leisure idle screen.Office class is treated Machine screen can be the Nature scene or celestial body etc..Leisure idle screen can be cartoon figure etc..
Above-mentioned terminal visual interface automatic switching control equipment, by detecting the geography in the environmental information residing for terminal Position and time, judge whether terminal local environment changes according to geographical position and time, if becoming Change, then according to geographical position and the visual interface of time adjust automatically terminal, it is not necessary to user it is manually operated enter Row switching visual interface, can automatically switch according to environment.
Fig. 8 is the structural representation of terminal visual interface automatic switching control equipment in another embodiment.Such as Fig. 8 Shown, a kind of terminal visual interface automatic switching control equipment, the visual interface is desktop, except including detection mould Block 702, comparison module 704, judge module 706 and handover module 708, also including statistical module 710, Order module 712.
Statistical module 710 is used for use habit data of the counting user to application program.
Order module 712 is used to arrange desktop icons the use habit data of application program according to user Sequence.
Specifically, counting user may include to use frequency to application program to the use habit data of application program One or more of rate, the erection sequence of application, classification of application etc..Habit is used further according to application program Used data are ranked up to desktop icons.For example, entering to desktop icons according to the frequency of use to application program Row sequence.Desktop icons are application icon.According to user to the use habit data pair of application program Desktop icons are ranked up the convenience that can improve user's operation.
In one embodiment, the visual interface is desktop, and the environmental information also includes light luminance value and face Color colour, the handover module 708 is additionally operable to according to the light luminance value and color colour to the desktop of terminal Theme is adjusted.
Specifically, the bright dark and color of light for terminal local environment being obtained by optical sensor.Color may include The color of surrounding environment and the dress ornament color of terminal user etc..The color of surrounding environment may include sandy beach, grass Ground, building, room wall etc..The picture of one or more surrounding environment, profit can be shot by camera The colour of picture is extracted with picture colour extraction algorithm.The colour is the value of color.Further according to the bright of light The colour of angle value and color is adjusted to the theme of the desktop of terminal.The picture colour extraction algorithm may include Octree algorithm and minimal difference method etc..The theme of the desktop of terminal is adjusted according to light and color can Desktop theme to having switched carries out the adjustment of light luminance and color colour.
Fig. 9 is the structural representation of terminal visual interface automatic switching control equipment in another embodiment.Such as Fig. 9 Shown, a kind of terminal visual interface automatic switching control equipment, the visual interface is desktop, except including detection mould Block 702, comparison module 704, judge module 706, handover module 708, also obtain mould including open command Block 714, starting module 716, out code acquisition module 718 and closedown module 720.
Open command acquisition module 714 was used for before the environmental information residing for the detection terminal, obtains and monitors Open command.Specifically, the prison that user triggers oracle listener and produces by keyboard, touch-screen etc. is got Listen open command.
Starting module 716 is used for the environmental information according to residing for the monitoring open command starts monitor terminal.
Out code acquisition module 718 was used in the geographical position according to residing for the terminal that this is detected and time Adjust after the visual interface of terminal, obtain and monitor out code.
Closedown module 720 is used for the clothes of the environmental information according to residing for monitor terminal is closed in the monitoring out code Business.Specifically, oracle listener is closed according to monitoring out code, that is, closes the environment residing for monitor terminal The service of information.
Above-mentioned terminal visual interface automatic switching control equipment, by detecting the geography in the environmental information residing for terminal Position and time, judge whether terminal local environment changes according to geographical position and time, if becoming Change, then according to geographical position and the visual interface of time adjust automatically terminal, it is not necessary to user it is manually operated enter Row switching visual interface, can automatically switch according to environment;And by monitoring enabled instruction and monitoring out code The realization of monitor function can effectively be controlled.
Figure 10 is the structural representation of terminal visual interface automatic switching control equipment in another embodiment.Such as Figure 10 Shown, a kind of terminal visual interface automatic switching control equipment, the visual interface is desktop, except including detection mould Block 702, comparison module 704, judge module 706, handover module 708, also including receiver module 722.
Receiver module 722 is used for geographical position of the reception server according to residing for terminal from the geography for pre-building The message of user is obtained and is pushed in the corresponding relation of position and message.
Specifically, the corresponding relation in geographical position and message is pre-build, such as geographical position is office, Then message can be working, be earnest about one's work.Geographical position is family, then message can rest for this.
In other embodiments, a kind of terminal visual interface automatic switching control equipment, the visual interface can for desktop Including detection module 702, comparison module 704, judge module 706, handover module 708, statistical module 710, Order module 712, open command acquisition module 714, starting module 716, out code acquisition module 718, Any possible combination in closedown module 720, receiver module 722.
One of ordinary skill in the art will appreciate that all or part of flow in realizing above-described embodiment method, Computer program be can be by instruct the hardware of correlation to complete, it is non-easy that described program can be stored in one In the property lost computer read/write memory medium, the program is upon execution, it may include such as the implementation of above-mentioned each method The flow of example.Wherein, described storage medium can be magnetic disc, CD, read-only memory (Read-Only Memory, ROM) etc..
Embodiment described above only expresses several embodiments of the invention, and its description is more specific and detailed, But therefore can not be interpreted as the limitation to the scope of the claims of the present invention.It should be pointed out that for this area Those of ordinary skill for, without departing from the inventive concept of the premise, can also make it is some deformation and Improve, these belong to protection scope of the present invention.Therefore, the protection domain of patent of the present invention should be with appended Claim is defined.

Claims (16)

1. a kind of terminal visual interface automatic switching method, comprises the following steps:
Environmental information residing for detection terminal, the environmental information includes geographical position and time;
Terminal institute in the environmental information residing for terminal that this is detected and the adjacent preceding one-time detection of this detection The environmental information at place is compared;
Judge whether the environmental information residing for terminal changes, if so, according to residing for the terminal that this is detected Geographical position and the time adjust terminal visual interface, if it is not, then return perform detection terminal residing for ring The step of environment information.
2. method according to claim 1, it is characterised in that the terminal institute detected according to this The step of geographical position at place and time adjust the visual interface of terminal includes:
Geographical position and time according to residing for the terminal that this is detected are from the geographical position and time for pre-building The geographical position residing for the terminal of this detection and time institute are obtained in mapping relations and the desktop of terminal between Corresponding visual interface, using the visual interface as the terminal visual interface to be switched to after this detection.
3. method according to claim 1, it is characterised in that the environment letter residing for the detection terminal The step of geographical position in breath, includes:
The geographical position of terminal is detected by global positioning satellite or WiFi or architecture;
Or, the environment picture residing for terminal is obtained, by the environment picture of the acquisition and the field for pre-building Scape picture is compared, and identifies the scene residing for terminal, using the scene residing for the terminal as terminal Geographical position.
4. method according to claim 1, it is characterised in that when the visual interface is desktop, institute Stating method also includes:
Use habit data of the counting user to application program;
The use habit data of application program are ranked up to desktop icons according to user.
5. method according to claim 1, it is characterised in that the visual interface is desktop, described Environmental information also includes light luminance value and color colour, and methods described also includes:
The theme of the desktop according to the light luminance value and color colour to terminal is adjusted.
6. method according to claim 1, it is characterised in that the visual interface is desktop or standby Screen.
7. method according to claim 1, it is characterised in that in the ring residing for the detection terminal Before the step of environment information, methods described also includes:
Obtain and monitor open command, the environmental information according to residing for the monitoring open command starts monitor terminal;
The step of the geographical position according to residing for the terminal that this is detected and time adjust the visual interface of terminal Afterwards, methods described also includes:
Obtain and monitor out code, the environmental information according to residing for monitor terminal is closed in the monitoring out code Service.
8. method according to claim 1, it is characterised in that methods described also includes:
Geographical position of the reception server according to residing for terminal is corresponding with message from the geographical position for pre-building The message of user is obtained and is pushed in relation.
9. a kind of terminal visual interface automatic switching control equipment, it is characterised in that including:
Detection module, for detecting the environmental information residing for terminal, the environmental information include geographical position and Time;
Comparison module, for adjacent previous of the environmental information residing for the terminal that detects this and this detection Environmental information in secondary detection residing for terminal is compared;
Judge module, for judging whether the environmental information residing for terminal changes;
Handover module, for after judging that the environmental information residing for terminal changes, according to this detection Terminal residing for geographical position and the time adjust terminal visual interface;
The detection module is additionally operable to, when judging that the environmental information residing for terminal does not change, continue to examine Survey the environmental information residing for terminal.
10. device according to claim 9, it is characterised in that the handover module is additionally operable to basis Geographical position and time residing for the terminal of this detection are from the geographical position and time that pre-build and terminal Obtained in mapping relations between desktop this detection terminal residing for geographical position and the time corresponding to can Visual interface, using the visual interface as the terminal visual interface to be switched to after this detection.
11. devices according to claim 9, it is characterised in that the detection module is additionally operable to pass through Global positioning satellite or WiFi or architecture detect the geographical position of terminal;
Or, the detection module is additionally operable to obtain the environment picture residing for terminal, by the environment of the acquisition Picture is compared with the scene picture for pre-building, identifies the scene residing for terminal, by the terminal institute The scene at place as terminal geographical position.
12. devices according to claim 9, it is characterised in that when the visual interface is desktop, Described device also includes:
Statistical module, for counting user to the use habit data of application program;
Order module, for being ranked up to desktop icons to the use habit data of application program according to user.
13. devices according to claim 9, it is characterised in that the visual interface is desktop, institute Stating environmental information also includes light luminance value and color colour, and the handover module is additionally operable to according to the light Brightness value and color colour are adjusted to the theme of the desktop of terminal.
14. devices according to claim 9, it is characterised in that the visual interface is desktop or treats Machine screen.
15. devices according to claim 9, it is characterised in that described device also includes:
Open command acquisition module, for before the environmental information residing for the detection terminal, obtaining and monitoring Open command;
Starting module, for the environmental information according to residing for the monitoring open command startup monitor terminal;
Out code acquisition module, for being adjusted in the geographical position according to residing for the terminal that this is detected and time After the visual interface of whole terminal, obtain and monitor out code;
Closedown module, for the clothes of the environmental information according to residing for the monitoring out code closing monitor terminal Business.
16. devices according to claim 9, it is characterised in that described device also includes:
Receiver module, geographical position for the reception server according to residing for terminal is from the geographical position for pre-building Put the message that user is obtained and be pushed in the corresponding relation with message.
CN201510923727.1A 2015-12-11 2015-12-11 Automatic switching method and device for visual interface of terminal Active CN106874021B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510923727.1A CN106874021B (en) 2015-12-11 2015-12-11 Automatic switching method and device for visual interface of terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510923727.1A CN106874021B (en) 2015-12-11 2015-12-11 Automatic switching method and device for visual interface of terminal

Publications (2)

Publication Number Publication Date
CN106874021A true CN106874021A (en) 2017-06-20
CN106874021B CN106874021B (en) 2020-12-15

Family

ID=59177644

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510923727.1A Active CN106874021B (en) 2015-12-11 2015-12-11 Automatic switching method and device for visual interface of terminal

Country Status (1)

Country Link
CN (1) CN106874021B (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105897851A (en) * 2015-12-21 2016-08-24 乐视致新电子科技(天津)有限公司 Service area switching method, device and system for terminal device
CN108491244A (en) * 2018-03-20 2018-09-04 深圳市万普拉斯科技有限公司 A kind of Desktop-scene switching method, device and user terminal
CN108874497A (en) * 2018-06-28 2018-11-23 南京阿凡达机器人科技有限公司 A kind of image display method and apparatus based on illumination analysis
CN108924357A (en) * 2018-07-03 2018-11-30 佛山市影腾科技有限公司 A kind of method, apparatus and terminal that adjustment terminal desktop is shown
CN109151186A (en) * 2018-08-01 2019-01-04 Oppo广东移动通信有限公司 Method for switching theme and device, electronic equipment, computer readable storage medium
CN109426531A (en) * 2017-08-18 2019-03-05 蒋龙友 A kind of conversion method of the hybrid electric vehicle APP system page
CN109947331A (en) * 2019-03-28 2019-06-28 北京小米移动软件有限公司 Indicative information display method, device and storage medium
CN110920540A (en) * 2019-11-19 2020-03-27 上海博泰悦臻电子设备制造有限公司 Vehicle, vehicle equipment and vehicle equipment theme automatic adjusting method thereof
CN111755115A (en) * 2020-06-24 2020-10-09 上海联影医疗科技有限公司 Medical equipment control method and medical equipment control system
CN112395026A (en) * 2019-08-14 2021-02-23 腾讯科技(深圳)有限公司 Theme state adjusting method, device, equipment and storage medium
CN112685125A (en) * 2021-01-08 2021-04-20 腾讯科技(深圳)有限公司 Theme switching method and device of application program and computer readable storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010122928A (en) * 2008-11-20 2010-06-03 Toshiba Corp Portable terminal
CN101946498A (en) * 2007-12-24 2011-01-12 高通股份有限公司 The theme based on time and position of mobile phone
CN101976191A (en) * 2010-10-15 2011-02-16 无敌科技(西安)有限公司 Method and device for changing user interface theme along with outside change
WO2012040596A1 (en) * 2010-09-24 2012-03-29 Rovi Technologies Corporation Systems and methods for touch-based media guidance
CN102981722A (en) * 2012-11-05 2013-03-20 广东欧珀移动通信有限公司 Method and device for scene switching
EP2738660A2 (en) * 2012-11-28 2014-06-04 Samsung Electronics Co., Ltd Method for providing user interface based on physical engine and an electronic device thereof
CN104268154A (en) * 2014-09-02 2015-01-07 百度在线网络技术(北京)有限公司 Recommended information providing method and device
CN104461281A (en) * 2014-11-07 2015-03-25 广东欧珀移动通信有限公司 Managing method and managing server of mobile terminal desktop icons and mobile terminal
US20150339112A1 (en) * 2013-01-31 2015-11-26 Samsung Electronics Co., Ltd. Method of and device for managing applications

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101946498A (en) * 2007-12-24 2011-01-12 高通股份有限公司 The theme based on time and position of mobile phone
JP2010122928A (en) * 2008-11-20 2010-06-03 Toshiba Corp Portable terminal
WO2012040596A1 (en) * 2010-09-24 2012-03-29 Rovi Technologies Corporation Systems and methods for touch-based media guidance
CN101976191A (en) * 2010-10-15 2011-02-16 无敌科技(西安)有限公司 Method and device for changing user interface theme along with outside change
CN102981722A (en) * 2012-11-05 2013-03-20 广东欧珀移动通信有限公司 Method and device for scene switching
EP2738660A2 (en) * 2012-11-28 2014-06-04 Samsung Electronics Co., Ltd Method for providing user interface based on physical engine and an electronic device thereof
US20150339112A1 (en) * 2013-01-31 2015-11-26 Samsung Electronics Co., Ltd. Method of and device for managing applications
CN104268154A (en) * 2014-09-02 2015-01-07 百度在线网络技术(北京)有限公司 Recommended information providing method and device
CN104461281A (en) * 2014-11-07 2015-03-25 广东欧珀移动通信有限公司 Managing method and managing server of mobile terminal desktop icons and mobile terminal

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105897851A (en) * 2015-12-21 2016-08-24 乐视致新电子科技(天津)有限公司 Service area switching method, device and system for terminal device
CN109426531A (en) * 2017-08-18 2019-03-05 蒋龙友 A kind of conversion method of the hybrid electric vehicle APP system page
CN108491244A (en) * 2018-03-20 2018-09-04 深圳市万普拉斯科技有限公司 A kind of Desktop-scene switching method, device and user terminal
CN108874497A (en) * 2018-06-28 2018-11-23 南京阿凡达机器人科技有限公司 A kind of image display method and apparatus based on illumination analysis
CN108924357A (en) * 2018-07-03 2018-11-30 佛山市影腾科技有限公司 A kind of method, apparatus and terminal that adjustment terminal desktop is shown
CN109151186A (en) * 2018-08-01 2019-01-04 Oppo广东移动通信有限公司 Method for switching theme and device, electronic equipment, computer readable storage medium
CN109947331A (en) * 2019-03-28 2019-06-28 北京小米移动软件有限公司 Indicative information display method, device and storage medium
CN112395026A (en) * 2019-08-14 2021-02-23 腾讯科技(深圳)有限公司 Theme state adjusting method, device, equipment and storage medium
CN112395026B (en) * 2019-08-14 2022-09-23 腾讯科技(深圳)有限公司 Theme state adjusting method, device, equipment and storage medium
CN110920540A (en) * 2019-11-19 2020-03-27 上海博泰悦臻电子设备制造有限公司 Vehicle, vehicle equipment and vehicle equipment theme automatic adjusting method thereof
CN110920540B (en) * 2019-11-19 2022-07-29 博泰车联网科技(上海)股份有限公司 Vehicle, vehicle equipment and vehicle equipment theme automatic adjusting method thereof
CN111755115A (en) * 2020-06-24 2020-10-09 上海联影医疗科技有限公司 Medical equipment control method and medical equipment control system
CN112685125A (en) * 2021-01-08 2021-04-20 腾讯科技(深圳)有限公司 Theme switching method and device of application program and computer readable storage medium
CN112685125B (en) * 2021-01-08 2021-11-26 腾讯科技(深圳)有限公司 Theme switching method and device of application program and computer readable storage medium

Also Published As

Publication number Publication date
CN106874021B (en) 2020-12-15

Similar Documents

Publication Publication Date Title
CN106874021A (en) terminal visual interface automatic switching method and device
US9594496B2 (en) Method and apparatus for playing IM message
CN104123316B (en) Resource collecting method, device and equipment
US9813544B2 (en) Inconspicuous mode for mobile devices
US10848614B2 (en) Personalized cloud of mobile tasks
CN107995101A (en) A kind of method and apparatus for being used to switching to speech message into text message
CN110222212A (en) A kind of display control method and terminal device
CN110233931A (en) A kind of unread message management method and terminal device
CN108664663A (en) Recommendation information display methods, device and storage medium
AU2016266473A1 (en) Password Creating Method and Device
EP4206912A1 (en) Interface displaying method, device, and electronic device
KR20120052584A (en) Mobile terminal and method for applying metadata thereof
CN105988790B (en) Information processing method, sending terminal and receiving terminal
Park et al. A context-aware smart tourist guide application for an old palace
CN105072090B (en) Sight spot information synchronous method, service terminal device and mobile device
CN106484260B (en) A kind of applied program processing method of mobile terminal, device and mobile terminal
US20120094720A1 (en) Mobile terminal and displaying method thereof
CN109783244A (en) Treating method and apparatus, the device for processing
CN109521888A (en) A kind of input method, device and medium
CN108052506B (en) Natural language processing method, device, storage medium and electronic equipment
CN108197105B (en) Natural language processing method, device, storage medium and electronic equipment
CN113596574A (en) Video processing method, video processing apparatus, electronic device, and readable storage medium
CN110020106A (en) A kind of recommended method, recommendation apparatus and the device for recommendation
CN108874172B (en) Input method and device
CN112101387A (en) Salient element identification 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