[go: up one dir, main page]

CN105335179B - Using home interface switching method and device - Google Patents

Using home interface switching method and device Download PDF

Info

Publication number
CN105335179B
CN105335179B CN201410363086.4A CN201410363086A CN105335179B CN 105335179 B CN105335179 B CN 105335179B CN 201410363086 A CN201410363086 A CN 201410363086A CN 105335179 B CN105335179 B CN 105335179B
Authority
CN
China
Prior art keywords
interface
terminal
homepage
identifier
home page
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.)
Expired - Fee Related
Application number
CN201410363086.4A
Other languages
Chinese (zh)
Other versions
CN105335179A (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.)
New Founder Holdings Development Co ltd
Beijing Founder Electronics Co Ltd
Original Assignee
Peking University Founder Group Co Ltd
Beijing Founder Electronics 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 Peking University Founder Group Co Ltd, Beijing Founder Electronics Co Ltd filed Critical Peking University Founder Group Co Ltd
Priority to CN201410363086.4A priority Critical patent/CN105335179B/en
Publication of CN105335179A publication Critical patent/CN105335179A/en
Application granted granted Critical
Publication of CN105335179B publication Critical patent/CN105335179B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • User Interface Of Digital Computer (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本发明提供了一种应用首页界面切换方法及装置。该方法包括:接收终端发送的用于指示将当前应用的当前首页界面进行切换的切换指令,所述切换指令中携带进行切换后的目标首页界面的标识,根据所述目标首页界面的标识,获取到与所述目标首页界面的标识对应的目标首页界面,将所述目标首页界面作为当前应用的首页界面显示给所述终端。本发明针对不同用户为每个应用设置不同的首页界面,实现了用户的个性化定制,解决了应用的首页界面设置单一的问题,用户可以灵活的对应用的首页界面进行切换。

The invention provides a method and device for switching an application homepage interface. The method includes: receiving a switching instruction sent by a terminal for instructing to switch the current homepage interface of the current application, the switching instruction carrying the identifier of the target homepage interface after switching, and obtaining the target homepage interface according to the identifier of the target homepage interface Go to the target homepage interface corresponding to the identifier of the target homepage interface, and display the target homepage interface as the homepage interface of the current application to the terminal. The present invention sets different homepage interfaces for each application for different users, realizes personalized customization of users, solves the problem of single setting of the homepage interface of the application, and the user can flexibly switch the homepage interface of the application.

Description

应用首页界面切换方法及装置Application home page interface switching method and device

技术领域technical field

本发明涉及通信领域,尤其涉及一种应用首页界面切换方法及装置。The present invention relates to the communication field, in particular to a method and device for switching an application home page interface.

背景技术Background technique

开放式互联网发展的必然趋势,基于即时通讯的开放平台也应用越来越广泛。开放平台可以通过应用市场(Application Store,简称APP Store,)接入大量的第三方应用。用户可以根据需求安装自己的应用软件。The inevitable trend of the development of the open Internet, the open platform based on instant messaging is also more and more widely used. The open platform can access a large number of third-party applications through an application store (Application Store, APP Store for short). Users can install their own application software according to their needs.

在每个应用的先期开发过程中,设计者会为每个应用设置一个统一的首页界面。实际应用中,当在用户的终端上显示出某一应用的首页界面后,用户可以直观地通过该首页界面,了解和调用该应用提供的功能。一般一个应用只设置有一个首页界面,如果用户并不能根据自己的需求,对应用的首页界面进行调整,使得应用的调用灵活性较差。During the early development process of each application, the designer will set a unified homepage interface for each application. In practical applications, when the home page interface of a certain application is displayed on the user's terminal, the user can intuitively learn about and invoke the functions provided by the application through the home page interface. Generally, an application only has one home page interface. If the user cannot adjust the home page interface of the application according to his own needs, the flexibility of calling the application is poor.

发明内容Contents of the invention

本发明提供一种应用首页界面切换方法及装置,用于解决应用的首页界面设置单一,不能灵活切换应用的首页界面的问题。The present invention provides a method and device for switching an application home page interface, which are used to solve the problem that the application home page interface is single and cannot be flexibly switched.

为了实现上述目的,本发明提供的一种应用首页界面切换方法,包括:In order to achieve the above purpose, the present invention provides a method for switching an application home page interface, including:

接收终端发送的用于指示将当前应用的当前首页界面进行切换的切换指令,所述切换指令中携带进行切换后的目标首页界面的标识;receiving a switch command sent by the terminal for instructing to switch the current home page interface of the current application, where the switch command carries an identifier of the target home page interface after switching;

根据所述目标首页界面的标识,获取到与所述目标首页界面的标识对应的目标首页界面;According to the identification of the target home page interface, the target home page interface corresponding to the identification of the target home page interface is obtained;

将当前应用的首页界面从所述当前首页界面切换到所述目标首页界面。Switching the homepage interface of the current application from the current homepage interface to the target homepage interface.

为了实现上述目的,本发明提供的一种应用首页界面切换装置,包括:In order to achieve the above purpose, the present invention provides an application home page interface switching device, comprising:

接收模块,用于接收终端发送的用于指示将当前应用的当前首页界面进行切换的切换指令,所述切换指令中携带进行切换后的目标首页界面的标识;The receiving module is configured to receive a switching instruction sent by the terminal for instructing to switch the current homepage interface of the current application, and the switching instruction carries an identifier of the target homepage interface after switching;

获取模块,用于根据所述目标首页界面的标识,获取到与所述目标首页界面的标识对应的目标首页界面;An acquisition module, configured to acquire, according to the identification of the target home page interface, the target home page interface corresponding to the identification of the target home page interface;

切换模块,用于将当前应用的首页界面从所述当前首页界面切换到所述目标首页界面。A switching module, configured to switch the homepage interface of the current application from the current homepage interface to the target homepage interface.

本发明提供的应用首页界面切换方法及装置,接收终端发送的用于指示将当前应用的当前首页界面进行切换的切换指令,所述切换指令中携带进行切换后的目标首页界面的标识,根据所述目标首页界面的标识,获取到与所述目标首页界面的标识对应的目标首页界面,将所述目标首页界面作为当前应用的首页界面显示给所述终端。本发明针对不同用户为每个应用设置不同的首页界面,实现了用户的个性化定制,解决了应用的首页界面设置单一的问题,用户可以灵活的对应用的首页界面进行切换。The application homepage interface switching method and device provided by the present invention receive a switching instruction sent by a terminal for instructing to switch the current homepage interface of the current application, and the switching instruction carries the identifier of the target homepage interface after switching, according to the The identifier of the target homepage interface is obtained, the target homepage interface corresponding to the identifier of the target homepage interface is acquired, and the target homepage interface is displayed to the terminal as the homepage interface of the current application. The present invention sets different homepage interfaces for each application for different users, realizes personalized customization of users, solves the problem of single setting of the homepage interface of the application, and the user can flexibly switch the homepage interface of the application.

附图说明Description of drawings

图1为本发明实施例一提供的一种应用首页界面切换方法的流程示意图;FIG. 1 is a schematic flowchart of a method for switching an application homepage interface provided by Embodiment 1 of the present invention;

图2为本发明实施例二提供的一种应用首页界面切换装置的结构示意图;FIG. 2 is a schematic structural diagram of an application home page interface switching device provided in Embodiment 2 of the present invention;

图3为本发明实施例三提供的另一种应用首页界面切换装置的结构示意图。FIG. 3 is a schematic structural diagram of another application home page interface switching device provided by Embodiment 3 of the present invention.

具体实施方式Detailed ways

为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments.

实施例一Embodiment one

图1本发明实施例一提供的一种应用首页界面切换方法的流程示意图。本实施例中应用首页界面切换方法的执行主体可以为应用首页界面切换装置,也可以为服务器。如图1所示,该应用首页界面切换方法包括以下步骤:FIG. 1 is a schematic flowchart of a method for switching an application home page interface provided by Embodiment 1 of the present invention. The execution subject of the method for switching the application home page interface in this embodiment may be an application home page interface switching device, or may be a server. As shown in Figure 1, the method for switching the home page interface of the application includes the following steps:

101、接收终端发送的用于指示将当前应用的当前首页界面进行切换的切换指令。101. Receive a switch instruction sent by a terminal for instructing to switch the current home page interface of the current application.

其中,所述切换指令中携带进行切换后的目标首页界面的标识。Wherein, the switching instruction carries the identifier of the target home page interface after switching.

本实施例中,以执行主体为服务器进行说明。当终端对应的用户试图切换当前应用的当前首页界面时,用户可以通过终端向服务器发送一个切换指令,该切换指令用于指示服务器对当前应用的当前首页界面进行切换。本实施例中,切换指令中携带有进行切换后的目标首页界面的标识。In this embodiment, an execution subject is used as a server for description. When the user corresponding to the terminal tries to switch the current homepage interface of the current application, the user may send a switching instruction to the server through the terminal, and the switching instruction is used to instruct the server to switch the current homepage interface of the current application. In this embodiment, the switching instruction carries the identifier of the target home page interface after switching.

本实施例中,终端对应的用户可以为个人,也可以为一个企业。当为一个企业时,通过终端向服务器发送指令的用户可以为该企业的网络管理员,网络管理员来对应用的首页界面进行切换。In this embodiment, the user corresponding to the terminal may be an individual or an enterprise. When it is an enterprise, the user who sends instructions to the server through the terminal can be the network administrator of the enterprise, and the network administrator switches the home page interface of the application.

服务器可以预先为每个首页界面设置一个序号或者标识码,或者服务器为每个首页界面设置一个名称,然后服务器将首页界面的序号或者首页界面的标识码或者首页界面的名称作为识别首页界面的标识。The server can set a serial number or identification code for each home page interface in advance, or the server can set a name for each home page interface, and then the server uses the serial number of the home page interface, the identification code of the home page interface, or the name of the home page interface as the identification of the home page interface .

本实施例中,服务器在接收终端发送的用于指示将当前应用的当前界面进行切换的切换指令,该切换指令中携带进行切换后的目标界面的标识之前,还包括:In this embodiment, before the server receives the switch instruction sent by the terminal for instructing to switch the current interface of the current application, before the switch instruction carries the identifier of the target interface after switching, it also includes:

具体地,服务器接收终端发送的开启当前应用的启动指令,其中,该启动指令中携带终端的标识。在接收到该启动指令后,服务器获取与该终端的标识对应的至少2个界面,进一步地从至少2个界面中选取一个作为当前首页界面,并将当前界面显示给终端。Specifically, the server receives an activation instruction for launching the current application sent by the terminal, where the activation instruction carries an identifier of the terminal. After receiving the startup instruction, the server acquires at least two interfaces corresponding to the terminal identifier, further selects one of the at least two interfaces as the current home page interface, and displays the current interface to the terminal.

一般终端上会安装多个应用,当终端对应的用户试图调用某一应用时,首先需要打开应用,实际应用中,每个应用都会设置有一个首页界面,向用户来展示应用提供的功能,以便于用户便捷地来使用该应用。当应用被打开后,应用的首页界面就会通过终端的显示屏显示给用户。Generally, multiple applications are installed on the terminal. When the corresponding user of the terminal tries to call an application, he first needs to open the application. In actual applications, each application will have a home page interface to display the functions provided by the application to the user. It is convenient for users to use the application. After the application is opened, the home page interface of the application will be displayed to the user through the display screen of the terminal.

本实施例中,服务器在接收终端发送的打开当前应用的启动指令,该启动指令中携带终端的标识之前,还包括:In this embodiment, the server further includes:

服务器获取终端发送的选取指令,其中选取指令中携带有终端的标识以及终端选取的至少2个首页界面的标识。在获取到选取指令后,服务器根据选取指令建立终端的标识与选取的至少2个首页界面的标识之间的关联关系。The server obtains the selection instruction sent by the terminal, wherein the selection instruction carries the identifier of the terminal and the identifiers of at least two homepage interfaces selected by the terminal. After obtaining the selection instruction, the server establishes an association between the identifier of the terminal and the identifiers of at least two selected homepage interfaces according to the selection instruction.

进一步地,服务器获取与终端的标识对应的至少2个界面,包括:服务器根据终端的标识查询上述关联关系,获取与终端的标识对应的至少2个首页界面。Further, the server acquiring at least two interfaces corresponding to the terminal identifier includes: the server queries the above-mentioned association relationship according to the terminal identifier, and acquires at least two homepage interfaces corresponding to the terminal identifier.

本实施例中,为了实现每个应用具有至少2个首页界面,服务器首先要准备为每个应用设置不同的首页界面的布局文件,该布局文件即用来在终端上进行显示的可扩展标记语言(Extensible Markup Language,简称XML)文件。In this embodiment, in order to realize that each application has at least two homepage interfaces, the server must first prepare a layout file for setting a different homepage interface for each application, and the layout file is the extensible markup language used for display on the terminal (Extensible Markup Language, referred to as XML) file.

进一步地,服务器在应用中的配置文件中为每个不同的首页界面设置一个用于描述该首页界面的标识,通过该标识来标识该首页界面。例如,服务器可以将为配置文件起名为config.xml,服务器可以在这个config.xml文件中作如下声明:<string name="modelineSquare">identification</string>,在运行程序的过程中,服务器根据目标首页界面的标识可以获取到目标首页界面对应的“modelineSquare”的值,从而能够匹配出用户想要显示的目标首页界面。Further, the server sets an identifier for each different homepage interface in the configuration file in the application to describe the homepage interface, and the homepage interface is identified by the identifier. For example, the server can name the configuration file config.xml, and the server can make the following statement in the config.xml file: <string name="modelineSquare">identification</string>. During the running of the program, the server The value of "modelineSquare" corresponding to the target homepage interface can be obtained according to the identification of the target homepage interface, so as to match the target homepage interface that the user wants to display.

当首页界面的标识为首页界面的名称时,服务器可以在config.xml文件中声明如下内容:<string name="modelineSquare">name</string>,在程序运行过程中,服务器根据目标首页界面的名称,可以获取到该目标首页界面对应的“modelineSquare”的值,然后通过Switch语句匹配出用户想要显示的目标首页界面。When the logo of the homepage interface is the name of the homepage interface, the server can declare the following content in the config.xml file: <string name="modelineSquare">name</string>. During the running of the program, the server will Name, you can get the value of "modelineSquare" corresponding to the target homepage interface, and then use the Switch statement to match the target homepage interface that the user wants to display.

当服务器为一个应用只设置了2首页界面,可以通过布尔(boolean)值来区分两种不同风格的首页界面,也就是说服务器将boolea值作为首界面的标识(Identification,简称ID)。进一步地,服务器可以在上述配置文件中作如下声明:<string name="modelineSquare">boolean</string>,如果该boolean值为true时,可以为将应用的首页界面切换到true对应的首页界面,如果该boolean值为false时,可以为将应用的首页界面切换到false对应的首页界面。When the server only sets 2 homepage interfaces for an application, two different styles of homepage interfaces can be distinguished by a boolean value, that is to say, the server uses the boolean value as the identification (ID for short) of the first interface. Furthermore, the server can make the following statement in the above configuration file: <string name="modelineSquare">boolean</string>, if the boolean value is true, it can switch the homepage interface of the application to the homepage interface corresponding to true , if the boolean value is false, the home page interface of the application can be switched to the home page interface corresponding to false.

102、根据目标首页界面的标识,获取到与目标首页界面的标识对应的目标首页界面。102. According to the identifier of the target homepage interface, obtain the target homepage interface corresponding to the identifier of the target homepage interface.

具体地,由于服务器中预先为每个应用设置了至少2个首页界面,并且为每个首页界面设置一个标识,在获取到目标首页界面的标识后,服务器可以根据该目标首页界面的标识,查询获取到与该目标首页界面的标识对应的目标首页界面。Specifically, since at least two homepage interfaces are pre-set for each application in the server, and an identifier is set for each homepage interface, after obtaining the identifier of the target homepage interface, the server can query the The target homepage interface corresponding to the identifier of the target homepage interface is acquired.

103、将当前应用的首页界面从当前首页界面切换到目标首页界面。103. Switch the homepage interface of the current application from the current homepage interface to the target homepage interface.

在获取到目标首页界面后,服务器将当前应用的首页界面从当前首页界面切换到目标首页界面,并通过终端的显示屏显示给终端对应的用户,这样用户就可以通过终端看到该应用的目标首页界面,通过该目标首页界面来调用应用的功能。After obtaining the target homepage interface, the server switches the homepage interface of the current application from the current homepage interface to the target homepage interface, and displays it to the corresponding user of the terminal through the display screen of the terminal, so that the user can see the target of the application through the terminal The home page interface, through which the function of the application is invoked through the target home page interface.

本实施例提供的应用首页界面切换方法,通过接收终端发送的用于指示将当前应用的当前首页界面进行切换的切换指令,并在该切换指令中携带进行切换后的目标首页界面的标识,根据目标首页界面的标识,获取到与该目标首页界面的标识对应的目标首页界面,将目标首页界面作为当前应用的首页界面显示给终端。本实施例针对不同用户为每个应用设置不同的首页界面,实现了用户的个性化定制,解决了应用的首页界面设置单一的问题,用户可以灵活的对应用的首页界面进行切换。The method for switching the application home page interface provided in this embodiment is to receive a switching instruction sent by the terminal for instructing to switch the current home page interface of the current application, and carry the identifier of the target home page interface after switching in the switching instruction, according to The identification of the target home page interface, obtaining the target home page interface corresponding to the identification of the target home page interface, and displaying the target home page interface as the home page interface of the current application to the terminal. This embodiment sets different homepage interfaces for each application for different users, realizes user customization, solves the problem of setting a single homepage interface of an application, and allows users to flexibly switch homepage interfaces of applications.

实施例二Embodiment two

图2为本发明实施例二提供的一种应用首页界面切换装置的结构示意图。如图2所示,该应用首页界面切换装置包括:接收模块21、获取模块22和切换模块23。FIG. 2 is a schematic structural diagram of an application home page interface switching device provided by Embodiment 2 of the present invention. As shown in FIG. 2 , the application home page interface switching device includes: a receiving module 21 , an acquiring module 22 and a switching module 23 .

其中,接收模块21,用于接收终端发送的用于指示将当前应用的当前首页界面进行切换的切换指令;所述切换指令中携带进行切换后的目标首页界面的标识。Wherein, the receiving module 21 is configured to receive a switching instruction sent by the terminal for instructing to switch the current homepage interface of the current application; the switching instruction carries the identifier of the target homepage interface after switching.

本实施例中,当终端对应的用户试图切换当前应用的当前首页界面时,用户可以通过终端向接收模块21发送一个切换指令,该切换指令用于指示应用首页界面切换装置对当前应用的当前首页界面进行切换。本实施例中,切换指令中携带有进行切换后的目标首页界面的标识。In this embodiment, when the user corresponding to the terminal attempts to switch the current homepage interface of the current application, the user can send a switching instruction to the receiving module 21 through the terminal, and the switching instruction is used to instruct the application homepage interface switching device to switch the current homepage interface of the current application. interface to switch. In this embodiment, the switching instruction carries the identifier of the target home page interface after switching.

本实施例中,终端对应的用户可以为个人,也可以为一个企业。当为一个企业时,通过终端向接收模块21发送指令的用户可以为该企业的网络管理员,网络管理员来对应用的首页界面进行切换。In this embodiment, the user corresponding to the terminal may be an individual or an enterprise. When it is an enterprise, the user who sends instructions to the receiving module 21 through the terminal may be the network administrator of the enterprise, and the network administrator switches the home page interface of the application.

应用首页界面装置可以预先为每个首页界面设置一个序号或者标识码,或者服务器为每个首页界面设置一个名称,然后将首页界面的序号或者首页界面的标识码或者首页界面的名称作为标识首页界面的标识。The application homepage interface device can pre-set a serial number or identification code for each homepage interface, or the server can set a name for each homepage interface, and then use the serial number of the homepage interface or the identification code of the homepage interface or the name of the homepage interface as the identification homepage interface logo.

与接收模块21连接的获取模块22,用于根据所述目标首页界面的标识,获取到与所述目标首页界面的标识对应的目标首页界面。The obtaining module 22 connected to the receiving module 21 is configured to obtain the target home page interface corresponding to the identification of the target home page interface according to the identification of the target home page interface.

具体地,由于应用首页界面装置中预先为每个应用设置了至少2个首页界面,并且为每个首页界面设置一个标识,在获取到目标首页界面的标识后,获取模块22可以根据该目标首页界面的标识,查询获取到与该目标首页界面的标识对应的目标首页界面。Specifically, since at least two homepage interfaces are pre-set for each application in the application homepage interface device, and an identifier is set for each homepage interface, after obtaining the identifier of the target homepage interface, the acquisition module 22 can The identifier of the interface, and the query obtains the target homepage interface corresponding to the identifier of the target homepage interface.

与获取模块22连接的切换模块23,用于将当前应用的首页界面从所述当前首页界面切换到所述目标首页界面。The switching module 23 connected with the obtaining module 22 is used to switch the homepage interface of the current application from the current homepage interface to the target homepage interface.

在获取到目标首页界面后,切换模块23将当前应用的首页界面从当前首页界面切换到目标首页界面,并通过终端的显示屏显示给终端对应的用户,这样用户就可以通过终端看到该应用的目标首页界面,通过该目标首页界面来调用应用的功能。After obtaining the target homepage interface, the switching module 23 switches the homepage interface of the current application from the current homepage interface to the target homepage interface, and displays it to the corresponding user of the terminal through the display screen of the terminal, so that the user can see the application through the terminal The target homepage interface of the target homepage, and the function of the application is invoked through the target homepage interface.

本实施例提供的应用首页界面切换装置,通过接收终端发送的用于指示将当前应用的当前首页界面进行切换的切换指令,并在该切换指令中携带进行切换后的目标首页界面的标识,根据目标首页界面的标识,获取到与该目标首页界面的标识对应的目标首页界面,将目标首页界面作为当前应用的首页界面显示给终端。本实施例针对不同用户为每个应用设置不同的首页界面,实现了用户的个性化定制,解决了应用的首页界面设置单一的问题,用户可以灵活的对应用的首页界面进行切换。The device for switching the application home page interface provided in this embodiment receives the switching instruction sent by the terminal for instructing to switch the current home page interface of the current application, and carries the identifier of the target home page interface after switching in the switching instruction, according to The identification of the target home page interface, obtaining the target home page interface corresponding to the identification of the target home page interface, and displaying the target home page interface as the home page interface of the current application to the terminal. This embodiment sets different homepage interfaces for each application for different users, realizes user customization, solves the problem of setting a single homepage interface of an application, and allows users to flexibly switch homepage interfaces of applications.

实施例三Embodiment three

图3为本发明实施例三提供的另一种应用首页界面切换装置的结构示意图。如图3所示,该应用首页界面切换装置除了包括上述实施例二中的接收模块21、获取模块22和切换模块23之外,还包括:选取模块24和关联模块25。FIG. 3 is a schematic structural diagram of another application home page interface switching device provided by Embodiment 3 of the present invention. As shown in FIG. 3 , in addition to the receiving module 21 , the obtaining module 22 and the switching module 23 in the second embodiment, the device for switching the application homepage interface also includes: a selecting module 24 and an associating module 25 .

进一步地,所述接收模块21,还用于在接收终端发送的所述切换指令之前,接收所述终端发送的打开所述当前应用的启动指令,所述启动指令中携带所述终端的标识。Further, the receiving module 21 is further configured to receive an activation instruction sent by the terminal to open the current application before receiving the switching instruction sent by the terminal, and the activation instruction carries an identifier of the terminal.

进一步地,所述获取模块22,还用于获取与所述终端的标识对应的至少2个首页界面。Further, the acquiring module 22 is also configured to acquire at least two home page interfaces corresponding to the identifier of the terminal.

进一步地,与所述获取模块22连接的所述选取模块24,用于从所述至少2个首页界面中选取一个作为所述当前首页界面,并将所述当前首页界面显示给所述终端。Further, the selection module 24 connected to the acquisition module 22 is configured to select one of the at least two homepage interfaces as the current homepage interface, and display the current homepage interface to the terminal.

进一步地,所述接收模块21,还用于在接收所述终端发送的所述启动指令之前,接收所述终端发送的选取指令,所述选取指令中携带有所述终端的标识以及所述终端选取的至少2个首页界面的标识。Further, the receiving module 21 is also configured to receive a selection instruction sent by the terminal before receiving the startup instruction sent by the terminal, the selection instruction carrying the identification of the terminal and the terminal The logos of at least two selected homepage interfaces.

进一步地,与接收模块21连接的所述关联模块25,用于根据所述选取指令建立所述终端的标识与所述选取的至少2个首页界面的标识之间的关联关系。Further, the associating module 25 connected to the receiving module 21 is configured to establish an association relationship between the identifier of the terminal and the identifiers of the selected at least two homepage interfaces according to the selection instruction.

进一步地,所述获取模块22,具体用于根据所述终端的标识查询所述关联关系,获取与所述终端的标识对应的所述至少2个首页界面。Further, the acquiring module 22 is specifically configured to inquire about the association relationship according to the identifier of the terminal, and acquire the at least two homepage interfaces corresponding to the identifier of the terminal.

本实施例提供的应用首页界面切换装置,通过接收终端发送的用于指示将当前应用的当前首页界面进行切换的切换指令,并在该切换指令中携带进行切换后的目标首页界面的标识,根据目标首页界面的标识,获取到与该目标首页界面的标识对应的目标首页界面,将目标首页界面作为当前应用的首页界面显示给终端。本实施例针对不同用户为每个应用设置不同的首页界面,实现了用户的个性化定制,解决了应用的首页界面设置单一的问题,用户可以灵活的对应用的首页界面进行切换。The device for switching the application home page interface provided in this embodiment receives the switching instruction sent by the terminal for instructing to switch the current home page interface of the current application, and carries the identifier of the target home page interface after switching in the switching instruction, according to The identification of the target home page interface, obtaining the target home page interface corresponding to the identification of the target home page interface, and displaying the target home page interface as the home page interface of the current application to the terminal. This embodiment sets different homepage interfaces for each application for different users, realizes user customization, solves the problem of setting a single homepage interface of an application, and allows users to flexibly switch homepage interfaces of applications.

最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present invention, rather than limiting them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: It is still possible to modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements for some or all of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the technical solutions of the various embodiments of the present invention. scope.

Claims (2)

1.一种应用首页界面切换方法,其特征在于,包括:1. A method for switching an application home page interface, comprising: 接收终端发送的用于指示将当前应用的当前首页界面进行切换的切换指令,所述切换指令中携带进行切换后的目标首页界面的标识;receiving a switch command sent by the terminal for instructing to switch the current home page interface of the current application, where the switch command carries an identifier of the target home page interface after switching; 根据所述目标首页界面的标识,获取到与所述目标首页界面的标识对应的目标首页界面;According to the identification of the target home page interface, the target home page interface corresponding to the identification of the target home page interface is obtained; 将当前应用的首页界面从所述当前首页界面切换到所述目标首页界面;Switching the homepage interface of the current application from the current homepage interface to the target homepage interface; 其中,所述接收终端发送的用于指示将当前应用的当前界面进行切换的切换指令,所述切换指令中携带进行切换后的目标界面的标识之前,还包括:Wherein, the switching instruction sent by the receiving terminal for instructing to switch the current interface of the current application, before carrying the identifier of the switched target interface in the switching instruction, further includes: 接收所述终端发送的打开所述当前应用的启动指令,所述启动指令中携带所述终端的标识;receiving an activation instruction for opening the current application sent by the terminal, where the activation instruction carries an identifier of the terminal; 获取与所述终端的标识对应的至少2个首页界面;Acquiring at least two homepage interfaces corresponding to the identifier of the terminal; 从所述至少2个首页界面中选取一个作为所述当前首页界面,并将所述当前首页界面显示给所述终端;selecting one of the at least two homepage interfaces as the current homepage interface, and displaying the current homepage interface to the terminal; 其中,所述接收所述终端发送的打开所述当前应用的启动指令,所述启动指令中携带所述终端的标识之前,还包括:Wherein, the receiving the startup instruction sent by the terminal to open the current application, before the startup instruction carries the identifier of the terminal, further includes: 接收所述终端发送的选取指令,所述选取指令中携带有所述终端的标识以及所述终端选取的至少2个首页界面的标识;receiving a selection instruction sent by the terminal, the selection instruction carrying the identifier of the terminal and the identifiers of at least two homepage interfaces selected by the terminal; 根据所述选取指令建立所述终端的标识与所述选取的至少2个首页界面的标识之间的关联关系;Establishing an association between the identifier of the terminal and the identifiers of the selected at least two homepage interfaces according to the selection instruction; 所述获取与所述终端的标识对应的至少2个首页界面,包括:The acquisition of at least two homepage interfaces corresponding to the identifier of the terminal includes: 根据所述终端的标识查询所述关联关系,获取与所述终端的标识对应的所述至少2个首页界面。Querying the association relationship according to the identifier of the terminal, and acquiring the at least two home page interfaces corresponding to the identifier of the terminal. 2.一种应用首页界面切换装置,其特征在于,包括:2. An application home page interface switching device, characterized in that it comprises: 接收模块,用于接收终端发送的用于指示将当前应用的当前首页界面进行切换的切换指令;所述切换指令中携带进行切换后的目标首页界面的标识;The receiving module is configured to receive a switching instruction sent by the terminal for instructing to switch the current homepage interface of the current application; the switching instruction carries an identifier of the target homepage interface after switching; 获取模块,用于根据所述目标首页界面的标识,获取到与所述目标首页界面的标识对应的目标首页界面;An acquisition module, configured to acquire, according to the identification of the target home page interface, the target home page interface corresponding to the identification of the target home page interface; 切换模块,用于将当前应用的首页界面从所述当前首页界面切换到所述目标首页界面;A switching module, configured to switch the homepage interface of the current application from the current homepage interface to the target homepage interface; 所述接收模块,还用于在接收终端发送的所述切换指令之前,接收所述终端发送的打开所述当前应用的启动指令,所述启动指令中携带所述终端的标识;The receiving module is further configured to receive, before receiving the switching instruction sent by the terminal, a startup instruction for opening the current application sent by the terminal, where the startup instruction carries an identifier of the terminal; 所述获取模块,还用于获取与所述终端的标识对应的至少2个首页界面;The acquiring module is further configured to acquire at least two home page interfaces corresponding to the terminal identifier; 所述应用首页界面切换装置还包括:The application home page interface switching device also includes: 选取模块,用于从所述至少2个首页界面中选取一个作为所述当前首页界面,并将所述当前首页界面显示给所述终端;A selection module, configured to select one of the at least two homepage interfaces as the current homepage interface, and display the current homepage interface to the terminal; 所述接收模块,还用于在接收所述终端发送的所述启动指令之前,接收所述终端发送的选取指令,所述选取指令中携带有所述终端的标识以及所述终端选取的至少2个首页界面的标识;The receiving module is further configured to receive a selection instruction sent by the terminal before receiving the startup instruction sent by the terminal, the selection instruction carrying the identifier of the terminal and at least 2 selected by the terminal. The logo of the home page interface; 所述应用首页界面切换装置还包括:The application home page interface switching device also includes: 关联模块,用于根据所述选取指令建立所述终端的标识与所述选取的至少2个首页界面的标识之间的关联关系;An associating module, configured to establish an association between the identifier of the terminal and the identifiers of the selected at least two homepage interfaces according to the selection instruction; 所述获取模块,具体用于根据所述终端的标识查询所述关联关系,获取与所述终端的标识对应的所述至少2个首页界面。The acquiring module is specifically configured to inquire about the association relationship according to the identifier of the terminal, and acquire the at least two homepage interfaces corresponding to the identifier of the terminal.
CN201410363086.4A 2014-07-28 2014-07-28 Using home interface switching method and device Expired - Fee Related CN105335179B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410363086.4A CN105335179B (en) 2014-07-28 2014-07-28 Using home interface switching method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410363086.4A CN105335179B (en) 2014-07-28 2014-07-28 Using home interface switching method and device

Publications (2)

Publication Number Publication Date
CN105335179A CN105335179A (en) 2016-02-17
CN105335179B true CN105335179B (en) 2018-11-20

Family

ID=55285743

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410363086.4A Expired - Fee Related CN105335179B (en) 2014-07-28 2014-07-28 Using home interface switching method and device

Country Status (1)

Country Link
CN (1) CN105335179B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111309320A (en) * 2018-12-12 2020-06-19 玲珑视界科技(北京)有限公司 Method and system for customizing home page interface
CN115586734B (en) * 2022-09-28 2024-11-29 北京东土科技股份有限公司 Tower crane control method and device, terminal equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7594225B2 (en) * 2004-12-20 2009-09-22 Microsoft Corporation Integrated setup for generating customization XML
CN103294466A (en) * 2013-05-09 2013-09-11 北京小米科技有限责任公司 Method and device for displaying background image of application
CN103699304A (en) * 2013-12-30 2014-04-02 深圳Tcl新技术有限公司 Method and system for switching terminal control modes

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7594225B2 (en) * 2004-12-20 2009-09-22 Microsoft Corporation Integrated setup for generating customization XML
CN103294466A (en) * 2013-05-09 2013-09-11 北京小米科技有限责任公司 Method and device for displaying background image of application
CN103699304A (en) * 2013-12-30 2014-04-02 深圳Tcl新技术有限公司 Method and system for switching terminal control modes

Also Published As

Publication number Publication date
CN105335179A (en) 2016-02-17

Similar Documents

Publication Publication Date Title
RU2602982C2 (en) Method, apparatus and system for intelligently controlling device and plug-and-play device
CN109391648A (en) It is a kind of to apply correlating method, device and the communication system being sliced with network
US10136044B2 (en) Method, apparatus, and system for communicating information of selected objects of interest displayed in a video-chat application
CN101216765A (en) A method for dynamically changing the theme style of a mobile terminal
CN104156240B (en) Skin template replacing method, device, client and the electronic equipment of client
JP2016528850A (en) Seamless call transition
CN103596027A (en) Method and device for retrieving keyboards under different scenes of intelligent television
WO2021244429A1 (en) Method and apparatus for controlling installation of application
WO2015051705A1 (en) Multi-apn concurrent method and system thereof for supporting android application program of handheld device
CN103002025A (en) Theme replacement method and device
WO2016041322A1 (en) Method of forwarding in-application traffic on smart mobile terminal
CN103778012B (en) The method and device of change terminal operator&#39;s informaiton
US20210208861A1 (en) Method, User Equipment, and Application Server for Downloading Application
CN105992066A (en) Character input method and character input device applied to intelligent device
WO2015144067A1 (en) Method for controlling smart television based on android system
WO2019080622A1 (en) Method and apparatus for realizing function of application, and terminal, storage medium and processor
CN105335179B (en) Using home interface switching method and device
CN104868939A (en) A Bluetooth-based inter-terminal synchronization method and device
WO2015171479A1 (en) Method,apparatus, and system for managing invitations for multi-device participation in an application program
US10225141B2 (en) Application hierarchy specification with real-time functional selection
CN105787300A (en) Method and system for controlling use of software
US20150052444A1 (en) Method of displaying a dlna apparatus, and mobile terminal
CN105808229A (en) Intelligent terminal and APP processing method thereof
CN116009958B (en) Unified control method and system for intelligent hardware
CN105094722B (en) Support the control method and its control device of multi-screen system attribute display

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20220624

Address after: 3007, Hengqin international financial center building, No. 58, Huajin street, Hengqin new area, Zhuhai, Guangdong 519031

Patentee after: New founder holdings development Co.,Ltd.

Patentee after: BEIJING FOUNDER ELECTRONICS Co.,Ltd.

Address before: 100871, Beijing, Haidian District, Cheng Fu Road, No. 298, Zhongguancun Fangzheng building, 9 floor

Patentee before: PEKING UNIVERSITY FOUNDER GROUP Co.,Ltd.

Patentee before: BEIJING FOUNDER ELECTRONICS Co.,Ltd.

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

Granted publication date: 20181120

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