CN109271224A - Method and apparatus for determining position - Google Patents

Method and apparatus for determining position Download PDF

Info

Publication number
CN109271224A
CN109271224A CN201811066938.8A CN201811066938A CN109271224A CN 109271224 A CN109271224 A CN 109271224A CN 201811066938 A CN201811066938 A CN 201811066938A CN 109271224 A CN109271224 A CN 109271224A
Authority
CN
China
Prior art keywords
mark
application
icon
picture
location index
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
CN201811066938.8A
Other languages
Chinese (zh)
Other versions
CN109271224B (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.)
Shanghai Zhangmen Science and Technology Co Ltd
Original Assignee
Shanghai Zhangmen Science and Technology 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 Shanghai Zhangmen Science and Technology Co Ltd filed Critical Shanghai Zhangmen Science and Technology Co Ltd
Priority to CN201811066938.8A priority Critical patent/CN109271224B/en
Publication of CN109271224A publication Critical patent/CN109271224A/en
Application granted granted Critical
Publication of CN109271224B publication Critical patent/CN109271224B/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

Abstract

The embodiment of the present application discloses the method and apparatus for determining position.One specific embodiment of this method includes: to obtain the mark for the application currently installed;According to mark, determine the picture mark position for the application currently installed as target icon position, wherein picture mark position indicates that the icon of application is shown in the position on the desktop of terminal device;The icon for the application currently installed is shown at target icon position.The embodiment helps to promote the flexibility and diversity of determining icon display position.

Description

Method and apparatus for determining position
Technical field
The invention relates to field of computer technology, and in particular to the method and apparatus for determining position.
Background technique
With the fast development of mobile terminal, the mobile terminal application for various functions is also more and more.User can be according to The use habit of oneself is ranked up the icon of each application shown on the desktop of used terminal device.
Generally, in new installation one in application, the icon of the application, which is usually defaulted, can be shown in the desktop of terminal device On the last one icon after;After being installed, user is allowed to adjust the icon of the application according to oneself use habit Display position.
Summary of the invention
The embodiment of the present application proposes the method and apparatus for determining position.
In a first aspect, the embodiment of the present application provides a kind of method for determining position, it is applied to terminal device, the party Method includes: to obtain the mark for the application currently installed;According to mark, the picture mark position for the application currently installed is determined As target icon position, wherein picture mark position indicates that the icon of application is shown in the position on the desktop of terminal device;In mesh The icon for the application currently installed is shown at cursor position of marking on a map.
Second aspect, the embodiment of the present application provide it is a kind of for determining the device of position, the device include: obtain it is single Member is configured to obtain the mark for the application currently installed;Determination unit is configured to be determined currently just according to mark Installation application picture mark position as target icon position, wherein picture mark position indicate application icon be shown in terminal Position on the desktop of equipment;Display unit is configured to show the application currently installed at target icon position Icon.
The third aspect, the embodiment of the present application provide a kind of network equipment, which includes: one or more processing Device;Storage device, for storing one or more programs;When one or more programs are executed by one or more processors, make Obtain method of the one or more processors realization as described in implementation any in first aspect.
Fourth aspect, the embodiment of the present application provide a kind of computer-readable medium, are stored thereon with computer program, should The method as described in implementation any in first aspect is realized when computer program is executed by processor.
Method and apparatus provided by the embodiments of the present application for determining position, by first obtaining the application being currently installed on Then mark shows the position on desktop on the terminal device simultaneously according to the icon of the determining application currently installed of mark It has been shown that, so that in new installation one in application, can determine that icon shows position on the table according to the mark of application It sets, facilitates the flexibility and diversity that promote determining picture mark position, avoid the application to all new installations all in accordance with same Logic is handled to determine picture mark position.
Detailed description of the invention
By reading a detailed description of non-restrictive embodiments in the light of the attached drawings below, the application's is other Feature, objects and advantages will become more apparent upon:
Fig. 1 is that one embodiment of the application can be applied to exemplary system architecture figure therein;
Fig. 2 is the flow chart according to one embodiment of the method for determining position of the application;
Fig. 3 is the flow chart according to another embodiment of the method for determining position of the application;
Fig. 4 is the schematic diagram according to an application scenarios of the method for determining position of the embodiment of the present application;
Fig. 5 is the flow chart according to another embodiment of the method for determining position of the application;
Fig. 6 is adapted for the structural schematic diagram for realizing the terminal device computer system of the embodiment of the present application.
Specific embodiment
The application is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining related invention, rather than the restriction to the invention.It also should be noted that in order to Convenient for description, part relevant to related invention is illustrated only in attached drawing.
It should be noted that in the absence of conflict, the features in the embodiments and the embodiments of the present application can phase Mutually combination.The application is described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
Fig. 1 is shown can be using the exemplary architecture 100 of the embodiment of the method for determining position of the application.
As shown in Figure 1, system architecture 100 may include terminal device 101, network 102 and the network equipment 103.Network 102 To provide the medium of communication link between terminal device 101 and the network equipment 103.Network 102 may include various connections Type, such as wired, wireless communication link or fiber optic cables etc..
Terminal device 101 is interacted by network 102 with the network equipment 103, to receive or send message etc..Terminal device Various client applications can be installed on 101.Such as file transmission class application, immediate communication tool etc..
Terminal device 101 can be hardware, be also possible to software.When terminal device 101 is hardware, can be with aobvious Display screen and the various electronic equipments for supporting to adjust the position of the icon of installed application, including but not limited to smart phone are put down Plate computer, pocket computer on knee and desktop computer etc..When terminal device 101 is software, may be mounted at above-mentioned In cited electronic equipment.Multiple softwares or software module may be implemented into (such as providing the more of Distributed Services in it A software or software module), single software or software module also may be implemented into.It is not specifically limited herein.
The network equipment 103 can be the various network equipments communicated to connect with terminal device 101.The network equipment 103 can be with It is various types of servers of service to be provided for terminal device 101 (server can be integrated form, be also possible to distribution ).For example, after the network equipment 103 can be the various requests (such as inquiry request) of receiving terminal apparatus 101 and be handled Platform server.Further, the processing result (such as query result) of request can also be back to terminal device by the network equipment 103 101。
It should be noted that the network equipment 103 can be hardware, it is also possible to software.When the network equipment 103 is hardware When, the distributed network equipment group of multiple network equipment compositions may be implemented into, single network equipment also may be implemented into.Work as net When network equipment 103 is software, multiple softwares or software module may be implemented into (such as providing the multiple soft of Distributed Services Part or software module), single software or software module also may be implemented into.It is not specifically limited herein.
It should be noted that the mark processing class application of off-line using can be installed on above-mentioned terminal device 101, it can With the position of the display of mark on the table for determining application.Terminal device 101 also can integrate for determining itself The processing logic of the position of the display of the mark of application on the table.At this point it is possible to which network 102 and the network equipment 103 is not present.
It should be noted that the method provided by some embodiments of the present application for determining position is generally set by terminal Standby 101 execute.
It should be understood that the number of terminal device, network and the network equipment in Fig. 1 is only schematical.According to realization It needs, can have any number of terminal device, network and the network equipment.
With continued reference to Fig. 2, it illustrates the processes according to one embodiment of the method for determining position of the application 200.This be used for determine position method the following steps are included:
Step 201, the mark for the application currently installed is obtained.
In the present embodiment, the mark of application can be the various information for identifying application.For example, the mark of application can To be to apply the unique identifier being arranged in exploitation or packing.In another example the mark of application is also possible to the category according to application Property information and the mark (such as the information such as title, the developer of application are combined and/or encrypted with obtained information) that generates.Mark Form include but is not limited to number, character string, additional character, image and it is above-mentioned it is various forms of combine etc..
In practice, the executing subject (terminal device 101 as shown in Figure 1) of the method for determining position can detected When the event of application being installed to instruction, various methods is utilized to obtain the mark for the application currently installed.For example, can use Application that more existing pair of application program is handled obtains the unique identifier of application currently installed, can also be with The associated profile for the application that analysis is currently being installed identifies to obtain.
Step 202, according to mark, determine the picture mark position for the application currently installed as target icon position.
In the present embodiment, picture mark position can indicate that the icon of application is shown in the position on the desktop of terminal device. Specifically, picture mark position can use a variety of representation methods.The figure of an application is indicated it is, for example, possible to use page number and lattice number Cursor position, wherein number of pages can indicate the serial number for the page for including on terminal device, and lattice number can be with the display figure on representation page The serial number of target area.In another example the picture mark position of an application can also be indicated directly using sequence number, wherein sequence The serial number of the display figure target area on the page on terminal device number can be indicated (from top to bottom and from a left side such as since homepage To right number consecutively).
In the present embodiment, it according to the mark for the application currently installed, can be used according to actual application demand Various methods determine the picture mark position of application currently installed.
For example, installation is in application, record the mark of the application of installation, so as to obtain history on each terminal device The logo collection for the application installed.It later, can be according to currently installing in the current event that installation application occurs The mark of application is inquired in above-mentioned logo collection.
If inquiring the mark of the existing application currently installed in above-mentioned logo collection, expression is currently being installed Application once installed on the terminal device, set then the icon for the application currently installed can be shown in terminal On the homepage of standby desktop.
If not finding the mark for the application currently installed in above-mentioned logo collection, what expression was currently being installed Using being to be installed on the terminal device for the first time, then can show that rule determines currently just according to the icon of system default The application of installation picture mark position and the icon of application currently installed is shown in this position.
Wherein, the icon that the operating system that the icon display rule of above system default can be terminal device is defaulted is aobvious Show rule.For example, the icon that many systems would generally default the application that will newly install show on the table the last one icon it Afterwards.
Step 203, the icon for the application currently installed is shown at target icon position.
The method provided by the above embodiment of the application determines currently just according to the mark for the application currently installed In the picture mark position of the application of installation, determined so as to avoid the application to all new installations all in accordance with same processing logic Picture mark position facilitates the flexibility and diversity that promote determining picture mark position.
With further reference to Fig. 3, it illustrates the processes 300 of another embodiment for determining the method for position.The use In the process 300 for the method for determining position, comprising the following steps:
Step 301, the mark for the application currently installed is obtained.
The specific implementation procedure of this step can refer to the related description of the step 201 in Fig. 2 corresponding embodiment, herein not It repeats again.
Step 302, it determines in preset location index record with the presence or absence of picture mark position corresponding with mark.
In the present embodiment, location index record can be used to indicate that application mark with application history picture mark position it Between corresponding relationship.Wherein, the history picture mark position of application can indicate to apply to be installed on terminal device before current time When upper, the icon of application shows position on the table.
Wherein, location index record can store in the local of terminal device, also can store other storage equipment (such as The network equipment 103 shown in FIG. 1, the external data library of terminal device, other third parties store equipment etc.) in.
Optionally, when in position, index record is stored in terminal device, terminal device can be directly in position index record In search whether exist picture mark position corresponding with the mark for the application currently installed.
Optionally, when in position, index record is stored in server-side (network equipment 103 as shown in Figure 1), can first to Server-side sends the request for obtaining location index record.Later, it can receive the location index record of server-side return, and Search whether there is picture mark position corresponding with the mark for the application currently installed in the location index record received.
Optionally, it when in position, index record is stored in server-side, can first send to server-side for requesting poll bit Set the request of index record.Wherein, it can wrap the mark containing the application currently installed in request.Later, it can receive The query result that server-side returns, and determined whether there is according to query result corresponding with the current mark of application installed Picture mark position.
Step 303, it in response to determining in location index record there is picture mark position corresponding with mark, obtains and mark pair The picture mark position answered is as target icon position.
In the present embodiment, the storage location that can be specifically recorded according to location index is sent from local or to server-side The request of picture mark position is obtained to obtain picture mark position corresponding with the current mark of application installed.
It, can be with when picture mark position corresponding with the mark for the application currently installed being not present in the index record of position The picture mark position for the application currently installed is determined using various ways, and using determining picture mark position as target icon Position.
It is alternatively possible to determine rule according to preset picture mark position, the icon position for the application currently installed is determined It sets.Wherein, picture mark position determines the icon display rule that rule can refer to that the operating system of terminal device is defaulted, and specifically may be used With with reference to the related description in the step 202 in Fig. 2 corresponding embodiment, details are not described herein.
Optionally, the type information for the application currently installed can also be first determined.Then available to be set from terminal The homepage of standby desktop starts the picture mark position of application retrieving for the first time, identical with the type of type information instruction.Later, The picture mark position for the application currently installed can be determined as target icon position around the picture mark position retrieved.
Wherein, the above-mentioned type information can be used to indicate that the type for the application currently installed.It, can to application in practice To there is the division mode of different dimensions, the corresponding type of different division modes may also be different.For example, can be incited somebody to action according to function Using division are as follows: office class, game class, audio class, beauty class etc., can also be divided into according to age bracket the mankind, child's class, Old class etc..Specifically, multiple subclasses can also be further divided into for the application under same class, such as above-mentioned game The application of class can also be further divided into adventure, movement class, intelligence development class, picture mosaic class etc..
Wherein it is possible to a nearest empty region of picture mark position that distance retrieves is determined as currently installing The picture mark position of application.
Picture mark position corresponding with the mark for the application currently installed is not present in the index record of position, and passes through Various methods determined currently installing using corresponding target icon position after, can also be further to target icon position The mark for the application set and currently installed executes processing operation.Wherein, above-mentioned processing operation can be used in location index The corresponding relationship of the mark of target icon position and the application currently installed is added in record.
Optionally, when in position, concordance list is stored in the local of terminal device, above-mentioned processing operation may include by target The mark associated storage of picture mark position and the application currently installed.
Optionally, when in position, concordance list is stored in server-side, above-mentioned processing operation can also include sending to server-side For storing the storage request of the mark of target icon position and the current application installed.It wherein, can be in storage request It include the mark of target icon position and the application currently installed.Later, the target figure that server-side can will receive Cursor position and expression associated storage.
By timely there will be no with the mark of the application in location index table and this apply corresponding target icon position Set associated storage, can enrich constantly and update the content in location index table, thus guarantee not show stored in concordance list it is interior The timeliness and integrality of appearance.
Step 304, the icon for the application currently installed is shown at target icon position.
Optionally, it when icon currently has had been displayed at target icon position, can change current at target icon position The picture mark position of the application of the icon instruction of display, and the icon for the application currently installed is shown in target icon position Place.
With continued reference to the signal that Fig. 4, Fig. 4 are according to the application scenarios of the method for determining position of the present embodiment Figure 40 0.In the application scenarios of Fig. 4, when terminal device 401 detects that user selects installation application " K ", it can first obtain and answer " 02 " (as shown in figure label 402) is identified as with " K ".
Later, the location index table 403 of terminal device storage can be inquired.As shown in the figure, it is deposited in location index table 403 Contain the mark of application and the corresponding relationship of the corresponding history picture mark position of application.It can be found from location index table 403 History picture mark position corresponding with mark " 02 " is " L4 " (as shown in figure label 404).It is possible to the end indicated at " L4 " The icon of K is applied in display at position on the desktop of end equipment 401 (as shown in figure label 406).
Specifically, the picture mark position on the desktop of terminal device 401 can be according to position from left to right and from top to bottom It is numbered.As shown in figure label 405, before installing using K, application is successively shown respectively on the desktop of terminal device " A ", " B ", " C ", " D ", " E " icon, and application " A ", " B ", " C ", " D ", " E " corresponding picture mark position be " L1 ", "L2","L3","L4","L5".When installation is using K, the icon of application K is shown at picture mark position " L4 ", that is, is shown in Position shown by the icon of application " D " before installation.During installation, can will using " D " and " E " picture mark position sequentially backward It is mobile.As shown in figure label 406, it is respectively moved at picture mark position " L5 " and " L6 " using the icon of " D " and " E ".
From figure 3, it can be seen that the method for determining position compared with the corresponding embodiment of Fig. 2, in the present embodiment Process 300 highlight the step that the mark of application currently installed can be determined according to pre-set location index table Suddenly.The scheme of the present embodiment description can be applied what is currently installed when being once unloaded before as a result, can be according to position Corresponding picture mark position when being once installed on terminal device before concordance list is found is set, and the picture mark position found is determined Corresponding picture mark position is installed for this, thus realize for installation be once unloaded in application, can be by the figure of application Once the position that showed when mark is installed before being shown in, this processing mode facilitate compared with fitting in the use habit of user User experience is promoted, the process that user needs to readjust the picture mark position for the application installed is saved.
With further reference to Fig. 5, it illustrates the processes 500 of another embodiment for determining the method for position.The use In the process 500 for the method for determining position, comprising the following steps:
Step 501, the event of instruction unloading application or change picture mark position is detected whether, if there is instruction unloading to answer Event occurs, and can execute following step 5021,5022,50231 and 50232, if there is the thing of instruction change picture mark position Part occurs, and can execute following step 5031,5032,50331 and 50332.
In the present embodiment, terminal device can continue to detect whether various events (such as user's operation) indicate that unloading is answered With or change picture mark position.
Step 5021, it obtains for identifying the mark of the application currently unloaded and working as the current application unloaded Preceding picture mark position.
Step 5022, the mark in location index record with the presence or absence of the application currently unloaded is determined.If it does not exist, Following step 50231 can be executed, and if it exists, following step 50232 can be executed.
In this step, with it is aforementioned similarly, can be direct when in position, index record is stored in the local of terminal device Retrieval is carried out in the index record of position with the presence or absence of the mark of the application currently unloaded.In position, index record is stored in When server-side, the request for obtaining location index and recording can be first sent to server-side, and in the position for receiving server-side return Index record and then retrieval is carried out in the index record of position with the presence or absence of the mark of application currently unloaded.In place When setting index record and being stored in server-side, inquiry request can also be sent to server-side, by server-side in the index record of position Inquiring and returning indicates in location index record with the presence or absence of the query result of the mark of the application currently unloaded.
Step 50231, the current icon position of the application unloaded to the mark of the application currently unloaded and currently Set execution processing operation, wherein processing operation in the index record of position for adding the mark of the application currently unloaded The corresponding relationship of the current icon position of the application currently unloaded.
Step 50232, in the current icon position and location index record in response to determining the application currently unloaded Picture mark position corresponding from the mark of the application currently unloaded is different, to the mark of the application currently unloaded and current The current icon position of the application unloaded executes replacement operation, wherein replacement operation be used to record location index in The corresponding picture mark position of mark of the application currently unloaded replaces with the current icon position of the application currently unloaded.
Step 5031, the mark for obtaining the application of the icon instruction of change picture mark position and the picture mark position after change.
Step 5032, the mark of the application in location index record with the presence or absence of the icon instruction of change picture mark position is determined Know.If it does not exist, following step 50331 can be executed, and if it exists, following step 50332 can be executed.
In this step, with it is aforementioned similarly, can be direct when in position, index record is stored in the local of terminal device The mark of the application of icon instruction of the retrieval with the presence or absence of change picture mark position is carried out in the index record of position.In location index Record storage can first send the request for obtaining location index and recording when server-side to server-side, and receive server-side The location index of return records and then carries out in the index record of position retrieval and refers to the presence or absence of the icon of change picture mark position The mark for the application shown.When index record is stored in server-side in position, inquiry request can also be sent to server-side, by servicing End is inquired in the index record of position and returns to the icon instruction indicated in location index record with the presence or absence of change picture mark position Application mark query result.
Step 50331, the picture mark position after the mark and change of the application of the icon instruction of change picture mark position is executed Processing operation, wherein the mark and the figure after change that processing operation is used to store the application of the icon instruction of change picture mark position The corresponding relationship of cursor position.
Step 50332, in response to determine in picture mark position and location index record after change with change picture mark position The corresponding picture mark position of mark of the application of icon instruction is different, mark to the application of the icon instruction of change picture mark position and Picture mark position after change executes replacement operation, wherein replacement operation be used to record location index in change picture mark position The corresponding picture mark position of mark of application of icon instruction replace with the picture mark position after change.
From figure 5 it can be seen that the side for being used to determine position on the basis of Fig. 2 corresponding embodiment, in the present embodiment The process 500 of method highlights the correlation step of the update to position concordance list.The scheme of the present embodiment description can sent out as a result, When the event that raw unloading application or change picture mark position etc. influence the arrangement of the icon on the desktop of terminal device occurs, timely Location index table is updated, to store the corresponding relationship (mark including storing new application of newest application identities and picture mark position Know with corresponding picture mark position, and change the mark of stored application and the corresponding relationship of picture mark position).By timely Location index table is updated, the integrality and timeliness of the content of location index table storage is effectively guaranteed, facilitates further Promote user experience.
Below with reference to Fig. 6, it illustrates the terminal device (ends as shown in Figure 1 for being suitable for being used to realize the embodiment of the present application End equipment 101) computer system 600 structural schematic diagram.Terminal device shown in Fig. 6 is only an example, should not be right The function and use scope of the embodiment of the present application bring any restrictions.
As shown in fig. 6, computer system 600 includes central processing unit (CPU) 601, it can be read-only according to being stored in Program in memory (ROM) 602 or be loaded into the program in random access storage device (RAM) 603 from storage section 608 and Execute various movements appropriate and processing.In RAM 603, also it is stored with system 600 and operates required various programs and data. CPU 601, ROM 602 and RAM 603 are connected with each other by bus 604.Input/output (I/O) interface 605 is also connected to always Line 604.
I/O interface 605 is connected to lower component: the importation 606 including keyboard, mouse etc.;It is penetrated including such as cathode The output par, c 607 of spool (CRT), liquid crystal display (LCD) etc. and loudspeaker etc.;Storage section 608 including hard disk etc.; And the communications portion 609 of the network interface card including LAN card, modem etc..Communications portion 609 via such as because The network of spy's net executes communication process.Driver 610 is also connected to I/O interface 605 as needed.Detachable media 611, such as Disk, CD, magneto-optic disk, semiconductor memory etc. are mounted on as needed on driver 610, in order to read from thereon Computer program be mounted into storage section 608 as needed.
Particularly, in accordance with an embodiment of the present disclosure, it may be implemented as computer above with reference to the process of flow chart description Software program.For example, embodiment of the disclosure includes a kind of computer program product comprising be carried on computer-readable medium On computer program, which includes the program code for method shown in execution flow chart.In such reality It applies in example, which can be downloaded and installed from network by communications portion 609, and/or from detachable media 611 are mounted.When the computer program is executed by central processing unit (CPU) 601, limited in execution the present processes Above-mentioned function.
It should be noted that the computer-readable medium of the application can be computer-readable signal media or computer Readable storage medium storing program for executing either the two any combination.Computer readable storage medium for example can be --- but it is unlimited In system, device or the device of --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, or any above combination.It calculates The more specific example of machine readable storage medium storing program for executing can include but is not limited to: have the electrical connection, portable of one or more conducting wires Formula computer disk, hard disk, random access storage device (RAM), read-only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory device or The above-mentioned any appropriate combination of person.In this application, computer readable storage medium can be it is any include or storage program Tangible medium, which can be commanded execution system, device or device use or in connection.And in this Shen Please in, computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal, In carry computer-readable program code.The data-signal of this propagation can take various forms, including but not limited to Electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be computer-readable Any computer-readable medium other than storage medium, the computer-readable medium can send, propagate or transmit for by Instruction execution system, device or device use or program in connection.The journey for including on computer-readable medium Sequence code can transmit with any suitable medium, including but not limited to: wireless, electric wire, optical cable, RF etc. are above-mentioned Any appropriate combination.
The calculating of the operation for executing the application can be write with one or more programming languages or combinations thereof Machine program code, programming language include object-oriented programming language-such as Java, Smalltalk, C++, also Such as including conventional procedural programming language-" C " language or similar programming language.Program code can be complete It executes, partly executed on the user computer on the user computer entirely, being executed as an independent software package, part Part executes on the remote computer or executes on a remote computer or server completely on the user computer.It is relating to And in the situation of remote computer, remote computer can pass through the network of any kind --- including local area network (LAN) or extensively Domain net (WAN)-be connected to subscriber computer, or, it may be connected to outer computer (such as provided using Internet service Quotient is connected by internet).
Flow chart and block diagram in attached drawing are illustrated according to the system of the various embodiments of the application, method and computer journey The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation A part of one module, program segment or code of table, a part of the module, program segment or code include one or more use The executable instruction of the logic function as defined in realizing.It should also be noted that in some implementations as replacements, being marked in box The function of note can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are actually It can be basically executed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.Also it to infuse Meaning, the combination of each box in block diagram and or flow chart and the box in block diagram and or flow chart can be with holding The dedicated hardware based system of functions or operations as defined in row is realized, or can use specialized hardware and computer instruction Combination realize.
Being described in unit involved in the embodiment of the present application can be realized by way of software, can also be by hard The mode of part is realized.Described unit also can be set in the processor, for example, can be described as: a kind of processor, packet Include acquiring unit, determination unit and display unit.Wherein, the title of these units is not constituted under certain conditions to the unit The restriction of itself, for example, acquiring unit is also described as " obtaining the unit of the mark for the application currently installed ".
As on the other hand, present invention also provides a kind of computer-readable medium, which be can be Included in terminal device described in above-described embodiment;It is also possible to individualism, and without in the supplying terminal device. Above-mentioned computer-readable medium carries one or more program, when said one or multiple programs are held by the terminal device When row, so that the terminal device: obtaining the mark for the application currently installed;It is currently being installed according to mark, determination The picture mark position of application is as target icon position, wherein picture mark position indicates that the icon of application is shown in the table of terminal device Position on face;The icon for the application currently installed is shown at target icon position.
Above description is only the preferred embodiment of the application and the explanation to institute's application technology principle.Those skilled in the art Member is it should be appreciated that invention scope involved in the application, however it is not limited to technology made of the specific combination of above-mentioned technical characteristic Scheme, while should also cover in the case where not departing from foregoing invention design, it is carried out by above-mentioned technical characteristic or its equivalent feature Any combination and the other technical solutions formed.Such as features described above has similar function with (but being not limited to) disclosed herein Can technical characteristic replaced mutually and the technical solution that is formed.

Claims (17)

1. a kind of method for determining position is applied to terminal device, comprising:
Obtain the mark for the application currently installed;
According to the mark, determine the picture mark position for the application currently installed as target icon position, wherein icon position Setting indicates that the icon of application is shown in the position on the desktop of the terminal device;
The icon for the application currently installed is shown at the target icon position.
2. it is described according to the mark according to the method described in claim 1, wherein, determine the application currently installed Picture mark position is as target icon position, comprising:
It determines in preset location index record with the presence or absence of picture mark position corresponding with the mark, wherein the position rope Draw record for indicating the corresponding relationship between the mark of application and the history picture mark position of application;
In response to there is picture mark position corresponding with the mark in the determination location index record, obtain and the mark pair The picture mark position answered is as the target icon position.
3. according to the method described in claim 2, wherein, the location index record storage is in the terminal device;And
It whether there is picture mark position corresponding with the mark in the preset location index record of determination, comprising:
Search whether there is picture mark position corresponding with the mark in location index record.
4. according to the method described in claim 2, wherein, the location index record storage is in server-side;And
It whether there is picture mark position corresponding with the mark in the preset location index record of determination, comprising:
The request recorded for obtaining the location index is sent to server-side;
Receive the location index record that server-side returns;
Search whether there is picture mark position corresponding with the mark in the location index record received.
5. according to the method described in claim 2, wherein, the location index record storage is in server-side;And
It whether there is picture mark position corresponding with the mark in the preset location index record of determination, comprising:
The request for requesting the inquiry location index to record is sent to server-side, wherein includes described in the request Mark;
Receive the query result that server-side returns;
Picture mark position corresponding with the mark is determined whether there is according to the query result.
6. method described in one of -5 according to claim 1, wherein the method also includes:
In response to icon has currently had been displayed at the determination target icon position, changes at the target icon position and currently show The picture mark position of the application for the icon instruction shown.
7. it is described according to the mark according to the method described in claim 2, wherein, determine the application currently installed Picture mark position is as target icon position, further includes:
In response to picture mark position corresponding with the mark is not present in the determination location index record, according to preset icon Position determines rule, determines the picture mark position for the application currently installed as the target icon position.
8. according to the method described in claim 7, wherein, determining rule according to preset picture mark position described, determining current After the picture mark position for the application installed is as the target icon position, further includes:
Processing operation is executed to the mark of the target icon position and the current application installed, wherein the processing behaviour Act on pair that the mark of the target icon position and the current application installed is added in location index record It should be related to.
9. according to the method described in claim 8, wherein, the processing operation includes:
By the mark associated storage of the target icon position and the current application installed.
10. according to the method described in claim 8, wherein, the processing operation includes:
The storage request of the mark for storing the target icon position and the current application installed is sent to server-side, It wherein, include the mark of the target icon position and the application currently installed in the storage request.
11. it is described according to the mark according to the method described in claim 2, wherein, determine the application currently installed Picture mark position is as target icon position, further includes:
In response to picture mark position corresponding with the mark is not present in the determination location index record, determination is currently being pacified The type information of the application of dress;
Obtain application retrieving for the first time since the homepage of the desktop, identical with the type of type information instruction Picture mark position;
Determine the picture mark position for the application currently installed as the target icon position around the picture mark position retrieved It sets.
12. according to the method described in claim 2, wherein, the method also includes:
Obtain the mark for identifying the application currently unloaded and the current icon position of the current application unloaded;
Determine the mark in the location index record with the presence or absence of the application currently unloaded;
In response in determination location index record there is no the mark of the application currently unloaded, to currently unloading Application mark and the current icon position of application that is currently unloading execute processing operation, wherein the processing operation For adding the mark of the application currently unloaded and working as the application currently unloaded in location index record The corresponding relationship of preceding picture mark position.
13. according to the method for claim 12, wherein the method also includes:
In response to there is the mark of the application currently unloaded in the determination location index record, and it is current in response to determining Mark pair in the current icon position of the application unloaded and location index record with the application currently unloaded The picture mark position answered is different, the current icon position of mark and the application currently unloaded to the application currently unloaded Execute replacement operation, wherein the application unloaded during the replacement operation is used to record the location index and currently Identify the current icon position that corresponding picture mark position replaces with the application currently unloaded.
14. according to the method described in claim 2, wherein, the method also includes:
The mark for obtaining the application of the icon instruction of change picture mark position and the picture mark position after change;
Determine the mark of the application in the location index record with the presence or absence of the icon instruction of change picture mark position;
In response to there is no the marks of the application of the icon instruction of change picture mark position in the determination location index record, to change The mark of application of the icon instruction of more picture mark position and the picture mark position after change execute processing operation, wherein the processing The mark of the application of icon instruction of the operation for storing change picture mark position and the corresponding relationship of the picture mark position after change.
15. according to the method for claim 14, wherein the method also includes:
In response to there is the mark of the application of the icon instruction of change picture mark position in the determination location index record, and respond In the mark for determining the application indicated in the picture mark position after change and location index record with the icon of change picture mark position Corresponding picture mark position difference is known, to the icon position after the mark and change of the application of the icon instruction of the change picture mark position Set execution replacement operation, wherein the replacement operation is used for the icon in location index record with change picture mark position The corresponding picture mark position of mark of the application of instruction replaces with the picture mark position after change.
16. a kind of network equipment, comprising:
One or more processors;
Storage device, for storing one or more programs;
When one or more of programs are executed by one or more of processors, so that one or more of processors are real The now method as described in any in claim 1-15.
17. a kind of computer-readable medium is stored thereon with computer program, real when the computer program is executed by processor The now method as described in any in claim 1-15.
CN201811066938.8A 2018-09-13 2018-09-13 Method and apparatus for determining position Active CN109271224B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811066938.8A CN109271224B (en) 2018-09-13 2018-09-13 Method and apparatus for determining position

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811066938.8A CN109271224B (en) 2018-09-13 2018-09-13 Method and apparatus for determining position

Publications (2)

Publication Number Publication Date
CN109271224A true CN109271224A (en) 2019-01-25
CN109271224B CN109271224B (en) 2022-06-10

Family

ID=65189361

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811066938.8A Active CN109271224B (en) 2018-09-13 2018-09-13 Method and apparatus for determining position

Country Status (1)

Country Link
CN (1) CN109271224B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114489689A (en) * 2021-08-26 2022-05-13 荣耀终端有限公司 Application program installation method and system, electronic equipment and server
CN116048710A (en) * 2023-04-03 2023-05-02 荣耀终端有限公司 Application identifier display method, electronic device and readable storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104391724A (en) * 2014-12-05 2015-03-04 广州三星通信技术研究有限公司 Method and device for reconfiguring positions of icons
CN105786310A (en) * 2015-11-17 2016-07-20 广东欧珀移动通信有限公司 Ranking method and device for application icons
CN105930020A (en) * 2015-12-29 2016-09-07 中国银联股份有限公司 Method and apparatus for function icons of management terminal application program
CN106030487A (en) * 2013-12-18 2016-10-12 三星电子株式会社 For controlling method and the electronic equipment thereof of the composition of screen
CN106155743A (en) * 2016-06-30 2016-11-23 维沃移动通信有限公司 The control method of a kind of application program installation and mobile terminal
CN106339161A (en) * 2016-08-30 2017-01-18 维沃移动通信有限公司 Arrangement method of desktop icons and mobile terminal
CN106445335A (en) * 2016-09-07 2017-02-22 广东欧珀移动通信有限公司 Application icon processing method and device, and mobile terminal
CN106814931A (en) * 2015-11-27 2017-06-09 中移(杭州)信息技术有限公司 A kind of terminal and application program image target localization method
CN106897069A (en) * 2017-02-28 2017-06-27 维沃移动通信有限公司 A kind of application program image target aligning method and mobile terminal

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106030487A (en) * 2013-12-18 2016-10-12 三星电子株式会社 For controlling method and the electronic equipment thereof of the composition of screen
CN104391724A (en) * 2014-12-05 2015-03-04 广州三星通信技术研究有限公司 Method and device for reconfiguring positions of icons
CN105786310A (en) * 2015-11-17 2016-07-20 广东欧珀移动通信有限公司 Ranking method and device for application icons
CN106814931A (en) * 2015-11-27 2017-06-09 中移(杭州)信息技术有限公司 A kind of terminal and application program image target localization method
CN105930020A (en) * 2015-12-29 2016-09-07 中国银联股份有限公司 Method and apparatus for function icons of management terminal application program
CN106155743A (en) * 2016-06-30 2016-11-23 维沃移动通信有限公司 The control method of a kind of application program installation and mobile terminal
CN106339161A (en) * 2016-08-30 2017-01-18 维沃移动通信有限公司 Arrangement method of desktop icons and mobile terminal
CN106445335A (en) * 2016-09-07 2017-02-22 广东欧珀移动通信有限公司 Application icon processing method and device, and mobile terminal
CN106897069A (en) * 2017-02-28 2017-06-27 维沃移动通信有限公司 A kind of application program image target aligning method and mobile terminal

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114489689A (en) * 2021-08-26 2022-05-13 荣耀终端有限公司 Application program installation method and system, electronic equipment and server
CN114489689B (en) * 2021-08-26 2023-01-13 荣耀终端有限公司 Application program installation method and system, electronic equipment and server
CN116048710A (en) * 2023-04-03 2023-05-02 荣耀终端有限公司 Application identifier display method, electronic device and readable storage medium
CN116048710B (en) * 2023-04-03 2023-09-29 荣耀终端有限公司 Application identifier display method, electronic device and readable storage medium

Also Published As

Publication number Publication date
CN109271224B (en) 2022-06-10

Similar Documents

Publication Publication Date Title
CN108282529A (en) Publication and system, the method and apparatus for subscribing to data
CN109447635A (en) Information storage means and device for block chain
CN109062563A (en) Method and apparatus for generating the page
CN109992732A (en) Information sharing method, device, electronic equipment and storage medium
CN110222775A (en) Image processing method, device, electronic equipment and computer readable storage medium
CN109582873A (en) Method and apparatus for pushed information
CN109710905A (en) Document synergic editing method, device, storage medium and electronic equipment
CN110263565A (en) Method and apparatus for calling service
CN109803008A (en) Method and apparatus for showing information
CN109753332A (en) Method and apparatus for showing information
CN110334246A (en) A kind of data request processing method, apparatus, terminal device and storage medium
CN109885593A (en) Method and apparatus for handling information
CN109743245A (en) The method and apparatus for creating group
CN110365745A (en) Data processing system, method, apparatus, server and computer-readable medium
CN109918146A (en) Page generation method and device
CN110139118A (en) Function operation method, device, electronic equipment and the storage medium of application program
CN108959642A (en) Method and apparatus for information to be written
CN109271224A (en) Method and apparatus for determining position
CN110119386A (en) Data processing method, data processing equipment, medium and calculating equipment
CN109819042A (en) For providing the method and apparatus of Software Development Kit
CN110046000A (en) Small routine operation method and device
CN109857325A (en) Display interface switching method, electronic equipment and computer readable storage medium
CN108984260B (en) Method and apparatus for handling information
CN109582487A (en) Method and apparatus for sending information
CN109684116A (en) Data sharing method, device, equipment and medium

Legal Events

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