WO2018000635A1 - 接口配置方法及装置 - Google Patents

接口配置方法及装置 Download PDF

Info

Publication number
WO2018000635A1
WO2018000635A1 PCT/CN2016/100467 CN2016100467W WO2018000635A1 WO 2018000635 A1 WO2018000635 A1 WO 2018000635A1 CN 2016100467 W CN2016100467 W CN 2016100467W WO 2018000635 A1 WO2018000635 A1 WO 2018000635A1
Authority
WO
WIPO (PCT)
Prior art keywords
correspondence
interface identifier
hdmi
configuration parameter
obtaining
Prior art date
Application number
PCT/CN2016/100467
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 WO2018000635A1 publication Critical patent/WO2018000635A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • H04N5/765Interface circuits between an apparatus for recording and another apparatus
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/4363Adapting the video or multiplex stream to a specific local network, e.g. a IEEE 1394 or Bluetooth® network
    • H04N21/43632Adapting the video or multiplex stream to a specific local network, e.g. a IEEE 1394 or Bluetooth® network involving a wired protocol, e.g. IEEE 1394
    • H04N21/43635HDMI

Definitions

  • the embodiments of the present invention relate to the field of computer technologies, and in particular, to an interface configuration method and apparatus.
  • an HDTV receives and plays video data transmitted by a server through an HDMI (High Definition Multimedia Interface) set on an HDTV.
  • HDMI High Definition Multimedia Interface
  • the technician needs to configure the HDMI set on the HDTV, so that the HDTV can receive the video data sent by the server through HDMI.
  • the technician when it is required to configure the HDMI on a certain HDTV, the technician first needs to determine the model of the HDTV, and then determines the setting on the HDTV according to the model of the HDTV. For the type of HDMI, the technician then inputs configuration parameters for configuring this type of HDMI in the television, and finally controls the television to configure the HDMI with the configuration parameters.
  • an embodiment of the present invention provides an interface configuration method and apparatus.
  • an interface configuration method which is applied to a television set, and the method includes:
  • the HDMI corresponding to the interface identifier is configured by using the configuration parameter.
  • the first correspondence between the interface identifier of the preset HDMI and the configuration parameter of the HDMI is as follows:
  • the method further includes:
  • the configuration parameter corresponding to the interface identifier in the first correspondence relationship is stored in a preset server.
  • the configuration parameter corresponding to the interface identifier is replaced with the latest configuration parameter.
  • the first correspondence between the interface identifier of the preset HDMI and the configuration parameter of the HDMI is as follows:
  • the obtaining the interface identifier of the high definition multimedia interface HDMI disposed on the television comprising:
  • the found interface identifier is determined as an interface identifier of the HDMI set on the television.
  • an interface configuration apparatus for use in a television set, the apparatus comprising:
  • a first acquiring module configured to acquire an interface identifier of a high definition multimedia interface HDMI disposed on the television
  • a second obtaining module configured to acquire a first correspondence between an interface identifier of the preset HDMI and a configuration parameter of the HDMI
  • a searching module configured to search, in the first correspondence, a configuration parameter corresponding to the interface identifier
  • a configuration module configured to configure, by using the configuration parameter, an HDMI corresponding to the interface identifier.
  • the second obtaining module includes:
  • a first acquiring unit configured to acquire a storage address of a storage space in the television that stores the first correspondence relationship
  • a second acquiring unit configured to acquire the first correspondence in the storage space according to the storage address.
  • the second obtaining module further includes:
  • a determining unit configured to determine, after the first correspondence is obtained in the storage space according to the storage address, whether a configuration parameter corresponding to the interface identifier in the first correspondence relationship is a preset server The latest configuration parameters stored in the interface corresponding to the interface identifier;
  • a third obtaining unit configured to: when the latest configuration parameter corresponding to the interface identifier stored in the preset server is not obtained, obtain the latest one corresponding to the interface identifier from the preset server Configuration parameter
  • a replacement unit configured to replace, in the first correspondence, a configuration parameter corresponding to the interface identifier by using the latest configuration parameter.
  • the second obtaining module includes:
  • a generating unit configured to generate an acquisition request for acquiring the first correspondence relationship
  • a sending unit configured to send the acquiring request to a preset server, so that the server acquires the first correspondence according to the acquiring request, and returns the first correspondence to the television;
  • a receiving unit configured to receive the first correspondence that is returned by the preset server according to the acquiring request.
  • the first obtaining module includes:
  • a fourth obtaining unit configured to acquire a model identifier of the television
  • a fifth obtaining unit configured to acquire a second correspondence between a model identifier of the preset TV set and an interface identifier of the HDMI;
  • a searching unit configured to search, in the second correspondence, an interface identifier corresponding to the model identifier
  • a determining unit configured to determine the found interface identifier as an interface identifier of the HDMI set on the television.
  • a television set comprising:
  • a memory for storing processor executable instructions
  • processor is configured to:
  • the HDMI corresponding to the interface identifier is configured by using the configuration parameter.
  • the embodiment of the present application provides a non-transitory computer readable storage medium, wherein the non-transitory computer readable storage medium can store a computer program, and the program can implement a part of the interface configuration method described above or All steps.
  • An embodiment of the present application provides a computer program product, the computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when the program instructions are executed by a computer, The computer is caused to perform the above interface configuration method in the embodiment of the present application.
  • the technician only needs to set the first correspondence between the interface identifier of the HDMI and the configuration parameter of the HDMI in advance, and the configuration parameter in the record for any one of the first correspondences.
  • the HDMI used to configure the interface identifier in the record is the same for each of the other records in the first correspondence.
  • the television can actively acquire the interface identifier of the HDMI set on the television; and obtain the first correspondence between the preset interface identifier of the HDMI and the configuration parameter of the HDMI. Relationship; then, in the first correspondence, the configuration parameter corresponding to the interface identifier is searched; and the configuration parameter is used to configure the HDMI corresponding to the interface identifier.
  • the entire configuration process can be completed without the involvement of technicians, saving labor costs.
  • FIG. 1 is a flowchart of an interface configuration method according to an exemplary embodiment
  • FIG. 2 is a flowchart of an interface configuration method according to an exemplary embodiment
  • FIG. 3 is a flowchart of an interface configuration method according to an exemplary embodiment
  • FIG. 4 is a flowchart of an interface configuration method according to an exemplary embodiment
  • FIG. 5 is a block diagram of an interface configuration apparatus according to an exemplary embodiment
  • FIG. 6 is a block diagram of a television set according to an exemplary embodiment
  • FIG. 7 is a schematic structural diagram of hardware of a device for configuring an interface according to an embodiment of the present disclosure.
  • FIG. 1 is a flowchart of an interface configuration method according to an exemplary embodiment. As shown in FIG. 1 , the method is used in a television set, and the method includes the following steps.
  • step S101 acquiring an interface identifier of the HDMI set on the television
  • the number of HDMIs set on different types of televisions is different, or the types of HDMIs set on different types of televisions are different, or different types of televisions
  • the number of HDMIs set on the machine is different and the types are different.
  • a model A TV has three HDMIs set up: HDMI1, HDMI2, and HDMI3. There are two HDMIs on the B model TV: HDMI3 and HDMI4.
  • the number and type of HDMIs set on the television set will not change any more, so the technician can pre-select the television.
  • the model identifier of the machine and the interface identifier of the HDMI set on the television set form a record stored in a second correspondence between the model identifier of the preset TV set and the interface identifier of the HDMI; wherein the second correspondence may be stored
  • the preset server may be a cloud or a cloud platform.
  • this step may specifically be:
  • the technician When the TV is assembled, the technician will store the model identification of the TV in the preset storage location in the TV. Therefore, in this step, the TV can be obtained from the local preset storage location. The model number of the TV.
  • the television when the television is locally stored in the second correspondence, the television can directly acquire the second correspondence from the local.
  • the television needs to obtain the second correspondence from the preset server; specifically, the acquiring request for acquiring the second correspondence may be sent to the preset server;
  • the preset service acquires the second corresponding relationship stored locally, and then sends a second correspondence to the television; the television receives the second correspondence sent by the preset service.
  • step S102 a first correspondence between an interface identifier of the HDMI set in advance and a configuration parameter of the HDMI is acquired;
  • each HDMI corresponds to one configuration parameter
  • each configuration parameter is used to configure an HDMI corresponding thereto.
  • the TV can receive the video stream using HDMI.
  • the first correspondence is set by the technician in advance, and the first correspondence may be stored in the television or may be stored in a preset server.
  • the specific flow of obtaining the first correspondence between the interface identifier of the preset HDMI and the configuration parameter of the HDMI is not limited herein. For details, refer to the embodiment shown in FIG. 2 and FIG. 4 .
  • step S103 searching for a configuration parameter corresponding to the interface identifier in the first correspondence relationship
  • step S104 the HDMI corresponding to the interface identifier is configured by using the configuration parameter.
  • the technician only needs to set the first correspondence between the interface identifier of the HDMI and the configuration parameter of the HDMI in advance, and the configuration parameter in the record for any one of the first correspondences.
  • the HDMI used to configure the interface identifier in the record is the same for each of the other records in the first correspondence.
  • the television can actively acquire the interface identifier of the HDMI set on the television; and obtain the first correspondence between the preset interface identifier of the HDMI and the configuration parameter of the HDMI. Relationship; then, in the first correspondence, the configuration parameter corresponding to the interface identifier is searched; and the configuration parameter is used to configure the HDMI corresponding to the interface identifier.
  • the entire configuration process can be completed without the involvement of technicians, saving labor costs.
  • step S102 includes:
  • step S201 acquiring a storage address of a storage space in the television that stores the first correspondence relationship
  • the first correspondence is after the television is assembled and the television is configured. Before HDMI was stored by technicians in the TV.
  • the television device acquires the storage address of the storage space storing the first correspondence, and then identifies the first correspondence and the obtained storage address.
  • a record is stored in a third correspondence between the identifier of the locally stored data and the storage address.
  • the identifier of the first correspondence is obtained, and then the third correspondence between the identifier of the locally stored data and the storage address is obtained, and then the third The storage address corresponding to the identifier of the first correspondence relationship is searched for in the correspondence relationship, and is used as the storage address of the storage space in which the first correspondence relationship is stored.
  • step S202 the first correspondence is obtained in the storage space according to the storage address.
  • the television can locally determine the storage space corresponding to the storage address, and then find the first correspondence in the storage space.
  • the configuration parameters of the HDMI need to be updated. After configuring the HDMI with the updated configuration parameters, the function of the HDMI set on the TV can be expanded.
  • the first correspondence is stored by the technician in the television after the television is assembled and before the HDMI of the television is configured. There is a period of time between when the TV stores the first correspondence to the TV and the HDMI needs to be configured. If the technician needs to expand the function of the HDMI set on the TV during this time, the technician usually needs to The configuration parameter of the HDMI set on the television is updated in the preset server, that is, the technician binds and stores the interface identifier of the HDMI set on the television with the updated configuration parameter in the preset server, and the updated The configuration parameters are the latest configuration parameters of the HDMI set on the TV.
  • the television needs to configure the HDMI set on the television with the configuration parameters
  • the television in order to enable the television to configure the HDMI set on the television using the latest configuration parameters of the HDMI, the television needs to be updated after step S202.
  • the updating step includes:
  • step S301 it is determined whether the configuration parameter corresponding to the interface identifier in the first correspondence relationship is Presetting the latest configuration parameters corresponding to the interface identifier stored in the server;
  • the version number of the configuration parameter for configuring different versions of the HDMI is different for any one HDMI, and the same is true for every other HDMI. Therefore, when the default server updates the configuration parameters of an HDMI, the version number of the configuration parameter is updated. For example, suppose the version number of the initial configuration parameter of an HDMI is v1.0, which is obtained after the initial configuration parameter is updated. The configuration parameter of the version number is v2.0. After the configuration parameter with the version number of v2.0 is updated, the configuration parameter with the version number of v3.0 is obtained.
  • the television may send a determination request to the preset server, where the determination request is used to request the preset server to determine whether the configuration parameter corresponding to the interface identifier in the first correspondence stored in the television is The latest configuration parameter corresponding to the interface identifier, the determination request carrying the version number of the configuration parameter corresponding to the interface identifier in the first correspondence stored in the interface identifier and the television.
  • the preset server When the preset server receives the determination request, extracting, from the determination request, a version number of the configuration parameter corresponding to the interface identifier in the first correspondence between the interface identifier and the television storage, and determining the locally stored
  • the version number of the latest configuration parameter corresponding to the interface identifier is the same as the version of the configuration parameter corresponding to the interface identifier in the first correspondence stored in the television, and if the two are the same, the version number is sent to the television
  • the configuration parameter corresponding to the interface identifier is the latest configuration parameter corresponding to the interface identifier stored in the preset server.
  • the configuration parameter corresponding to the interface identifier is not the latest configuration parameter corresponding to the interface identifier stored in the preset server.
  • step S302 the preset server is obtained from the preset server.
  • the television needs to send a configuration parameter acquisition request to the preset server,
  • the configuration parameter acquisition request carries the interface identifier; when the preset server receives the configuration parameter acquisition request sent by the television, the preset server acquires the locally stored latest configuration parameter corresponding to the interface identifier; The machine returns the latest configuration parameters; the television receives the latest configuration parameters returned by the preset server.
  • the television may directly perform step S103 when the configuration parameter corresponding to the interface identifier in the first correspondence is the latest configuration parameter corresponding to the interface identifier stored in the preset server.
  • step S303 in the first correspondence, the configuration parameters corresponding to the interface identifier are replaced with the latest configuration parameters.
  • the television set may look up the record including the identifier of the interface in the first correspondence, and then replace the configuration parameter stored in the record with the latest configuration parameter received.
  • the parameter FIG. 4 includes:
  • step S401 an acquisition request for acquiring a first correspondence relationship is generated
  • step S402 the acquisition request is sent to the preset server
  • the server obtains the first correspondence according to the acquisition request and returns a first correspondence to the television;
  • step S403 the first correspondence returned by the preset server according to the acquisition request is received.
  • the technician does not need to separately store the first correspondence relationship in each television set, and only needs to store the first correspondence relationship once in the preset server, thereby reducing the workload of the technician, and further Save labor costs.
  • the first correspondence is stored only in the preset server and not stored in each of the televisions, so that the storage space of each television can be saved.
  • FIG. 5 is a block diagram of an interface configuration apparatus according to an exemplary embodiment. Referring to Figure 5, the apparatus includes:
  • the first obtaining module 11 is configured to acquire an interface identifier of a high definition multimedia interface HDMI disposed on the television;
  • a second obtaining module 12 configured to acquire a first correspondence between an interface identifier of the preset HDMI and a configuration parameter of the HDMI;
  • the searching module 13 is configured to search, in the first correspondence, a configuration parameter corresponding to the interface identifier
  • the configuration module 14 is configured to configure the HDMI corresponding to the interface identifier by using the configuration parameter.
  • the second obtaining module 12 includes:
  • a first acquiring unit configured to acquire a storage address of a storage space in the television that stores the first correspondence relationship
  • a second acquiring unit configured to acquire the first correspondence in the storage space according to the storage address.
  • the second obtaining module 12 further includes:
  • a determining unit configured to determine, after the first correspondence is obtained in the storage space according to the storage address, whether a configuration parameter corresponding to the interface identifier in the first correspondence relationship is a preset server The latest configuration parameters stored in the interface corresponding to the interface identifier;
  • a third obtaining unit configured to: when the latest configuration parameter corresponding to the interface identifier stored in the preset server is not obtained, obtain the latest one corresponding to the interface identifier from the preset server Configuration parameter
  • a replacement unit configured to replace, in the first correspondence, a configuration parameter corresponding to the interface identifier by using the latest configuration parameter.
  • the second obtaining module 12 includes:
  • a generating unit configured to generate an acquisition request for acquiring the first correspondence relationship
  • a sending unit configured to send the acquiring request to a preset server, so that the server acquires the first correspondence according to the acquiring request, and returns the first correspondence to the television;
  • a receiving unit configured to receive the first correspondence that is returned by the preset server according to the acquiring request.
  • the first obtaining module 11 includes:
  • a fourth obtaining unit configured to acquire a model identifier of the television
  • a fifth obtaining unit configured to acquire a second correspondence between a model identifier of the preset TV set and an interface identifier of the HDMI;
  • a searching unit configured to search, in the second correspondence, an interface identifier corresponding to the model identifier
  • a determining unit configured to determine the found interface identifier as an interface identifier of the HDMI set on the television.
  • the technician only needs to set the first correspondence between the interface identifier of the HDMI and the configuration parameter of the HDMI in advance, and the configuration parameter in the record for any one of the first correspondences.
  • the HDMI used to configure the interface identifier in the record is the same for each of the other records in the first correspondence.
  • the television can actively acquire the interface identifier of the HDMI set on the television; and obtain the first correspondence between the preset interface identifier of the HDMI and the configuration parameter of the HDMI. Relationship; then, in the first correspondence, the configuration parameter corresponding to the interface identifier is searched; and the configuration parameter is used to configure the HDMI corresponding to the interface identifier.
  • the entire configuration process can be completed without the involvement of technicians, saving labor costs.
  • FIG. 6 is a television set according to an exemplary embodiment.
  • the television set includes:
  • a memory 22 for storing instructions executable by the processor 21;
  • the processor 21 is configured to:
  • the HDMI corresponding to the interface identifier is configured by using the configuration parameter.
  • the processor 21 is configured to:
  • the processor 21 is configured to:
  • the configuration parameter corresponding to the interface identifier in the first correspondence relationship is stored in a preset server.
  • the configuration parameter corresponding to the interface identifier is replaced with the latest configuration parameter.
  • the processor 21 is configured to:
  • the processor 21 is configured to:
  • the found interface identifier is determined as an interface identifier of the HDMI set on the television.
  • the embodiment of the present application further provides a non-transitory computer readable storage medium, where the non-transitory computer readable storage medium can store a program, and the program can be executed to perform an interface configuration provided by any one of the foregoing embodiments.
  • FIG. 7 is a schematic structural diagram of hardware of an electronic device according to an interface configuration method according to an embodiment of the present disclosure. As shown in FIG. 7, the device includes:
  • processors 710 and memory 720 one processor 710 is taken as an example in FIG.
  • the apparatus that performs an interface configuration method may further include: an input device 730 and an output device 740.
  • the processor 710, the memory 720, the input device 730, and the output device 740 may be connected by a bus or other means, as exemplified by a bus connection in FIG.
  • the memory 720 is a non-transitory computer readable storage medium, and can be used to store a non-volatile software program, a non-volatile computer executable program, and a module, such as a program corresponding to an interface configuration method in the embodiment of the present application. Instruction/module.
  • the processor 710 executes various functional applications and data processing of the electronic device by running non-volatile software programs, instructions, and modules stored in the memory 720, that is, an interface configuration method of the above method embodiments.
  • the memory 720 may include a storage program area and an storage data area, wherein the storage program area may store an operating system, an application required for at least one function; the storage data area may store data created according to usage of the interface configuration device, and the like.
  • memory 720 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device.
  • memory 720 can optionally include memory remotely located relative to processor 710, which can be connected to the interface configuration device over a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
  • Input device 730 can receive input numeric or character information and generate key signal inputs related to user settings and function control of the interface configuration device.
  • the output device 740 can include a display device such as a display screen.
  • the one or more modules are stored in the memory 720, and when executed by the one or more processors 710, perform one of the interface configuration methods of any of the above method embodiments.
  • the electronic device of the embodiment of the invention exists in various forms, including but not limited to:
  • Mobile communication devices These devices are characterized by mobile communication functions and are mainly aimed at providing voice and data communication.
  • Such terminals include: smart phones (such as iPhone), multimedia phones, functional phones, and low-end phones.
  • Ultra-mobile personal computer equipment This type of equipment belongs to the category of personal computers, has computing and processing functions, and generally has mobile Internet access.
  • Such terminals include: PDAs, MIDs, and UMPC devices, such as the iPad.
  • Portable entertainment devices These devices can display and play multimedia content. Such devices include: audio, Preview players (such as iPods), handheld game consoles, e-books, and smart toys and portable car navigation devices.
  • Audio Preview players (such as iPods), handheld game consoles, e-books, and smart toys and portable car navigation devices.
  • the server consists of a processor, a hard disk, a memory, a system bus, etc.
  • the server is similar to a general-purpose computer architecture, but because of the need to provide highly reliable services, processing power and stability High reliability in terms of reliability, security, scalability, and manageability.

Abstract

本发明实施例提供了一种接口配置方法及装置。在本发明实施例中,技术人员只需事先设置HDMI的接口标识与HDMI的配置参数之间的第一对应关系即可,对于第一对应关系中的任意一条记录,该记录中的配置参数用于配置该记录中的接口标识对应的HDMI,对于第一对应关系中的其他每一条记录,同样如此。之后,当电视机需要配置设置在电视机上的HDMI时,电视机可以主动获取设置在电视机上的HDMI的接口标识;并获取预先设置的HDMI的接口标识与HDMI的配置参数之间的第一对应关系;然后在第一对应关系中查找与该接口标识相对应的配置参数;再利用该配置参数配置该接口标识对应的HDMI。整个配置过程无需技术人员参与就可以完成,从而节省了人工成本。

Description

接口配置方法及装置
本申请要求于2016年6月29日提交中国专利局、申请号为2016104984371、发明名称为“接口配置方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本发明实施例涉及计算机技术领域,尤其涉及一种接口配置方法及装置。
背景技术
随着技术的飞速发展,用户常常利用高清电视观看视频。通常情况下,高清电视通过设置在高清电视上的HDMI(High Definition Multimedia Interface,高清晰度多媒体接口)接收服务器发送的视频数据并播放。
其中,高清电视在出厂前,技术人员需要对设置在该高清电视上的HDMI进行配置,这样高清电视才能通过HDMI接收到服务器发送的视频数据。
由于在不同型号的高清电视上设置的HDMI的个数和种类不同,且用于配置不同种类的HDMI的配置参数也不同。因此,在现有技术中,当需要对某一高清电视上的HDMI进行配置时,技术人员首先需要确定出该高清电视的型号,再根据该高清电视的型号确定出设置在该高清电视上的HDMI的种类,然后技术人员在电视机中输入用于配置该种类的HDMI的配置参数,最后控制该电视机利用该配置参数配置该HDMI。
然而,配置一个高清电视上的HDMI的过程需要技术人员全程参与,人工成本较高。
发明内容
为克服相关技术中存在的问题,本发明实施例提供一种接口配置方法及装置。
根据本发明实施例的第一方面,提供一种接口配置方法,应用于电视机,所述方法包括:
获取设置在所述电视机上的高清晰度多媒体接口HDMI的接口标识;
获取预先设置的HDMI的接口标识与HDMI的配置参数之间的第一对应关系;
在所述第一对应关系中查找与所述接口标识相对应的配置参数;
利用所述配置参数配置所述接口标识对应的HDMI。
其中,所述获取预先设置的HDMI的接口标识与HDMI的配置参数之间的第一对应关系,包括:
获取所述电视机中的存储了所述第一对应关系的存储空间的存储地址;
根据所述存储地址在所述存储空间中获取所述第一对应关系。
进一步地,其特征在于,所述方法还包括:
在根据所述存储地址在所述存储空间中获取所述第一对应关系之后,判断所述第一对应关系中的与所述接口标识相对应的配置参数是否为预设服务器中存储的与所述接口标识相对应的最新的配置参数;
当不为所述预设服务器中存储的与所述接口标识相对应的最新的配置参数时,从所述预设服务器中获取与所述接口标识相对应的最新的配置参数;
在所述第一对应关系中,利用所述最新的配置参数替换与所述接口标识相对应的配置参数。
其中,所述获取预先设置的HDMI的接口标识与HDMI的配置参数之间的第一对应关系,包括:
生成用于获取所述第一对应关系的获取请求;
向预设服务器发送所述获取请求;以使服务器根据所述获取请求获取所述第一对应关系并向所述电视机返回所述第一对应关系;
接收所述预设服务器根据所述获取请求返回的所述第一对应关系。
其中,所述获取设置在所述电视机上的高清晰度多媒体接口HDMI的接口标识,包括:
获取所述电视机的型号标识;
获取预先设置的电视机的型号标识与HDMI的接口标识之间的第二对应关系;
在所述第二对应关系中查找与所述型号标识相对应的接口标识;
将所述查找到的接口标识确定为设置在所述电视机上的HDMI的接口标识。
根据本发明实施例的第二方面,提供一种接口配置装置,应用于电视机,所述装置包括:
第一获取模块,用于获取设置在所述电视机上的高清晰度多媒体接口HDMI的接口标识;
第二获取模块,用于获取预先设置的HDMI的接口标识与HDMI的配置参数之间的第一对应关系;
查找模块,用于在所述第一对应关系中查找与所述接口标识相对应的配置参数;
配置模块,用于利用所述配置参数配置所述接口标识对应的HDMI。
其中,所述第二获取模块包括:
第一获取单元,用于获取所述电视机中的存储了所述第一对应关系的存储空间的存储地址;
第二获取单元,用于根据所述存储地址在所述存储空间中获取所述第一对应关系。
进一步地,所述第二获取模块还包括:
判断单元,用于在根据所述存储地址在所述存储空间中获取所述第一对应关系之后,判断所述第一对应关系中的与所述接口标识相对应的配置参数是否为预设服务器中存储的与所述接口标识相对应的最新的配置参数;
第三获取单元,用于当不为所述预设服务器中存储的与所述接口标识相对应的最新的配置参数时,从所述预设服务器中获取与所述接口标识相对应的最新的配置参数;
替换单元,用于在所述第一对应关系中,利用所述最新的配置参数替换与所述接口标识相对应的配置参数。
其中,所述第二获取模块包括:
生成单元,用于生成用于获取所述第一对应关系的获取请求;
发送单元,用于向预设服务器发送所述获取请求;以使服务器根据所述获取请求获取所述第一对应关系并向所述电视机返回所述第一对应关系;
接收单元,用于接收所述预设服务器根据所述获取请求返回的所述第一对应关系。
其中,所述第一获取模块包括:
第四获取单元,用于获取所述电视机的型号标识;
第五获取单元,用于获取预先设置的电视机的型号标识与HDMI的接口标识之间的第二对应关系;
查找单元,用于在所述第二对应关系中查找与所述型号标识相对应的接口标识;
确定单元,用于将所述查找到的接口标识确定为设置在所述电视机上的HDMI的接口标识。
根据本发明实施例的第三方面,提供一种电视机,所述电视机包括:
处理器;
用于存储处理器可执行指令的存储器;
其中,所述处理器被配置为:
获取设置在所述电视机上的高清晰度多媒体接口HDMI的接口标识;
获取预先设置的HDMI的接口标识与HDMI的配置参数之间的第一对应关系;
在所述第一对应关系中查找与所述接口标识相对应的配置参数;
利用所述配置参数配置所述接口标识对应的HDMI。
本申请实施例提供了一种非暂态计算机可读存储介质,其中,该非暂态计算机可读存储介质可存储有计算机程序,该程序执行时可实现上述的一种接口配置方法的部分或全部步骤。
本申请实施例提供一种计算机程序产品,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行本申请实施例上述接口配置方法。
本发明的实施例提供的技术方案可以包括以下有益效果:
在现有技术中,对一个电视机上设置的HDMI进行配置的整个过程需要技术人员的全程参与,当需要配置HDMI的电视机非常多时,由于配置设置每一个电视上 的HDMI是都需要一个技术人员,因此人工成本非常高。
而在本发明实施例中,技术人员只需事先设置HDMI的接口标识与HDMI的配置参数之间的第一对应关系即可,对于第一对应关系中的任意一条记录,该记录中的配置参数用于配置该记录中的接口标识对应的HDMI,对于第一对应关系中的其他每一条记录,同样如此。之后,当电视机需要配置设置在电视机上的HDMI时,电视机可以主动获取设置在电视机上的HDMI的接口标识;并获取预先设置的HDMI的接口标识与HDMI的配置参数之间的第一对应关系;然后在第一对应关系中查找与该接口标识相对应的配置参数;再利用该配置参数配置该接口标识对应的HDMI。整个配置过程无需技术人员参与就可以完成,从而节省了人工成本。
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本发明。
附图说明
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本发明的实施例,并与说明书一起用于解释本发明实施例的原理。
图1是根据一示例性实施例示出的一种接口配置方法的流程图;
图2是根据一示例性实施例示出的一种接口配置方法的流程图;
图3是根据一示例性实施例示出的一种接口配置方法的流程图;
图4是根据一示例性实施例示出的一种接口配置方法的流程图;
图5是根据一示例性实施例示出的一种接口配置装置的框图;
图6是根据一示例性实施例示出的一种电视机的框图;
图7为本申请实施例提供的一种接口配置方法的设备的硬件结构示意图。
具体实施方式
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本发明实施例相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本发明实施例的一些方面相一致的装置和方法的例子。
图1是根据一示例性实施例示出的一种接口配置方法的流程图,如图1所示,该方法用于电视机中,该方法包括以下步骤。
在步骤S101中,获取设置在电视机上的HDMI的接口标识;
在本发明实施例中,目前存在有各种型号的电视机,不同型号的电视机上设置的HDMI的个数不同,或者,不同型号的电视机上设置的HDMI的种类不同,或者,不同型号的电视机上设置的HDMI的个数不同且种类也不同。
例如,A型号的电视机上设置有3个HDMI,分别为:HDMI1、HDMI2以及HDMI3。B型号的电视机上设置有2个HDMI,分别为:HDMI3以及HDMI4。
在本发明实施例中,对于任意一个型号的电视机,当该电视机被组装完毕之后,在该电视机上设置的HDMI个数和种类就不会再变化,因此,技术人员可以事先将该电视机的型号标识与在该电视机上设置的HDMI的接口标识组成一条记录存储在预先设置的电视机的型号标识与HDMI的接口标识之间的第二对应关系中;其中,第二对应关系可以存储在该电视机中,也可以存储在预设服务器中,本发明实施例对此不加以限定。对于其他每一个型号的电视机,均执行上述操作。其中,预设服务器可以为云端或云平台等。
因此,本步骤具体可以为:
11)、获取电视机的型号标识;
其中,电视机被组装完毕时,技术人员就会将电视机的型号标识存储在电视机中的预设存储位置中,因此,在本步骤中,电视机可以从本地的预设存储位置中获取电视机的型号标识。
12)、获取预先设置的电视机的型号标识与HDMI的接口标识之间的第二对应关系;
其中,当电视机本地存储有第二对应关系中时,电视机可以从本地直接获取第二对应关系。
当电视机本地未存储有第二对应关系中时,电视机需要从预设服务器中获取第二对应关系;具体地,可以向预设服务器发送用于获取第二对应关系的获取请求;当预设服务接收到电视机发送的该获取请求时,预设服务获取本地存储的第二对应关系,然后向电视机发送第二对应关系;电视机接收预设服务发送的第二对应关系。
13)、在第二对应关系中查找与该型号标识相对应的接口标识;
14)、将查找到的接口标识确定为设置在电视机上的HDMI的接口标识。
在步骤S102中,获取预先设置的HDMI的接口标识与HDMI的配置参数之间的第一对应关系;
在本发明实施例中,每一个HDMI都对应一个配置参数,每一个配置参数用于配置与其对应的HDMI。当利用一个配置参数配置完对应的HDMI之后,电视机才能利用HDMI接收视频码流。
第一对应关系为技术人员事先设置的,第一对应关系可以存储在电视机中,也可以存储在一预设服务器中。
此处对获取预先设置的HDMI的接口标识与HDMI的配置参数之间的第一对应关系的具体流程不做限定,详情可参见图下图2和图4所示的实施例。
在步骤S103中,在第一对应关系中查找与该接口标识相对应的配置参数;
在步骤S104中,利用该配置参数配置该接口标识对应的HDMI。
在现有技术中,对一个电视机上设置的HDMI进行配置的整个过程需要技术人员的全程参与,当需要配置HDMI的电视机非常多时,由于配置设置每一个电视上的HDMI是都需要一个技术人员,因此人工成本非常高。
而在本发明实施例中,技术人员只需事先设置HDMI的接口标识与HDMI的配置参数之间的第一对应关系即可,对于第一对应关系中的任意一条记录,该记录中的配置参数用于配置该记录中的接口标识对应的HDMI,对于第一对应关系中的其他每一条记录,同样如此。之后,当电视机需要配置设置在电视机上的HDMI时,电视机可以主动获取设置在电视机上的HDMI的接口标识;并获取预先设置的HDMI的接口标识与HDMI的配置参数之间的第一对应关系;然后在第一对应关系中查找与该接口标识相对应的配置参数;再利用该配置参数配置该接口标识对应的HDMI。整个配置过程无需技术人员参与就可以完成,从而节省了人工成本。
其中,在本发明另一实施例中,参数图2,步骤S102包括:
在步骤S201中,获取电视机中的存储了第一对应关系的存储空间的存储地址;
在本发明实施例中,第一对应关系是在电视机被组装完毕之后且在配置电视机的 HDMI之前技术人员在电视机中存储的。
当技术人员在电视机中的某一存储空间中存储第一对应关系时,电视机会获取存储第一对应关系的该存储空间的存储地址,然后将第一对应关系的标识与获取的该存储地址组成一条记录存储在本地存储的数据的标识与存储地址之间的第三对应关系中。
这样,在本步骤中,当电视机需要获取第一对应关系时,先获取第一对应关系的标识,然后获取本地存储的数据的标识与存储地址之间的第三对应关系,再在第三对应关系中查找与第一对应关系的标识相对应的存储地址,并作为存储了第一对应关系的存储空间的存储地址。
在步骤S202中,根据该存储地址在该存储空间中获取第一对应关系。
其中,电视机可以在本地确定出该存储地址对应的存储空间,然后在该存储空间查找第一对应关系。
在本发明另一实施例中,有时候可能需要对在电视机上设置的HDMI的功能进行扩展,当需要对在电视机上设置的HDMI的功能进行扩展时,需要对HDMI的配置参数进行更新,这样,利用更新后的配置参数对HDMI配置之后,就可实现对在电视机上设置的HDMI的功能进行扩展。
其中,第一对应关系是在电视机被组装完毕之后且在配置电视机的HDMI之前技术人员在电视机中存储的。从电视机存储第一对应关系至电视机需要配置HDMI之间具有一段时间,如果在这段时间内技术人员需要对在电视机上设置的HDMI的功能进行扩展,则通常情况下,技术人员需要在预设服务器中更新在电视机上设置的HDMI的配置参数,也即,技术人员会将在电视机上设置的HDMI的接口标识与更新后的配置参数绑定并存储在预设服务器中,更新后的配置参数为设置在电视机上的HDMI的最新的配置参数。
这样,当电视机需要利用配置参数配置设置在电视机上的HDMI时,为了使得电视机能够利用HDMI的最新的配置参数对设置在电视机上的HDMI进行配置,则在步骤S202之后,电视机需要更新本地存储的第一对应关系。
具体地,参见图3,更新步骤包括:
在步骤S301中,判断第一对应关系中的与该接口标识相对应的配置参数是否为 预设服务器中存储的与该接口标识相对应的最新的配置参数;
在本发明实施例中,对于任意一个HDMI,用于配置该HDMI的不同版本的配置参数的版本号不同,对于其它每一个HDMI,同样如此。因此,当预设服务器对一个HDMI的配置参数更新之后,配置参数的版本号就会更新,例如,假设一个HDMI的最初的配置参数的版本号为v1.0,对最初的配置参数更新之后得到版本号为v2.0的配置参数,对版本号为v2.0的配置参数更新之后得到版本号为v3.0的配置参数等等。
其中,在本步骤中,电视机可以向预设服务器发送判断请求,该判断请求用于请求预设服务器判断电视机中存储的第一对应关系中的与该接口标识相对应的配置参数是否为与该接口标识相对应的最新的配置参数,该判断请求携带该接口标识和电视机中存储的第一对应关系中的与该接口标识相对应的配置参数的版本号。
当预设服务器接收到该判断请求时,从该判断请求中提取出该接口标识和电视机存储中的第一对应关系中的与该接口标识相对应的配置参数的版本号,判断本地存储的与该接口标识相对应的最新的配置参数的版本号与电视机中存储的第一对应关系中的与该接口标识相对应的配置参数的版本是否相同,如果二者相同,则向电视机发送电视机中存储的第一对应关系中的与该接口标识相对应的配置参数未更新的指示,如果二者不同,则向电视机发送电视机中存储的第一对应关系中的与该接口标识相对应的配置参数已更新的指示。
当电视机接收到预设服务器发送的电视机中存储的第一对应关系中的与该接口标识相对应的配置参数未更新的指示时,确定电视机中存储的第一对应关系中的与该接口标识相对应的配置参数为预设服务器中存储的与该接口标识相对应的最新的配置参数。
当电视机接收到预设服务器发送的电视机中存储的第一对应关系中的与该接口标识相对应的配置参数已更新的指示时,确定电视机中存储的第一对应关系中的与该接口标识相对应的配置参数不为预设服务器中存储的与该接口标识相对应的最新的配置参数。
当第一对应关系中的与该接口标识相对应的配置参数不为预设服务器中存储的与该接口标识相对应的最新的配置参数时,在步骤S302中,从预设服务器中获取与该接口标识相对应的最新的配置参数;
当第一对应关系中的与该接口标识相对应的配置参数不为预设服务器中存储的与该接口标识相对应的最新的配置参数时,电视机需要向预设服务器发送配置参数获取请求,该配置参数获取请求中携带该接口标识;当预设服务器接收到电视机发送的该配置参数获取请求时,预设服务器获取本地存储的与该接口标识相对应的最新的配置参数;然后向电视机返回该最新的配置参数;电视机接收预设服务器返回的该最新的配置参数。
其中,当第一对应关系中的与该接口标识相对应的配置参数为预设服务器中存储的与该接口标识相对应的最新的配置参数时,电视机可以直接执行步骤S103。
在步骤S303中,在第一对应关系中,利用最新的配置参数替换与该接口标识相对应的配置参数。
其中,电视机可以在第一对应关系中查找包括该接口标识的记录,然后利用接收的该最新的配置参数替换该记录中存储的配置参数。
其中,在本发明另一实施例中,当第一对应关系未存储在电视机本地时,电视机需要从预设服务器中获取第一对应关系,参数图4,步骤S102包括:
在步骤S401中,生成用于获取第一对应关系的获取请求;
在步骤S402中,向预设服务器发送该获取请求;
以使服务器根据该获取请求获取第一对应关系并向电视机返回第一对应关系;
在步骤S403中,接收预设服务器根据该获取请求返回的第一对应关系。
在本发明实施例中,技术人员无需分别在每一个电视机中都存储第一对应关系,只需在预设服务器中存储一次第一对应关系即可,从而可以降低技术人员的工作量,进一步地节省人工成本。其次,第一对应关系只存储在预设服务器中而不存储在每一个电视机中,从而可以节省每一个电视机的存储空间。
图5是根据一示例性实施例示出的一种接口配置装置的框图。参照图5,该装置包括:
第一获取模块11,用于获取设置在所述电视机上的高清晰度多媒体接口HDMI的接口标识;
第二获取模块12,用于获取预先设置的HDMI的接口标识与HDMI的配置参数之间的第一对应关系;
查找模块13,用于在所述第一对应关系中查找与所述接口标识相对应的配置参数;
配置模块14,用于利用所述配置参数配置所述接口标识对应的HDMI。
其中,所述第二获取模块12包括:
第一获取单元,用于获取所述电视机中的存储了所述第一对应关系的存储空间的存储地址;
第二获取单元,用于根据所述存储地址在所述存储空间中获取所述第一对应关系。
进一步地,所述第二获取模块12还包括:
判断单元,用于在根据所述存储地址在所述存储空间中获取所述第一对应关系之后,判断所述第一对应关系中的与所述接口标识相对应的配置参数是否为预设服务器中存储的与所述接口标识相对应的最新的配置参数;
第三获取单元,用于当不为所述预设服务器中存储的与所述接口标识相对应的最新的配置参数时,从所述预设服务器中获取与所述接口标识相对应的最新的配置参数;
替换单元,用于在所述第一对应关系中,利用所述最新的配置参数替换与所述接口标识相对应的配置参数。
其中,所述第二获取模块12包括:
生成单元,用于生成用于获取所述第一对应关系的获取请求;
发送单元,用于向预设服务器发送所述获取请求;以使服务器根据所述获取请求获取所述第一对应关系并向所述电视机返回所述第一对应关系;
接收单元,用于接收所述预设服务器根据所述获取请求返回的所述第一对应关系。
其中,所述第一获取模块11包括:
第四获取单元,用于获取所述电视机的型号标识;
第五获取单元,用于获取预先设置的电视机的型号标识与HDMI的接口标识之间的第二对应关系;
查找单元,用于在所述第二对应关系中查找与所述型号标识相对应的接口标识;
确定单元,用于将所述查找到的接口标识确定为设置在所述电视机上的HDMI的接口标识。
在现有技术中,对一个电视机上设置的HDMI进行配置的整个过程需要技术人员的全程参与,当需要配置HDMI的电视机非常多时,由于配置设置每一个电视上的HDMI是都需要一个技术人员,因此人工成本非常高。
而在本发明实施例中,技术人员只需事先设置HDMI的接口标识与HDMI的配置参数之间的第一对应关系即可,对于第一对应关系中的任意一条记录,该记录中的配置参数用于配置该记录中的接口标识对应的HDMI,对于第一对应关系中的其他每一条记录,同样如此。之后,当电视机需要配置设置在电视机上的HDMI时,电视机可以主动获取设置在电视机上的HDMI的接口标识;并获取预先设置的HDMI的接口标识与HDMI的配置参数之间的第一对应关系;然后在第一对应关系中查找与该接口标识相对应的配置参数;再利用该配置参数配置该接口标识对应的HDMI。整个配置过程无需技术人员参与就可以完成,从而节省了人工成本。
图6是根据一示例性实施例示出的一种电视机。参照图6,该电视机包括:
处理器21;
用于存储处理器21可执行指令的存储器22;
其中,所述处理器21被配置为:
获取设置在所述电视机上的高清晰度多媒体接口HDMI的接口标识;
获取预先设置的HDMI的接口标识与HDMI的配置参数之间的第一对应关系;
在所述第一对应关系中查找与所述接口标识相对应的配置参数;
利用所述配置参数配置所述接口标识对应的HDMI。
在一种可选的实施方式中,所述处理器21被配置为:
获取所述电视机中的存储了所述第一对应关系的存储空间的存储地址;
根据所述存储地址在所述存储空间中获取所述第一对应关系。
在一种可选的实施方式中,所述处理器21被配置为:
在根据所述存储地址在所述存储空间中获取所述第一对应关系之后,判断所述第一对应关系中的与所述接口标识相对应的配置参数是否为预设服务器中存储的与所述接口标识相对应的最新的配置参数;
当不为所述预设服务器中存储的与所述接口标识相对应的最新的配置参数时,从所述预设服务器中获取与所述接口标识相对应的最新的配置参数;
在所述第一对应关系中,利用所述最新的配置参数替换与所述接口标识相对应的配置参数。
在一种可选的实施方式中,所述处理器21被配置为:
生成用于获取所述第一对应关系的获取请求;
向预设服务器发送所述获取请求;以使服务器根据所述获取请求获取所述第一对应关系并向所述电视机返回所述第一对应关系;
接收所述预设服务器根据所述获取请求返回的所述第一对应关系。
在一种可选的实施方式中,所述处理器21被配置为:
获取所述电视机的型号标识;
获取预先设置的电视机的型号标识与HDMI的接口标识之间的第二对应关系;
在所述第二对应关系中查找与所述型号标识相对应的接口标识;
将所述查找到的接口标识确定为设置在所述电视机上的HDMI的接口标识。
本申请实施例还提供一种非暂态计算机可读存储介质,所述非暂态计算机可读存储介质可存储有程序,该程序执行时可实现执行前述任意一个实施例提供的一种接口配置方法的各实现方式中的部分或全部步骤。
图7是本申请实施例提供的一种接口配置方法的电子设备的硬件结构示意图,如图7所示,该设备包括:
一个或多个处理器710以及存储器720,图7中以一个处理器710为例。
执行一种接口配置方法的设备还可以包括:输入装置730和输出装置740。
处理器710、存储器720、输入装置730和输出装置740可以通过总线或者其他方式连接,图7中以通过总线连接为例。
存储器720作为一种非暂态计算机可读存储介质,可用于存储非易失性软件程序、非易失性计算机可执行程序以及模块,如本申请实施例中的一种接口配置方法对应的程序指令/模块。处理器710通过运行存储在存储器720中的非易失性软件程序、指令以及模块,从而执行电子设备的各种功能应用以及数据处理,即实现上述方法实施例的一种接口配置方法。
存储器720可以包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需要的应用程序;存储数据区可存储根据接口配置装置的使用所创建的数据等。此外,存储器720可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件。在一些实施例中,存储器720可选包括相对于处理器710远程设置的存储器,这些远程存储器可以通过网络连接至接口配置装置。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。
输入装置730可接收输入的数字或字符信息,以及产生与接口配置装置的用户设置以及功能控制有关的键信号输入。输出装置740可包括显示屏等显示设备。
所述一个或者多个模块存储在所述存储器720中,当被所述一个或者多个处理器710执行时,执行上述任意方法实施例中的一种接口配置方法。
上述产品可执行本申请实施例所提供的方法,具备执行方法相应的功能模块和有益效果。未在本实施例中详尽描述的技术细节,可参见本申请实施例所提供的方法。
本发明实施例的电子设备以多种形式存在,包括但不限于:
(1)移动通信设备:这类设备的特点是具备移动通信功能,并且以提供话音、数据通信为主要目标。这类终端包括:智能手机(例如iPhone)、多媒体手机、功能性手机,以及低端手机等。
(2)超移动个人计算机设备:这类设备属于个人计算机的范畴,有计算和处理功能,一般也具备移动上网特性。这类终端包括:PDA、MID和UMPC设备等,例如iPad。
(3)便携式娱乐设备:这类设备可以显示和播放多媒体内容。该类设备包括:音频、 预览播放器(例如iPod),掌上游戏机,电子书,以及智能玩具和便携式车载导航设备。
(4)服务器:提供计算服务的设备,服务器的构成包括处理器、硬盘、内存、系统总线等,服务器和通用的计算机架构类似,但是由于需要提供高可靠的服务,因此在处理能力、稳定性、可靠性、安全性、可扩展性、可管理性等方面要求较高。
(5)其他具有数据交互功能的电子装置。
关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本发明的其它实施方案。本申请旨在涵盖本发明实施例的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本发明实施例的一般性原理并包括本发明实施例未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本发明实施例的真正范围和精神由所附的权利要求指出。
应当理解的是,本发明实施例并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本发明实施例的范围仅由所附的权利要求来限制。

Claims (26)

  1. 一种接口配置方法,应用于电视机,其特征在于,所述方法包括:
    获取设置在所述电视机上的高清晰度多媒体接口HDMI的接口标识;
    获取预先设置的HDMI的接口标识与HDMI的配置参数之间的第一对应关系;
    在所述第一对应关系中查找与所述接口标识相对应的配置参数;
    利用所述配置参数配置所述接口标识对应的HDMI。
  2. 根据权利要求1所述的方法,其特征在于,所述获取预先设置的HDMI的接口标识与HDMI的配置参数之间的第一对应关系,包括:
    获取所述电视机中的存储了所述第一对应关系的存储空间的存储地址;
    根据所述存储地址在所述存储空间中获取所述第一对应关系。
  3. 根据权利要求2所述的方法,其特征在于,所述方法还包括:
    在根据所述存储地址在所述存储空间中获取所述第一对应关系之后,判断所述第一对应关系中的与所述接口标识相对应的配置参数是否为预设服务器中存储的与所述接口标识相对应的最新的配置参数;
    当不为所述预设服务器中存储的与所述接口标识相对应的最新的配置参数时,从所述预设服务器中获取与所述接口标识相对应的最新的配置参数;
    在所述第一对应关系中,利用所述最新的配置参数替换与所述接口标识相对应的配置参数。
  4. 根据权利要求1所述的方法,其特征在于,所述获取预先设置的HDMI的接口标识与HDMI的配置参数之间的第一对应关系,包括:
    生成用于获取所述第一对应关系的获取请求;
    向预设服务器发送所述获取请求;以使服务器根据所述获取请求获取所述第 一对应关系并向所述电视机返回所述第一对应关系;
    接收所述预设服务器根据所述获取请求返回的所述第一对应关系。
  5. 根据权利要求1所述的方法,其特征在于,所述获取设置在所述电视机上的高清晰度多媒体接口HDMI的接口标识,包括:
    获取所述电视机的型号标识;
    获取预先设置的电视机的型号标识与HDMI的接口标识之间的第二对应关系;
    在所述第二对应关系中查找与所述型号标识相对应的接口标识;
    将所述查找到的接口标识确定为设置在所述电视机上的HDMI的接口标识。
  6. 一种接口配置装置,应用于电视机,其特征在于,所述装置包括:
    第一获取模块,用于获取设置在所述电视机上的高清晰度多媒体接口HDMI的接口标识;
    第二获取模块,用于获取预先设置的HDMI的接口标识与HDMI的配置参数之间的第一对应关系;
    查找模块,用于在所述第一对应关系中查找与所述接口标识相对应的配置参数;
    配置模块,用于利用所述配置参数配置所述接口标识对应的HDMI。
  7. 根据权利要求6所述的装置,其特征在于,所述第二获取模块包括:
    第一获取单元,用于获取所述电视机中的存储了所述第一对应关系的存储空间的存储地址;
    第二获取单元,用于根据所述存储地址在所述存储空间中获取所述第一对应关系。
  8. 根据权利要求7所述的装置,其特征在于,所述第二获取模块还包括:
    判断单元,用于在根据所述存储地址在所述存储空间中获取所述第一对应关系之后,判断所述第一对应关系中的与所述接口标识相对应的配置参数是否为预设服务器中存储的与所述接口标识相对应的最新的配置参数;
    第三获取单元,用于当不为所述预设服务器中存储的与所述接口标识相对应的最新的配置参数时,从所述预设服务器中获取与所述接口标识相对应的最新的配置参数;
    替换单元,用于在所述第一对应关系中,利用所述最新的配置参数替换与所述接口标识相对应的配置参数。
  9. 根据权利要求6所述的装置,其特征在于,所述第二获取模块包括:
    生成单元,用于生成用于获取所述第一对应关系的获取请求;
    发送单元,用于向预设服务器发送所述获取请求;以使服务器根据所述获取请求获取所述第一对应关系并向所述电视机返回所述第一对应关系;
    接收单元,用于接收所述预设服务器根据所述获取请求返回的所述第一对应关系。
  10. 根据权利要求6所述的装置,其特征在于,所述第一获取模块包括:
    第四获取单元,用于获取所述电视机的型号标识;
    第五获取单元,用于获取预先设置的电视机的型号标识与HDMI的接口标识之间的第二对应关系;
    查找单元,用于在所述第二对应关系中查找与所述型号标识相对应的接口标识;
    确定单元,用于将所述查找到的接口标识确定为设置在所述电视机上的HDMI的接口标识。
  11. 一种电视机,其特征在于,所述电视机包括:
    处理器;
    用于存储处理器可执行指令的存储器;
    其中,所述处理器被配置为:
    获取设置在所述电视机上的高清晰度多媒体接口HDMI的接口标识;
    获取预先设置的HDMI的接口标识与HDMI的配置参数之间的第一对应关系;
    在所述第一对应关系中查找与所述接口标识相对应的配置参数;
    利用所述配置参数配置所述接口标识对应的HDMI。
  12. 一种非暂态计算机可读存储介质,其特征在于,所述非暂态计算机可读存储介质存储计算机程序,所述计算机程序用于使所述计算机执行:
    获取设置在所述电视机上的高清晰度多媒体接口HDMI的接口标识;
    获取预先设置的HDMI的接口标识与HDMI的配置参数之间的第一对应关系;
    在所述第一对应关系中查找与所述接口标识相对应的配置参数;
    利用所述配置参数配置所述接口标识对应的HDMI。
  13. 根据权利要求12所述的非暂态计算机可读存储介质,其特征在于,所述获取预先设置的HDMI的接口标识与HDMI的配置参数之间的第一对应关系,包括:
    获取所述电视机中的存储了所述第一对应关系的存储空间的存储地址;
    根据所述存储地址在所述存储空间中获取所述第一对应关系。
  14. 根据权利要求13所述的非暂态计算机可读存储介质,其特征在于,所述计算机程序还用于:
    在根据所述存储地址在所述存储空间中获取所述第一对应关系之后,判断所述第一对应关系中的与所述接口标识相对应的配置参数是否为预设服务器中存 储的与所述接口标识相对应的最新的配置参数;
    当不为所述预设服务器中存储的与所述接口标识相对应的最新的配置参数时,从所述预设服务器中获取与所述接口标识相对应的最新的配置参数;
    在所述第一对应关系中,利用所述最新的配置参数替换与所述接口标识相对应的配置参数。
  15. 根据权利要求12所述的非暂态计算机可读存储介质,其特征在于,所述获取预先设置的HDMI的接口标识与HDMI的配置参数之间的第一对应关系,包括:
    生成用于获取所述第一对应关系的获取请求;
    向预设服务器发送所述获取请求;以使服务器根据所述获取请求获取所述第一对应关系并向所述电视机返回所述第一对应关系;
    接收所述预设服务器根据所述获取请求返回的所述第一对应关系。
  16. 根据权利要求12所述的非暂态计算机可读存储介质,其特征在于,所述获取设置在所述电视机上的高清晰度多媒体接口HDMI的接口标识,包括:
    获取所述电视机的型号标识;
    获取预先设置的电视机的型号标识与HDMI的接口标识之间的第二对应关系;
    在所述第二对应关系中查找与所述型号标识相对应的接口标识;
    将所述查找到的接口标识确定为设置在所述电视机上的HDMI的接口标识。
  17. 一种电子设备,包括:
    一个或多个处理器;以及,
    存储器;其特征在于,
    所述存储器存储有可被所述一个或多个处理器执行的指令,所述指令被所述一个或多个处理器执行,以使所述一个或多个处理器:
    获取设置在所述电视机上的高清晰度多媒体接口HDMI的接口标识;
    获取预先设置的HDMI的接口标识与HDMI的配置参数之间的第一对应关系;
    在所述第一对应关系中查找与所述接口标识相对应的配置参数;
    利用所述配置参数配置所述接口标识对应的HDMI。
  18. 根据权利要求17所述的电子设备,其特征在于,所述获取预先设置的HDMI的接口标识与HDMI的配置参数之间的第一对应关系,包括:
    获取所述电视机中的存储了所述第一对应关系的存储空间的存储地址;
    根据所述存储地址在所述存储空间中获取所述第一对应关系。
  19. 根据权利要求18所述的电子设备,其特征在于,所述指令还设置为执行:
    在根据所述存储地址在所述存储空间中获取所述第一对应关系之后,判断所述第一对应关系中的与所述接口标识相对应的配置参数是否为预设服务器中存储的与所述接口标识相对应的最新的配置参数;
    当不为所述预设服务器中存储的与所述接口标识相对应的最新的配置参数时,从所述预设服务器中获取与所述接口标识相对应的最新的配置参数;
    在所述第一对应关系中,利用所述最新的配置参数替换与所述接口标识相对应的配置参数。
  20. 根据权利要求17所述的电子设备,其特征在于,所述获取预先设置的HDMI的接口标识与HDMI的配置参数之间的第一对应关系,包括:
    生成用于获取所述第一对应关系的获取请求;
    向预设服务器发送所述获取请求;以使服务器根据所述获取请求获取所述第一对应关系并向所述电视机返回所述第一对应关系;
    接收所述预设服务器根据所述获取请求返回的所述第一对应关系。
  21. 根据权利要求17所述的电子设备,其特征在于,所述获取设置在所述电视机上的高清晰度多媒体接口HDMI的接口标识,包括:
    获取所述电视机的型号标识;
    获取预先设置的电视机的型号标识与HDMI的接口标识之间的第二对应关系;
    在所述第二对应关系中查找与所述型号标识相对应的接口标识;
    将所述查找到的接口标识确定为设置在所述电视机上的HDMI的接口标识。
  22. 一种计算机程序产品,其特征在于,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行:
    获取设置在所述电视机上的高清晰度多媒体接口HDMI的接口标识;
    获取预先设置的HDMI的接口标识与HDMI的配置参数之间的第一对应关系;
    在所述第一对应关系中查找与所述接口标识相对应的配置参数;
    利用所述配置参数配置所述接口标识对应的HDMI。
  23. 根据权利要求22所述的计算机程序产品,其特征在于,所述获取预先设置的HDMI的接口标识与HDMI的配置参数之间的第一对应关系,包括:
    获取所述电视机中的存储了所述第一对应关系的存储空间的存储地址;
    根据所述存储地址在所述存储空间中获取所述第一对应关系。
  24. 根据权利要求23所述的计算机程序产品,其特征在于,当所述程序指令被计算机执行时,使所述计算机还执行:
    在根据所述存储地址在所述存储空间中获取所述第一对应关系之后,判断所 述第一对应关系中的与所述接口标识相对应的配置参数是否为预设服务器中存储的与所述接口标识相对应的最新的配置参数;
    当不为所述预设服务器中存储的与所述接口标识相对应的最新的配置参数时,从所述预设服务器中获取与所述接口标识相对应的最新的配置参数;
    在所述第一对应关系中,利用所述最新的配置参数替换与所述接口标识相对应的配置参数。
  25. 根据权利要求22所述的计算机程序产品,其特征在于,所述获取预先设置的HDMI的接口标识与HDMI的配置参数之间的第一对应关系,包括:
    生成用于获取所述第一对应关系的获取请求;
    向预设服务器发送所述获取请求;以使服务器根据所述获取请求获取所述第一对应关系并向所述电视机返回所述第一对应关系;
    接收所述预设服务器根据所述获取请求返回的所述第一对应关系。
  26. 根据权利要求22所述的计算机程序产品,其特征在于,所述获取设置在所述电视机上的高清晰度多媒体接口HDMI的接口标识,包括:
    获取所述电视机的型号标识;
    获取预先设置的电视机的型号标识与HDMI的接口标识之间的第二对应关系;
    在所述第二对应关系中查找与所述型号标识相对应的接口标识;
    将所述查找到的接口标识确定为设置在所述电视机上的HDMI的接口标识。
PCT/CN2016/100467 2016-06-29 2016-09-28 接口配置方法及装置 WO2018000635A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610498437.1 2016-06-29
CN201610498437.1A CN106210588A (zh) 2016-06-29 2016-06-29 接口配置方法及装置

Publications (1)

Publication Number Publication Date
WO2018000635A1 true WO2018000635A1 (zh) 2018-01-04

Family

ID=57462778

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/100467 WO2018000635A1 (zh) 2016-06-29 2016-09-28 接口配置方法及装置

Country Status (2)

Country Link
CN (1) CN106210588A (zh)
WO (1) WO2018000635A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106534751B (zh) * 2016-12-14 2020-06-19 北京小米移动软件有限公司 播放匹配方法和装置
CN107820120A (zh) * 2017-11-28 2018-03-20 山东浪潮商用系统有限公司 一种视频播放方法、显示设备、机顶盒及视频播放系统

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101841732A (zh) * 2009-03-18 2010-09-22 青岛海信电器股份有限公司 一种多媒体电子设备的测试方法及测试装置
CN101887703A (zh) * 2010-06-18 2010-11-17 福建捷联电子有限公司 一种液晶显示器多个接口结构及其edid数据烧录方法
CN102129828A (zh) * 2010-01-18 2011-07-20 冠捷科技(北京)有限公司 显示装置识别数据烧录方法
CN104615556A (zh) * 2015-02-10 2015-05-13 昆山龙腾光电有限公司 Edid烧录装置及方法
CN105302750A (zh) * 2015-09-30 2016-02-03 联想(北京)有限公司 一种接口功能配置方法和电子设备

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101795392B (zh) * 2009-12-25 2013-02-13 深圳市龙视传媒有限公司 下载应用数据的方法、数字电视接收终端及系统
CN202374347U (zh) * 2011-12-02 2012-08-08 中国华录·松下电子信息有限公司 可动态配置edid的hdmi解码装置
CN104378688B (zh) * 2014-10-27 2018-04-06 小米科技有限责任公司 模式切换方法和装置
CN105578105B (zh) * 2015-12-22 2019-03-12 深圳Tcl数字技术有限公司 Hdmi版本切换方法及显示设备

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101841732A (zh) * 2009-03-18 2010-09-22 青岛海信电器股份有限公司 一种多媒体电子设备的测试方法及测试装置
CN102129828A (zh) * 2010-01-18 2011-07-20 冠捷科技(北京)有限公司 显示装置识别数据烧录方法
CN101887703A (zh) * 2010-06-18 2010-11-17 福建捷联电子有限公司 一种液晶显示器多个接口结构及其edid数据烧录方法
CN104615556A (zh) * 2015-02-10 2015-05-13 昆山龙腾光电有限公司 Edid烧录装置及方法
CN105302750A (zh) * 2015-09-30 2016-02-03 联想(北京)有限公司 一种接口功能配置方法和电子设备

Also Published As

Publication number Publication date
CN106210588A (zh) 2016-12-07

Similar Documents

Publication Publication Date Title
KR102242413B1 (ko) 앱을 다운로드하는 방법 및 앱을 실행시키는 방법
US10448082B2 (en) Information exchanging method and device, audio terminal and computer-readable storage medium
US20180262793A1 (en) Reverse Casting from a First Screen Device to a Second Screen Device
US10437612B1 (en) Composite graphical interface with shareable data-objects
US9032106B2 (en) Synchronizing device association data among computing devices
WO2017166630A1 (zh) 一种任务优先级修正方法和装置
US20140006225A1 (en) Automatic device inventory management for different types of devices
US10637804B2 (en) User terminal apparatus, communication system, and method of controlling user terminal apparatus which support a messenger service with additional functionality
US20140310741A1 (en) System for sharing data via cloud server and method thereof
US10097895B2 (en) Content providing apparatus, system, and method for recommending contents
US10218570B2 (en) Client application adaptation method, terminal device, and system
JP7170852B2 (ja) ミニプログラム処理方法、装置、機器及び記憶媒体
CN109408481B (zh) 日志采集规则的更新方法、装置、电子设备及可读介质
CN112585981A (zh) 用于具有连续性的内容回放的方法及其电子装置
US20170185422A1 (en) Method and system for generating and controlling composite user interface control
CN112153123A (zh) 控制物联网系统中的物联网装置的方法、装置及系统
WO2018000635A1 (zh) 接口配置方法及装置
CN106775720B (zh) 集成播放器sdk的方法和装置及设置播放器sdk的方法和装置
US10382607B2 (en) Switching TV channels using a mobile device and a set-top box
US20170188214A1 (en) Method and electronic device for sharing multimedia information
US9603020B2 (en) Electronic apparatus and method of executing application program
CN102663882B (zh) 一种通过移动终端遥控外部屏幕的方法及系统
US9693112B2 (en) Remote control system for a smart television
CN106454419A (zh) 一种获取数据的方法、装置和电子设备
WO2018210081A1 (zh) 一种增强现实软件更新的方法、装置、终端及存储介质

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: 16907031

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16907031

Country of ref document: EP

Kind code of ref document: A1