CN106502652A - A kind of method for switching theme and server - Google Patents

A kind of method for switching theme and server Download PDF

Info

Publication number
CN106502652A
CN106502652A CN201610862240.1A CN201610862240A CN106502652A CN 106502652 A CN106502652 A CN 106502652A CN 201610862240 A CN201610862240 A CN 201610862240A CN 106502652 A CN106502652 A CN 106502652A
Authority
CN
China
Prior art keywords
mobile terminal
theme
distance
target topic
server
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
CN201610862240.1A
Other languages
Chinese (zh)
Other versions
CN106502652B (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201610862240.1A priority Critical patent/CN106502652B/en
Publication of CN106502652A publication Critical patent/CN106502652A/en
Application granted granted Critical
Publication of CN106502652B publication Critical patent/CN106502652B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephonic Communication Services (AREA)

Abstract

Embodiments provide a kind of method for switching theme and mobile terminal.The method includes:Receive the positional information of at least two mobile terminals for having associated;According to preset rules, the reference distance of mobile terminal that each has associated and reference position is calculated;Obtain the corresponding target topic of reference distance of each mobile terminal;Theme switching command is sent to described at least two mobile terminals for having associated, the theme switching command is the instruction that the mobile terminal that control has been associated switches respective theme to respective target topic.The positional information of the mobile terminal that the present invention has been associated by acquisition, and the reference distance of the mobile terminal that each has associated according to the positional information calculation and reference position, the target topic switched by each mobile terminal is determined according to the reference distance, the theme synchronism switching to the mobile terminal that each has associated is achieved, is improve in theme switching interactive between user.

Description

A kind of method for switching theme and server
Technical field
The present invention relates to communication technical field, more particularly to a kind of method for switching theme and server.
Background technology
With developing rapidly for mobile device and the Internet, the function of internet application is also constantly covering me Live in each details.Although their basic function is increasingly enriched, these basic functions are for every All it is consistent for individual user, then so machine-made basic function can not meet the demand of user again.With The continuous improvement of user's request, user can be wished, on the basic function of the application program of mobile terminal, to pursue some personalized Function.And these personalized functions can not only allow user to customize the style that oneself likes, Application Program Interface list can be also solved The tired out sense that a pair of users bring, and in good time change can allow people to find everything fresh and new.
Wherein, theme (wallpaper) application of application program is a personalized important embodiment, almost in all manufacturers Mobile terminal (such as mobile phone) in be all built-in with subject application, wallpaper application program.By subject application, wallpaper Application program, user can break away from unalterable color and picture, wallpaper, icon and interface that autonomous selection is liked oneself Style, can quickly and easily realize that mobile phone interface switches, and so as to make one's own mobile phone interface, newly-increased one is liked its Reason.
And when the theme to mobile terminal is switched over, existing handover scheme is according to the aesthetic of user oneself mostly The theme for being applied to the application program or mobile terminal is voluntarily selected, and carries out manual switching, but manual switching theme meeting Increase the operating procedure of user, Consumer's Experience sense is poor.
For this purpose, derived the scheme theme of application program automatically switched according to the individual demand of user, but It is that current theme automatic switchover scheme can only be switched over for the mobile terminal of user oneself or application program, and can not Enough interact with the other users that there is friend relation.Therefore, interactive not strong between user in theme switching.
As can be seen here, existing theme handover scheme generally existing interactive not strong problem between user.
Content of the invention
The embodiment of the present invention provides a kind of method for switching theme and mobile terminal, to solve existing theme handover scheme institute Interactive not strong problem between the user of presence.
In a first aspect, embodiments providing a kind of method for switching theme, server, methods described bag is applied to Include:
Receive the positional information of at least two mobile terminals for having associated;
According to preset rules, the reference distance of mobile terminal that each has associated and reference position is calculated;
Obtain the corresponding target topic of reference distance of each mobile terminal;
Theme switching command is sent to described at least two mobile terminals for having associated, the theme switching command is control The mobile terminal for having associated switches the instruction of respective theme to respective target topic.
Second aspect, the embodiment of the present invention additionally provide a kind of server, and the server includes:
Position receiver module, for receiving the positional information of at least two mobile terminals for having associated;
Distance calculation module, for according to preset rules, calculating the ginseng of mobile terminal that each has associated and reference position Range from;
Theme acquisition module, the corresponding target topic of the reference distance for obtaining each mobile terminal;
Instruction sending module, for sending theme switching command to described at least two mobile terminals for having associated, described Theme switching command is the instruction that the mobile terminal that control has been associated switches respective theme to respective target topic.
So, the positional information of the mobile terminal that the embodiment of the present invention has been associated by acquisition, and according to the positional information Mobile terminal and the reference distance of reference position that each has associated is calculated, is determined to each mobile terminal according to the reference distance The target topic for being switched, it is achieved that the theme synchronism switching to mobile terminal that each has associated, improves in theme switching Interactive between user.
Description of the drawings
In order to be illustrated more clearly that the technical scheme of the embodiment of the present invention, below by institute in the description to the embodiment of the present invention The accompanying drawing for using is needed to be briefly described, it should be apparent that, drawings in the following description are only some enforcements of the present invention Example, for those of ordinary skill in the art, without having to pay creative labor, can be with according to these accompanying drawings Obtain other accompanying drawings.
Fig. 1 is the flow chart of the method for switching theme of one embodiment of the invention;
Fig. 2 is the flow chart of the method for switching theme of another embodiment of the present invention;
Fig. 3 is the polygonal schematic diagram of another embodiment of the present invention construction;
Fig. 4 is the block diagram of the mobile terminal of one embodiment of the invention;
Fig. 5 is the block diagram of another mobile terminal of one embodiment of the invention;
Fig. 6 is the block diagram of the mobile terminal of another embodiment of the present invention;
Fig. 7 is the structural representation of the mobile terminal of one embodiment of the invention.
Specific embodiment
Accompanying drawing in below in conjunction with the embodiment of the present invention, to the embodiment of the present invention in technical scheme carry out clear, complete Site preparation is described, it is clear that described embodiment is a part of embodiment of the invention, rather than whole embodiments.It is based on this Embodiment in bright, the every other enforcement obtained under the premise of creative work is not made by those of ordinary skill in the art Example, belongs to the scope of protection of the invention.
With reference to Fig. 1, the flow chart for showing the method for switching theme of one embodiment of the invention is applied to server, institute State method specifically to may include steps of:
Step 101, receives the positional information of at least two mobile terminals for having associated;
When the good friend's association that there is certain a application program between multiple (at least two) mobile terminal (such as mobile phones) is closed When being, (contact person of such as address list each other, also or each other wechat good friend etc., as long as exist can multiple mobile terminals close Connection relation), each mobile terminal can send respective location information to server, and such server can just obtain this The positional information of several mobile phones.
Step 102, according to preset rules, calculates the reference distance of mobile terminal that each has associated and reference position;
Wherein, server can calculate it according to the positional information of each mobile terminal for having associated according to preset rules Reference distance between reference position, wherein, the reference distance calculated by different rules is different.
Step 103, obtains the corresponding target topic of reference distance of each mobile terminal;
Wherein it is possible to determine that according to each reference distance calculated for each mobile terminal reference distance institute is right The target topic that each mobile terminal that answers will be switched to.Wherein, theme can include multiple interface elements, such as screen locking, figure Mark, wallpaper, font, the tinkle of bells and each look & feel etc., they are all within protection scope of the present invention.
Step 104, sends theme switching command to described at least two mobile terminals for having associated, and the theme switching refers to The mobile terminal for controlling to have associated is made to switch the instruction of respective theme to respective target topic.
Wherein, the mobile terminal switching theme in order to associated to described at least two, can send theme by server The mobile terminal that switching command has been associated to each, so that respective theme can be switched to each mesh by each mobile terminal Mark theme.
So, the positional information of the mobile terminal that the embodiment of the present invention has been associated by acquisition, and according to the positional information Mobile terminal and the reference distance of reference position that each has associated is calculated, is determined to each mobile terminal according to the reference distance The target topic for being switched, it is achieved that the theme synchronism switching to mobile terminal that each has associated, improves in theme switching Interactive between user.
In order to be better understood from the technical scheme of the above embodiment of the present invention, come with reference to the instantiation shown in Fig. 2 The above-mentioned technical proposal of the present invention is entered to elaborate.
Step S1, sets up good friend's incidence relation for a application program to different mobile terminal user.
Specifically, with reference to Fig. 2, user can add one or more good friends when using application X, here user A and User B becomes friend relation, then after good friend's initialization is completed, when these good friends open " distance switching " switch When, just these good friends are established with good friend's incidence relation of application X.Wherein, user A and user B corresponding to mobile terminal A and Mobile terminal B.
Step S2, arranges subject resource.
Specifically, in theme application shop multiple themes can be selected to be used as subject resource.
Figure it is seen that the subject resource (also known as resource group) for arranging will be stored in server, for each good friend Users to share.
Step S3, the mapping table that sets up between distance range and target topic.
Specifically, distance range as shown in table 1 and target can be arranged according to the predetermined manner of at least one of Mapping table between theme:A kind of can be according to user select theme (for example user can be from the master of above-mentioned setting Theme is selected in topic resource), a target topic corresponding to each distance range is set;Also one kind can be according to theme Color change rule, a target topic corresponding to each distance range is set (for example from the above-mentioned subject resource for arranging Middle system selects corresponding theme according to above-mentioned color change rule to arrange above-mentioned mapping relations automatically), specifically, can be with According to distance order from small to large, arrive the color change rules such as dark color according to cool colour to warm colour or light color, arrange each away from From a target topic corresponding to scope.
As can also be seen from Table 1, the present invention not only can be switched over to the theme of mobile terminal, can also be to applying journey The theme or wallpaper of sequence is switched over, and method is similar to, and will not be described here.
Distance range/km 1~2 2~3 3~4 4~5
Target topic or wallpaper α β γ δ
Table 1
Once the user of so mobile terminal side establishes the mapping between distance range and target topic through step 3 Relation table, server can just receive that the user of a mobile terminal sends by reflecting between the distance range and target topic Relation table is penetrated, and server side can be stored in, so that each good friend user is shared, i.e., the mobile terminal that other have associated is used The mapping table can also be modified and upload onto the server in family.
Wherein, in one embodiment, the user to applying X to there is friend relation includes user A~E, in five users Any one user, is user A here, after being provided with resource group, the mapping table between distance range and target topic, They can all share to server, for other B~E users modifications and use.And server can be also shared to after changing, with The subject resource and the mapping table between distance range and target topic for obtaining each user is all consistent and newest 's.
Step S4, according to the positional information that default temporal frequency receives at least two mobile terminals for having associated.
Five location informations of mobile terminal A~E are here, and in this example, each mobile terminal can be according to default Temporal frequency send respective location information to server.That is, the executive agent for obtaining location information here is server.
But, in other embodiments, it is also possible to sent according to default temporal frequency by other four mobile terminals each From location information to a mobile terminal, such as mobile terminal A.
That is, the embodiment of the present invention for the executive agent for obtaining location information and is not specifically limited.
Step S5, calculates the distance between they according to each location information for having associated mobile terminal, distance here The reference distance for being them and reference position between.
Wherein, in one alternatively embodiment, step S5 can be accomplished by:At least two by described in The positional information of the individual mobile terminal for having associated constructs a polygon as multiple summits;Calculate each summit many with described The distance between central point of side shape;The reference distance that each described distance is set to each mobile terminal.
Specifically, server can be as shown in Figure 3 as multiple summits construction using the geographical position of mobile terminal A~E Polygon, then calculate the geographical position of each mobile terminal to central point O (i.e. reference position) distance (i.e. with reference to away from From), the distance respectively s1, s2, s3, s4 and s5.
Step S6, obtains the corresponding target topic of reference distance of each mobile terminal.
With continued reference to the first alternatively embodiment of step S5, server can be according to the mapping relations shown in table 1 Table, searches each and distinguishes corresponding distance range apart from s1, s2, s3, s4 and s5, and will be true for the theme corresponding to the distance range It is set to the target topic of corresponding mobile terminal.
In fig. 2, due to being the distance between good friend s1, s2, s3, s4 and s5 that server side is calculated, then, it can be with The reference of each mobile terminal is obtained by inquiring about the mapping table between locally stored distance range and target topic The id, the i.e. id of resource of the distinguished corresponding target topic of distance.
Step S7, sends theme switching command to the mobile terminal that each has associated, and the theme switching command is The mobile terminal that control has been associated switches the instruction of respective theme to respective target topic.
With continued reference to the first alternatively embodiment of step S5 and S6, as server end has determined that each shifting The id of the target topic of dynamic terminal, then theme switching command can be sent to five mobile terminals, wherein, theme switching command Mobile terminal A~E for controlling to have associated switches the instruction of respective theme to respective target topic, wherein, this each refer to Order includes each resource id.As a example by apart from s1, such as s1 is 1.5km, then be α apart from the corresponding themes of s1, then the master Topic α is the target topic of mobile terminal A;Method and the mesh to mobile terminal A for the target topic of other mobile terminals The determination mode of mark theme is identical, will not be described here.
Certainly, in other embodiments, in order to realize mobile terminal side to switch wallpaper flexible selection, the server Can calculate after s1, s2, s3, s4 and s5, this is being included in theme switching apart from s1, s2, s3, s4 and s5 directly and is referred to Each mobile terminal corresponding is sent in order, and so, mobile terminal A~mobile terminal E can pass through to inquire about server side Mapping table between distance range and target topic is obtaining the id of the target topic that will each switch.
The determination mode of the distance between the good friend by means of the present invention the first optional mode above-mentioned, can make each good Have differences between the target topic that will switch of friend, then user can be according between their target topic for switching to Difference and above-mentioned mapping table come judge who with the distance of oneself closer to, strengthen wallpaper switch in interactive between user.
In another alternatively embodiment, in execution step S5, can be accomplished by:Will be described The positional information of at least two mobile terminals for having associated constructs a polygon as multiple summits;Calculate each summit with The meansigma methodss of the distance between the polygonal central point;By the meansigma methodss be set to the reference of each mobile terminal away from From.
Specifically, with reference to Fig. 2, server established according to the location information of each mobile terminal as shown in Figure 3 After polygon, the distance between good friend can be calculated, distance here is all mobile terminals to central point O (i.e. reference position) Distance (apart from s1, s2, s3, s4 and s5) meansigma methodss (i.e. reference distance), i.e. (s1+s2+s3+s4+s5)/5 are designated as savg.
So, in alternatively embodiment execution step S6 of second based on step S5, it is possible to according to shown in table 1 Mapping table, search which distance range that average distance savg belongs in mapping relations, and by the distance range institute Corresponding theme is defined as the target topic of each mobile terminal.
In fig. 2, due to being the distance between good friend savg that server side is calculated, it can by inquiry store away from The id of the id of target topic, i.e. resource is determined from the mapping relations and theme between.
So, after second based on step S5 alternatively way of example execution step S6, in step S7, due to Server end has determined that the id of the target topic of each mobile terminal, then can send theme switching command and move to five Dynamic terminal, wherein, theme switching command is that mobile terminal A~E that control has been associated switches respective theme to same target The instruction of theme, wherein, the instruction includes corresponding resource id of target topic.
Certainly, in other embodiments, in order to realize mobile terminal side to switch wallpaper flexible selection, the server Can calculate after savg, directly this is being included in theme switching command apart from savg and is sent to each movement eventually End, so, mobile terminal A~E can pass through the mapping table that inquires about between the distance range of server side and target topic To determine the id of the target topic that will switch.
For example, it is 2.5km apart from savg, then is β apart from the corresponding themes of savg, then theme β is all movements The target topic of terminal A~mobile terminal E.
The determination mode of the distance between the first the optional mode good friend above-mentioned by means of the embodiment of the present invention, can make The target topic that will switch of each good friend is completely the same, even if being in different geographical position between good friend, but they Still theme can be switched to identical theme, strengthens the emotion connection between user and good friend, and further enhance theme Switch in interactive between user.
Alternatively, in one embodiment, each mobile terminal according to respective theme switching command by respective master Before topic switches to target topic, method according to embodiments of the present invention also includes:Judge each mobile terminal local whether Be stored with corresponding target topic;If not being stored with corresponding target topic, download from the theme shop of the application program Corresponding target topic.
Specifically, with reference to Fig. 2, in the id that each mobile terminal receives the subject resource that will switch from server side (or the distance returned by server side, then calculate the id of corresponding subject resource) after, it can be determined that locally whether it is stored with Corresponding subject resource, if locally there is no corresponding subject resource, downloads corresponding theme from the theme shop of application X Resource, so that follow-up theme switches.
Although it should be noted that illustrate only the switching stream of two users, i.e. two mobile terminal sides in fig. 2 Journey, the substantially switching flow of the mobile terminal side of remaining four user are similar with the switching flow of user B, and therefore, here is not Illustrate.
In addition, in the switching flow shown in Fig. 2, the main body of execution both relate to mobile terminal side and further relate to server Side, but in different embodiments, executive agent can also be mobile terminal.In other words, the operation of mobile terminal side can To be realized by any one mobile terminal side in friend relation, as substantially flow process is similar to, will not be described here.
By means of the technical scheme of the above embodiment of the present invention, the embodiment of the present invention passes through positioning and personalized combination, Enable the friend circle of user switched according to the meansigma methodss of the distance or the distance in respective geographical position to central point difference or Identical theme, in the theme switching of application program, interactive and interesting between enhancing user, Consumer's Experience sense is strong.
With reference to Fig. 4, the block diagram of the mobile terminal of one embodiment of the invention is shown.Shown in Fig. 4, mobile terminal includes:
Position receiver module 401, for receiving the positional information of at least two mobile terminals for having associated;
Distance calculation module 402, for according to preset rules, calculating mobile terminal and reference position that each has associated Reference distance;
Theme acquisition module 403, the corresponding target topic of the reference distance for obtaining each mobile terminal;
Instruction sending module 404, for sending theme switching command to described at least two mobile terminals for having associated, institute State the instruction that the mobile terminal that theme switching command is that control has been associated switches respective theme to respective target topic.
Alternatively, with reference to Fig. 5, on the basis of Fig. 4, the mobile terminal may also include:
Mapping table receiver module 405, for receive at least one of setup module arrange distance range with Mapping table between target topic:
First setup module 406, for the theme selected according to mobile phone users, is arranged corresponding to each distance range A target topic;
Second setup module 407, for the color change rule according to theme, arranges corresponding to each distance range Individual target topic.
Alternatively, the theme acquisition module 403 includes:
Inquiry submodule 413, for by inquiring about the mapping table, obtaining the reference distance pair of each mobile terminal The target topic that answers.
Alternatively, the distance calculation module 402 includes:
Construction submodule 412, for the positional information of mobile terminal that associated described at least two as multiple tops Put and construct a polygon;
Apart from calculating sub module 422, for calculating the distance between each summit and described polygonal central point;
First arranges submodule 432, for each described distance to be set to the reference distance of each mobile terminal.
Average distance calculating sub module 442, for calculating the distance between each summit and described polygonal central point Meansigma methodss;
Second arranges submodule 452, for the meansigma methodss to be set to the reference distance of each mobile terminal.
Alternatively, the position receiver module 401 includes:
Position receiving submodule 411, for receiving at least two mobile terminals for having associated according to default temporal frequency Positional information.
Mobile terminal can realize the shifting associated by each that mobile terminal is realized in the embodiment of the method for Fig. 1 to Fig. 3 The theme switching of dynamic terminal, improves the interactive effect between user in the theme switching of application program, for avoiding repeating, Here repeat no more.
Fig. 6 is the block diagram of the mobile terminal of another embodiment of the invention.Mobile terminal 600 shown in Fig. 6 includes:At least One processor 601, memorizer 602, at least one network interface 604 and user interface 603.Each in mobile terminal 600 Component is coupled by bus system 605.It is understood that bus system 605 is used for realizing that the connection between these components is led to Letter.Bus system 605 also includes power bus, controlling bus and status signal bus in addition in addition to data/address bus is included.It but is For the sake of clear explanation, in figure 6 various buses are all designated as bus system 605.
Wherein, user interface 603 can include display, keyboard or pointing device (for example, mouse, trace ball (trackball), touch-sensitive plate or touch screen etc..
It is appreciated that the memorizer 602 in the embodiment of the present invention can be volatile memory or nonvolatile memory, Or may include volatibility and nonvolatile memory.Wherein, nonvolatile memory can be read only memory (Read- Only Memory, ROM), programmable read only memory (Programmable ROM, PROM), the read-only storage of erasable programmable Device (Erasable PROM, EPROM), Electrically Erasable Read Only Memory (Electrically EPROM, EEPROM) or Flash memory.Volatile memory can be random access memory (Random Access Memory, RAM), and which is used as outside height Speed caching.By exemplary but be not restricted explanation, the RAM of many forms can use, such as static RAM (Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), Synchronous Dynamic Random Access Memory (Synchronous DRAM, SDRAM), double data speed synchronous dynamic RAM (Double Data Rate SDRAM, DDRSDRAM), enhancement mode Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links Dynamic random access memory (Synchlink DRAM, SLDRAM) and direct rambus random access memory (Direct Rambus RAM, DRRAM).The embodiment of the present invention description system and method memorizer 602 be intended to including but not limited to these Memorizer with any other suitable type.
In some embodiments, memorizer 602 stores following element, can perform module or data structure, or Person their subset, or their superset:Operating system 6021 and application program 6022.
Wherein, operating system 6021, comprising various system programs, such as ccf layer, core library layer, driving layer etc., are used for Realize various basic businesses and process hardware based task.Application program 6022, comprising various application programs, such as media Player (Media Player), browser (Browser) etc., for realizing various applied business.Realize the embodiment of the present invention The program of method is may be embodied in application program 6022.
In embodiments of the present invention, by call memorizer 602 storage program or instruction, specifically, can be application The program stored in program 6022 or instruction, processor 601 are used for the position letter for receiving at least two mobile terminals for having associated Breath;According to preset rules, the reference distance of mobile terminal that each has associated and reference position is calculated;Obtain each mobile terminal The corresponding target topic of reference distance;Theme switching command is sent to described at least two mobile terminals for having associated, described Theme switching command is the instruction that the mobile terminal that control has been associated switches respective theme to respective target topic.
The method that the embodiments of the present invention are disclosed is can apply in processor 601, or is realized by processor 601. A kind of possibly IC chip of processor 601, the disposal ability with signal.During realization, said method each Step can be completed by the instruction of the integrated logic circuit of the hardware in processor 601 or software form.Above-mentioned process Device 601 can be general processor, digital signal processor (Digital Signal Processor, DSP), special integrated electricity Road (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field Programmable Gate Array, FPGA) or other PLDs, discrete gate or transistor logic, Discrete hardware components.Can realize or execute disclosed each method in the embodiment of the present invention, step and logic diagram.General Processor can be microprocessor or the processor can also be any conventional processor etc..In conjunction with embodiment of the present invention institute The step of disclosed method, can be embodied directly in hardware decoding processor and execute and complete, or with the hardware in decoding processor And software module combination execution is completed.Software module may be located at random access memory, and flash memory, read only memory may be programmed read-only In the ripe storage medium in this area such as memorizer or electrically erasable programmable memory, depositor.The storage medium is located at Memorizer 602, processor 601 read the information in memorizer 602, the step of complete said method in conjunction with its hardware.
It is understood that the embodiment of the present invention description these embodiments can use hardware, software, firmware, middleware, Microcode or its combine realizing.For hardware is realized, processing unit can be realized in one or more special ICs (Application Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal Processing, DSP), digital signal processing appts (DSP Device, DSPD), programmable logic device (Programmable Logic Device, PLD), field programmable gate array (Field-Programmable Gate Array, FPGA), general place Reason device, controller, microcontroller, microprocessor, for execute herein described function other electronic units or its combine in.
For software realize, can pass through execute the embodiment of the present invention described in function module (such as process, function etc.) come Realize the technology described in the embodiment of the present invention.Software code is storable in memorizer and by computing device.Memorizer can To realize within a processor or outside the processor.
Alternatively, processor 601 is additionally operable to:Receive according to the predetermined manner of at least one of arrange distance range with Mapping table between target topic:According to the theme that mobile phone users are selected, arrange corresponding to each distance range One target topic;According to the color change rule of theme, a target topic corresponding to each distance range is set.
Alternatively, processor 601 is additionally operable to:By inquiring about the mapping table, the reference of each mobile terminal is obtained Apart from corresponding target topic.
Alternatively, processor 601 is additionally operable to:The positional information of the mobile terminal that described at least two have been associated is used as more Individual summit and construct a polygon;Calculate the distance between each summit and described polygonal central point;By described in each Distance is set to the reference distance of each mobile terminal.
Alternatively, processor 601 is additionally operable to:The positional information of the mobile terminal that described at least two have been associated is used as more Individual summit and construct a polygon;Calculate the meansigma methodss on each summit and the distance between the polygonal central point;Will The meansigma methodss are set to the reference distance of each mobile terminal.
Alternatively, processor 601 is additionally operable to:At least two mobile terminals for having associated are received according to default temporal frequency Positional information.
Mobile terminal 600 can realize that mobile terminal in previous embodiment realizes to mobile terminal that each has associated Theme switches, and improves the interactive effect between user, for avoiding repeating, here no longer in the theme switching of application program Repeat.
Fig. 7 is the structural representation of the mobile terminal of another embodiment of the present invention.Specifically, the mobile terminal in Fig. 7 700 can be mobile phone, panel computer, personal digital assistant (Personal Digital Assistant, PDA) or vehicle mounted electric Brain etc..
Mobile terminal 700 in Fig. 7 includes radio frequency (Radio Frequency, RF) circuit 710, memorizer 720, input Unit 730, display unit 740, processor 760, voicefrequency circuit 770, WiFi (Wireless Fidelity) module 780 and electricity Source 790.
Wherein, input block 730 can be used for receive mobile phone users input numeral or character information, and produce with The signal input that the mobile phone users of mobile terminal 700 are arranged and function control is relevant.Specifically, the embodiment of the present invention In, the input block 730 can include contact panel 731.Contact panel 731, also referred to as touch screen, can collect mobile terminal use Family thereon or neighbouring touch operation (such as mobile phone users are using any suitable object or adnexaes such as finger, stylus Operation on contact panel 731), and corresponding attachment means are driven according to formula set in advance.Optionally, contact panel 731 may include two parts of touch detecting apparatus and touch controller.Wherein, touch detecting apparatus detect mobile phone users Touch orientation, and the signal that touch operation brings is detected, transmit a signal to touch controller;Touch controller is from touch detection Touch information is received on device, and is converted into contact coordinate, then give the processor 760, and can receiving processor 760 Next order is simultaneously executed.Furthermore, it is possible to adopt the polytype reality such as resistance-type, condenser type, infrared ray and surface acoustic wave Existing contact panel 731.Except contact panel 731, input block 730 can also include that other input equipments 732, other inputs set Standby 732 can include but is not limited to physical keyboard, function key (such as volume control button, switch key etc.), trace ball, Mus One or more in mark, action bars etc..
Wherein, display unit 740 can be used to show the information being input into by mobile phone users or be supplied to mobile terminal use The information at family and the various menu interfaces of mobile terminal 700.Display unit 740 may include display floater 741, optionally, can To configure display using the form such as LCD or Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED) Panel 741.
It should be noted that contact panel 731 can cover display floater 741, touch display screen is formed, when the touch display screen inspection Measure thereon or after neighbouring touch operation, processor 760 is sent to determine the type of touch event, with preprocessor 760 provide corresponding visual output in touch display screen according to the type of touch event.
Touch display screen includes Application Program Interface viewing area and conventional control viewing area.The Application Program Interface viewing area And the arrangement mode of the conventional control viewing area is not limited, can be arranged above and below, left-right situs etc. can be distinguished two and show Show the arrangement mode in area.The Application Program Interface viewing area is displayed for the interface of application program.Each interface can be with The interface element such as the icon comprising at least one application program and/or widget desktop controls.The Application Program Interface viewing area It can also be the empty interface not comprising any content.The conventional control viewing area be used for show the higher control of utilization rate, for example, Application icons such as settings button, interface numbering, scroll bar, phone directory icon etc..
Wherein processor 760 is the control centre of mobile terminal 700, using various interfaces and connection whole mobile phone Various pieces, by running or executing software program and/or the module being stored in first memory 721, and call storage Data in second memory 722, execute the various functions and processing data of mobile terminal 700, so as to mobile terminal 700 Carry out integral monitoring.Optionally, processor 760 may include one or more processing units.
In embodiments of the present invention, by call store the first memory 721 in software program and/or module and/ Or the data in the second memory 722, processor 760 is used for receiving the position of at least two mobile terminals for having associated to be believed Breath;According to preset rules, the reference distance of mobile terminal that each has associated and reference position is calculated;Obtain each mobile terminal The corresponding target topic of reference distance;Theme switching command is sent to described at least two mobile terminals for having associated, described Theme switching command is the instruction that the mobile terminal that control has been associated switches respective theme to respective target topic.
Alternatively, processor 760 is additionally operable to:Receive according to the predetermined manner of at least one of arrange distance range with Mapping table between target topic:According to the theme that mobile phone users are selected, arrange corresponding to each distance range One target topic;According to the color change rule of theme, a target topic corresponding to each distance range is set.
Alternatively, processor 760 is additionally operable to:By inquiring about the mapping table, the reference of each mobile terminal is obtained Apart from corresponding target topic.
Alternatively, processor 760 is additionally operable to:The positional information of the mobile terminal that described at least two have been associated is used as more Individual summit and construct a polygon;Calculate the distance between each summit and described polygonal central point;By described in each Distance is set to the reference distance of each mobile terminal.
Alternatively, processor 760 is additionally operable to:The positional information of the mobile terminal that described at least two have been associated is used as more Individual summit and construct a polygon;Calculate the meansigma methodss on each summit and the distance between the polygonal central point;Will The meansigma methodss are set to the reference distance of each mobile terminal.
Alternatively, processor 760 is additionally operable to:At least two mobile terminals for having associated are received according to default temporal frequency Positional information.
It can be seen that, the embodiment of the present invention can realize the theme switching to the mobile terminal that each has associated, in mobile terminal Theme switching on improve interactive effect between user, for avoiding repeating, repeat no more here.
Those of ordinary skill in the art are it is to be appreciated that with reference to each of the embodiment description disclosed in the embodiment of the present invention The unit and algorithm steps of example, being capable of being implemented in combination in electronic hardware or computer software and electronic hardware.These Function is executed with hardware or software mode actually, the application-specific and design constraint depending on technical scheme.Specialty Technical staff can use different methods to realize described function to each specific application, but this realization should Think beyond the scope of this invention.
Those skilled in the art can be understood that, for convenience and simplicity of description, the system of foregoing description, Device and the specific work process of unit, may be referred to the corresponding process in preceding method embodiment, will not be described here.
In embodiment provided herein, it should be understood that disclosed apparatus and method, can pass through other Mode is realized.For example, device embodiment described above is only that schematically for example, the division of the unit is only A kind of division of logic function, can have when actually realizing other dividing mode, for example multiple units or component can in conjunction with or Person is desirably integrated into another system, or some features can be ignored, or does not execute.Another, shown or discussed is mutual Between coupling or direct-coupling or communication connection can be INDIRECT COUPLING or communication link by some interfaces, device or unit Connect, can be electrical, mechanical or other forms.
The unit that illustrates as separating component can be or may not be physically separate, aobvious as unit The part for showing can be or may not be physical location, you can be located at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme 's.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, it is also possible to It is that unit is individually physically present, it is also possible to which two or more units are integrated in a unit.
If the function is realized using in the form of SFU software functional unit and as independent production marketing or when using, can be with It is stored in a computer read/write memory medium.Such understanding is based on, technical scheme is substantially in other words The part contributed by prior art or the part of the technical scheme can be embodied in the form of software product, the meter Calculation machine software product is stored in a storage medium, is used including some instructions so that a computer equipment (can be individual People's computer, server, or network equipment etc.) execute all or part of step of each embodiment methods described of the invention. And aforesaid storage medium includes:USB flash disk, portable hard drive, ROM, RAM, magnetic disc or CD etc. are various can be with store program codes Medium.
The above, the only specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, any Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be defined by scope of the claims.

Claims (12)

1. a kind of method for switching theme, is applied to server, it is characterised in that methods described includes:
Receive the positional information of at least two mobile terminals for having associated;
According to preset rules, the reference distance of mobile terminal that each has associated and reference position is calculated;
Obtain the corresponding target topic of reference distance of each mobile terminal;
Theme switching command is sent to described at least two mobile terminals for having associated, the theme switching command is closed for control The mobile terminal of connection switches the instruction of respective theme to respective target topic.
2. method according to claim 1, it is characterised in that the position of the mobile terminal that the reception at least two has been associated Before the step of confidence ceases, methods described also includes:
Receive the mapping table between the distance range and target topic arranged according to the predetermined manner of at least one of:
According to the theme that mobile phone users are selected, a target topic corresponding to each distance range is set;
According to the color change rule of theme, a target topic corresponding to each distance range is set.
3. method according to claim 2, it is characterised in that the reference distance of each mobile terminal of acquisition is corresponding The step of target topic, includes:
By inquiring about the mapping table, the corresponding target topic of reference distance of each mobile terminal is obtained.
4. method according to claim 1, it is characterised in that described according to preset rules, calculates each shifting for having associated The step of reference distance of dynamic terminal and reference position, including:
The positional information of the mobile terminal that described at least two have been associated constructs a polygon as multiple summits;
Calculate the distance between each summit and described polygonal central point;
The reference distance that each described distance is set to each mobile terminal.
5. method according to claim 1, it is characterised in that described according to preset rules, calculates each shifting for having associated The step of reference distance of dynamic terminal and reference position, including:
The positional information of the mobile terminal that described at least two have been associated constructs a polygon as multiple summits;
Calculate the meansigma methodss on each summit and the distance between the polygonal central point;
The reference distance that the meansigma methodss are set to each mobile terminal.
6. method according to claim 1, it is characterised in that the position of the mobile terminal that the reception at least two has been associated The step of confidence ceases, including:
According to the positional information that default temporal frequency receives at least two mobile terminals for having associated.
7. a kind of server, it is characterised in that the server includes:
Position receiver module, for receiving the positional information of at least two mobile terminals for having associated;
Distance calculation module, for according to preset rules, calculate the reference of mobile terminal that each has associated and reference position away from From;
Theme acquisition module, the corresponding target topic of the reference distance for obtaining each mobile terminal;
Instruction sending module, for sending theme switching command to described at least two mobile terminals for having associated, the theme Switching command is the instruction that the mobile terminal that control has been associated switches respective theme to respective target topic.
8. server according to claim 7, it is characterised in that the server also includes:
Mapping table receiver module, for receiving distance range and the target topic that the setup module of at least one of is arranged Between mapping table:
First setup module, for the theme selected according to mobile phone users, arranges corresponding to each distance range Target topic;
Second setup module, for the color change rule according to theme, arranges a target corresponding to each distance range Theme.
9. server according to claim 8, it is characterised in that the theme acquisition module includes:
Inquiry submodule, the corresponding mesh of the reference distance for by inquiring about the mapping table, obtaining each mobile terminal Mark theme.
10. server according to claim 7, it is characterised in that the distance calculation module includes:
Construction submodule, the positional information of the mobile terminal for having been associated described at least two are constructed as multiple summits One polygon;
Apart from calculating sub module, for calculating the distance between each summit and described polygonal central point;
First arranges submodule, for each described distance to be set to the reference distance of each mobile terminal.
11. servers according to claim 7, it is characterised in that the distance calculation module includes:
Construction submodule, the positional information of the mobile terminal for having been associated described at least two are constructed as multiple summits One polygon;
Average distance calculating sub module, average with the distance between the polygonal central point for calculating each summit Value;
Second arranges submodule, for the meansigma methodss to be set to the reference distance of each mobile terminal.
12. servers according to claim 7, it is characterised in that the position receiver module includes:
Position receiving submodule, for receiving the position letter of at least two mobile terminals for having associated according to default temporal frequency Breath.
CN201610862240.1A 2016-09-27 2016-09-27 A kind of method for switching theme and server Active CN106502652B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610862240.1A CN106502652B (en) 2016-09-27 2016-09-27 A kind of method for switching theme and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610862240.1A CN106502652B (en) 2016-09-27 2016-09-27 A kind of method for switching theme and server

Publications (2)

Publication Number Publication Date
CN106502652A true CN106502652A (en) 2017-03-15
CN106502652B CN106502652B (en) 2019-09-27

Family

ID=58291074

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610862240.1A Active CN106502652B (en) 2016-09-27 2016-09-27 A kind of method for switching theme and server

Country Status (1)

Country Link
CN (1) CN106502652B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108491125A (en) * 2018-03-12 2018-09-04 维沃移动通信有限公司 A kind of method of controlling operation thereof and mobile terminal of application shop
CN110442415A (en) * 2019-08-01 2019-11-12 广州创维平面显示科技有限公司 The switching of terminal applies style, control method, display terminal, server and system
WO2023134525A1 (en) * 2022-01-14 2023-07-20 华为技术有限公司 Appearance setting method and electronic device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102012783A (en) * 2010-09-16 2011-04-13 宇龙计算机通信科技(深圳)有限公司 Method and terminal for controlling terminal wallpaper
CN102355623A (en) * 2011-06-29 2012-02-15 青岛百灵信息科技有限公司 System and method for changing applicable desktop theme of mobile terminal according to position of mobile terminal
CN103269394A (en) * 2013-04-16 2013-08-28 广东欧珀移动通信有限公司 Setting method and system of application theme of mobile terminal
CN103593153A (en) * 2012-08-21 2014-02-19 百度在线网络技术(北京)有限公司 Mobile terminal and page cross-equipment synchronization control method applied to same

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102012783A (en) * 2010-09-16 2011-04-13 宇龙计算机通信科技(深圳)有限公司 Method and terminal for controlling terminal wallpaper
CN102355623A (en) * 2011-06-29 2012-02-15 青岛百灵信息科技有限公司 System and method for changing applicable desktop theme of mobile terminal according to position of mobile terminal
CN103593153A (en) * 2012-08-21 2014-02-19 百度在线网络技术(北京)有限公司 Mobile terminal and page cross-equipment synchronization control method applied to same
CN103269394A (en) * 2013-04-16 2013-08-28 广东欧珀移动通信有限公司 Setting method and system of application theme of mobile terminal

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108491125A (en) * 2018-03-12 2018-09-04 维沃移动通信有限公司 A kind of method of controlling operation thereof and mobile terminal of application shop
CN108491125B (en) * 2018-03-12 2021-05-25 维沃移动通信有限公司 Operation control method of application store and mobile terminal
CN110442415A (en) * 2019-08-01 2019-11-12 广州创维平面显示科技有限公司 The switching of terminal applies style, control method, display terminal, server and system
WO2023134525A1 (en) * 2022-01-14 2023-07-20 华为技术有限公司 Appearance setting method and electronic device

Also Published As

Publication number Publication date
CN106502652B (en) 2019-09-27

Similar Documents

Publication Publication Date Title
CN107466077A (en) A kind of method for switching network and mobile terminal
CN106372110B (en) Recommendation method of application program and mobile terminal
CN105912188A (en) Panel displaying method, portable electronic device and recording medium using the method
CN106354407B (en) A kind of information sharing method and mobile terminal
WO2017084532A1 (en) Method and device for displaying icons
US20140026098A1 (en) Systems and methods for navigating an interface of an electronic device
CN107632895A (en) A kind of information sharing method and mobile terminal
CN107171874A (en) A kind of speech engine switching method, mobile terminal and server
JP2019503479A (en) Route recommendation method, electronic device, and graphical user interface
CN106453953B (en) Wireless access point connection method and mobile terminal
CN106454735A (en) Method for processing WIFI information and mobile terminal
CN106961342A (en) A kind of group chat method and mobile terminal
CN107360601A (en) A kind of method for switching network, mobile terminal and computer-readable recording medium
CN106502652A (en) A kind of method for switching theme and server
CN106210106A (en) A kind of intelligent meeting implementation method and mobile terminal
CN106855744B (en) A kind of screen display method and mobile terminal
CN106775755A (en) One kind application recommendation method and mobile terminal
CN115917512A (en) Artificial intelligence request and suggestion card
US20160210023A1 (en) Method and device for displaying response
CN111307171B (en) Navigation processing method and terminal
CN106502614A (en) A kind of font control method and mobile terminal
CN106998368A (en) One kind flowing retail shop's localization method and mobile terminal
CN107196847A (en) A kind of group chat method and mobile terminal
CN107450996A (en) A kind of information cuing method, mobile terminal and computer read/write memory medium
CN112818259A (en) Content recommendation method, electronic device and computer-readable storage medium

Legal Events

Date Code Title Description
C06 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