CN103488953B - A kind of intelligent switch method being applied to multifunctional equipment - Google Patents

A kind of intelligent switch method being applied to multifunctional equipment Download PDF

Info

Publication number
CN103488953B
CN103488953B CN201310463561.0A CN201310463561A CN103488953B CN 103488953 B CN103488953 B CN 103488953B CN 201310463561 A CN201310463561 A CN 201310463561A CN 103488953 B CN103488953 B CN 103488953B
Authority
CN
China
Prior art keywords
functional module
task
mark
instruction
light sensation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201310463561.0A
Other languages
Chinese (zh)
Other versions
CN103488953A (en
Inventor
陆舟
于华章
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Feitian Technologies Co Ltd
Original Assignee
Feitian Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Feitian Technologies Co Ltd filed Critical Feitian Technologies Co Ltd
Priority to CN201310463561.0A priority Critical patent/CN103488953B/en
Publication of CN103488953A publication Critical patent/CN103488953A/en
Application granted granted Critical
Publication of CN103488953B publication Critical patent/CN103488953B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/606Protecting data by securing the transmission between two devices or processes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4812Task transfer initiation or dispatching by interrupt, e.g. masked

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Facsimiles In General (AREA)

Abstract

The invention discloses a kind of intelligent switch method being applied to multifunctional equipment, belong to information security field.Described method comprise the first functional module power on after initialization, opens interrupters, judge whether not completing of task, if not completing of task, waits for down trigger, and perform interrupt service routine when there being interruption to be triggered, start corresponding task, to be interrupted return after rejudge whether having and not completing of task; Not completing if having of task, judges the type of task, performs corresponding task, and after task is finished, identifies this task completes according to judged result; Described task type comprises: with the second functional module communication task, keyboard task be connected Detection task.Beneficial effect of the present invention is that the intelligence that can realize multifunctional equipment switches, and has the availability of raising equipment, reduces the effect of equipment cost.

Description

A kind of intelligent switch method being applied to multifunctional equipment
Technical field
The present invention relates to information security field, particularly relate to a kind of intelligent switch method being applied to multifunctional equipment.
Background technology
Along with the development of society, the demand of user is increasing, and the product category of arising at the historic moment also gets more and more.In order to improve the convenience that user uses, by several functions module integration within one device, i.e. so-called All-in-One equipment, makes an equipment serve many purposes to manufacturer.
Inventor is realizing finding at least there is following defect in prior art in process of the present invention:
1, existing multifunctional equipment needs too much manually intervening, not intelligence;
2, for the multifunctional equipment relating to dynamic token, usually need to use many elements stablize to ensure the communication of whole equipment and make the electric quantity consumption of whole equipment maintain reduced levels.
Summary of the invention
The object of the invention is the defect in order to overcome prior art, proposing a kind of intelligent switch method being applied to multifunctional equipment.
The inventive method is achieved through the following technical solutions:
Be applied to an intelligent switch method for multifunctional equipment, its basic implementation process is as follows:
Be applied to an intelligent switch method for multifunctional equipment, be applicable to the multifunctional equipment comprising the first functional module and the second functional module, it is characterized in that, comprise after described first functional module powers on:
Steps A: described first functional module initialization, opens interrupters;
Step B: described first functional module judges whether not completing of task, is perform step C, otherwise wait for down trigger, and when there being interruption to be triggered execution interrupt service routine, to be interrupted return after re-execute step B;
Step C: described first functional module judges the type of not completing of task, if then perform step D with the second functional module communication task, if keyboard task then performs step e, if connect Detection task then perform step F, otherwise returns step B;
Step D: described first functional module receives the packet that described second functional module sends, the instruction in handle packet, and to described second functional module link order response, mark is described to be completed with the second functional module communication task, returns step B;
Step e: described first functional module keyboard scan, obtain key assignments, respond button operation, marking keyboard task completes, and returns step B;
Step F: described first functional module checks the change of USB connection status, switches the control of display screen according to testing result, mark connects Detection task and completes, and returns step B;
Described execution interrupt service routine comprises: if the interruption be triggered is and the second functional module communication disruption, then starts and the second functional module communication task, interrupt returning; If the interruption be triggered is keys interrupt, then starts keyboard task, interrupt returning; If the interruption be triggered is interrupted for connecting to detect, then start and connect Detection task, interrupt returning.
Further, the 3rd functional module is also comprised in described multifunctional equipment;
Described execution interrupt service routine also comprises: if the interruption be triggered is and the 3rd functional module communication disruption, then starts and the 3rd functional module communication task, interrupt returning;
Also comprise in described step C: if not completing of task is described with the 3rd functional module communication task, then described first functional module receives the packet that described 3rd functional module sends, instruction in handle packet, and to described 3rd functional module link order response, mark is described to be completed with the 3rd function communication task, returns step B;
Described execution interrupt service routine also comprises: if the interruption be triggered is timer interruption, then start real-time clock task, interrupt returning;
Also comprise in described step C: if not completing of task is described real-time clock task, then described first functional module upgrades real-time time timing, upgrades real-time clock task status, returns step B;
Described execution interrupt service routine also comprises: interrupt if the interruption be triggered is user data initialization, then start user data initialization task, interrupt returning;
Also comprise in described step C: if not completing of task is described user data initialization task, then described first functional module receives the instruction bag that the tool of production sends, according to the instructions initialize user data in the instruction bag received, identifying user data initialization task completes, and returns step B;
Described execution interrupt service subroutine also comprises: if the interruption be triggered is interrupted for receiving light sensation data, then start and receive light sensation data task, interrupt returning;
Also comprise in described step C: if not completing of task is described reception light sensation data task, then described first functional module receives the packet that light sensation module sends, obtain light sensation data according to the packet received and preserve, mark receives light sensation data task and completes, and returns step B.
Wherein, also comprise in described steps A: enter battery saving mode;
In described step B, also comprise when judged result is no: described first functional module dormancy; Correspondingly, when there being interruption to be triggered, described first functional module is waken up;
Describedly judge whether that not completing of task specifically comprises: checking the whether set of general assignment mark, is have not completing of task, otherwise not completing of task;
Described startup and the second functional module communication task specifically comprise: set and the second functional module communication task mark;
Described startup keyboard task specifically comprises: set keyboard task flag;
Described startup connects Detection task and specifically comprises: set connects Detection task mark;
Described general assignment mark described with the second functional module task flag or described keyboard task flag or be describedly connected set when Detection task mark is set; Reset with the second functional module task flag, described keyboard task flag and described connection after Detection task mark is all reset described;
Described step D specifically comprises:
Step D1: described first functional module checks whether described multifunctional equipment connects with host computer, is that then described first functional module receives the packet of described second functional module transmission, performs step D2, otherwise perform step D3;
Step D2: described first functional module resolves the type of instruction in the packet received, if obtain key value instructions then set wait transmission key assignments mark, to described second functional module link order response, performs step D3, otherwise performs step D3;
Step D3: described first functional module mark is described to be completed with the second functional module communication task, returns step B;
Described step e specifically comprises:
Step e 1: described first functional module keyboard scan, obtains key assignments, checks whether described multifunctional equipment connects with host computer, is, performs step e 2, otherwise performs step e 3;
Step e 2: described first functional module inspection is waited for and sent the whether set of key assignments mark, encrypt the key assignments got, encrypted result is sent to described second functional module, reset described transmission key assignments mark, perform step e 4, otherwise perform step e 4, wherein, wait for described in set when described first functional module receives the acquisition key value instructions of described second functional module transmission and send key assignments mark;
Step e 3: described first functional module resolves the event type that button operation causes, if operation sheet event, then powers on to described 3rd functional module, sends the instruction of corresponding operating card to described 3rd functional module, performs step e 4; If inquiry audio interface connects whether set up event, then described 3rd functional module is powered on, send the instruction of inquiry audio interface to described 3rd functional module, perform step e 4;
Step e 4: identify described keyboard task and complete, return step B;
Described step F specifically comprises:
Step F 1: described first functional module checks USB connection status, then performs step F 2 if set up, and then performs step F 3 if disconnect;
Step F 2: whether the state that described first functional module detects USB connection detection IO is off, and be identify USB connection status and be off, the control switching display screen, to described first functional module, performs step F 4, otherwise execution step F 4;
Step F 3: described first functional module detects USB and connects whether the state detecting IO is connection, is, identify USB connection status for setting up, the control switching display screen, to described second functional module, performs step F 4, otherwise performs step F 4;
Step F 4: described first functional module mark connects Detection task and completes, and returns step B;
The packet that described 3rd functional module of described reception sends, the instruction in handle packet, and to described 3rd functional module link order response, described the completing with the 3rd function communication task of mark specifically comprises:
Step G1: described first functional module checks whether described multifunctional equipment connects with host computer, is that then described first functional module receives the packet of described 3rd functional module transmission, performs step G2, otherwise perform step G3;
Step G2: described first functional module resolves the type of instruction in the packet received, if audio interface extracts instruction then to electricity under described second functional module and described 3rd functional module, to described 3rd functional module link order response, perform step G3, otherwise perform step G3;
Step G3: described first functional module mark is described to be completed with the 3rd functional module communication task, returns step B;
Instructions initialize user data in the instruction bag that described basis receives specifically comprises:
Step H1: described first functional module verifies that whether described instruction bag is legal, is, deciphers described instruction bag, performs step H2, otherwise performs step H3;
Step H2: described first functional module resolves the type of instruction in the instruction bag after deciphering, if the instruction of programming key then obtains key according to described programming key instruction, stores after the secret key encryption got, and performs step H3; If the instruction of programming time factor is then according to the described programming time factor instruction acquisition time factor, store the time factor got, using the starting point of described time factor as real-time time timing, perform step H3; If initialization PIN instruction then obtains initial p IN code according to described initialization PIN instruction, encrypt described initial p IN code, store the encrypted result of described initial p IN code, perform step H3;
Step H3: described first functional module tissue also sends return data to the tool of production;
Described first functional module receives the packet that light sensation module sends, and obtains light sensation data and preserve according to the packet received, and mark receives light sensation data task and completes, and returns step B, specifically comprises:
Step I1: described first functional module judges whether the state of described light sensation module is light sensation acquisition state, that described first functional module receives the packet that described light sensation module sends, to electricity under described light sensation module, the state arranging described light sensation module is non-light sensation acquisition state, perform step I2, otherwise mark receives light sensation data task and completes, and returns step B;
Step I2: described first functional module judges that whether the data in the packet received are legal, is obtain light sensation data from described packet, control display screen and show described light sensation data, mark receives light sensation data task and completes, and returns step B; Otherwise control the information that display screen display gathers mistake, mark receives light sensation data task and completes, and returns step B.
Further, step F replaces with step F ': the change checking Dock connection status, switches the control of display screen according to testing result, and mark connects Detection task and completes, and returns step B;
Described step F ' specifically comprises:
Step F 1 ': check Dock connection status, then performs step F 2 ' if set up, and then performs step F 3 ' if disconnect;
Step F 2 ': whether the state detecting Dock connection detection IO is off, and be identify Dock connection status and be off, the control switching display screen, to described first functional module, performs step F 4 ', otherwise execution step F 4 ';
Step F 3 ': detect Dock and connect whether the state detecting IO is connection, be, identify Dock connection status for setting up, the control switching display screen, to described second functional module, performs step F 4 ', otherwise performs step F 4 ';
Step F 4 ': mark connects Detection task and completes, and returns step B.
The inventive method, contrast prior art, the intelligence that can realize multifunctional equipment switches, and has the availability of raising equipment, reduces the effect of equipment cost.
Accompanying drawing explanation
In order to the clearer explanation embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
A kind of intelligent switch method being applied to multifunctional equipment that Fig. 1 provides for the embodiment of the present invention;
Fig. 2 is the detail flowchart of step 106 in Fig. 1;
Fig. 3 is the detail flowchart of step 107 in Fig. 1;
Fig. 4 is the detail flowchart of step 108 in Fig. 1;
Fig. 5 is the detail flowchart of step 109 in Fig. 1;
Fig. 6 is the detail flowchart of step 111 in Fig. 1;
Fig. 7 is the detail flowchart of step 112 in Fig. 1.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those skilled in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
The embodiment of the present invention is for a kind of multifunctional equipment comprising three main functional modules, a kind of intelligent switch method being applied to described multifunctional equipment is provided, described multifunctional equipment comprises the first functional module, the second functional module and the 3rd functional module, also comprise display screen and button, hereafter for the first functional module as main control module simultaneously.See Fig. 1, described method specifically comprises after the first functional module powers on and performs following steps:
Step 101: initialization, opens interrupters, enters battery saving mode;
Particularly, initialization comprises initiating hardware resource and software resource, and hardware resource comprises chip register, and software resource comprises variable, buffer zone and mark; Interruption comprises timer interruption and external interrupt; Enter battery saving mode to comprise: to electricity under display screen, the second functional module and the 3rd functional module;
Preferably, enter battery saving mode can also comprise the first functional module is set display screen control IO, communicate with the second functional module IO and the IO output low level that communicates with the 3rd functional module, to prevent the first functional module to display screen, the second functional module, the 3rd functional module electric leakage;
Further, described multifunctional equipment also comprises light sensation module, then enter battery saving mode and also comprise electricity under light sensation module, correspondingly, can also comprise the first functional module is set with light sensation module communication IO output low level, leak electricity to light sensation module to prevent the first functional module;
Wherein, above-mentioned display screen control IO is the IO that the first functional module is connected with display screen gauge tap, the IO communicated with the second functional module is the IO that the first functional module is connected with the second functional module, the IO communicated with the 3rd functional module is the IO that the first functional module is connected with the 3rd functional module, is the IO that the first functional module is connected with light sensation module with the IO of light sensation module communication.
Step 102: judge whether not completing of task, be, perform step 105, otherwise perform step 103;
In the present embodiment, judge whether that not completing of task specifically comprises: checking the whether set of general assignment mark, is have not completing of task, when otherwise not completing of task.
Step 103: wait for down trigger, when there being interruption to be triggered, performs step 104;
Step 104: perform interrupt service subroutine, the type according to the interruption be triggered starts corresponding task, returns and performs step 102;
Particularly, interruption comprises with the second functional module communication disruption, with the 3rd functional module communication disruption, keys interrupt and be connected to detect and interrupt, trigger and the second functional module communication disruption when the second functional module sends data to the first functional module, trigger and the 3rd functional module communication disruption when the 3rd functional module sends data to the first functional module, trigger key interrupts when the button is pressed, triggers to be connected to detect to interrupt when described multifunctional equipment connects with host computer;
Start corresponding task according to the type of the interruption be triggered to comprise:
When the type of the interruption be triggered is for during with the second functional module communication disruption, start and the second functional module communication task;
When the type of the interruption be triggered is for during with the 3rd functional module communication disruption, start and the 3rd functional module communication task;
When the type of the interruption be triggered is keys interrupt, start keyboard task;
When the type of the interruption be triggered detecting interruption for connecting, starting and connecting Detection task;
Preferably, in the present embodiment, be provided with each task flag, represent that this task does not complete when corresponding task flag set, represent that this task completes when corresponding task Flag Reset, therefore also comprise set and the second functional module communication task mark when startup and the second functional module communication task; Start and also comprise set and the 3rd functional module communication task mark with during the 3rd functional module communication task; Set keyboard task flag is also comprised when starting keyboard task; Start when connecting Detection task and also comprise set connection Detection task mark;
In the present embodiment, a sharing body is set, namely a variable and a structure is defined, described variable is as general assignment mark, the one or more bit specified in described structure represent a task flag, all task flag share a general assignment mark, such as, general assignment is masked as high-order preceding two byte datas, initial value is 0000000000000000, reset is represented when the value of general assignment mark is initial value, set is not represented for during initial value, 1bit is for (value is that 0 expression resets with the second functional module communication task mark, value is 1 expression set), 2bit is for (value is that 0 expression resets with the 3rd functional module communication task mark, value is 1 expression set), 3bit is that (value is that 0 expression resets to keyboard task flag, value is 1 expression set), in order to connect Detection task mark, (value is that 0 expression resets to 4bit, value is 1 expression set).
Step 105: the type judging not completing of task, if then perform step 106 with the second functional module communication task; If then perform step 107 with the 3rd functional module communication task; If keyboard task then performs step 108; If connect Detection task then perform step 109; Otherwise return step 102;
Particularly, in the present embodiment, task priority is set, when have two and above do not finish the work time, then process the task that all medium priorities of not finishing the work are the highest, after having processed, return step 102;
Preferably, in the present embodiment, by representing the bit position of each task flag in predetermined general assignment mark, and predetermined check the priority that the order of each bit position arranges task, such as, each checking general assignment mark successively according to the order from high order end to low order end represents the bit position of each task flag, whenever judging certain task flag set, perform corresponding task, reset this task flag after task completes, and returns step 102.
Step 106: receive the packet that the second functional module sends, the instruction in handle packet, and to the second functional module link order response, mark and the second functional module communication task complete, and return step 102;
In the present embodiment, be specially to the second functional module link order response and return ACK(Acknowledgement to the second functional module, acknowledge character---in data communication, receiving station sends to the one transmission class control character of sending station); Mark and the second functional module communication task complete to be specially and reset and the second functional module communication task mark;
Preferably, resetting, to be specially the value that the high order end revising general assignment mark plays 1bit with the second functional module communication task mark be 0.
See Fig. 2, in the present embodiment, step 106 specifically comprises:
Step c1: check whether described multifunctional equipment connects with host computer, is perform step c2, otherwise perform step c11;
In the present embodiment, described multifunctional equipment and host computer connect by USB interface or audio interface or Dock interface etc.;
Step c2: receive the packet that the second functional module sends;
Step c3: the type of instruction in resolution data bag, if obtain key value instructions then perform step c4, if amendment PIN instruction then performs step c5, if obtain the instruction of total PIN code errors number then perform step c6, if the PIN errors number instruction sending the second functional module then performs step c7; Otherwise perform step c11;
Particularly, in the present embodiment:
Acquisition key value instructions is 0x8106;
Amendment PIN instruction is 0x8107lenxxxxxxxx...xx check bit, wherein len be the cryptographic hash of new PIN code and check bit length and, be defaulted as 32 bytes, xxxxxxxx...xx represents new PIN code cryptographic hash, and check bit is the byte exclusive or check value of new PIN code cryptographic hash;
Obtaining the instruction of total PIN errors number is 0x8108;
The PIN errors number instruction sending the second functional module is 0x8109xx^0x55xx+0x55 ~ xx, wherein, xx is the PIN errors number of the second functional module, xx^0x55 is a byte data, be specially the result that the PIN errors number of the second functional module and 0x55 carry out XOR, xx+0x55 is a byte data, be specially the second capability error number of times of the second functional module and 0x55's and, ~ xx is a byte data, is specially the negate operation result of the PIN errors number of the second functional module;
Step c4: set is waited for and sent key assignments mark, performs step c10;
In the present embodiment, wait for that sending key assignments mark can be bit data, represent when its value is 0 and wait for transmission key assignments Flag Reset, represent when its value is 1 and wait for transmission key assignments flag set, or wait for and send the data that key assignments is masked as a byte or multiple byte, when it waits for transmission key assignments Flag Reset for representing during preset value, represent when it is the arbitrary value outside preset value and wait for transmission key assignments flag set, such as wait for that sending key assignments is masked as a byte data, represent when its value is 0x00 and wait for transmission key assignments Flag Reset, represent when its value is the arbitrary value outside 0x00 and wait for transmission key assignments flag set,
Step c5: obtain new PIN code according to amendment PIN instruction, by the PIN code encrypted result stored in replacement equipment after new PIN code encryption, reset PIN lock flag, performs step c10;
Preferably, in the present embodiment, the new PIN code got in step c5 is the cryptographic hash of new PIN code;
PIN lock flag can be bit data, represent that when its value is 0 PIN lock flag resets, the set of PIN lock flag is represented when its value is 1, or PIN lock flag is the data of a byte or multiple byte, when it is for representing during preset value that PIN lock flag resets, the set of PIN lock flag is represented when it is the arbitrary value outside preset value, such as PIN lock flag is a byte data, represent that when its value is 0x00 PIN lock flag resets, represent the set of PIN lock flag when its value is the arbitrary value outside 0x00;
Step c6: return total PIN code errors number to the second functional module, performs step c11;
In the present embodiment, return total PIN code errors number to the second functional module to be specially, to second functional module return data xx^0x55xx+0x55 ~ xx, wherein, xx is total PIN errors number, xx^0x55 is a byte data, be specially the XOR result of total PIN errors number and 0x55, xx+0x55 is a byte data, be specially total PIN errors number and 0x55 and, ~ xx is a byte data, is specially the negate operation result of total PIN errors number;
Step c7: the PIN code errors number obtaining the second functional module according to the PIN errors number instruction of transmission second functional module, upgrading total PIN code errors number is the PIN code errors number that its currency adds the second functional module;
Step c8: judge whether total PIN code errors number is less than the first preset value, is perform step c10, otherwise perform step c9;
Preferably, the first preset value is 6 in the present embodiment;
Step c9: set PIN lock flag, performs step c10;
Step c10: to the second functional module link order response, perform step c11;
Step c11: reset and the second functional module communication task mark, return step 102.
Step 107: receive the packet that the 3rd functional module sends, the instruction in handle packet, and to the 3rd functional module link order response, mark and the 3rd functional module communication task complete, and return step 102;
In the present embodiment, be specially to the 3rd functional module link order response and return ACK to the 3rd functional module; Mark and the 3rd functional module communication task complete to be specially and reset and the 3rd functional module communication task mark;
Preferably, resetting, to be specially the value that the high order end revising general assignment mark plays 2bit with the 3rd functional module communication task mark be 0;
See Fig. 3, in the present embodiment, step 107 specifically comprises:
Steps d 1: check whether described multifunctional equipment connects with host computer, is, performs steps d 2, otherwise perform steps d 6;
In the present embodiment, described multifunctional equipment and host computer connect by USB interface or audio interface or Dock interface etc.;
Steps d 2: receive the packet that the 3rd functional module sends;
Steps d 3: the type of instruction in resolution data bag, if audio interface extracts instruction then perform steps d 4, otherwise performs steps d 6;
Particularly, in the present embodiment, described multifunctional equipment also comprises Audio interface block, and audio interface is extracted instruction and is specially: 0x810A; Notify that when Audio interface block detects that audio interface is extracted the 3rd functional module sends audio interface to the first functional module and extracts instruction;
Steps d 4: to electricity under the second functional module and the 3rd functional module, perform steps d 5;
Steps d 5: to the 3rd functional module link order response, perform steps d 6;
Steps d 6: reset and the 3rd functional module communication task mark, return step 102.
Step 108: keyboard scan, obtain key assignments, respond button operation, marking keyboard task completes, and returns step 102;
In the present embodiment, marking keyboard task completes and is specially reset keyboard task flag;
Preferably, the value that the high order end that reset keyboard task flag is specially amendment general assignment mark plays 3bit is 0;
See Fig. 4, in the present embodiment, step 108 specifically comprises:
Step e1: keyboard scan, obtains key assignments;
Step e2: check whether described multifunctional equipment connects with host computer, is perform step e3, otherwise perform step e5;
Step e3: check and wait for and send the whether set of key assignments mark, be perform step e4, otherwise perform step e8;
Wherein, described multifunctional equipment and host computer are connected by USB interface or audio interface or iDock;
Step e4: the key assignments that encryption obtains, sends encrypted result to the second functional module, and the described wait that resets sends key assignments mark, performs step e8;
Step e5: resolve the event type that button operation causes, if operation sheet event then performs step e6, if whether the connection of inquiry audio interface sets up event then perform step e7, otherwise performs step e8;
Preferably, also comprise in step e5: if light sensation collection event then powers on to light sensation module, send acquisition instructions to light sensation module, perform step e8;
Step e6: power on to the 3rd functional module, sends the instruction of corresponding operating card to the 3rd functional module, performs step e8;
Step e7: power on to the 3rd functional module, sends the instruction of inquiry audio interface to the 3rd functional module, performs step e8;
Step e8: reset keyboard task flag, returns step 102.
Step 109: the change detecting USB connection status, switches the control of display screen according to testing result, mark connects Detection task and completes, and returns step 102;
In the present embodiment, mark connection Detection task completes and being specially the connection Detection task mark that resets;
Preferably, reset that to connect the value that high order end that Detection task mark is specially amendment general assignment mark plays 4bit be 0;
See Fig. 5, in the present embodiment, step 109 specifically comprises:
Step f1: check USB connection status, then performs step f2 if set up, and then performs step f4 if disconnect;
In the present embodiment, connect mark by USB and judge USB connection status, when USB connects flag set, judge USB connection establishment, when USB connects Flag Reset, judge that USB connects and disconnect;
In the present embodiment, it can be bit data that USB connects mark, represent that when its value is 0 USB connects Flag Reset, represent that when its value is 1 USB connects flag set, or USB connects the data being masked as a byte or multiple byte, when it is for representing during preset value that USB connects Flag Reset, represent that when it is the arbitrary value outside preset value USB connects flag set, such as USB connection is masked as a byte data, represent that when its value is 0x00 USB connects Flag Reset, represent that when its value is the arbitrary value outside 0x00 USB connects flag set;
Step f2: check that USB connects the state detecting IO and whether is off, be perform step f3, otherwise perform step f6;
Step f3: mark USB connection status is off, and the control switching display screen, to the first functional module, performs step f6;
In the present embodiment, mark USB connection status is off and is specially reset USB connection mark; The control switching display screen specifically comprises control display screen change-over switch and display screen is connected with the first functional module;
Step f4: checking that USB connects whether the state detecting IO is connection, is perform step f5, otherwise performs step f6;
Step f5: mark USB connection status is for setting up, and the control switching display screen, to the second functional module, performs step f6;
In the present embodiment, mark USB connection status is that connection is specially set USB connection mark; The control switching display screen specifically comprises control display screen change-over switch to the second functional module and display screen is connected with the second functional module;
Step f6: reset and connect Detection task mark, return step 102.
Further, above-mentioned steps 111 also can be replaced: the change detecting Dock connection status, switches the control of display screen according to testing result, and mark connects Detection task and completes, and returns step 102;
Correspondingly, the step 111 after replacing it specifically comprises:
Step f1 ': check Dock connection status, then performs step f2 ' if set up, and then performs step f4 ' if disconnect;
In the present embodiment, connect mark by Dock and judge Dock connection status, when Dock connects flag set, judge Dock connection establishment, when Dock connects Flag Reset, judge that Dock connects and disconnect;
In the present embodiment, it can be bit data that Dock connects mark, represent that when its value is 0 Dock connects Flag Reset, represent that when its value is 1 Dock connects flag set, or Dock connects the data being masked as a byte or multiple byte, when it is for representing during preset value that Dock connects Flag Reset, represent that when it is the arbitrary value outside preset value Dock connects flag set, such as Dock connection is masked as a byte data, represent that when its value is 0x00 Dock connects Flag Reset, represent that when its value is the arbitrary value outside 0x00 Dock connects flag set,
Step f2 ': check that Dock connects the state detecting IO and whether is off, be perform step f3 ', otherwise perform step f6 ';
Step f3 ': mark Dock connection status is off, and the control switching display screen, to the first functional module, performs step h6;
In the present embodiment, mark Dock connection status is off and is specially reset Dock connection mark; The control switching display screen specifically comprises control display screen change-over switch and display screen is connected with the first functional module;
Step f4 ': checking that Dock connects whether the state detecting IO is connection, is perform step f5 ', otherwise performs step f6 ';
Step f5 ': mark Dock connection status is for setting up, and the control switching display screen, to the second functional module, performs step f6 ';
In the present embodiment, mark Dock connection status is that connection is specially set Dock connection mark; In the present embodiment, the control switching display screen specifically comprises control display screen change-over switch to the second functional module and display screen is connected with the second functional module;
Step f6 ': reset and connect Detection task mark, return step 102.
Further, interrupt also can comprising timer interruption, timer interruption is triggered once every Preset Time by the timer of described institute multifunctional equipment inner setting, and described Preset Time was as one minute; When timer interruption is triggered, the first functional module performs interrupt service subroutine, starts real-time clock task;
In the present embodiment, arranging general assignment mark high order end, to play 5bit to 7bit be that real-time clock task flag (represents reset when it is 000, set is represented) for during other values, set real-time clock task flag is also comprised when starting real-time clock task, be specially amendment general assignment mark high order end and play 5bit to the data on 7bit for its currency adds 1, if such as current 5bit is 001 to the value of the data on 7bit, then revising it is 010;
Correspondingly, also comprise in step 105: if real-time clock task then performs step 110;
Step 110: upgrade real-time time timing, upgrades real-time clock task status, returns step 102.
In the present embodiment, upgrade real-time clock task status and be specially renewal real-time clock task flag;
Preferably, the high order end that renewal real-time clock task flag is specially amendment general assignment mark plays 5bit to the data on 7bit for its currency subtracts 1, if such as current 5bit is 010 to the value of the data on 7bit, then revising it is 001.
Interrupt also comprising user data initialization to interrupt, when the tool of production sends data to described multifunctional equipment, activated user data initialization interrupts, when user data initialization is interrupted being triggered, the first functional module performs interrupt service subroutine, starts user data initialization task;
In the present embodiment, arranging general assignment mark high order end, to play 8bit be that user data initialization task mark (represents reset when it is 0, set is represented) when being 1, set real-time clock task flag is also comprised when starting user data initialization task, being specially the value that amendment general assignment mark high order end plays 8bit is 1
Correspondingly, also comprise in step 105: if user data initialization task then performs step 111;
Step 111: receive the instruction bag that the tool of production sends, according to the instructions initialize user data in instruction bag, identifying user data initialization task completes, and returns step 102;
In the present embodiment, identifying user data initialization task completes and is specially resetting user data initialization task flag;
Preferably, in the present embodiment, it is 0 that resetting user data initialization task flag is specially the value that amendment general assignment mark high order end plays 1bit.
See Fig. 6, in the present embodiment, step 111 specifically comprises:
Step b1: receive the instruction bag that the tool of production sends, whether checking instruction bag is legal, is perform step b2, otherwise performs step b7;
Step b2: decryption instructions bag, resolves the type of instruction in instruction bag, if the instruction of programming key then performs step b3, if the instruction of programming time factor then performs step b4, if initialization PIN instruction then performs step b5; Otherwise perform step b7;
Step b3: obtain key according to the instruction of programming key, store after the secret key encryption got, performs step b6;
Particularly, the instruction of described programming key comprises described key;
Step b4: according to the programming time factor instruction acquisition time factor, stores the time factor got, and using the starting point of this time factor as real-time time timing, performs step b6;
Particularly, the instruction of described programming key comprises described time factor;
Step b5: obtain initial p IN code according to initialization PIN instruction, store after initial p IN code encryption, performs step b6;
Particularly, the instruction of described programming key comprises described initial p IN code, and described PIN code can be PIN code original text can be also PIN code cryptographic hash, if PIN code original text, then obtains and stores PIN code original text; If PIN code cryptographic hash then obtains and stores PIN code cryptographic hash;
Step b6: organize and send return data to the tool of production, performs step b7;
Step b7: resetting user data initialization task flag, returns step 102.
Light sensation module can also be comprised in described multifunctional equipment, correspondingly interrupt also comprising reception light sensation data and interrupt, trigger receiving the interruption of light sensation data when host computer sends light sensation data to described multifunctional equipment; When receiving light sensation data and interrupting being triggered, the first functional module performs interrupt service subroutine, starts and receives light sensation data task;
In the present embodiment, arranging general assignment mark high order end, to play 9bit be that user data initialization task mark (represents reset when it is 0, set is represented) when being 1, set real-time clock task flag is also comprised when starting user data initialization task, being specially the value that amendment general assignment mark high order end plays 9bit is 1
Also comprise in step 105: if receive light sensation data task then perform step 112;
Step 112: receive the packet that light sensation module sends, obtains light sensation data according to packet and preserves, and mark receives light sensation data task and completes, and returns step 102;
In the present embodiment, mark reception light sensation data task completes and being specially the reception light sensation data task mark that resets;
Preferably, reset that to receive the value that high order end that light sensation data task mark is specially amendment general assignment mark plays 9bit be 0;
See Fig. 7, in the present embodiment, step 112 specifically comprises:
Step g 1: whether the state of inspection light sensation module is light sensation acquisition state, is perform step g 2, otherwise performs step g 7;
Step g 2: receive the packet that light sensation module sends;
Particularly, light sensation module sends to the packet of OTP module to be: 0x8103lenxxxxxx...xx check bit, and wherein xxxxxx...xx is light sensation data, len be light sensation data and check bit length and, check bit is the byte exclusive or check value of light sensation data;
Step g 3: to electricity under light sensation module, the state of initialization light sensation module;
Particularly, in the present embodiment, the state of initialization light sensation module is non-light sensation acquisition state;
Step g 4: judging that whether the data in packet are legal, is perform step g 5, otherwise perform step g 6;
Particularly, judging according to the check bit in packet, whether legal being specially of data in packet judges that whether the data received are correct, is that the data then in packet are legal, otherwise data in packet are illegal;
Step g 5: obtain light sensation data from packet, controls display screen display light sensation data, performs step g 7;
Preferably, in the present embodiment, the data that in step g 5, display screen display light sensation data go back display reminding user display are simultaneously the information of light sensation data;
Step g 6: control the information that display screen display gathers mistake, perform step g 7;
Step g 7: reset and receive light sensation data task mark, return step 102.
Above-described embodiment is the present invention's more preferably embodiment, and the usual change that those skilled in the art carries out within the scope of technical solution of the present invention and replacement all should be included in protection scope of the present invention.

Claims (19)

1. be applied to an intelligent switch method for multifunctional equipment, be applicable to the multifunctional equipment comprising the first functional module and the second functional module, it is characterized in that, after described first functional module powers on, perform following steps:
Steps A: described first functional module initialization, opens interrupters;
Step B: described first functional module judges whether not completing of task, is perform step C, otherwise wait for down trigger, and when there being interruption to be triggered execution interrupt service routine, to be interrupted return after re-execute step B;
Step C: described first functional module judges the type of not completing of task, if then perform step D with the second functional module communication task, if keyboard task then performs step e, if connect Detection task then perform step F, otherwise returns step B;
Step D: described first functional module receives the packet that described second functional module sends, the instruction in handle packet, and to described second functional module link order response, mark is described to be completed with the second functional module communication task, returns step B;
Step e: described first functional module keyboard scan, obtain key assignments, respond button operation, marking keyboard task completes, and returns step B;
Step F: described first functional module checks the change of USB connection status, switches the control of display screen according to testing result, mark connects Detection task and completes, and returns step B;
Described execution interrupt service routine comprises: if the interruption be triggered is and the second functional module communication disruption, then starts and the second functional module communication task, interrupt returning; If the interruption be triggered is keys interrupt, then starts keyboard task, interrupt returning; If the interruption be triggered is interrupted for connecting to detect, then start and connect Detection task, interrupt returning.
2. the method for claim 1, is characterized in that, also comprises in described steps A: described multifunctional equipment enters battery saving mode.
3. the method for claim 1, is characterized in that, in described step B, also comprises when judged result is no: described first functional module dormancy;
Correspondingly, when there being interruption to be triggered, described first functional module is waken up.
4. the method for claim 1, is characterized in that, described in judge whether that not completing of task specifically comprises: checking the whether set of general assignment mark, is have not completing of task, otherwise not completing of task;
Described startup and the second functional module communication task specifically comprise: set and the second functional module communication task mark;
Described startup keyboard task specifically comprises: set keyboard task flag;
Described startup connects Detection task and specifically comprises: set connects Detection task mark;
Wherein, described general assignment mark described with the second functional module task flag or described keyboard task flag or be describedly connected set when Detection task mark is set; Reset with the second functional module task flag, described keyboard task flag and described connection after Detection task mark is all reset described.
5. method as claimed in claim 4, it is characterized in that, described general assignment is masked as the data of default byte-sized, represents general assignment Flag Reset when described data are initial value, represents general assignment flag set when described data are other values beyond initial value;
Described set and the second functional module communication task mark are specially: the first predetermined bit position of revising described data;
Described set keyboard task flag is specially: the second predetermined bit position of revising described data;
Described set connects Detection task mark and is specially: the 3rd predetermined bit position of revising described data.
6. the method for claim 1, is characterized in that, described step D specifically comprises:
Step D1: described first functional module checks whether described multifunctional equipment connects with host computer, is that then described first functional module receives the packet of described second functional module transmission, performs step D2, otherwise perform step D3;
Step D2: described first functional module resolves the type of instruction in the packet received, if obtain key value instructions then set wait transmission key assignments mark, to described second functional module link order response, performs step D3, otherwise performs step D3;
Step D3: described first functional module mark is described to be completed with the second functional module communication task, returns step B.
7. method as claimed in claim 6, it is characterized in that, also comprise in described step D2: if amendment PIN instruction then performs step D2 ', if obtain the instruction of total PIN code errors number then perform step D2 ' ', if the PIN errors number instruction sending the second functional module then performs step D2 ' ' ';
Step D2 ': obtain new PIN code according to described amendment PIN instruction, by the PIN code encrypted result stored in replacement equipment after described new PIN code encryption, reset PIN lock flag, to described second functional module link order response, performs step D3;
Step D2 ' ': return total PIN code errors number to described second functional module, performs step D3;
Step D2 ' ' ': the PIN code errors number obtaining the second functional module according to the PIN errors number instruction of described transmission second functional module, upgrading total PIN code errors number is the PIN code errors number that its currency adds described second functional module, judge whether described total PIN code errors number is less than the first preset value, then to described second functional module link order response, perform step D3, otherwise after PIN lock flag described in set, to described second functional module link order response, perform step D3.
8. method according to claim 1, is characterized in that, described step F specifically comprises:
Step F 1: described first functional module checks USB connection status, then performs step F 2 if set up, and then performs step F 3 if disconnect;
Step F 2: whether the state that described first functional module detects USB connection detection IO is off, and be identify USB connection status and be off, the control switching display screen, to described first functional module, performs step F 4, otherwise execution step F 4;
Step F 3: described first functional module detects USB and connects whether the state detecting IO is connection, is, identify USB connection status for setting up, the control switching display screen, to described second functional module, performs step F 4, otherwise performs step F 4;
Step F 4: described first functional module mark connects Detection task and completes, and returns step B.
9. the method for claim 1, is characterized in that, described step F replaces with step F ': the change checking Dock connection status, switches the control of display screen according to testing result, and mark connects Detection task and completes, and returns step B.
10. method as claimed in claim 9, it is characterized in that, described step F ' specifically comprises:
Step F 1 ': check Dock connection status, then performs step F 2 ' if set up, and then performs step F 3 ' if disconnect;
Step F 2 ': whether the state detecting Dock connection detection IO is off, and be identify Dock connection status and be off, the control switching display screen, to described first functional module, performs step F 4 ', otherwise execution step F 4 ';
Step F 3 ': detect Dock and connect whether the state detecting IO is connection, be, identify Dock connection status for setting up, the control switching display screen, to described second functional module, performs step F 4 ', otherwise performs step F 4 ';
Step F 4 ': mark connects Detection task and completes, and returns step B.
11. the method for claim 1, is characterized in that, also comprise the 3rd functional module in described multifunctional equipment;
Described execution interrupt service routine also comprises: if the interruption be triggered is and the 3rd functional module communication disruption, then starts and the 3rd functional module communication task, interrupt returning;
Also comprise in described step C: if not completing of task is described with the 3rd functional module communication task, then described first functional module receives the packet that described 3rd functional module sends, instruction in handle packet, and to described 3rd functional module link order response, mark is described to be completed with the 3rd function communication task, returns step B.
12. methods as claimed in claim 11, it is characterized in that, the packet that described 3rd functional module of described reception sends, the instruction in handle packet, and to described 3rd functional module link order response, described the completing with the 3rd function communication task of mark specifically comprises:
Step G1: described first functional module checks whether described multifunctional equipment connects with host computer, is that then described first functional module receives the packet of described 3rd functional module transmission, performs step G2, otherwise perform step G3;
Step G2: described first functional module resolves the type of instruction in the packet received, if audio interface extracts instruction then to electricity under described second functional module and described 3rd functional module, to described 3rd functional module link order response, perform step G3, otherwise perform step G3;
Step G3: described first functional module mark is described to be completed with the 3rd functional module communication task, returns step B.
13. methods as claimed in claim 11, it is characterized in that, described step e specifically comprises:
Step e 1: described first functional module keyboard scan, obtains key assignments, checks whether described multifunctional equipment connects with host computer, is, performs step e 2, otherwise performs step e 3;
Step e 2: described first functional module inspection is waited for and sent the whether set of key assignments mark, encrypt the key assignments got, encrypted result is sent to described second functional module, reset described transmission key assignments mark, perform step e 4, otherwise perform step e 4, wherein, wait for described in set when described first functional module receives the acquisition key value instructions of described second functional module transmission and send key assignments mark;
Step e 3: described first functional module resolves the event type that button operation causes, if operation sheet event, then powers on to described 3rd functional module, sends the instruction of corresponding operating card to described 3rd functional module, performs step e 4; If inquiry audio interface connects whether set up event, then described 3rd functional module is powered on, send the instruction of inquiry audio interface to described 3rd functional module, perform step e 4;
Step e 4: identify described keyboard task and complete, return step B.
14. methods as claimed in claim 13, is characterized in that, also comprise in described step e 3:
If the event type that button operation causes is light sensation collection event, then described first functional module powers on to the light sensation module in described multifunctional equipment, sends acquisition instructions to described light sensation module, performs step e 4.
15. the method for claim 1, is characterized in that, described execution interrupt service routine also comprises: if the interruption be triggered is timer interruption, then start real-time clock task, interrupt returning;
Also comprise in described step C: if not completing of task is described real-time clock task, then described first functional module upgrades real-time time timing, upgrades real-time clock task status, returns step B.
16. the method for claim 1, is characterized in that, described execution interrupt service routine also comprises: interrupt if the interruption be triggered is user data initialization, then start user data initialization task, interrupt returning;
Also comprise in described step C: if not completing of task is described user data initialization task, then described first functional module receives the instruction bag that the tool of production sends, according to the instructions initialize user data in the instruction bag received, identifying user data initialization task completes, and returns step B.
17. methods as claimed in claim 16, it is characterized in that, the instructions initialize user data in the instruction bag that described basis receives specifically comprises:
Step H1: described first functional module verifies that whether described instruction bag is legal, is, deciphers described instruction bag, performs step H2, otherwise performs step H3;
Step H2: described first functional module resolves the type of instruction in the instruction bag after deciphering, if the instruction of programming key then obtains key according to described programming key instruction, stores after the secret key encryption got, and performs step H3; If the instruction of programming time factor is then according to the described programming time factor instruction acquisition time factor, store the time factor got, using the starting point of described time factor as real-time time timing, perform step H3; If initialization PIN instruction then obtains initial p IN code according to described initialization PIN instruction, encrypt described initial p IN code, store the encrypted result of described initial p IN code, perform step H3;
Step H3: described first functional module tissue also sends return data to the tool of production.
18. methods as claimed in claim 14, it is characterized in that, described execution interrupt service subroutine also comprises: if the interruption be triggered is interrupted for receiving light sensation data, then start and receive light sensation data task, interrupt returning;
Also comprise in described step C: if not completing of task is described reception light sensation data task, then described first functional module receives the packet that light sensation module sends, obtain light sensation data according to the packet received and preserve, mark receives light sensation data task and completes, and returns step B.
19. methods as claimed in claim 18, is characterized in that, described first functional module receives the packet that light sensation module sends, obtain light sensation data according to the packet received and preserve, mark receives light sensation data task and completes, and returns step B, specifically comprises:
Step I1: described first functional module judges whether the state of described light sensation module is light sensation acquisition state, that described first functional module receives the packet that described light sensation module sends, to electricity under described light sensation module, the state arranging described light sensation module is non-light sensation acquisition state, perform step I2, otherwise mark receives light sensation data task and completes, and returns step B;
Step I2: described first functional module judges that whether the data in the packet received are legal, is obtain light sensation data from described packet, control display screen and show described light sensation data, mark receives light sensation data task and completes, and returns step B; Otherwise control the information that display screen display gathers mistake, mark receives light sensation data task and completes, and returns step B.
CN201310463561.0A 2013-10-08 2013-10-08 A kind of intelligent switch method being applied to multifunctional equipment Expired - Fee Related CN103488953B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310463561.0A CN103488953B (en) 2013-10-08 2013-10-08 A kind of intelligent switch method being applied to multifunctional equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310463561.0A CN103488953B (en) 2013-10-08 2013-10-08 A kind of intelligent switch method being applied to multifunctional equipment

Publications (2)

Publication Number Publication Date
CN103488953A CN103488953A (en) 2014-01-01
CN103488953B true CN103488953B (en) 2016-01-20

Family

ID=49829167

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310463561.0A Expired - Fee Related CN103488953B (en) 2013-10-08 2013-10-08 A kind of intelligent switch method being applied to multifunctional equipment

Country Status (1)

Country Link
CN (1) CN103488953B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103885828B (en) * 2014-04-08 2017-07-14 飞天诚信科技股份有限公司 A kind of changing method of hardware resource
CN106293750B (en) * 2016-08-16 2019-10-08 北京神州视翰科技有限公司 A kind of control method of intelligent display device booting
CN109918179A (en) * 2017-12-13 2019-06-21 合肥欣奕华智能机器有限公司 A kind of button processing method, equipment and system
CN112905244A (en) * 2020-12-22 2021-06-04 金卡智能集团股份有限公司 Instrument control method, device and equipment
CN116558661B (en) * 2023-07-07 2023-11-07 深圳市微克科技有限公司 Environment temperature acquisition method, system and medium of intelligent wearable device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101183317A (en) * 2006-11-14 2008-05-21 中兴通讯股份有限公司 Method for real-time interrupting synchronization with multiple progress states
CN103049274A (en) * 2012-12-31 2013-04-17 华为终端有限公司 Device and method for task event processing

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005242806A (en) * 2004-02-27 2005-09-08 Renesas Technology Corp Data processor

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101183317A (en) * 2006-11-14 2008-05-21 中兴通讯股份有限公司 Method for real-time interrupting synchronization with multiple progress states
CN103049274A (en) * 2012-12-31 2013-04-17 华为终端有限公司 Device and method for task event processing

Also Published As

Publication number Publication date
CN103488953A (en) 2014-01-01

Similar Documents

Publication Publication Date Title
CN103488953B (en) A kind of intelligent switch method being applied to multifunctional equipment
CN112400152B (en) Coupling a pen device to a companion device based on pen proximity
CN107624247B (en) Automatic device-stylus pairing
CN103246839B (en) A kind of method of work of intelligent cipher key equipment
JP5744004B2 (en) NFC communication apparatus and control method thereof
CN100590639C (en) System and method for managing multiple smart card sessions
KR102061483B1 (en) Data processing methods and systems, and wearable electronic devices
US20180276148A1 (en) Method for setting universal serial bus (usb) interface of electronic device, and electronic device
CN103647587A (en) Method and system for unlocking mobile terminal, mobile terminal and wearable electronic device
CN101984575A (en) Method and device for protecting mobile terminal software
US20170201378A1 (en) Electronic device and method for authenticating identification information thereof
CN106535090B (en) Bluetooth device and intelligent device pairing method and Bluetooth device
EP3808116B1 (en) Method for uwb transaction and electronic device therefor
CN102662697A (en) Software upgrading method and device
TWI463364B (en) System and method for touch device with external input function
CN109286487B (en) Remote control method and system for electronic equipment
US20160070418A1 (en) Data communication device and program
US20170090908A1 (en) Terminal device and charge control method
CN106547435A (en) Input equipment and its control method
CN102624742A (en) Method for enhancing security of communication between mobile equipment and home intelligent terminal
US20130217338A1 (en) Method of multi-target switch transmission through an externally connected bluetooth selection device
JP5037718B1 (en) Simple operation type wireless data transmission / reception system and simple operation type wireless data transmission / reception program
CN102253690B (en) Computer integration device, system and method
WO2015051742A1 (en) Method and device for automatically implementing wireless connection between devices
CN105207747B (en) A kind of data transmission method based on HID protocol

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20160120

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