CN109257652A - Switching method, device, electronic device, system and the storage medium of configuration information - Google Patents
Switching method, device, electronic device, system and the storage medium of configuration information Download PDFInfo
- Publication number
- CN109257652A CN109257652A CN201810852101.XA CN201810852101A CN109257652A CN 109257652 A CN109257652 A CN 109257652A CN 201810852101 A CN201810852101 A CN 201810852101A CN 109257652 A CN109257652 A CN 109257652A
- Authority
- CN
- China
- Prior art keywords
- configuration information
- file
- switching
- storage equipment
- configuration
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/45—Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
- H04N21/458—Scheduling content for creating a personalised stream, e.g. by combining a locally stored advertisement with an incoming stream; Updating operations, e.g. for OS modules ; time-related management operations
- H04N21/4586—Content update operation triggered locally, e.g. by comparing the version of software modules in a DVB carousel to the version stored locally
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/41—Structure of client; Structure of client peripherals
- H04N21/4104—Peripherals receiving signals from specially adapted client devices
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/41—Structure of client; Structure of client peripherals
- H04N21/422—Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
- H04N21/42204—User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/443—OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Databases & Information Systems (AREA)
- Software Systems (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention discloses a kind of switching methods of configuration information, comprising: when in response to storage equipment access, identifies to the storage equipment;When recognizing the storage equipment, detects and whether there is preset switching file in the storage equipment;When detecting the presence of the switching file, the switch data in the switching file is read;Current configuration information is switched over according to the switch data.The present invention also provides device, electronic device, system and the storage medium of a kind of handover configurations information, it can solve and lead to not the problem of switching back into original configuration after the configuration information of the electronic device is modified, improve user experience.
Description
Technical field
The present invention relates to electronic technology field more particularly to a kind of switching method of configuration information, device, electronic device,
System and storage medium.
Background technique
With the progress of social development and science and technology, electronic product is growing day by day, the function and its model of electronic product
Also rich and varied, such as the numerous television sets of Various Functions, model progress into common people house.In general, every money TV
Machine configures the remote controler of a model, and in order to solve the demand of user, some clients or producer can utilize different remote controler point
The different configurations in same television set are not corresponded to, and the configuration information for needing to switch in use in television set is (such as distant
Control device agreement) to enable remote controler corresponding with the configuration information to manipulate to television set.
However, inventor has found in the practice of the invention, at present in switching, match using with the current of television set
Confidence ceases corresponding remote controler and issues switching command by menu, and television set switches over configuration information after instruction issues, so
And will lead to current remote controler after switching can not continue to manipulate television set, therefore is not available original remote controler and cuts
Original configuration information is gained, user experience is reduced.
Summary of the invention
In view of the above-mentioned problems, the purpose of the present invention is to provide a kind of switching method of configuration information, device, electronics dresses
It sets, system and storage medium, can solve and lead to not switch back into original configuration after the configuration information of electronic device is modified
The problem of, improve user experience.
In a first aspect, the embodiment of the invention provides a kind of switching methods of configuration information, comprising:
When in response to storage equipment access, the storage equipment is identified;
When recognizing the storage equipment, detects and whether there is preset switching file in the storage equipment;
When detecting the presence of the switching file, the switch data in the switching file is read;
Current configuration information is switched over according to the switch data.
In the first implementation of first aspect, it whether there is preset switching in the detection storage equipment
File specifically includes:
In the All Files of the storage equipment, search whether there is the file being consistent with default naming rule, if so,
Then judgement detects the presence of preset switching file, if it is not, then judgement detects that there is no preset switching files.
In second of implementation of first aspect, the switch data includes the first config. number;It is then described according to institute
It states switch data current configuration information is switched over and specifically include:
Obtain the current-configuration number in current configuration information;
Judge whether first config. number and the current-configuration number are consistent;
If first config. number and the current-configuration number are consistent, the switching to the current configuration information is not executed
Operation;
If first config. number and the current-configuration number are inconsistent, according to first config. number, work as by described in
Preceding configuration information is switched to configuration information corresponding with first config. number.
It is described according to institute in the third implementation of first aspect according to second of implementation of first aspect
The current configuration information is switched to configuration information corresponding with first config. number by the first config. number for stating switch data
It specifically includes:
According to first config. number, with the presence or absence of the first configuration text corresponding with first config. number in judgement system
Part;
If there are first configuration files in the system, the configuration information in first configuration file is read,
The current configuration information is switched to the configuration information of first configuration file;
If first configuration file is not present in the system, judge to whether there is described the in the storage equipment
One configuration file;
If there are first configuration files in the storage equipment, from first configuration in the storage equipment
Configuration information is read in file, and the current configuration information is switched to the configuration information in first configuration file;
If first configuration file is not present in the storage equipment, the prompt of handover failure is issued.
In the 4th kind of implementation of first aspect, the switch data includes forcing switch data;The then basis
The switch data switches over the configuration information of current system and specifically includes:
According to the pressure switch data, configuration file corresponding with current configuration information is obtained;
The current configuration information is reset according to the configuration file.
In the 5th kind of implementation of first aspect, current configuration information is carried out according to the switch data described
After switching, further includes:
System is restarted when detecting that the current configuration information switching is completed, so that system adds after restart
Carry configuration information corresponding with the switch data.
Second aspect, the embodiment of the invention also provides a kind of switching devices of configuration information, comprising:
Equipment identification module identifies the storage equipment when in response to storage equipment access;
File detection module, for when recognizing the storage equipment, detecting in the storage equipment with the presence or absence of pre-
If switching file;
Data read module, for when detecting the presence of the switching file, reading the switching in the switching file
Data;
Switching module is configured, for switching over according to the switch data to current configuration information.
The third aspect, the embodiment of the invention also provides a kind of electronic devices, including for connecing with what storage equipment was connect
Mouth, processor, memory and storage in the memory and are configured as the computer program executed by the processor,
The processor realizes the switching method of configuration information described in above-mentioned any one when executing the computer program.
Fourth aspect, the embodiment of the invention also provides a kind of switching systems of configuration information, including described above one
Plant electronic device and the storage equipment for storing switching file;Wherein, the electronic device include for the storage
The interface of equipment connection;The storage equipment is connect by the interface with the electronic device.
5th aspect, it is described computer-readable to deposit the embodiment of the invention also provides a kind of computer readable storage medium
Storage media includes the computer program of storage, wherein controls the computer-readable storage in computer program operation
Equipment where medium executes the switching method of configuration information described in above-mentioned any one.
A technical solution in above-mentioned technical proposal has the advantages that default by being stored using a storage equipment
Switching file, and the storage equipment is connect with electronic device so that the electronic device read the switching file it
The configuration information for switching current system afterwards, can solve after the configuration information of electronic device is modified that current remote controler can not
The problem of normal use, at the same user can the configuration information according to the actual situation to the electronic device switch over, operate
Process is simple and convenient, improves user experience.Certainly, it implements any of the products of the present invention it is not absolutely required to while reaching above
All advantages.
Detailed description of the invention
In order to illustrate more clearly of technical solution of the present invention, attached drawing needed in embodiment will be made below
Simply introduce, it should be apparent that, the accompanying drawings in the following description is only some embodiments of the present invention, general for this field
For logical technical staff, without creative efforts, it is also possible to obtain other drawings based on these drawings.
Fig. 1 is the flow diagram of the switching method for the configuration information that a preferred embodiment of the invention provides.
Fig. 2 is the switching flow figure of the switching method for the configuration information that a preferred embodiment of the invention provides.
Fig. 3 is the structural schematic diagram of the switching device for the configuration information that a preferred embodiment of the invention provides.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
It, can be with referring to Fig. 1, a preferred embodiment of the invention provides a kind of switching method of configuration information
It is executed on the electronic device with interface, and the following steps are included:
S10 identifies the storage equipment when in response to storage equipment access.
In the present embodiment, the storage equipment is for storing up stored equipment, it is preferable that the storage equipment is can
Movable storage device, wherein the movable memory equipment have highly integrated, quick access, convenient, flexible, sexual valence is excellent,
It is easy the performances such as preservation.It is distinguished from storage medium, movable memory equipment is roughly divided into magnetic medium storage (such as ZIP, LS-
120, USB mobile hard disk etc.), disc storing (such as CD-RW, DVD, MO) and flash media storage (such as USB flash drive, various
Flash card) three kinds, wherein USB flash disk (USB flash drive) has become the main product of mobile storage market, it is a kind of to use USB
The miniature high power capacity product without phisical drive of interface is connect by USB interface with computer, is realized and is inserted i.e.
With.
In the present embodiment, the electronic device includes but is not limited to TV product (such as television set), desktop PC
Or notebook etc. has all kinds of electronic devices of interface, wherein the interface of the electronic device can be entity interface, can also be with
For virtual interface, for being attached with the storage equipment.User can carry out not the software systems of the electronic device
With configuration, such as different configurations is set in a television set, in every kind of configuration comprising booting logo, customized information and
The information such as the remote controler agreement of support can only use remote controler corresponding with the remote controler agreement that television set is currently configured support
Television set can be manipulated, it, can will be corresponding with current remote controler if current remote controler cannot manipulate current television machine
Configuration information or switch data etc. be stored in USB flash disk, and by the USB flash disk insert on a television set, allow current television machine to USB flash disk into
Row identification, USB flash disk is mounted in file system, so as to the specific path for obtaining USB flash disk, i.e., where the file in USB flash disk
Specific path.
It should be noted that the storage equipment and the connection type of electronic device be in addition to wired connection (such as USB is connected),
It can also be wireless connection.
The remote controler referred in the present embodiment can also be in addition to traditional remote controler and be equipped with remote control software
The mobile device mobile phone of RF transmitter (for example be equipped with), as long as being able to achieve the electronic device of remote control the present embodiment
Equipment.
S20 is detected when recognizing the storage equipment and be whether there is preset switching file in the storage equipment.
S30 reads the switch data in the switching file when detecting the presence of the switching file.
When in the present embodiment, in response to storage equipment (such as USB flash disk) access, system starts automatically to the storage equipment
Identification;After the storage equipment that system identification is inserted into, each file that system can enter in storage equipment is looked into
It looks for, judges whether there is preset switching file.
Preferably, in the All Files of the storage equipment, search is with the presence or absence of the text being consistent with default naming rule
Part, if so, judgement detects the presence of preset switching file, if it is not, then judgement detects that there is no preset switching files.
It should be noted that the switching file is named according to preset naming rule and is stored in storage equipment, work as institute
It states after electronic device recognizes the storage equipment, the All Files of the storage equipment is searched for according to preset naming rule
In with the presence or absence of the file that is consistent with naming rule, if so, can be determined that the file for meeting naming rule is switching file,
If it is not, then judging that there is no switching files in the storage equipment.When detecting in the storage equipment in the presence of switching file,
From the switch data read in the switching file in the switching file.
As an example, in advance will include that the switching file designation of switch data is stored in USB flash disk for ID.cvt, when the electricity
After sub-device acquires the specific path of USB flash disk, the All Files under the specific path are searched, and it is every to judge that lookup obtains
With the presence or absence of the file for being named as ID.cvt in one file, obtain having in USB flash disk the switching for being named as ID.cvt text if searching
When part, the switch data for triggering configuration switching is read from the switching file.Herein, the switching file is a text
This document can create a text file by user oneself, and target config. number be written in this article this document, and modify file
Name using as switching file.
S40 switches over current configuration information according to the switch data.
In the present embodiment, the switch data cuts the current configuration information of the electronic device for triggering
It changes, such as switching command is generated according to the switch data, and corresponding with the switch data according to switching command acquisition
Configuration file the electronic device is reconfigured, such as change booting logo, remote controler agreement, interface display etc. are matched
It sets, realizes the handover operation to current configuration information.
In a kind of implementation of the present embodiment, after the step s 40, further includes: when detecting the current-configuration
Information switching restarts system when completing, so that system loads are corresponding with the switch data after restart matches confidence
Breath.Herein, the operation that execution automatic after the completion of configuration change is restarted to the electronic device when electronic device, so that the electricity
The configuration information that sub-device loads after switching after restarting makes switching come into force, for example, when television set switching is completed and is restarted
Afterwards, remote controler corresponding with the configuration information after switching can be used to manipulate television set for user.
In conclusion by storing preset switching file using storage equipment, and by the storage equipment with it is electric
Sub-device connection can solve so that the electronic device reads the configuration information of switching current system after the switching file
Certainly after the configuration information of electronic device is modified current remote control equipment can not normal use the problem of, while user can root
It is switched over according to configuration information of the actual conditions to the electronic device, operating process is simple and convenient, improves user experience.
Referring to Fig. 2, the switch data includes the first config. number in another preferred embodiment of the invention;
Then the step S40 is specifically included:
Obtain the current-configuration number in current configuration information;
Judge whether first config. number and the current-configuration number are consistent;If first config. number and described current
Config. number is consistent, then does not execute the handover operation to the current configuration information;If first config. number is currently matched with described
The number of setting is inconsistent, then according to first config. number, the current configuration information is switched to corresponding with first config. number
Configuration information.
In the present embodiment, since software systems of the different clients to electronic device have different needs, for example, it is different
Be switched on logo, different user interfaces, different remote controlers etc., therefore by defining the software systems in the electronic device
Different config. numbers are set to meet different customer demands, facilitate control software, i.e., every kind of configuration in the described electronic device is all
With a config. number (i.e. ID), for example, each config. number represents a client or the remote controler of each model is one corresponding
Config. number.In the present embodiment, the first config. number (i.e. switch data) needed for user is written in switching file in advance in user,
After USB flash disk is inserted into electronic device, electronic device, which reads the first config. number in the switching file and obtains system, currently matches
The current-configuration number of confidence breath, and the first config. number is matched with the current-configuration number, judge whether unanimously, if one
It causes, then it is assumed that current configuration information is met the needs of users, and without carrying out handover operation;If inconsistent, switching is executed
Operation, is switched to configuration information corresponding with first config. number for current configuration information.
In a kind of implementation of the present embodiment, specifically, according to first config. number, judge whether deposit in system
In the first configuration file corresponding with first config. number;If being read in the system there are first configuration file
Configuration information in first configuration file, by the current configuration information be switched to first configuration file with confidence
Breath;If first configuration file is not present in the system, judge to match in the storage equipment with the presence or absence of described first
Set file;
If there are first configuration files in the storage equipment, from first configuration in the storage equipment
Configuration information is read in file, and the current configuration information is switched to the configuration information in first configuration file;If
First configuration file is not present in the storage equipment, then issues the prompt of handover failure.
As an example it is supposed that the config. number of the current configuration information of television set is 2, and user wants to switch to 10 (i.e. the
One config. number), then file ID .cvt is put into USB flash disk, and digital " 10 " are written in file ID .cvt, when USB flash disk is inserted into TV
After machine, television set identification USB flash disk simultaneously read to obtain the first config. number " 10 " from file ID .cvt, due to the first config. number " 10 " with work as
Preceding config. number " 2 " is not consistent, at this point, with the presence or absence of the first configuration text corresponding with the first config. number " 10 " in judgement system
Part, and if it exists, read the relevant configuration information in first configuration file then to configure current television machine information, such as change
Be switched on logo, switching remote controler agreement etc.;If it does not exist, then judge with the presence or absence of the first configuration file in USB flash disk, if being deposited in USB flash disk
It in the first configuration file, then calls the first configuration file in USB flash disk and reads relevant configuration information, by currently matching for television set
Confidence ceases the configuration information being switched in first configuration file;It, can not be to electricity if the first configuration file is not present in USB flash disk
Current configuration information depending on machine switches over, and issues the prompt of handover failure, checks for user.
It should be noted that when detecting that all there is no first configuration files in current system and the storage equipment
When, first configuration file can also be obtained to carry out the current configuration information of the electronic device from server or cloud
Switching.
By the above-mentioned means, relevant configuration information or configuration file are preset in the electronic device or USB flash disk, work as inspection
Measure first config. number with it is described be currently configured number match inconsistent when, the relevant configuration file of quick calling and to described
Electronic device executes the handover operation of configuration information, and operating process is simple and convenient, improves user experience.
In another preferred embodiment of the invention, the switch data includes forcing switch data;The then step
Rapid S40 is specifically included:
According to the pressure switch data, configuration file corresponding with current configuration information is obtained;According to the configuration text
Part resets the current configuration information.
In the present embodiment, to described when the pressure switch data is used to break down in the electronic device or is abnormal
Electronic device is repaired, it is preferable that comprising being currently configured a number relevant pressure switching to described in the pressure switch data
Information, for example, setting the pressure switch data switched in file to when user wants to repair the electronic device
100 are added on the basis of current-configuration, such as current-configuration number is 1, then the pressure switch data is 101, alternatively, can also
To obtain the switch data for being 1 suitable for config. number for being 101 by the pre-configured config. number of businessman.As an example it is supposed that electric
The current-configuration number of machine is regarded as " 2 ", when exception, which occurs, in the television set causes remote controler unusable, text is put into USB flash disk
Part ID.cvt, and digital " 102 " are written in file ID .cvt.After USB flash disk is inserted into the television set, television set identifies USB flash disk
It reads to obtain from file ID .cvt afterwards and forces switch data " 102 ", then can be determined that needs execute the television set and force to cut
Change operation, i.e., the current configuration information of the television set reset, herein, when reading digital " 102 ", to its into
Then row parsing obtains the configuration file that config. number is " 2 " from the system for TV set, and according to the configuration file to configuration
Television information realizes the reset operation to the current configuration information, to repair exception.
By the above-mentioned means, the switching file comprising forcing switch data is put into storage equipment, so that the electronics
Device enforces handover operation, can repair failure or exception that the electronic device occurs, also can solve when the electricity
The problem of remote controler is not available when sub-device occurs abnormal improves user experience.
Referring to Fig. 3, a preferred embodiment of the invention provides a kind of switching device of configuration information, comprising:
Equipment identification module 10 identifies the storage equipment when in response to storage equipment access;
File detection module 20, for when recognizing the storage equipment, detecting to whether there is in the storage equipment
Preset switching file;
Data read module 30, for when detecting the presence of the switching file, reading cutting in the switching file
Change data;
Switching module 40 is configured, for switching over according to the switch data to current configuration information.
Preferably, the file detection module 20 specifically includes:
Detection unit, in the All Files of the storage equipment, search to whether there is and default naming rule phase
The file of symbol is cut if it is not, then judging to detect there is no preset if so, judgement detects the presence of preset switching file
Exchange of notes part.
Preferably, the switch data includes the first config. number;The then configuration switching module 40, specifically includes:
Acquiring unit, for obtaining the current-configuration number in current configuration information;
Config. number matching unit, for judging whether first config. number and the current-configuration number are consistent;
Unit is forbidden in switching, if consistent for first config. number and the current-configuration number, does not execute to described
The handover operation of current configuration information;
Switch execution unit, if number inconsistent for first config. number and the current-configuration, according to described the
The current configuration information is switched to configuration information corresponding with first config. number by one config. number.
Further, the switching execution unit specifically includes:
First judging unit, for whether there is according to first config. number, in judgement system and first configuration
Number corresponding first configuration file;
First configuration unit, if reading first configuration for there are first configuration files in the system
The current configuration information is switched to the configuration information of first configuration file by the configuration information in file;
Second judgment unit, if judging that the storage is set for first configuration file to be not present in the system
It whether there is first configuration file in standby;
Second configuration unit, if being set for there are first configuration files in the storage equipment from the storage
Configuration information is read in first configuration file in standby, and the current configuration information is switched to the first configuration text
Configuration information in part;
Prompt unit, if issuing handover failure for first configuration file to be not present in the storage equipment
Prompt.
Preferably, the switch data includes forcing switch data;Then the configuration switching module 40 specifically includes:
File obtaining unit, for obtaining configuration text corresponding with current configuration information according to the pressure switch data
Part;
Switch unit is forced, for resetting according to the configuration file to the current configuration information.
Preferably, the switching device of the configuration information further include:
System reboot module, for restarting when detecting that the current configuration information switching is completed to system, with
So that system loads configuration information corresponding with the switch data after restart.
A preferred embodiment of the invention additionally provides a kind of electronic device.The electronic device of the embodiment includes: use
In the interface (such as USB interface), display screen, processor, display, the memory and described in being stored in that connects with storage equipment
In memory and the computer program that can run on the processor, such as the program of handover configurations information.The processor
The step in the embodiment of the switching method of above-mentioned each configuration information, such as Fig. 1 institute are realized when executing the computer program
The step S10 shown.Alternatively, the processor realizes each unit in above-mentioned each Installation practice when executing the computer program
Function, such as equipment identification module 10 shown in Fig. 3.
Illustratively, the computer program can be divided into one or more modules, one or more of moulds
Block is stored in the memory, and is executed by the processor, to complete the present invention.One or more of modules can be with
It is the series of computation machine program instruction section that can complete specific function, the instruction segment is for describing the computer program in institute
State the implementation procedure in electronic device.
The electronic device can be intelligent TV set, Intelligent flat, Intelligent mirror, desktop PC, notebook, the palm
Upper computer and cloud server etc. calculate equipment.The electronic device may include, but be not limited only to, processor, memory, display
Device.It will be understood by those skilled in the art that above-mentioned component is only the example of electronic device, do not constitute to the electronic device
Restriction, may include perhaps combining certain components or different components, such as institute than above-mentioned more or fewer components
Stating electronic device can also include input-output equipment, network access equipment, bus etc..
Alleged processor can be central processing unit (Central Processing Unit, CPU), can also be it
His general processor, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit
(Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-
Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic,
Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processor
Deng the processor is the control centre of the electronic device, utilizes the entire electronic device of various interfaces and connection
Various pieces.
The memory can be used for storing the computer program and/or module, and the processor is by operation or executes
Computer program in the memory and/or module are stored, and calls the data being stored in memory, described in realization
The various functions of electronic device.The memory can mainly include storing program area and storage data area, wherein storing program area
It can application program (such as sound-playing function, text conversion function etc.) needed for storage program area, at least one function etc.;
Storage data area, which can be stored, uses created data (such as audio data, text message data etc.) etc. according to mobile phone.This
Outside, memory may include high-speed random access memory, can also include nonvolatile memory, such as hard disk, memory, insert
Connect formula hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash memory
Block (Flash Card), at least one disk memory, flush memory device or other volatile solid-state parts.
In the present embodiment, a kind of switching system of configuration information is additionally provided, including above-mentioned electronic device, Yi Jiyong
In the storage equipment of storage switching file;Wherein, the electronic device includes the interface for connecting with the storage equipment;Institute
Storage equipment is stated to connect by the interface with the electronic device.Wherein, the storage equipment can set for removable Storage
It is standby, such as the USB flash disk for being stored with switching file is attached by the USB interface of television set with the television set, the TV
The machine-readable switching file taken in the USB flash disk executes the handover operation of configuration information.It should be noted that the configuration information
Switching system further includes the remote control equipment for electronic device described in remote control, wherein what is stored in the storage equipment cuts
Exchange of notes part or switch data match with the remote control equipment, when the electronic device reads the switching in the storage equipment
When data, switch current configuration information (such as switching remote controler agreement), so that after handover success, the remote control equipment
The electronic device can be manipulated.
Wherein, if the module that the electronic device integrates is realized in the form of SFU software functional unit and as independent production
Product when selling or using, can store in a computer readable storage medium.Based on this understanding, the present invention realizes
All or part of the process in above-described embodiment method can also instruct relevant hardware to complete by computer program,
The computer program can be stored in a computer readable storage medium, which is being executed by processor
When, it can be achieved that the step of above-mentioned each embodiment of the method.Wherein, the computer program includes computer program code, described
Computer program code can be source code form, object identification code form, executable file or certain intermediate forms etc..The meter
Calculation machine readable medium may include: can carry the computer program code any entity or device, recording medium, USB flash disk,
Mobile hard disk, magnetic disk, CD, computer storage, read-only memory (ROM, Read-Only Memory), random access memory
Device (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It needs to illustrate
It is that the content that the computer-readable medium includes can be fitted according to the requirement made laws in jurisdiction with patent practice
When increase and decrease, such as in certain jurisdictions, according to legislation and patent practice, computer-readable medium does not include electric carrier wave letter
Number and telecommunication signal.
It should be noted that the apparatus embodiments described above are merely exemplary, wherein described be used as separation unit
The unit of explanation may or may not be physically separated, and component shown as a unit can be or can also be with
It is not physical unit, it can it is in one place, or may be distributed over multiple network units.It can be according to actual
It needs that some or all of the modules therein is selected to achieve the purpose of the solution of this embodiment.In addition, device provided by the invention
In embodiment attached drawing, the connection relationship between module indicate between them have communication connection, specifically can be implemented as one or
A plurality of communication bus or signal wire.Those of ordinary skill in the art are without creative efforts, it can understand
And implement.
The above is a preferred embodiment of the present invention, it is noted that for those skilled in the art
For, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also considered as
Protection scope of the present invention.
Claims (10)
1. a kind of switching method of configuration information characterized by comprising
When in response to storage equipment access, the storage equipment is identified;
When recognizing the storage equipment, detects and whether there is preset switching file in the storage equipment;
When detecting the presence of the switching file, the switch data in the switching file is read;
Current configuration information is switched over according to the switch data.
2. the switching method of configuration information according to claim 1, which is characterized in that in the detection storage equipment
It is specifically included with the presence or absence of preset switching file:
In the All Files of the storage equipment, search is with the presence or absence of the file being consistent with default naming rule, if so, sentencing
It is disconnected to detect the presence of preset switching file, if it is not, then judgement detects that there is no preset switching files.
3. the switching method of configuration information according to claim 1, which is characterized in that the switch data is matched including first
The number of setting;Then described switched over according to the switch data to current configuration information specifically includes:
Obtain the current-configuration number in current configuration information;
Judge whether first config. number and the current-configuration number are consistent;
If first config. number and the current-configuration number are consistent, the behaviour of the switching to the current configuration information is not executed
Make;
If first config. number and the current-configuration number are inconsistent, according to first config. number, currently match described
Confidence breath is switched to configuration information corresponding with first config. number.
4. the switching method of configuration information according to claim 3, which is characterized in that described according to the switch data
The current configuration information is switched to configuration information corresponding with first config. number and specifically included by the first config. number:
According to first config. number, it whether there is the first configuration file corresponding with first config. number in judgement system;
If there are first configuration files in the system, the configuration information in first configuration file is read, by institute
State the configuration information that current configuration information is switched to first configuration file;
If first configuration file is not present in the system, judge to match in the storage equipment with the presence or absence of described first
Set file;
If there are first configuration files in the storage equipment, first configuration file from the storage equipment
Middle reading configuration information, and the current configuration information is switched to the configuration information in first configuration file;
If first configuration file is not present in the storage equipment, the prompt of handover failure is issued.
5. the switching method of configuration information according to claim 1, which is characterized in that the switch data includes forcing to cut
Change data;Then described switched over according to configuration information of the switch data to current system specifically includes:
According to the pressure switch data, configuration file corresponding with current configuration information is obtained;
The current configuration information is reset according to the configuration file.
6. the switching method of configuration information according to claim 1, which is characterized in that described according to the switch data
After being switched over to current configuration information, further includes:
System is restarted when detecting that current configuration information switching is completed so that after restart system loads with
The corresponding configuration information of the switch data.
7. a kind of switching device of configuration information characterized by comprising
Equipment identification module identifies the storage equipment when in response to storage equipment access;
File detection module, for when recognizing the storage equipment, detecting in the storage equipment with the presence or absence of preset
Switch file;
Data read module, for when detecting the presence of the switching file, reading the switch data in the switching file;
Switching module is configured, for switching over according to the switch data to current configuration information.
8. a kind of electronic device, which is characterized in that including for storage equipment connect interface, processor, memory and
The computer program executed by the processor is stored in the memory and is configured as, the processor executes the meter
The switching method of the configuration information as described in any one of claim 1 to 6 is realized when calculation machine program.
9. a kind of switching system of configuration information, which is characterized in that including a kind of electronic device according to any one of claims 8 and
For storing the storage equipment of switching file;Wherein, the electronic device includes the interface for connecting with the storage equipment;
The storage equipment is connect by the interface with the electronic device.
10. a kind of computer readable storage medium, which is characterized in that the computer readable storage medium includes the calculating of storage
Machine program, wherein equipment where controlling the computer readable storage medium in computer program operation is executed as weighed
Benefit require any one of 1 to 6 described in configuration information switching method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810852101.XA CN109257652B (en) | 2018-07-27 | 2018-07-27 | Configuration information switching method and device, electronic device, system and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810852101.XA CN109257652B (en) | 2018-07-27 | 2018-07-27 | Configuration information switching method and device, electronic device, system and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109257652A true CN109257652A (en) | 2019-01-22 |
CN109257652B CN109257652B (en) | 2021-04-06 |
Family
ID=65049941
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810852101.XA Active CN109257652B (en) | 2018-07-27 | 2018-07-27 | Configuration information switching method and device, electronic device, system and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109257652B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110379375A (en) * | 2019-06-25 | 2019-10-25 | 深圳市金锐显数码科技有限公司 | The automatic switching method and automatic switchover system of back facet current gear |
CN110456972A (en) * | 2019-06-25 | 2019-11-15 | 杭州句力科技有限公司 | A method of it arbitrarily changing elevator operation panel touch screen by USB flash disk and shows |
CN112199122A (en) * | 2020-09-29 | 2021-01-08 | 厦门四信通信科技有限公司 | Method, device and equipment for configuring display screen parameters |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7620711B2 (en) * | 2005-03-18 | 2009-11-17 | Siemens Aktiengesellschaft | Method of using configuration files for configuring technical devices |
CN101867690A (en) * | 2009-04-17 | 2010-10-20 | 深圳Tcl新技术有限公司 | Method for setting personalized information of television |
CN102014305A (en) * | 2010-10-28 | 2011-04-13 | 冠捷显示科技(厦门)有限公司 | Method for editing television configuration parameters and data |
CN102420948A (en) * | 2011-08-26 | 2012-04-18 | 厦门华侨电子股份有限公司 | Method used for cross-platform television setting cloning by adopting USB (Universal Serial Bus) mobile storage device |
CN103595892A (en) * | 2006-11-20 | 2014-02-19 | 株式会社Pfu | External device configuration apparatus and external device configuration method |
CN105187854A (en) * | 2015-07-30 | 2015-12-23 | 深圳Tcl数字技术有限公司 | Method and device for dynamically configuring remote control function data |
CN105744366A (en) * | 2016-02-22 | 2016-07-06 | 深圳创维数字技术有限公司 | Data configuration sharing method and system of set top box |
-
2018
- 2018-07-27 CN CN201810852101.XA patent/CN109257652B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7620711B2 (en) * | 2005-03-18 | 2009-11-17 | Siemens Aktiengesellschaft | Method of using configuration files for configuring technical devices |
CN103595892A (en) * | 2006-11-20 | 2014-02-19 | 株式会社Pfu | External device configuration apparatus and external device configuration method |
CN101867690A (en) * | 2009-04-17 | 2010-10-20 | 深圳Tcl新技术有限公司 | Method for setting personalized information of television |
CN102014305A (en) * | 2010-10-28 | 2011-04-13 | 冠捷显示科技(厦门)有限公司 | Method for editing television configuration parameters and data |
CN102420948A (en) * | 2011-08-26 | 2012-04-18 | 厦门华侨电子股份有限公司 | Method used for cross-platform television setting cloning by adopting USB (Universal Serial Bus) mobile storage device |
CN105187854A (en) * | 2015-07-30 | 2015-12-23 | 深圳Tcl数字技术有限公司 | Method and device for dynamically configuring remote control function data |
CN105744366A (en) * | 2016-02-22 | 2016-07-06 | 深圳创维数字技术有限公司 | Data configuration sharing method and system of set top box |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110379375A (en) * | 2019-06-25 | 2019-10-25 | 深圳市金锐显数码科技有限公司 | The automatic switching method and automatic switchover system of back facet current gear |
CN110456972A (en) * | 2019-06-25 | 2019-11-15 | 杭州句力科技有限公司 | A method of it arbitrarily changing elevator operation panel touch screen by USB flash disk and shows |
CN112199122A (en) * | 2020-09-29 | 2021-01-08 | 厦门四信通信科技有限公司 | Method, device and equipment for configuring display screen parameters |
Also Published As
Publication number | Publication date |
---|---|
CN109257652B (en) | 2021-04-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108255653B (en) | Product testing method and terminal thereof | |
US20210263724A1 (en) | Online upgrade control method for home appliance system, and home appliance system | |
CN109257652A (en) | Switching method, device, electronic device, system and the storage medium of configuration information | |
CN111045901B (en) | Container monitoring method and device, storage medium and electronic equipment | |
US9619122B2 (en) | Method and apparatus for automatic device program generation | |
JP2018525751A (en) | Interactive control method and apparatus for voice and video calls | |
CN113412469A (en) | Equipment network distribution method and device, electronic equipment and storage medium | |
CN103744810B (en) | Terminal, electronic equipment, synchronous display system and method | |
EP3092561A1 (en) | Method and apparatus for automatic device program generation | |
CN103942218A (en) | Method and device for generating and updating special subject pages | |
CN111130962B (en) | Automatic configuration method, equipment, system and storage medium for switch | |
CN110956963A (en) | Interaction method realized based on wearable device and wearable device | |
US11283689B2 (en) | Method for managing multiple servers and device employing method | |
WO2020228030A1 (en) | Device recommendation method and apparatus, electronic device, and storage medium | |
WO2014161512A1 (en) | Method and apparatus for network connection | |
CN105487784A (en) | Control method and device of electronic terminal, terminal and system | |
CN108322797A (en) | A kind of response of key assignments and response configuration method, device, the device and operating system | |
CN112364266A (en) | Seamless navigation method, device, electronic equipment and medium for applet and host application | |
WO2023082660A1 (en) | Household appliance control method and control apparatus and household appliance control system | |
CN113921004A (en) | Intelligent device control method and device, storage medium and electronic device | |
CN112579891A (en) | Cloud resource recommendation method and device, electronic terminal and storage medium | |
CN113596529A (en) | Terminal control method and device, computer equipment and storage medium | |
CN112925555A (en) | Model management method, device, equipment and storage medium | |
US20180349932A1 (en) | Methods and systems for determining persona of participants by the participant use of a software product | |
CN111104037A (en) | Method and mobile terminal for helping visually impaired to browse |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |