WO2015051728A1 - 一种获取与终端相匹配的应用的方法及装置 - Google Patents

一种获取与终端相匹配的应用的方法及装置 Download PDF

Info

Publication number
WO2015051728A1
WO2015051728A1 PCT/CN2014/087919 CN2014087919W WO2015051728A1 WO 2015051728 A1 WO2015051728 A1 WO 2015051728A1 CN 2014087919 W CN2014087919 W CN 2014087919W WO 2015051728 A1 WO2015051728 A1 WO 2015051728A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
application
environment information
system environment
model
Prior art date
Application number
PCT/CN2014/087919
Other languages
English (en)
French (fr)
Inventor
刘硕
王嗣恩
Original Assignee
贝壳网际(北京)安全技术有限公司
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 贝壳网际(北京)安全技术有限公司 filed Critical 贝壳网际(北京)安全技术有限公司
Publication of WO2015051728A1 publication Critical patent/WO2015051728A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/50Service provisioning or reconfiguring

Definitions

  • the present invention relates to the field of network communication technologies, and in particular, to a method and apparatus for acquiring an application that matches a terminal.
  • the terminal model is sent to the server, and the server downloads the application bound to the model according to the terminal model.
  • Embodiments of the present invention provide a method and apparatus for acquiring an application that matches a terminal, thereby improving efficiency.
  • an embodiment of the present invention discloses a method for acquiring an application that matches a terminal, where the method is applied to a server, including the steps of:
  • the applications that can be supported by the terminals of each model are stored corresponding to the models of the terminal;
  • the first request includes a model of the terminal
  • the application that the terminal can support is provided to the terminal.
  • the extracting the first system environment information of the terminal required by each application is:
  • the obtaining the second system environment information of the terminals of different models is: reading the second system environment information of the terminal from the configuration table of the terminals of different models.
  • the determining, according to the model of the terminal in the first request, the application that the terminal can support includes:
  • the application that can be supported by the terminal is provided to the terminal, including:
  • the second request includes an identifier of the application to be downloaded
  • the application is downloaded to the terminal according to the identifier applied in the second request.
  • the application that can be supported by the terminal is provided to the terminal, and the application that can be supported by the terminal is provided to the terminal.
  • the method for obtaining an application that matches the terminal further includes: storing the obtained application that can be supported by the terminal and correspondingly storing the model of the terminal.
  • the acquiring third system environment information of the terminal includes:
  • the first system environment information includes: a minimum operating system version information, a screen resolution, a CPU type supported by the application instruction, and a sensor list required by the application;
  • the second system environment information includes: operating system version information, a screen resolution, a CPU type, and a sensor list;
  • the third system environment information includes: operating system version information, screen resolution, CPU type, and sensor list.
  • the obtained applications of the terminals of each model can support multiple versions of an application;
  • the application that can be supported by each model terminal is stored corresponding to the model of the terminal, including:
  • the obtained application is stored corresponding to the model and sub-model of the terminal;
  • the first request includes a model and a sub-model of the terminal
  • Determining, according to the model of the terminal in the first request, the application that the terminal can support including: determining, according to the model and the sub-model of the terminal in the first request, an application that the terminal can support.
  • the application that can be supported by the terminal according to the model of the terminal in the first request includes multiple versions of an application
  • the application that can be supported by the terminal is provided to the terminal, including:
  • the obtained application is provided to the terminal.
  • an embodiment of the present invention discloses an apparatus for acquiring an application that matches a terminal, where the apparatus is applied to a server, including:
  • a first system environment information extracting unit configured to extract, from each application to be provided to the terminal, first system environment information of the terminal required by each application
  • a second system environment information obtaining unit configured to obtain second system environment information of different types of terminals
  • a system environment information matching unit configured to match the second system environment information with the first system environment information of the terminal required by each application, to obtain an application that can be supported by each model terminal;
  • a storage unit configured to store an application supported by each type of terminal and a model of the terminal
  • a first request receiving unit configured to receive a first request of the terminal; the first request includes a model of the terminal;
  • An application determining unit configured to determine, according to a model of the terminal in the first request, an application that the terminal can support
  • An application providing unit is configured to provide an application that the terminal can support to the terminal.
  • the first system environment information extracting unit is specifically configured to extract, from the system environment configuration table of each application, the first system environment information of the terminal required by each application;
  • the second system environment information obtaining unit is specifically configured to read the second system environment information of the terminal from a configuration table of terminals of different models.
  • the application determining unit includes: a model reading subunit and an application searching subunit;
  • the model reading subunit is configured to read the model number of the terminal from the first request
  • the application search subunit is configured to find an application that can be supported by the corresponding terminal model according to the model of the terminal.
  • the application providing unit includes: an application identifier sending subunit, a second request receiving subunit, and an application downloading subunit;
  • the application identifier sending subunit is configured to send an identifier of one or more applications that the terminal can support to the terminal, so that the terminal displays the identifier of the application;
  • the second request receiving subunit is configured to receive a second request sent by the terminal, where the second request includes an identifier of an application to be downloaded;
  • the application downloading subunit is configured to download an application to the terminal according to the identifier applied in the second request.
  • the apparatus for acquiring an application that matches the terminal further includes: a determining unit, a third system environment information acquiring unit, and a third system environment information matching unit;
  • a determining unit configured to determine whether the model of the terminal in the first request and the corresponding supported application are stored
  • a third system environment information acquiring unit configured to: after determining, according to the first request, the determining unit, when determining that the model of the terminal in the first request and the corresponding supported application are not stored, acquiring the terminal Three system environmental information;
  • the third system environment information matching unit is configured to match the third system environment information of the terminal with the first system environment information of the terminal required by each application, to obtain an application that the terminal can support;
  • the application providing unit provides the determined application that the terminal can support or the obtained application that the terminal can support to the terminal.
  • the storage unit further stores the obtained application that can be supported by the terminal and the model of the terminal.
  • the third system environment information acquiring unit includes: an instruction sending subunit and a third system environment information receiving subunit;
  • the instruction sending subunit is configured to send an upload system environment information instruction to the terminal;
  • the third system environment information receiving subunit receives the third system environment information returned by the terminal according to the uploading system environment information instruction.
  • the storage unit includes: a sub-model command sending sub-unit, a sub-model information receiving sub-unit, a first acquiring application sub-unit, and an application storage sub-unit;
  • the sub-model command sending sub-unit is configured to match the second system environment information with the first system environment information of the terminal required by each application, and the obtained application of each model terminal can support an application, including an application.
  • an instruction to upload a terminal sub-model is sent to a terminal supporting multiple versions of one application;
  • the sub-model information receiving sub-unit is configured to receive terminal sub-model information returned by the terminal according to the instruction of the upload terminal sub-model;
  • the first acquiring application subunit is configured to obtain an application having the highest version number among the plurality of versions of the same application or the CPU type of the CPU type supported by the application instruction in the first system environment information;
  • the application storage subunit is configured to store the obtained application corresponding to the model and submodel of the terminal;
  • the first request receiving unit is configured to receive a first request of the terminal; the first request includes a model and a sub-model of the terminal;
  • the application determining unit is configured to determine an application that the terminal can support according to the model and the sub-model of the terminal in the first request.
  • the application providing unit includes: a second acquiring application subunit and an application providing subunit;
  • the second acquiring application sub-unit is configured to obtain an application having the highest version number among the plurality of versions of the same application or the CPU type of the CPU type supported by the application instruction in the first system environment information;
  • the application provides a subunit for providing the obtained application to the terminal.
  • the embodiment of the present invention discloses another method for obtaining an application that matches a terminal, where the method is applied to a server, including the steps of:
  • the application that the terminal can support is provided to the terminal.
  • the extracting the first system environment information of the terminal required by each application is:
  • the first request includes the second system environment information of the terminal, where the first request includes, in the configuration table of the terminal, the second system environment information of the terminal.
  • the matching the second system environment information in the first request with the first system environment information of the respective applications to determine an application that the terminal can support includes:
  • the second system environment information is matched with the first system environment information of each application to determine an application that the corresponding terminal can support.
  • the application that can be supported by the terminal is provided to the terminal, including:
  • the second request includes an identifier of the application to be downloaded
  • the application is downloaded to the terminal according to the identifier applied in the second request.
  • the first system environment information includes: a minimum operating system version information, a screen resolution, a CPU type supported by the application instruction, and a sensor list required by the application;
  • the second system environment information includes: operating system version information, screen resolution, CPU type, and sensor list.
  • the determined application that the terminal can support includes multiple versions of one application;
  • the application that the terminal can support is provided to the terminal, including:
  • the obtained application is provided to the terminal.
  • the embodiment of the present invention discloses another device for acquiring an application that matches a terminal, and the device is applied to a server, including:
  • a first system environment information extracting unit configured to extract, from each application to be provided to the terminal, first system environment information of the terminal required by each application
  • a first request receiving unit configured to receive a first request for providing an application sent by the terminal, where the first request includes second environment information of the terminal;
  • a system environment information matching unit configured to match the second system environment information in the first request with the first system environment information of the respective applications, to determine an application that the terminal can support;
  • An application providing unit is configured to provide an application that the terminal can support to the terminal.
  • the first system environment information extracting unit is specifically configured to be configured from a system environment of each application.
  • the first system environment information of the terminal required by each application is extracted.
  • the system environment information matching unit includes: a second environment information reading subunit and an application matching subunit;
  • the second environment information reading subunit is configured to read second system environment information of the terminal from the first request;
  • the application matching sub-unit is configured to match the second system environment information with the first system environment information of each application, and determine an application that the corresponding terminal can support.
  • the application providing unit includes: an application identifier sending subunit, a second request receiving subunit, and an application downloading subunit;
  • the application identifier sending subunit is configured to send an identifier of one or more applications that the terminal can support to the terminal, so that the terminal displays the identifier of the application;
  • the second request receiving subunit is configured to receive a second request sent by the terminal, where the second request includes an identifier of an application to be downloaded;
  • the application downloading subunit is configured to download an application to the terminal according to the identifier applied in the second request.
  • the application providing unit includes: a second acquiring application subunit and an application providing subunit;
  • the second acquiring application sub-unit is configured to obtain an application having the highest version number among the plurality of versions of the same application or the CPU type of the CPU type supported by the application instruction in the first system environment information;
  • the application provides a subunit for providing the obtained application to the terminal.
  • the embodiment of the present invention further provides a computer readable storage medium for storing a computer program, where the computer program is used to execute a method for acquiring an application matched with a terminal disclosed in the embodiment of the present invention.
  • the embodiment of the present invention provides a method and device for acquiring an application that matches a terminal.
  • the server extracts first system environment information of a terminal required by each application, and obtains a second system of terminals of different models. Environment information; matching the second system environment information with the first system environment information of the terminal required by each application to obtain an application that can be supported by each model terminal; and according to the first request of the terminal, the terminal of each model can be Supported applications are provided to the terminal.
  • the manual terminal is not used to test the application to implement binding of the terminal model and the application, thereby improving efficiency and saving labor costs.
  • any product or method embodying the present invention necessarily does not necessarily require all of the advantages described above to be achieved at the same time.
  • FIG. 1 is a schematic flowchart of a method for acquiring an application matched with a terminal according to an embodiment of the present invention
  • FIG. 2 is a schematic flowchart of another method for obtaining an application that matches a terminal according to an embodiment of the present invention
  • FIG. 3 is a schematic structural diagram of an apparatus for acquiring an application matched with a terminal according to an embodiment of the present disclosure
  • FIG. 4 is a schematic structural diagram of another apparatus for acquiring an application matched with a terminal according to an embodiment of the present invention.
  • FIG. 5 is a schematic flowchart of another method for obtaining an application that matches a terminal according to an embodiment of the present disclosure
  • FIG. 6 is a schematic structural diagram of another apparatus for acquiring an application matched with a terminal according to an embodiment of the present invention.
  • An embodiment of the present invention provides a method and device for acquiring an application that matches a terminal.
  • the server extracts the first system environment information required by each application, and obtains the second system environment information of each model terminal, and the second The system environment information is matched with the first system environment information of the terminal required by each application to obtain an application that can be supported by the terminal of each model; and the application that can be supported by the terminal of each model is provided to the terminal according to the first request of the terminal.
  • FIG. 1 is a schematic flowchart of a method for acquiring an application that matches a terminal according to an embodiment of the present invention. The method is applied to a server, and includes the following steps:
  • Step 101 Extract the first system environment information of the terminal required by each application from each application to be provided to the terminal.
  • the first system environment information may include: minimum operating system version information, screen resolution, CPU type supported by the application instruction, and a sensor list required by the application.
  • minimum operating system version information may include: minimum operating system version information, screen resolution, CPU type supported by the application instruction, and a sensor list required by the application.
  • the content of the system environment information may be increased or decreased according to the requirements of the application. For example, some applications require a terminal configured with a card reader and so on.
  • the first system environment information of the terminal required by each application may be extracted from the system environment configuration table of each application.
  • the existing public program can be called to extract the first system environment information of the terminal required by each application from the system environment configuration table of each application.
  • Step 102 Obtain second system environment information of terminals of different models.
  • the second system environment information may include: operating system version information, screen resolution, CPU type, and sensor list.
  • operating system version information screen resolution, CPU type, and sensor list.
  • the content of the system environment information may be increased or decreased according to the requirements of the application. But it needs to correspond to the content of the first system environment information.
  • the second system environment information of the terminal may be read from a configuration table of terminals of different models.
  • the system API function can be directly called, and the second system environment information of the terminal is read from the configuration table of the terminal of different models.
  • Step 103 Match the second system environment information with the first system environment information of the terminal required by each application to obtain an application that can be supported by each model terminal.
  • the server matches the second system environment information of each type of terminal with the first system environment information of the terminal required by each application, and obtains an application that each type of terminal can support.
  • Step 104 Store an application that can be supported by each type of terminal and a model of the terminal.
  • step 104 stores the applications that can be supported by the terminals of each model and the models of the terminal, including:
  • the obtained application is stored corresponding to the model and sub-model of the terminal.
  • the first system environment information extracted by the application A includes:
  • the obtained second system environment information of the terminal of the B model includes:
  • the operating system is Android 4.0 version; the screen resolution is normal; the CPU type supported by the application instruction is armeabi; with sensor: 1, acceleration sensor 2, gyroscope 3, geomagnetic sensor 4, distance sensor 5, light sensor 6, air pressure sensor 7, GPS 8, eye detection 9, gesture sensor 10, camera metering 11, sound control.
  • step 103 after comparing the second system environment information of the B model terminal with the system environment information of the A application, it is determined that the terminal of the B model can support the A application, and the terminal of the B model is successfully matched with the A application.
  • step 104 the model number of the terminal of the B model is stored corresponding to the A application.
  • the application identifiers of the B model and the A application may be stored correspondingly.
  • the A application has two versions of V1.0 and V1.1
  • the terminal of the B model is capable of supporting the two versions of the A application from step 103, then in step 104,
  • the model B terminal sends an instruction to upload its sub-model and receives the returned C sub-model information.
  • the version number of the V1.1 version of the A application is higher than the version number of the V1.0 version, and the V1.1 version of the A application is
  • the B model and the C sub model of the B model terminal are stored correspondingly.
  • Step 105 Receive a first request of the terminal; the first request includes a model of the terminal.
  • the first request received may be a request of the terminal to request an application that the server can provide, or a request for the terminal to download the application. Regardless of the request, it needs to include the model number of the terminal.
  • the obtained applications of the terminal of each model can support multiple applications, including multiple applications.
  • the first request includes the model and submodel of the terminal.
  • Step 106 Determine, according to the model of the terminal in the first request, an application that the terminal can support.
  • step 104 the application identifiers that can be supported by the terminals of the respective models are stored in a certain data file or database corresponding to the model of the terminal.
  • the model number of the terminal can be read from the first request, and then the data file or database is searched for the record of the model, thereby finding the application identifier that the corresponding terminal model can support.
  • the terminal sends a notification that the matching application or the terminal model cannot be recognized, so that the terminal outputs the notification to the user.
  • Step 107 Provide an application that the terminal can support to the terminal.
  • the identifier of the one or more applications that the terminal can support is sent to the terminal, so that the terminal displays the identifier of the application; and then, the second request sent by the terminal is received; the second request includes The identifier of the downloaded application; finally, the application is downloaded to the terminal according to the identifier applied in the second request.
  • the obtained applications of the terminal of each model can support multiple applications, including multiple applications.
  • the application that the terminal can support is determined according to the model and sub-model of the terminal in the first request.
  • the obtained applications of the terminal of each model can support multiple applications, including multiple applications.
  • the application that can be supported by the terminal is provided to the terminal, including: obtaining the highest version number of the multiple versions of the same application or the application having the highest CPU type among the CPU types supported by the application instruction in the first system environment information; The obtained application is provided to the terminal.
  • the terminal processing flow does not need to be adjusted, and the same as the prior art, the first request may include the model number of the terminal.
  • the server does not store the model of the terminal and the corresponding supported application before receiving the first request, the user can only prompt the user that the terminal model cannot be used. Identification, the application provided to the terminal cannot be guaranteed, and the terminal can support.
  • FIG. 2 is a schematic flowchart of another method for obtaining an application that matches a terminal according to an embodiment of the present invention. The method is applied to a server, and includes the following steps:
  • Step 201 The first system environment information of the terminal required by each application is extracted from each application to be provided to the terminal.
  • Step 202 Obtain second system environment information of terminals of different models.
  • Step 203 Match the second system environment information with the first system environment information of the terminal required by each application, and obtain an application that can be supported by each model terminal.
  • Step 204 Store an application that can be supported by each type of terminal and a model of the terminal.
  • Step 205 Receive a first request of the terminal; the first request includes a model of the terminal.
  • Steps 201 to 205 in this embodiment may be identical to steps 101 to 105 in the embodiment shown in FIG. 1, and are not repeated here.
  • Step 206 Determine whether the model of the terminal in the first request and the corresponding supported application are stored; if yes, execute step 207; otherwise, perform step 208.
  • Step 207 Determine, according to the model of the terminal in the first request, an application that the terminal can support.
  • Step 208 Acquire third system environment information of the terminal.
  • the content of the third system environment information may be related to the content of the second system environment information. Also, it includes: operating system version information, screen resolution, CPU type, and sensor list.
  • the method for obtaining the third system environment information in this embodiment may also be the same as the method for obtaining the second system environment information, and is not repeated here.
  • the terminal may send an uploading system environment information command, and then receive the third system environment information returned by the terminal according to the uploading system environment information command.
  • Step 209 Match the third system environment information of the terminal with the first system environment information of the terminal required by each application to obtain an application that the terminal can support.
  • the method for matching the third system environment information with the first system environment information of the terminal required by each application may also be used.
  • the method for matching the second system environment information with the first system environment information of the terminal required by each application is the same and will not be repeated here.
  • Step 210 Provide an application that the terminal can support to the terminal.
  • the application provided to the user terminal may be determined in step 207, or may be obtained in step 209.
  • the specific providing method may be exactly the same as step 107 in the embodiment shown in FIG. 1, and is not repeated here.
  • the operation of matching the system environment information is repeated, and after obtaining the application that the terminal can support, the obtained application that the terminal can support and the obtained
  • the model number of the terminal is stored correspondingly.
  • the manner of storage can also be the same as the embodiment shown in FIG.
  • the model of the next terminal can be identified, and the application that can be supported can be determined and provided to the terminal directly according to the stored data.
  • the third system environment information of the terminal is obtained, and the third system environment information is matched with the first system environment information.
  • the terminal can also be provided with the application that the terminal can support.
  • FIG. 3 is a schematic structural diagram of an apparatus for acquiring an application that matches a terminal according to an embodiment of the present invention.
  • the apparatus in this embodiment is applied to a server, and corresponds to the process shown in FIG. 1, and includes: first system environment information extraction.
  • the first system environment information extracting unit 301 is configured to extract, for each application to be provided to the terminal, the first system environment information of the terminal required by each application.
  • the first system environment information extracting unit 301 is specifically used for a system from each application.
  • the environment configuration table the first system environment information of the terminal required by each application is extracted.
  • the second system environment information obtaining unit 302 is configured to obtain second system environment information of the terminals of different models.
  • the second system environment information obtaining unit 302 is configured to read the second system environment information of the terminal from the configuration table of the terminals of different models.
  • the system environment information matching unit 303 is configured to match the second system environment information with the first system environment information of the terminal required by each application to obtain an application that can be supported by each model terminal;
  • the storage unit 304 is configured to store an application that can be supported by each type of terminal and a model of the terminal;
  • the first request receiving unit 305 is configured to receive a first request of the terminal; the first request includes a model of the terminal;
  • the application determining unit 306 is configured to determine, according to the model of the terminal in the first request, an application that the terminal can support;
  • the application determining unit 306 in this embodiment may include: a model reading subunit and an application searching subunit (not shown).
  • the model reading subunit is configured to read a model of the terminal from the first request
  • the application searching subunit is configured to find an application that can be supported by the corresponding terminal model according to the model of the terminal.
  • the application providing unit 307 is configured to provide an application that the terminal can support to the terminal.
  • the application providing unit 307 in this embodiment may include: an application identifier sending subunit, a second request receiving subunit, and an application downloading subunit (not shown).
  • the application identifier sending subunit sends the identifier of the one or more applications that the terminal can support to the terminal, so that the terminal displays the identifier of the application.
  • the second request receiving subunit is configured to receive a second request sent by the terminal, where the second request includes an identifier of an application to be downloaded.
  • the application downloading subunit is configured to download an application to the terminal according to the identifier applied in the second request.
  • the storage unit 304 in this embodiment may include: a sub-model command sending sub-unit, a sub-model information receiving sub-unit, a first acquiring application sub-unit, and an application storage sub-unit (not shown).
  • the sub-model command sending sub-unit is configured to match the second system environment information with the first system environment information of the terminal required by each application, and the obtained application of each model terminal can support an application, including an application.
  • an instruction to upload a terminal sub-model is sent to a terminal supporting multiple versions of one application;
  • the sub-model information receiving sub-unit is configured to receive a terminal sub-model returned by the terminal according to an instruction of the upload terminal sub-model
  • the first acquisition application sub-unit is configured to obtain an application having the highest version number among the plurality of versions of the same application or the CPU type of the CPU type supported by the application instruction in the first system environment information;
  • the application The storage subunit is configured to store the obtained application corresponding to the model and sub model of the terminal.
  • the first request receiving unit 305 is configured to receive a first request of the terminal; the first request includes a model and a sub-model of the terminal;
  • the application determining unit 306 is configured to determine, according to the model and the sub-model of the terminal in the first request, an application that the terminal can support.
  • the application providing unit 306 in this embodiment may further include: a second acquiring application subunit and an application providing subunit (not shown).
  • the second acquiring application subunit is configured to obtain an application having the highest version number among the plurality of versions of the same application or the CPU type of the CPU type supported by the application instruction in the first system environment information; the application provider a unit for providing the obtained application to the terminal.
  • FIG. 4 is a schematic structural diagram of another apparatus for acquiring an application that matches a terminal according to an embodiment of the present invention.
  • the apparatus of this embodiment is applied to a server, and corresponds to the embodiment shown in FIG. 2, and includes: first system environment information.
  • the first system environment information extracting unit 401, the second system environment information obtaining unit 402, the system environment information matching unit 403, the storage unit 404, and the first request receiving unit 405 in this embodiment may respectively be combined with the embodiment shown in FIG.
  • the first system environment information extracting unit 301, the second system environment information obtaining unit 302, the system environment information matching unit 303, the storage unit 304, and the first request receiving unit 305 are identical, and are not repeated here.
  • the determining unit 406 in this embodiment determines whether the model of the terminal in the first request and the corresponding supported application are stored.
  • the application determining unit 407 is configured to: after determining, according to the first request, the determining unit 406, determining that the model of the terminal in the first request and the corresponding supported application are stored, according to the terminal in the first request Model, determine the application that the terminal can support.
  • the third system environment information matching unit 409 is configured to match the third system environment information of the terminal with the first system environment information of the terminal required by each application to obtain an application that the terminal can support.
  • the application providing unit 410 provides the determined application that the terminal can support or the obtained application that the terminal can support to the terminal.
  • FIG. 5 is a schematic flowchart of another method for obtaining an application that matches a terminal according to an embodiment of the present invention. The method is applied to a server, and includes the following steps:
  • Step 501 Extract, for an application to be provided to the terminal, first system environment information of the terminal required by each application.
  • the first system environment information may include: minimum operating system version information, screen resolution, CPU type supported by the application instruction, and a sensor list required by the application.
  • minimum operating system version information may include: minimum operating system version information, screen resolution, CPU type supported by the application instruction, and a sensor list required by the application.
  • the content of the system environment information may be increased or decreased according to the requirements of the application. For example, some applications require a terminal configured with a card reader and so on.
  • the first system environment information of the terminal required by each application may be extracted from the system environment configuration table of each application.
  • the existing public program can be called to extract the first system environment information of the terminal required by each application from the system environment configuration table of each application.
  • Step 502 Receive a first request for providing an application sent by the terminal, where the first request includes second system environment information of the terminal.
  • the second system environment information may include: operating system version information, screen resolution, CPU type, and sensor list.
  • operating system version information screen resolution, CPU type, and sensor list.
  • the content of the system environment information may be increased or decreased according to the requirements of the application. But it needs to correspond to the content of the first system environment information.
  • the second system environment information of the terminal may be read from a configuration table of terminals of different models.
  • the system API function can be directly called, and the second system environment information of the terminal is read from the configuration table of the terminal of different models.
  • Step 503 Match the second system environment information in the first request with the first system environment information of the respective applications, and determine an application that the terminal can support.
  • the second system environment information of the terminal is first read from the first request, and the second system environment information is matched with the first system environment information of each application to determine an application that the corresponding terminal can support.
  • Step 504 Provide an application that the terminal can support to the terminal.
  • the identifier of the one or more applications that the terminal can support is sent to the terminal, so that the terminal displays the identifier of the application; and then, the second request sent by the terminal is received; the second request includes The identifier of the downloaded application; finally, the application is downloaded to the terminal according to the identifier applied in the second request.
  • the obtained application of each model terminal can support multiple applications, including multiple applications.
  • the application that the terminal can support is provided to the terminal, including: obtaining the highest version number of the multiple versions of the same application or the CPU type supported by the application instruction in the first system environment information. The application with the highest CPU model; the acquired application is provided to the terminal.
  • FIG. 6 is a schematic structural diagram of another apparatus for acquiring an application that matches a terminal according to an embodiment of the present disclosure.
  • the apparatus of this embodiment is applied to a server, corresponding to the embodiment shown in FIG. 5, and includes: first system environment information.
  • the first system environment information extracting unit 601 is configured to extract, for each application to be provided to the terminal, the first system environment information of the terminal required by each application.
  • the first system environment information extracting unit 601 is specifically configured to extract, from the system environment configuration table of each application, the first system environment information of the terminal required by each application.
  • the first request receiving unit 602 is configured to receive a first request for providing an application sent by the terminal, where the first request includes second environment information of the terminal.
  • the system environment information matching unit 603 is configured to match the second system environment information in the first request with the first system environment information of the respective applications, and determine an application that the terminal can support.
  • the system environment information matching unit 603 may include: a second environment information reading subunit and an application matching subunit (not shown).
  • the second environment information reading subunit is configured to read the second system environment information of the terminal from the first request, and apply the matching subunit to use the second system environment information and the first system environment of each application. The information is matched to determine the application that the corresponding terminal can support.
  • the application providing unit 604 is configured to provide an application that the terminal can support to the terminal.
  • the application providing unit 604 may include: an application identifier sending subunit, a second request receiving subunit, and an application downloading subunit (not shown).
  • the application identifier sending subunit is configured to send the identifier of the one or more applications that the terminal can support to the terminal, so that the terminal displays the identifier of the application, and the second request receiving subunit is configured to receive the sending by the terminal.
  • a second request includes an identifier of the application to be downloaded; and the application downloading subunit is configured to download the application to the terminal according to the identifier applied in the second request.
  • the application providing unit 306 may further include: a second acquiring application subunit and an application providing subunit (not shown).
  • the second acquiring application subunit is configured to obtain an application having the highest version number among the plurality of versions of the same application or the CPU type of the CPU type supported by the application instruction in the first system environment information; the application provider a unit for providing the obtained application to the terminal.
  • the description is relatively simple, and the relevant parts can be referred to the description of the method embodiment.
  • the embodiment of the present invention further provides a computer readable storage medium for storing a computer program, where the computer program is used to execute an application for matching a terminal disclosed in the above embodiment of the present invention.
  • the embodiment of the present invention does not need to use a manual terminal to test the application to implement binding of the terminal model and the application, thereby improving efficiency and saving labor costs.

Abstract

本发明实施例公开了一种获取与终端相匹配的应用的方法及装置,应用于服务器,方法包括:对待提供给终端的各个应用,提取出各个应用需要的终端的第一系统环境信息;获得不同型号的终端的第二系统环境信息;将第二系统环境信息与所述各个应用需要的终端的第一系统环境信息进行匹配,获得各个型号的终端能够支持的应用;将各个型号的终端能够支持的应用与终端的型号对应存储;接收终端的第一请求;所述第一请求中包括终端的型号;根据第一请求中终端的型号,确定该终端能够支持的应用;将该终端能够支持的应用提供给终端。应用本发明实施例,不需要采用人工用终端去试应用来实现终端型号与应用的绑定,提高了效率。

Description

一种获取与终端相匹配的应用的方法及装置
相关申请的交叉引用
本申请要求了2013年10月8日提交的、申请号为201310463946.7、发明名称为“一种获取与终端相匹配的应用的方法及装置”的权益,其全部公开内容通过参考包括于此。
技术领域
本发明涉及网络通信技术领域,特别涉及一种获取与终端相匹配的应用的方法及装置。
背景技术
手机等终端日益普及,大众对软件和游戏等应用的需求促进了应用市场的发展,但是终端本身操作系统版本分布比较散,硬件平台也不统一,导致了很多应用在安装中出现兼容性问题,如无法安装或无法执行等。
现有技术中,为了能够获知某个应用能够被哪些型号的终端支持,需要在提供应用的服务器这端,将终端型号与其能够支持的应用进行绑定,绑定的方式是人工用终端去试用应用,如果能用,则绑定;否则不绑定。
当终端向服务器请求下载应用时,将终端型号发送给服务器,服务器根据终端型号,向终端下载与其型号绑定的应用。
现有技术这种采用人工用终端去试应用来实现终端型号与应用的绑定的方式,效率低下,出错率和人工成本都比较高。
发明内容
本发明实施例提供一种获取与终端相匹配的应用的方法及装置,提高效率。
为达到上述目的,本发明实施例公开了一种获取与终端相匹配的应用的方法,所述方法应用于服务器,包括步骤:
对待提供给终端的各个应用,提取出各个应用需要的终端的第一系统环境信息;
获得不同型号的终端的第二系统环境信息;
将第二系统环境信息与所述各个应用需要的终端的第一系统环境信息进行匹配,获得各个型号的终端能够支持的应用;
将各个型号的终端能够支持的应用与终端的型号对应存储;
接收终端的第一请求;所述第一请求中包括终端的型号;
根据第一请求中终端的型号,确定该终端能够支持的应用;
将该终端能够支持的应用提供给终端。
较佳的,所述提取出各个应用需要的终端的第一系统环境信息,为:
从各个应用的系统环境配置表中,提取出各个应用需要的终端的第一系统环境信息;
所述获得不同型号的终端的第二系统环境信息,为:从不同型号的终端的配置表中,读取终端的第二系统环境信息。
较佳的,所述根据第一请求中终端的型号,确定该终端能够支持的应用,包括:
从第一请求中,读取终端的型号;
根据该终端的型号,查找对应的终端型号能够支持的应用。
较佳的,将该终端能够支持的应用提供给终端,包括:
将终端能够支持的一个或多个应用的标识发送至终端,使终端显示所述应用的标识;
接收终端发送的第二请求;所述第二请求中包含要下载的应用的标识;
按照所述第二请求中应用的标识,将应用下载至终端。
较佳的,在收到终端的第一请求后,先判断是否存储有第一请求中终端的型号及对应的能够支持的应用;如果有则执行所述根据第一请求中终端的型号,确定该终端能够支持的应用的步骤;否则:
获取该终端的第三系统环境信息;
将终端的第三系统环境信息与各个应用需要的终端的第一系统环境信息进行匹配,获得该终端能够支持的应用;
所述将该终端能够支持的应用提供给终端,为将获得的该终端能够支持的应用提供给终端。
较佳的,所述一种获取与终端相匹配的应用的方法还包括:将获得的该终端能够支持的应用与该终端的型号进行对应存储。
较佳的,所述获取该终端的第三系统环境信息,包括:
向终端发送上传系统环境信息指令;
接收终端根据所述上传系统环境信息指令返回的第三系统环境信息。
较佳的,所述第一系统环境信息包括:最低操作系统版本信息、屏幕分辨率、应用程序指令支持的CPU种类和应用所需的传感器列表;
所述第二系统环境信息包括:操作系统版本信息、屏幕分辨率、CPU类型和传感器列表;
所述第三系统环境信息包括:操作系统版本信息、屏幕分辨率、CPU类型和传感器列表。
较佳的,若将第二系统环境信息与所述各个应用需要的终端的第一系统环境信息进行匹配,获得的各个型号的终端能够支持的应用中,包括一个应用的多个版本;则所述将各个型号的终端能够支持的应用与终端的型号对应存储,包括:
向支持一个应用的多个版本的终端发送上传终端子型号的指令;
接收终端根据所述上传终端子型号的指令返回的终端子型号信息;
获取同一应用的多个版本中版本号最高或所述第一系统环境信息中应用程序指令支持的CPU种类中CPU型号最高的应用;
将获取到的应用与终端的型号及子型号对应存储;
所述第一请求中包括终端的型号及子型号;
所述根据第一请求中终端的型号,确定该终端能够支持的应用,包括:根据第一请求中终端的型号及子型号,确定该终端能够支持的应用。
较佳的,若根据第一请求中终端的型号,确定的该终端能够支持的应用中,包括一个应用的多个版本;则所述将该终端能够支持的应用提供给终端,包括:
获取同一应用的多个版本中版本号最高或所述第一系统环境信息中应用程序指令支持的CPU种类中CPU型号最高的应用;
将获取到的应用提供给终端。
为达到上述目的,本发明实施例公开了一种获取与终端相匹配的应用的装置,所述装置应用于服务器,包括:
第一系统环境信息提取单元,用于对待提供给终端的各个应用,提取出各个应用需要的终端的第一系统环境信息;
第二系统环境信息获得单元,用于获得不同型号的终端的第二系统环境信息;
系统环境信息匹配单元,用于将第二系统环境信息与所述各个应用需要的终端的第一系统环境信息进行匹配,获得各个型号的终端能够支持的应用;
存储单元,用于将各个型号的终端能够支持的应用与终端的型号对应存储;
第一请求接收单元,用于接收终端的第一请求;所述第一请求中包括终端的型号;
应用确定单元,用于根据第一请求中终端的型号,确定该终端能够支持的应用;
应用提供单元,用于将该终端能够支持的应用提供给终端。
较佳的,所述第一系统环境信息提取单元,具体用于从各个应用的系统环境配置表中,提取出各个应用需要的终端的第一系统环境信息;
所述第二系统环境信息获得单元,具体用于从不同型号的终端的配置表中,读取终端的第二系统环境信息。
较佳的,所述应用确定单元包括:型号读取子单元和应用查找子单元;
所述型号读取子单元,用于从第一请求中,读取终端的型号;
所述应用查找子单元,用于根据该终端的型号,查找到对应的终端型号能够支持的应用。
较佳的,所述应用提供单元包括:应用标识发送子单元、第二请求接收子单元和应用下载子单元;
所述应用标识发送子单元,用于将终端能够支持的一个或多个应用的标识发送至终端,使终端显示所述应用的标识;
所述第二请求接收子单元,用于接收终端发送的第二请求;所述第二请求中包含要下载的应用的标识;
所述应用下载子单元,用于按照所述第二请求中应用的标识,将应用下载至终端。
较佳的,所述一种获取与终端相匹配的应用的装置还包括:判断单元、第三系统环境信息获取单元和第三系统环境信息匹配单元;
判断单元,用于判断是否存储有第一请求中终端的型号及对应的能够支持的应用;
第三系统环境信息获取单元,用于在所述根据第一请求确定终端的型号后,判断单元判断出未存储第一请求中终端的型号及对应的能够支持的应用时,获取该终端的第三系统环境信息;
第三系统环境信息匹配单元,用于将终端的第三系统环境信息与各个应用需要的终端的第一系统环境信息进行匹配,获得该终端能够支持的应用;
所述应用提供单元,将确定的该终端能够支持的应用或获得的该终端能够支持的应用提供给终端。
较佳的,所述存储单元,进一步将获得的该终端能够支持的应用与该终端的型号进行对应存储。
较佳的,所述第三系统环境信息获取单元,包括:指令发送子单元和第三系统环境信息接收子单元;
所述指令发送子单元,用于向终端发送上传系统环境信息指令;
所述第三系统环境信息接收子单元,接收终端根据所述上传系统环境信息指令返回的第三系统环境信息。
较佳的,所述存储单元,包括:子型号指令发送子单元、子型号信息接收子单元、第一获取应用子单元和应用存储子单元;
所述子型号指令发送子单元,用于将第二系统环境信息与所述各个应用需要的终端的第一系统环境信息进行匹配,获得的各个型号的终端能够支持的应用中,包括一个应用的多个版本时,向支持一个应用的多个版本的终端发送上传终端子型号的指令;
所述子型号信息接收子单元,用于接收终端根据所述上传终端子型号的指令返回的终端子型号信息;
所述第一获取应用子单元,用于获取同一应用的多个版本中版本号最高或所述第一系统环境信息中应用程序指令支持的CPU种类中CPU型号最高的应用;
所述应用存储子单元,用于将获取到的应用与终端的型号及子型号对应存储;
所述第一请求接收单元,用于接收终端的第一请求;所述第一请求中包括终端的型号及子型号;
所述应用确定单元,用于根据第一请求中终端的型号及子型号,确定该终端能够支持的应用。
较佳的,所述应用提供单元,包括:第二获取应用子单元和应用提供子单元;
所述第二获取应用子单元,用于获取同一应用的多个版本中版本号最高或所述第一系统环境信息中应用程序指令支持的CPU种类中CPU型号最高的应用;
所述应用提供子单元,用于将获取到的应用提供给终端。
为达到上述目的,本发明实施例公开了另一种获取与终端相匹配的应用的方法,所述方法应用于服务器,包括步骤:
对于待提供给终端的应用,提取各个应用需要的终端的第一系统环境信息;
接收终端发送的提供应用的第一请求;所述第一请求中,包括终端的第二系统环境信息;
将第一请求中的第二系统环境信息与所述各个应用的第一系统环境信息进行匹配,确定该终端能够支持的应用;
将该终端能够支持的应用提供给终端。
较佳的,所述提取各个应用需要的终端的第一系统环境信息,为:
从各个应用的系统环境配置表中,提取出各个应用需要的终端的第一系统环境信息;
所述第一请求中,包括终端的第二系统环境信息,为:所述第一请求中,包括从终端的配置表中,读取终端的第二系统环境信息。
较佳的,所述将第一请求中的第二系统环境信息与所述各个应用的第一系统环境信息进行匹配,确定该终端能够支持的应用,包括:
从第一请求中,读取终端的第二系统环境信息;
将第二系统环境信息与各个应用的第一系统环境信息进行匹配,确定对应的终端能够支持的应用。
较佳的,将该终端能够支持的应用提供给终端,包括:
将终端能够支持的一个或多个应用的标识发送至终端,使终端显示所述应用的标识;
接收终端发送的第二请求;所述第二请求中包含要下载的应用的标识;
按照所述第二请求中应用的标识,将应用下载至终端。
较佳的,所述第一系统环境信息包括:最低操作系统版本信息、屏幕分辨率、应用程序指令支持的CPU种类和应用所需的传感器列表;
所述第二系统环境信息包括:操作系统版本信息、屏幕分辨率、CPU类型和传感器列表。
较佳的,若将第一请求中的第二系统环境信息与所述各个应用的第一系统环境信息进行匹配,确定的该终端能够支持的应用中,包括一个应用的多个版本;则所述将该终端能够支持的应用提供给终端,包括:
获取同一应用的多个版本中版本号最高或所述第一系统环境信息中应用程序指令支持的CPU种类中CPU型号最高的应用;
将获取到的应用提供给终端。
为到达上述目的,本发明实施例公开了另一种获取与终端相匹配的应用的装置,所述装置应用于服务器,包括:
第一系统环境信息提取单元,用于对待提供给终端的各个应用,提取出各个应用需要的终端的第一系统环境信息;
第一请求接收单元,用于接收终端发送的提供应用的第一请求;所述第一请求中包括终端的第二环境信息;
系统环境信息匹配单元,用于将第一请求中的第二系统环境信息与所述各个应用的第一系统环境信息进行匹配,确定该终端能够支持的应用;
应用提供单元,用于将该终端能够支持的应用提供给终端。
较佳的,所述第一系统环境信息提取单元,具体用于从各个应用的系统环境配 置表中,提取出各个应用需要的终端的第一系统环境信息。
较佳的,所述系统环境信息匹配单元,包括:第二环境信息读取子单元和应用匹配子单元;
所述第二环境信息读取子单元,用于从第一请求中,读取终端的第二系统环境信息;
所述应用匹配子单元,用于将第二系统环境信息与各个应用的第一系统环境信息进行匹配,确定对应的终端能够支持的应用。
较佳的,所述应用提供单元,包括:应用标识发送子单元、第二请求接收子单元和应用下载子单元;
所述应用标识发送子单元,用于将终端能够支持的一个或多个应用的标识发送至终端,使终端显示所述应用的标识;
所述第二请求接收子单元,用于接收终端发送的第二请求;所述第二请求中包含要下载的应用的标识;
所述应用下载子单元,用于按照所述第二请求中应用的标识,将应用下载至终端。
较佳的,所述应用提供单元,包括:第二获取应用子单元和应用提供子单元;
所述第二获取应用子单元,用于获取同一应用的多个版本中版本号最高或所述第一系统环境信息中应用程序指令支持的CPU种类中CPU型号最高的应用;
所述应用提供子单元,用于将获取到的应用提供给终端。
本发明实施例还提供一种计算机可读存储介质,用于存储计算机程序,所述计算机程序在运行时用于执行本发明实施例公开的获取与终端相匹配的应用的方法。
由以上技术方案可见,本发明实施例提供一种获取与终端相匹配的应用的方法及装置,服务器提取出各个应用需要的终端的第一系统环境信息;并获得不同型号的终端的第二系统环境信息;再将第二系统环境信息与所述各个应用需要的终端的第一系统环境信息进行匹配,获得各个型号的终端能够支持的应用;根据终端的第一请求,将各个型号的终端能够支持的应用提供给终端。可见,本发明实施例中,不需要采用人工用终端去试应用来实现终端型号与应用的绑定,提高了效率,节省了人工成本。当然,实施本发明的任一产品或方法必不一定需要同时达到以上所述的所有优点。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或 现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1为本发明实施例提供的一种获取与终端相匹配的应用的方法流程示意图;
图2为本发明实施例提供的另一种获取与终端相匹配的应用的方法流程示意图;
图3为本发明实施例提供的一种获取与终端相匹配的应用的装置结构示意图;
图4为本发明实施例提供的另一种获取与终端相匹配的应用的装置结构示意图;
图5为本发明实施例提供的再一种获取与终端相匹配的应用的方法流程示意图;
图6为本发明实施例提供的再一种获取与终端相匹配的应用的装置结构示意图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
本发明实施例提供一种获取与终端相匹配的应用的方法及装置,该方案中服务器端提取各个应用需要的第一系统环境信息,并获取各个型号终端的第二系统环境信息,将第二系统环境信息与所述各个应用需要的终端的第一系统环境信息进行匹配,获得各个型号的终端能够支持的应用;根据终端的第一请求,将各个型号的终端能够支持的应用提供给终端。
下面通过具体实施例,对本发明进行详细说明。
图1为本发明实施例提供的一种获取与终端相匹配的应用的方法的流程示意图,该方法应用于服务器,包括如下步骤:
步骤101:对待提供给终端的各个应用,提取出各个应用需要的终端的第一系统环境信息。
本实施例中,第一系统环境信息可以包括:最低操作系统版本信息、屏幕分辨率、应用程序指令支持的CPU种类和应用所需的传感器列表。当然,实际实施过程中,不限于这些信息,也可以根据应用的要求,增加或减少系统环境信息的内容。 例如:有的应用需要终端配置有读卡器等等。
具体的,本步骤可以从各个应用的系统环境配置表中,提取出各个应用需要的终端的第一系统环境信息。例如:对于安卓系统的应用,可以调用现有的公开的程序来从各个应用的系统环境配置表中,提取出各个应用需要的终端的第一系统环境信息。
步骤102:获得不同型号的终端的第二系统环境信息。
本实施例中,第二系统环境信息可以包括:操作系统版本信息、屏幕分辨率、CPU类型和传感器列表。当然,实际实施过程中,不限于这些信息,也可以根据应用的要求,增加或减少系统环境信息的内容。但需要与第一系统环境信息的内容相对应。
具体地,本实施例中可以从不同型号的终端的配置表中,读取终端的第二系统环境信息。例如:可以直接调用系统API函数,从不同型号的终端的配置表中,读取终端的第二系统环境信息。
步骤103:将第二系统环境信息与所述各个应用需要的终端的第一系统环境信息进行匹配,获得各个型号的终端能够支持的应用。
本步骤中,服务器将每种型号的终端的第二系统环境信息与各个应用需要的终端的第一系统环境信息进行匹配,获得各个型号的终端能够支持的应用。
步骤104:将各个型号的终端能够支持的应用与终端的型号对应存储;
需要说明的是,若步骤103中将第二系统环境信息与所述各个应用需要的终端的第一系统环境信息进行匹配,获得的各个型号的终端能够支持的应用中,包括一个应用的多个版本时,步骤104将各个型号的终端能够支持的应用与终端的型号对应存储,包括:
向支持一个应用的多个版本的终端发送上传终端子型号的指令;
接收终端根据所述上传终端子型号的指令返回的终端子型号信息;
获取同一应用的多个版本中版本号最高或所述第一系统环境信息中应用程序指令支持的CPU种类中CPU型号最高的应用;
将获取到的应用与终端的型号及子型号对应存储。
假设,步骤101中,对A应用提取出的第一系统环境信息包括:
最低操作系统版本:安卓系统3.0版本
屏幕分辨率:small,normal,large,xlarge四种都可以
应用程序指令支持的CPU种类:armeabi,armeabi-v7a两种都可以
应用所需的传感器列表:1、陀螺仪2、距离传感器3、光线传感器4、手势传 感器5、声音控制;必须包括列表中所有传感器才能支持。
假设,步骤102中,获得的B型号的终端的第二系统环境信息包括:
操作系统为安卓4.0版本;屏幕分辨率是normal;应用程序指令支持的CPU种类是armeabi;具有传感器:1、加速传感器2、陀螺仪3、地磁传感器4、距离传感器5、光线传感器6、气压传感器7、GPS 8、眼球检测9、手势传感器10、摄像头测光11、声音控制。
在步骤103中,将B型号的终端的第二系统环境信息与A应用的系统环境信息进行比较后,确定B型号的终端能够支持A应用,B型号的终端与A应用匹配成功。
则在步骤104中,将B型号的终端的型号与A应用对应存储。具体可以将B型号和A应用的应用标识对应存储。
在上述假设的基础上,进一步假设A应用存在V1.0和V1.1两个版本,且从步骤103中得到B型号的终端能够支持A应用的这两个版本,则在步骤104中,向B型号的终端发送上传其子型号的指令并接收返回的C子型号信息,A应用的V1.1版本的版本号高于V1.0版本的版本号,则将A应用的V1.1版本与B型号的终端的B型号及C子型号对应存储。
步骤105:接收终端的第一请求;所述第一请求中包括终端的型号。
本步骤中,接收的第一请求,可以是终端要求显示服务器能够提供的应用的请求,也可以是终端下载应用的请求。不论是哪种请求,其中需要包括终端的型号。
需要说明的是,若步骤103中将第二系统环境信息与所述各个应用需要的终端的第一系统环境信息进行匹配,获得的各个型号的终端能够支持的应用中,包括一个应用的多个版本时,第一请求中包括终端的型号及子型号。
步骤106:根据第一请求中终端的型号,确定该终端能够支持的应用。
在上述步骤104中,通常各个型号的终端能够支持的应用标识与终端的型号对应存储到某个数据文件或数据库中。
这样,本步骤中,就可以从第一请求中读取出终端的型号,再到所述数据文件或数据库中,查找该型号的记录,从而查找到对应的终端型号能够支持的应用标识。
本步骤中,如果没有查找到终端型号能够支持的应用标识。则向终端发送没有匹配的应用或该终端型号无法识别的通知,使终端将该通知输出给用户。
步骤107:将该终端能够支持的应用提供给终端。
本步骤中,可以先将终端能够支持的一个或多个应用的标识发送至终端,使终端显示所述应用的标识;然后,再接收终端发送的第二请求;所述第二请求中包含要下载的应用的标识;最后,按照所述第二请求中应用的标识,将应用下载至终端。
需要说明的是,若步骤103中将第二系统环境信息与所述各个应用需要的终端的第一系统环境信息进行匹配,获得的各个型号的终端能够支持的应用中,包括一个应用的多个版本时,根据第一请求中终端的型号及子型号,确定该终端能够支持的应用。
需要说明的是,若步骤103中将第二系统环境信息与所述各个应用需要的终端的第一系统环境信息进行匹配,获得的各个型号的终端能够支持的应用中,包括一个应用的多个版本时,将该终端能够支持的应用提供给终端,包括:获取同一应用的多个版本中版本号最高或所述第一系统环境信息中应用程序指令支持的CPU种类中CPU型号最高的应用;将获取到的应用提供给终端。
本实施例中,不需要对终端处理流程进行调整,可以与现有技术一样,在第一请求中包括终端的型号即可实现。
本实施例在实际实施过程中,如果出现了新的型号的终端,如果服务器在接收其第一请求前,没有存储该终端的型号及对应的能够支持的应用,只能提示用户其终端型号无法识别,不能够保证提供给该终端的应用,该终端能够支持。
为了解决这个问题,本发明实施例进行了进一步的改进,以下对进一步改进的实施例进行说明。
图2为本发明实施例提供的另一种获取与终端相匹配的应用的方法流程示意图,该方法应用于服务器,包括如下步骤:
步骤201:对待提供给终端的各个应用,提取出各个应用需要的终端的第一系统环境信息。
步骤202:获得不同型号的终端的第二系统环境信息。
步骤203:将第二系统环境信息与所述各个应用需要的终端的第一系统环境信息进行匹配,获得各个型号的终端能够支持的应用。
步骤204:将各个型号的终端能够支持的应用与终端的型号对应存储。
步骤205:接收终端的第一请求;所述第一请求中包括终端的型号。
本实施例中的步骤201~步骤205与图1所示实施例中的步骤101~105可以完全相同,这里不再重复。
步骤206:判断是否存储有第一请求中终端的型号及对应的能够支持的应用;如果有则执行步骤207;否则执行步骤208。
步骤207:根据第一请求中终端的型号,确定该终端能够支持的应用。
步骤208:获取该终端的第三系统环境信息。
本实施例中,第三系统环境信息的内容可以与上述第二系统环境信息的内容相 同,也包括:操作系统版本信息、屏幕分辨率、CPU类型和传感器列表。当然,本实施例中的第三系统环境信息获得的方法也可以与第二系统环境信息获得的方法相同,这里不再重复。
本步骤中,可以向终端发送上传系统环境信息指令,再接收终端根据所述上传系统环境信息指令返回的第三系统环境信息。
步骤209:将终端的第三系统环境信息与各个应用需要的终端的第一系统环境信息进行匹配,获得该终端能够支持的应用。
本步骤中,由于第三系统环境信息的内容与上述第二系统环境信息的内容相同,因此,将第三系统环境信息与各个应用需要的终端的第一系统环境信息进行匹配的方法,也可以与将第二系统环境信息与各个应用需要的终端的第一系统环境信息进行匹配的方法相同,这里不再重复。
步骤210:将该终端能够支持的应用提供给终端。
本步骤中,提供给用户终端的应用可以是步骤207中确定的,也可以是步骤209中获得的。具体的提供方法可以与图1所示实施例中的步骤107完全相同,这里不再重复。
本实施例中,为了避免下一次对该型号的终端不被识别,而重复进行系统环境信息匹配的操作,在获得了该终端能够支持的应用后,将获得的该终端能够支持的应用与该终端的型号进行对应存储。存储的方式也可以与图1所示实施例相同。
这样,下一次终端的型号就能被识别,可以直接根据存储的数据,确定其能够支持的应用提供给终端。
本实施例中,对于没有存储的终端型号的终端,不是提示终端其终端型号无法识别,而是获得该终端的第三系统环境信息,用第三系统环境信息与上述第一系统环境信息进行匹配,从而获得该终端能够支持的应用。如果服务器接收了新型号的终端发送的第一请求,而服务器还没有存储该型号的终端对应的能够支持的应用,也能够给该终端提供其能够支持的应用。
图3为本发明实施例提供的一种获取与终端相匹配的应用的装置结构示意图,本实施例的装置应用于服务器,与图1所示的流程相对应,包括:第一系统环境信息提取单元301、第二系统环境信息获得单元302、系统环境信息匹配单元303、存储单元304、第一请求接收单元305、应用确定单元306和应用提供单元307。
其中,第一系统环境信息提取单元301,用于对待提供给终端的各个应用,提取出各个应用需要的终端的第一系统环境信息。
本实施例中,所述第一系统环境信息提取单元301,具体用于从各个应用的系统 环境配置表中,提取出各个应用需要的终端的第一系统环境信息。
第二系统环境信息获得单元302,用于获得不同型号的终端的第二系统环境信息。
本实施例中,所述第二系统环境信息获得单元302,具体用于从不同型号的终端的配置表中,读取终端的第二系统环境信息。
系统环境信息匹配单元303,用于将第二系统环境信息与所述各个应用需要的终端的第一系统环境信息进行匹配,获得各个型号的终端能够支持的应用;
存储单元304,用于将各个型号的终端能够支持的应用与终端的型号对应存储;
第一请求接收单元305,用于接收终端的第一请求;所述第一请求中包括终端的型号;
应用确定单元306,用于根据第一请求中终端的型号,确定该终端能够支持的应用;
本实施例中的应用确定单元306,可以包括:型号读取子单元和应用查找子单元(图中未示出)。所述型号读取子单元,用于从第一请求中,读取终端的型号;所述应用查找子单元,用于根据该终端的型号,查找到对应的终端型号能够支持的应用。
应用提供单元307,用于将该终端能够支持的应用提供给终端。
本实施例中的应用提供单元307可以包括:应用标识发送子单元、第二请求接收子单元和应用下载子单元(图中未示出)。所述应用标识发送子单元,用将终端能够支持的一个或多个应用的标识发送至终端,使终端显示所述应用的标识。所述第二请求接收子单元,用于接收终端发送的第二请求;所述第二请求中包含要下载的应用的标识。所述应用下载子单元,用于按照所述第二请求中应用的标识,将应用下载至终端。
本实施例中存储单元304,可以包括:子型号指令发送子单元、子型号信息接收子单元、第一获取应用子单元和应用存储子单元(图中未示出)。
所述子型号指令发送子单元,用于将第二系统环境信息与所述各个应用需要的终端的第一系统环境信息进行匹配,获得的各个型号的终端能够支持的应用中,包括一个应用的多个版本时,向支持一个应用的多个版本的终端发送上传终端子型号的指令;所述子型号信息接收子单元,用于接收终端根据所述上传终端子型号的指令返回的终端子型号信息;所述第一获取应用子单元,用于获取同一应用的多个版本中版本号最高或所述第一系统环境信息中应用程序指令支持的CPU种类中CPU型号最高的应用;所述应用存储子单元,用于将获取到的应用与终端的型号及子型号对应存储。
本实施例中第一请求接收单元305,用于接收终端的第一请求;所述第一请求中包括终端的型号及子型号;
应用确定单元306,用于根据第一请求中终端的型号及子型号,确定该终端能够支持的应用。
本实施例中应用提供单元306,还可以包括:第二获取应用子单元和应用提供子单元(图中未示出)。所述第二获取应用子单元,用于获取同一应用的多个版本中版本号最高或所述第一系统环境信息中应用程序指令支持的CPU种类中CPU型号最高的应用;所述应用提供子单元,用于将获取到的应用提供给终端。
图4为本发明实施例提供的另一种获取与终端相匹配的应用的装置结构示意图,本实施例的装置应用于服务器,与图2所示实施例相对应,包括:第一系统环境信息提取单元401、第二系统环境信息获得单元402、系统环境信息匹配单元403、存储单元404、第一请求接收单元405、判断单元406、应用确定单元407、第三系统环境信息获取单元408、第三系统环境信息匹配单元409和应用提供单元410。
本实施例中的第一系统环境信息提取单元401、第二系统环境信息获得单元402、系统环境信息匹配单元403、存储单元404和第一请求接收单元405,分别可以与图3所示实施例中的第一系统环境信息提取单元301、第二系统环境信息获得单元302、系统环境信息匹配单元303、存储单元304和第一请求接收单元305完全相同,这里不再重复。
本实施例中的判断单元406,判断是否存储有第一请求中终端的型号及对应的能够支持的应用。
应用确定单元407,用于在所述根据第一请求确定终端的型号后,判断单元406判断出存储有第一请求中终端的型号及对应的能够支持的应用时,根据第一请求中终端的型号,确定该终端能够支持的应用。
第三系统环境信息获取单元408,在所述根据第一请求确定终端的型号后,判断单元406判断出未存储第一请求中终端的型号及对应的能够支持的应用时,获取该终端的第三系统环境信息.
第三系统环境信息匹配单元409,用于将终端的第三系统环境信息与各个应用需要的终端的第一系统环境信息进行匹配,获得该终端能够支持的应用。
所述应用提供单元410,将确定的该终端能够支持的应用或获得的该终端能够支持的应用提供给终端。
图5为本发明实施例提供的再一种获取与终端相匹配的应用的方法流程示意图,该方法应用于服务器,包括步骤:
步骤501:对于待提供给终端的应用,提取各个应用需要的终端的第一系统环境信息。
本实施例中,第一系统环境信息可以包括:最低操作系统版本信息、屏幕分辨率、应用程序指令支持的CPU种类和应用所需的传感器列表。当然,实际实施过程中,不限于这些信息,也可以根据应用的要求,增加或减少系统环境信息的内容。例如:有的应用需要终端配置有读卡器等等。
具体的,本步骤可以从各个应用的系统环境配置表中,提取出各个应用需要的终端的第一系统环境信息。例如:对于安卓系统的应用,可以调用现有的公开的程序来从各个应用的系统环境配置表中,提取出各个应用需要的终端的第一系统环境信息。
步骤502:接收终端发送的提供应用的第一请求;所述第一请求中,包括终端的第二系统环境信息。
本实施例中,第二系统环境信息可以包括:操作系统版本信息、屏幕分辨率、CPU类型和传感器列表。当然,实际实施过程中,不限于这些信息,也可以根据应用的要求,增加或减少系统环境信息的内容。但需要与第一系统环境信息的内容相对应。
具体地,本实施例中可以从不同型号的终端的配置表中,读取终端的第二系统环境信息。例如:可以直接调用系统API函数,从不同型号的终端的配置表中,读取终端的第二系统环境信息。
步骤503;将第一请求中的第二系统环境信息与所述各个应用的第一系统环境信息进行匹配,确定该终端能够支持的应用。
本步骤中,首先从第一请求中,读取终端的第二系统环境信息;再将第二系统环境信息与各个应用的第一系统环境信息进行匹配,确定对应的终端能够支持的应用。
步骤504:将该终端能够支持的应用提供给终端。
本步骤中,可以先将终端能够支持的一个或多个应用的标识发送至终端,使终端显示所述应用的标识;然后,再接收终端发送的第二请求;所述第二请求中包含要下载的应用的标识;最后,按照所述第二请求中应用的标识,将应用下载至终端。
需要说明的是,若步骤503中将第二系统环境信息与所述各个应用需要的终端的第一系统环境信息进行匹配,获得的各个型号的终端能够支持的应用中,包括一个应用的多个版本时,将该终端能够支持的应用提供给终端,包括:获取同一应用的多个版本中版本号最高或所述第一系统环境信息中应用程序指令支持的CPU种类中 CPU型号最高的应用;将获取到的应用提供给终端。
图6为本发明实施例提供的再一种获取与终端相匹配的应用的装置结构示意图,本实施例的装置应用于服务器,与图5所示实施例相对应,包括:第一系统环境信息提取单元601、第一请求接收单元602、系统环境信息匹配单元603和应用提供单元604。
其中,第一系统环境信息提取单元601,用于对待提供给终端的各个应用,提取出各个应用需要的终端的第一系统环境信息。
本实施例中,第一系统环境信息提取单元601,具体用于从各个应用的系统环境配置表中,提取出各个应用需要的终端的第一系统环境信息。
第一请求接收单元602,用于接收终端发送的提供应用的第一请求;所述第一请求中包括终端的第二环境信息。
系统环境信息匹配单元603,用于将第一请求中的第二系统环境信息与所述各个应用的第一系统环境信息进行匹配,确定该终端能够支持的应用。
本实施例中,系统环境信息匹配单元603,可以包括:第二环境信息读取子单元和应用匹配子单元(图中未示出)。其中,第二环境信息读取子单元,用于从第一请求中,读取终端的第二系统环境信息;应用匹配子单元,用于将第二系统环境信息与各个应用的第一系统环境信息进行匹配,确定对应的终端能够支持的应用。
应用提供单元604,用于将该终端能够支持的应用提供给终端。
本实施例中,应用提供单元604,可以包括:应用标识发送子单元、第二请求接收子单元和应用下载子单元(图中未示出)。其中,应用标识发送子单元,用于将终端能够支持的一个或多个应用的标识发送至终端,使终端显示所述应用的标识;所述第二请求接收子单元,用于接收终端发送的第二请求;所述第二请求中包含要下载的应用的标识;所述应用下载子单元,用于按照所述第二请求中应用的标识,将应用下载至终端。
本实施例中,应用提供单元306,还可以包括:第二获取应用子单元和应用提供子单元(图中未示出)。所述第二获取应用子单元,用于获取同一应用的多个版本中版本号最高或所述第一系统环境信息中应用程序指令支持的CPU种类中CPU型号最高的应用;所述应用提供子单元,用于将获取到的应用提供给终端。
对于装置实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。
本发明实施例还提供了一种计算机可读存储介质,用于存储计算机程序,所述计算机程序在运行时用于执行本发明上述实施例所公开的获取与终端相匹配的应用 的方法。
由上述实施例可见,本发明实施例,不需要采用人工用终端去试应用来实现终端型号与应用的绑定,提高了效率,节省了人工成本。
需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。
本领域普通技术人员可以理解实现上述方法实施方式中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,所述的程序可以存储于计算机可读取存储介质中,这里所称得的存储介质,如:ROM/RAM、磁碟、光盘等。
以上所述仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。凡在本发明的精神和原则之内所作的任何修改、等同替换、改进等,均包含在本发明的保护范围内。

Claims (31)

  1. 一种获取与终端相匹配的应用的方法,其特征在于,所述方法应用于服务器,包括步骤:
    对待提供给终端的各个应用,提取出各个应用需要的终端的第一系统环境信息;
    获得不同型号的终端的第二系统环境信息;
    将第二系统环境信息与所述各个应用需要的终端的第一系统环境信息进行匹配,获得各个型号的终端能够支持的应用;
    将各个型号的终端能够支持的应用与终端的型号对应存储;
    接收终端的第一请求;所述第一请求中包括终端的型号;
    根据第一请求中终端的型号,确定该终端能够支持的应用;
    将该终端能够支持的应用提供给终端。
  2. 根据权利要求1所述的方法,其特征在于,所述提取出各个应用需要的终端的第一系统环境信息,为:
    从各个应用的系统环境配置表中,提取出各个应用需要的终端的第一系统环境信息;
    所述获得不同型号的终端的第二系统环境信息,为:从不同型号的终端的配置表中,读取终端的第二系统环境信息。
  3. 根据权利要求1或2所述的方法,其特征在于,所述根据第一请求中终端的型号,确定该终端能够支持的应用,包括:
    从第一请求中,读取终端的型号;
    根据该终端的型号,查找对应的终端型号能够支持的应用。
  4. 根据权利要求1-3中任一项所述的方法,其特征在于,将该终端能够支持的应用提供给终端,包括:
    将终端能够支持的一个或多个应用的标识发送至终端,使终端显示所述应用的标识;
    接收终端发送的第二请求;所述第二请求中包含要下载的应用的标识;
    按照所述第二请求中应用的标识,将应用下载至终端。
  5. 根据权利要求1-4任一项所述的方法,其特征在于,在收到终端的第一请求后,先判断是否存储有第一请求中终端的型号及对应的能够支持的应用;如果有则执行所述根据第一请求中终端的型号,确定该终端能够支持的应用的步骤;否则:
    获取该终端的第三系统环境信息;
    将终端的第三系统环境信息与各个应用需要的终端的第一系统环境信息进行匹 配,获得该终端能够支持的应用;
    所述将该终端能够支持的应用提供给终端,为将获得的该终端能够支持的应用提供给终端。
  6. 根据权利要求5所述的方法,其特征在于,所述方法还包括:将获得的该终端能够支持的应用与该终端的型号进行对应存储。
  7. 根据权利要求5或6所述的方法,其特征在于,所述获取该终端的第三系统环境信息,包括:
    向终端发送上传系统环境信息指令;
    接收终端根据所述上传系统环境信息指令返回的第三系统环境信息。
  8. 根据权利要求5-7中任一项所述的方法,其特征在于,
    所述第一系统环境信息包括:最低操作系统版本信息、屏幕分辨率、应用程序指令支持的CPU种类和应用所需的传感器列表;
    所述第二系统环境信息包括:操作系统版本信息、屏幕分辨率、CPU类型和传感器列表;
    所述第三系统环境信息包括:操作系统版本信息、屏幕分辨率、CPU类型和传感器列表。
  9. 根据权利要求1-8中任一项所述的方法,其特征在于,若将第二系统环境信息与所述各个应用需要的终端的第一系统环境信息进行匹配,获得的各个型号的终端能够支持的应用中,包括一个应用的多个版本;则所述将各个型号的终端能够支持的应用与终端的型号对应存储,包括:
    向支持一个应用的多个版本的终端发送上传终端子型号的指令;
    接收终端根据所述上传终端子型号的指令返回的终端子型号信息;
    获取同一应用的多个版本中版本号最高或所述第一系统环境信息中应用程序指令支持的CPU种类中CPU型号最高的应用;
    将获取到的应用与终端的型号及子型号对应存储;
    所述第一请求中包括终端的型号及子型号;
    所述根据第一请求中终端的型号,确定该终端能够支持的应用,包括:根据第一请求中终端的型号及子型号,确定该终端能够支持的应用。
  10. 根据权利要求1-9中任一项所述的方法,其特征在于,若根据第一请求中终端的型号,确定的该终端能够支持的应用中,包括一个应用的多个版本;则所述将该终端能够支持的应用提供给终端,包括:
    获取同一应用的多个版本中版本号最高或所述第一系统环境信息中应用程序指 令支持的CPU种类中CPU型号最高的应用;
    将获取到的应用提供给终端。
  11. 一种获取与终端相匹配的应用的装置,其特征在于,所述装置应用于服务器,包括:
    第一系统环境信息提取单元,用于对待提供给终端的各个应用,提取出各个应用需要的终端的第一系统环境信息;
    第二系统环境信息获得单元,用于获得不同型号的终端的第二系统环境信息;
    系统环境信息匹配单元,用于将第二系统环境信息与所述各个应用需要的终端的第一系统环境信息进行匹配,获得各个型号的终端能够支持的应用;
    存储单元,用于将各个型号的终端能够支持的应用与终端的型号对应存储;
    第一请求接收单元,用于接收终端的第一请求;所述第一请求中包括终端的型号;
    应用确定单元,用于根据第一请求中终端的型号,确定该终端能够支持的应用;
    应用提供单元,用于将该终端能够支持的应用提供给终端。
  12. 根据权利要求11所述的装置,其特征在于,
    所述第一系统环境信息提取单元,具体用于从各个应用的系统环境配置表中,提取出各个应用需要的终端的第一系统环境信息;
    所述第二系统环境信息获得单元,具体用于从不同型号的终端的配置表中,读取终端的第二系统环境信息。
  13. 根据权利要求11或12所述的装置,其特征在于,所述应用确定单元包括:型号读取子单元和应用查找子单元;
    所述型号读取子单元,用于从第一请求中,读取终端的型号;
    所述应用查找子单元,用于根据该终端的型号,查找到对应的终端型号能够支持的应用。
  14. 根据权利要求11-13中任一项所述的装置,其特征在于,所述应用提供单元包括:应用标识发送子单元、第二请求接收子单元和应用下载子单元;
    所述应用标识发送子单元,用于将终端能够支持的一个或多个应用的标识发送至终端,使终端显示所述应用的标识;
    所述第二请求接收子单元,用于接收终端发送的第二请求;所述第二请求中包含要下载的应用的标识;
    所述应用下载子单元,用于按照所述第二请求中应用的标识,将应用下载至终端。
  15. 根据权利要求11-14任一项所述的装置,其特征在于,该装置还包括:判断单元、第三系统环境信息获取单元和第三系统环境信息匹配单元;
    判断单元,用于判断是否存储有第一请求中终端的型号及对应的能够支持的应用;
    第三系统环境信息获取单元,用于在所述根据第一请求确定终端的型号后,判断单元判断出未存储第一请求中终端的型号及对应的能够支持的应用时,获取该终端的第三系统环境信息;
    第三系统环境信息匹配单元,用于将终端的第三系统环境信息与各个应用需要的终端的第一系统环境信息进行匹配,获得该终端能够支持的应用;
    所述应用提供单元,将确定的该终端能够支持的应用或获得的该终端能够支持的应用提供给终端。
  16. 根据权利要求15所述的装置,其特征在于,所述存储单元,进一步将获得的该终端能够支持的应用与该终端的型号进行对应存储。
  17. 根据权利要求15或16所述的装置,其特征在于,所述第三系统环境信息获取单元,包括:指令发送子单元和第三系统环境信息接收子单元;
    所述指令发送子单元,用于向终端发送上传系统环境信息指令;
    所述第三系统环境信息接收子单元,接收终端根据所述上传系统环境信息指令返回的第三系统环境信息。
  18. 根据权利要求11-17中任一项所述的装置,其特征在于,所述存储单元,包括:子型号指令发送子单元、子型号信息接收子单元、第一获取应用子单元和应用存储子单元;
    所述子型号指令发送子单元,用于将第二系统环境信息与所述各个应用需要的终端的第一系统环境信息进行匹配,获得的各个型号的终端能够支持的应用中,包括一个应用的多个版本时,向支持一个应用的多个版本的终端发送上传终端子型号的指令;
    所述子型号信息接收子单元,用于接收终端根据所述上传终端子型号的指令返回的终端子型号信息;
    所述第一获取应用子单元,用于获取同一应用的多个版本中版本号最高或所述第一系统环境信息中应用程序指令支持的CPU种类中CPU型号最高的应用;
    所述应用存储子单元,用于将获取到的应用与终端的型号及子型号对应存储;
    所述第一请求接收单元,用于接收终端的第一请求;所述第一请求中包括终端的型号及子型号;
    所述应用确定单元,用于根据第一请求中终端的型号及子型号,确定该终端能够支持的应用。
  19. 根据权利要求11-18中任一项所述的装置,其特征在于,所述应用提供单元,还包括:第二获取应用子单元和应用提供子单元;
    所述第二获取应用子单元,用于获取同一应用的多个版本中版本号最高或所述第一系统环境信息中应用程序指令支持的CPU种类中CPU型号最高的应用;
    所述应用提供子单元,用于将获取到的应用提供给终端。
  20. 一种获取与终端相匹配的应用的方法,其特征在于,所述方法应用于服务器,包括步骤:
    对于待提供给终端的应用,提取各个应用需要的终端的第一系统环境信息;
    接收终端发送的提供应用的第一请求;所述第一请求中,包括终端的第二系统环境信息;
    将第一请求中的第二系统环境信息与所述各个应用的第一系统环境信息进行匹配,确定该终端能够支持的应用;
    将该终端能够支持的应用提供给终端。
  21. 根据权利要求20所述的方法,其特征在于,所述提取各个应用需要的终端的第一系统环境信息,为:
    从各个应用的系统环境配置表中,提取出各个应用需要的终端的第一系统环境信息;
    所述第一请求中,包括终端的第二系统环境信息,为:所述第一请求中,包括从终端的配置表中,读取终端的第二系统环境信息。
  22. 根据权利要求20或21所述的方法,其特征在于,所述将第一请求中的第二系统环境信息与所述各个应用的第一系统环境信息进行匹配,确定该终端能够支持的应用,包括:
    从第一请求中,读取终端的第二系统环境信息;
    将第二系统环境信息与各个应用的第一系统环境信息进行匹配,确定对应的终端能够支持的应用。
  23. 根据权利要求20-22中任一项所述的方法,其特征在于,将该终端能够支持的应用提供给终端,包括:
    将终端能够支持的一个或多个应用的标识发送至终端,使终端显示所述应用的标识;
    接收终端发送的第二请求;所述第二请求中包含要下载的应用的标识;
    按照所述第二请求中应用的标识,将应用下载至终端。
  24. 根据权利要求20-23任一项所述的方法,其特征在于,
    所述第一系统环境信息包括:最低操作系统版本信息、屏幕分辨率、应用程序指令支持的CPU种类和应用所需的传感器列表;
    所述第二系统环境信息包括:操作系统版本信息、屏幕分辨率、CPU类型和传感器列表。
  25. 根据权利要求20-24中任一项所述的方法,其特征在于,若将第一请求中的第二系统环境信息与所述各个应用的第一系统环境信息进行匹配,确定的该终端能够支持的应用中,包括一个应用的多个版本;则所述将该终端能够支持的应用提供给终端,包括:
    获取同一应用的多个版本中版本号最高或所述第一系统环境信息中应用程序指令支持的CPU种类中CPU型号最高的应用;
    将获取到的应用提供给终端。
  26. 一种获取与终端相匹配的应用的装置,其特征在于,所述装置应用于服务器,包括:
    第一系统环境信息提取单元,用于对待提供给终端的各个应用,提取出各个应用需要的终端的第一系统环境信息;
    第一请求接收单元,用于接收终端发送的提供应用的第一请求;所述第一请求中包括终端的第二环境信息;
    系统环境信息匹配单元,用于将第一请求中的第二系统环境信息与所述各个应用的第一系统环境信息进行匹配,确定该终端能够支持的应用;
    应用提供单元,用于将该终端能够支持的应用提供给终端。
  27. 根据权利要求26所述的装置,其特征在于,
    所述第一系统环境信息提取单元,具体用于从各个应用的系统环境配置表中,提取出各个应用需要的终端的第一系统环境信息。
  28. 根据权利要求26或27所述的装置,其特征在于,所述系统环境信息匹配单元,包括:第二环境信息读取子单元和应用匹配子单元;
    所述第二环境信息读取子单元,用于从第一请求中,读取终端的第二系统环境信息;
    所述应用匹配子单元,用于将第二系统环境信息与各个应用的第一系统环境信息进行匹配,确定对应的终端能够支持的应用。
  29. 根据权利要求26-28中任一项所述的装置,其特征在于,所述应用提供单元, 包括:应用标识发送子单元、第二请求接收子单元和应用下载子单元;
    所述应用标识发送子单元,用于将终端能够支持的一个或多个应用的标识发送至终端,使终端显示所述应用的标识;
    所述第二请求接收子单元,用于接收终端发送的第二请求;所述第二请求中包含要下载的应用的标识;
    所述应用下载子单元,用于按照所述第二请求中应用的标识,将应用下载至终端。
  30. 根据权利要求26-29中任一项所述的装置,其特征在于,所述应用提供单元,还包括:第二获取应用子单元和应用提供子单元;
    所述第二获取应用子单元,用于获取同一应用的多个版本中版本号最高或所述第一系统环境信息中应用程序指令支持的CPU种类中CPU型号最高的应用;
    所述应用提供子单元,用于将获取到的应用提供给终端。
  31. 一种计算机可读存储介质,其特征在于,用于存储计算机程序,所述计算机程序在运行时用于执行根据权利要求1-10中任一项所述的获取与终端相匹配的应用的方法或根据权利要求20-25中任一项所述的获取与终端相匹配的应用的方法。
PCT/CN2014/087919 2013-10-08 2014-09-30 一种获取与终端相匹配的应用的方法及装置 WO2015051728A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310463946.7 2013-10-08
CN201310463946.7A CN104519105A (zh) 2013-10-08 2013-10-08 一种获取与终端相匹配的应用的方法及装置

Publications (1)

Publication Number Publication Date
WO2015051728A1 true WO2015051728A1 (zh) 2015-04-16

Family

ID=52793819

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/087919 WO2015051728A1 (zh) 2013-10-08 2014-09-30 一种获取与终端相匹配的应用的方法及装置

Country Status (2)

Country Link
CN (1) CN104519105A (zh)
WO (1) WO2015051728A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112134908A (zh) * 2019-06-24 2020-12-25 阿里巴巴集团控股有限公司 应用适配方法及服务器、介质、车载多媒体系统

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108229160A (zh) * 2016-12-09 2018-06-29 广州市动景计算机科技有限公司 应用程序的筛选方法、装置及服务器
CN106775783A (zh) * 2017-02-28 2017-05-31 努比亚技术有限公司 应用更新方法及移动终端
CN107426114B (zh) * 2017-08-28 2021-02-12 西安万像电子科技有限公司 资源分配方法及系统
CN107643950A (zh) * 2017-08-28 2018-01-30 西安万像电子科技有限公司 资源分配方法、装置及系统
CN109240714A (zh) * 2018-08-30 2019-01-18 郑州云海信息技术有限公司 操作系统的安装方法及装置、存储介质及电子设备
CN111258625B (zh) * 2020-01-08 2023-07-11 Oppo(重庆)智能科技有限公司 软件刷机检测方法、装置、存储介质及电子设备
CN116009998A (zh) * 2021-10-21 2023-04-25 华为技术有限公司 一种渲染方法及相关装置

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101778153A (zh) * 2009-12-31 2010-07-14 康佳集团股份有限公司 一种手机功能配置方法及装置
CN102063299A (zh) * 2010-12-21 2011-05-18 东莞宇龙通信科技有限公司 移动终端中应用运行条件的评估方法及装置、移动终端
CN102637211A (zh) * 2012-04-12 2012-08-15 华为技术有限公司 一种更新终端适配数据库的方法、装置及系统
CN102810066A (zh) * 2011-06-03 2012-12-05 北京千橡网景科技发展有限公司 终端适配方法、基于终端特性配置程序的终端及服务器

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008069541A1 (en) * 2006-12-04 2008-06-12 Electronics And Telecommunications Research Institute Software portal system for providing relation information of software and data format and method of operating the same
CN102348199A (zh) * 2011-10-28 2012-02-08 宇龙计算机通信科技(深圳)有限公司 软件下载方法及移动终端

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101778153A (zh) * 2009-12-31 2010-07-14 康佳集团股份有限公司 一种手机功能配置方法及装置
CN102063299A (zh) * 2010-12-21 2011-05-18 东莞宇龙通信科技有限公司 移动终端中应用运行条件的评估方法及装置、移动终端
CN102810066A (zh) * 2011-06-03 2012-12-05 北京千橡网景科技发展有限公司 终端适配方法、基于终端特性配置程序的终端及服务器
CN102637211A (zh) * 2012-04-12 2012-08-15 华为技术有限公司 一种更新终端适配数据库的方法、装置及系统

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112134908A (zh) * 2019-06-24 2020-12-25 阿里巴巴集团控股有限公司 应用适配方法及服务器、介质、车载多媒体系统

Also Published As

Publication number Publication date
CN104519105A (zh) 2015-04-15

Similar Documents

Publication Publication Date Title
WO2015051728A1 (zh) 一种获取与终端相匹配的应用的方法及装置
CN103259795B (zh) 执行自动注册登录的方法、移动终端以及服务器
US11785061B2 (en) System and method to share an application with another device
US10356212B2 (en) Application delivery to a computing device using dynamic application volume creation and streaming
US8978027B2 (en) Method of disseminating updated drivers to mobile computing devices and a dissemination system therefor
WO2017157178A1 (zh) 一种移动终端应用程序的更新方法和装置
WO2019140656A1 (zh) 一种固件升级方法、装置、电子设备及控制设备
JP2015510212A (ja) クイックレスポンスコードを使用してソフトウェアアプリケーションを起動するためのシステム及び方法
CN107133165B (zh) 浏览器兼容性检测方法及装置
US9436274B2 (en) System to overlay application help on a mobile device
WO2016183951A1 (zh) 一种系统升级方法及终端
CN110780930B (zh) 启动Android系统的方法、装置、电子设备及存储介质
US10101986B2 (en) Method and apparatus for executing applications
US20150347153A1 (en) System management controller and method of configuration file backup and recovery
US8510423B2 (en) Install system and install method
WO2018006884A1 (zh) 一种软件安装方法及装置、用户终端
WO2017148157A1 (zh) Android设备的应用程序本地化安装方法和装置
WO2021169811A1 (zh) 特效生成方法、装置、系统、设备和存储介质
CN109688180B (zh) 一种基于镜像的云服务软件升级方法和装置
US20160277477A1 (en) Information processing apparatus, terminal device, information processing method, and non-transitory computer readable recording medium
CN112269588B (zh) 算法的升级方法、装置、终端和计算机可读存储介质
WO2017020460A1 (zh) 一种集成插件的方法和装置
WO2018068658A1 (zh) 一种设备的组件加载方法、装置以及物联网系统
US9244668B1 (en) Systems and methods for synchronizing mobile computing platforms
KR102472410B1 (ko) 셋톱박스의 어플리케이션 관리 방법 및 시스템

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14852638

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC ( EPO FORM 1205A DATED 21/07/2016 )

122 Ep: pct application non-entry in european phase

Ref document number: 14852638

Country of ref document: EP

Kind code of ref document: A1