CN105279031A - Information processing method and system - Google Patents

Information processing method and system Download PDF

Info

Publication number
CN105279031A
CN105279031A CN201510811854.2A CN201510811854A CN105279031A CN 105279031 A CN105279031 A CN 105279031A CN 201510811854 A CN201510811854 A CN 201510811854A CN 105279031 A CN105279031 A CN 105279031A
Authority
CN
China
Prior art keywords
input information
information
status information
tested object
input
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
Application number
CN201510811854.2A
Other languages
Chinese (zh)
Other versions
CN105279031B (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201510811854.2A priority Critical patent/CN105279031B/en
Publication of CN105279031A publication Critical patent/CN105279031A/en
Application granted granted Critical
Publication of CN105279031B publication Critical patent/CN105279031B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The embodiments of the invention disclose an information processing method and a terminal. The method comprises the following steps: detecting first input information of a first test object through a first port; detecting second input information of a second test object through a second port; generating a first instruction when it is determined that the first input information and the second input information meet a preset association relation; and based on the first instruction, controlling the second port of the second test object to send coordination information to the first port of the first test object so as to enable the first test object to carry out input based on the coordination information.

Description

A kind of information processing method and system
Technical field
The present invention relates to the information processing technology, be specifically related to a kind of information processing method and system.
Background technology
In existing automatic test scheme, usually single face can only be tested, or for the independent test role in the scene of autonomous closure, and can only cannot carry out mutual test assignment for carrying out between multiple test role between mutual or multiple terminal.Such as, multiple tester is comprised at a test macro, when the I/O of a tester can be subject to affecting of the I/O of another tester, cannot communicate between described tester with another tester described, so that described tester cannot perform input action based on the impact of the I/O of another tester described, also namely test process cannot realize synchronously.
Summary of the invention
For solving the technical matters of existing existence, the embodiment of the present invention provides a kind of information processing method and system, can realize the synchronous of test process.
For achieving the above object, the technical scheme of the embodiment of the present invention is achieved in that
Embodiments provide a kind of information processing method, described method comprises:
The first input information of the first tested object is detected by the first port;
By the second input information of the second Port detecting to the second tested object;
When determining that described first input information and described second input information meet default incidence relation, generate the first instruction;
Control the first port transmission harmony messages of the second port to described first tested object of described second tested object based on described first instruction, perform input to make described first tested object based on described harmony messages.
In such scheme, determine that described first input information and described second input information meet and preset incidence relation, comprising:
Judge that described first input information is uncorrelated with described second input information, and during the change of described second input information triggering system state, determine that described first input information and described second input information meet and preset incidence relation.
In such scheme, described in the first input information of the first tested object detected after, described method also comprises: based on described first input information acquisition first status information, send described first status information to described first tested object;
Accordingly, described in the second input information of the second tested object detected after, described method also comprises: based on described second input information acquisition second status information, send described second status information to described second tested object.
In such scheme, determine that described first input information and described second input information meet and preset incidence relation, comprising:
Judge whether described first status information and described second status information have the first incidence relation;
When judged result is described first status information and described second status information has the first incidence relation, determines that described first input information and described second input information meet and preset incidence relation.
In such scheme, describedly judge whether described first status information and described second status information have the first incidence relation, comprising:
Judge whether described second status information changes relative to described first status information; Judge that described first status information and described second status information have the first incidence relation when judged result is that described second status information changes relative to described first status information.
The embodiment of the present invention additionally provides a kind of information handling system, and described system comprises: communication unit, judging unit and performance element; Wherein,
Described communication unit, for detecting the first input information of the first tested object by the first port; Also for inputting information by the second Port detecting to second of the second tested object;
Described judging unit, during for determining that described first input information and described second input information meet default incidence relation, generates the first instruction;
Described performance element, the first instruction for generating based on described judging unit controls the first port transmission harmony messages of the second port to described first tested object of described second tested object, performs input to make described first tested object based on described harmony messages.
In such scheme, described judging unit, uncorrelated with described second input information for judging described first input information, and during the change of described second input information triggering system state, determine that described first input information and described second input information meet and preset incidence relation.
In such scheme, described communication unit, also for based on described first input information acquisition first status information, sends described first status information to described first tested object; Also for based on described second input information acquisition second status information, send described second status information to described second tested object.
In such scheme, described judging unit, for judging whether described first status information and described second status information have the first incidence relation; When judged result is described first status information and described second status information has the first incidence relation, determines that described first input information and described second input information meet and preset incidence relation.
In such scheme, described judging unit, for judging whether described second status information changes relative to described first status information; Judge that described first status information and described second status information have the first incidence relation when judged result is that described second status information changes relative to described first status information.
The information processing method that the embodiment of the present invention provides and system, detect the first input information of the first tested object by the first port; By the second input information of the second Port detecting to the second tested object; When determining that described first input information and described second input information meet default incidence relation, generate the first instruction; Control the first port transmission harmony messages of the second port to described first tested object of described second tested object based on described first instruction, perform input to make described first tested object based on described harmony messages.So, adopt the technical scheme of the embodiment of the present invention, when described first input information and described second input information meet default incidence relation, second port corresponding by the second tested object sends harmony messages to the first port that the first tested object is corresponding, to make first equipment at described first tested object place after receiving described harmony messages, further action input can be performed based on described harmony messages, thus avoid the first tested object and cannot know the change of system state thus not know the problem of action input that this carries out next step, the test assignment achieved synchronous.
Accompanying drawing explanation
Fig. 1 is the application architecture schematic diagram of the information processing method of the embodiment of the present invention;
Fig. 2 is the schematic flow sheet of the embodiment of the present invention one information processing method;
Fig. 3 is the composition structural representation of the information handling system of the embodiment of the present invention two;
Fig. 4 is the application scenarios schematic diagram of the information handling system of the embodiment of the present invention.
Embodiment
Below in conjunction with drawings and the specific embodiments, the present invention is further detailed explanation.
Fig. 1 is the application architecture schematic diagram of the information processing method of the embodiment of the present invention; Information processing method described in the embodiment of the present invention can be applicable in the application architecture shown in Fig. 1.The information processing method of the embodiment of the present invention is applied to test assignment mutual between multiple terminals, or test assignment mutual between multiport, described test assignment is specifically as follows the test assignment for application-specific, described application-specific needs at least two terminals to carry out alternately, such as: Online class application (needing the first terminal as teacher side and the second terminal as student side), or game application (needing as resisting the first terminal of both sides and second terminal) etc.With reference to shown in Fig. 1, in a test system, comprise n port (n be greater than 1 positive integer), such as port one, port 2 ... port n; Described test macro detects the input and output of a described n port.Each port needles to a tested object, i.e. the corresponding tested object 1 of port one, the corresponding tested object 2 of port 2 ... the corresponding tested object n of port n.Namely test macro detects the input and output of described tested object 1 by port one by communication channel, test macro detects the input and output of described tested object 2 by port 2 by communication channel, and test macro detects the input and output of described tested object n by port n by communication channel.
Wherein, described test macro can be applicable in testing apparatus or server apparatus.
The example of above-mentioned Fig. 1 just realizes an application architecture example of the embodiment of the present invention, and the embodiment of the present invention is not limited to the application structure described in above-mentioned Fig. 1, based on this application architecture, proposes each embodiment of the present invention.
Embodiment one
Embodiments provide a kind of information processing method.Fig. 2 is the schematic flow sheet of the embodiment of the present invention one information processing method; As shown in Figure 2, described information processing method comprises:
Step 201: the first input information the first tested object being detected by the first port, and by the second input information of the second Port detecting to the second tested object.
In the present embodiment, described first tested object and described second tested object can be applied in the first equipment and the second equipment respectively.Concrete, when first user performs an input action by described first equipment to described first tested object, described first equipment Inspection to the first input information corresponding to described input action, in the testing apparatus that described first input information is sent to test macro place by communication channel or server apparatus.Now, the testing apparatus at described test macro place or server apparatus detect the first input information of port one by communication channel.Accordingly, when the second user performs an input action by described second equipment to described second tested object, described second equipment Inspection to the second input information corresponding to described input action, in the testing apparatus that described second input information is sent to test macro place by communication channel or server apparatus.Now, the testing apparatus at described test macro place or server apparatus detect the second input information of port 2 by communication channel.Wherein, described first tested object and described second tested object are in same test assignment, described test assignment is specifically as follows the test assignment for application-specific, described application-specific needs at least two terminals to carry out alternately, such as: Online class application (needing the first terminal as teacher side and the second terminal as student side), or game application (needing as resisting the first terminal of both sides and second terminal) etc.
Step 202: when determining that described first input information and described second input information meet default incidence relation, generate the first instruction.
In the present embodiment, determine that described first input information and described second input information meet and preset incidence relation, comprising:
Judge that described first input information is uncorrelated with described second input information, and during the change of described second input information triggering system state, determine that described first input information and described second input information meet and preset incidence relation.
Here, the described first input information of described judgement is uncorrelated with described second input information, specifically comprise: detect that the port of described first input information is different with the port of described second input information being detected, then judge that described first input information is uncorrelated with described second input information.For the application architecture shown in Fig. 1, suppose that described first input information is that tested object 1 sends, described second input information is that tested object 2 sends; Accordingly, test macro detects the first input information by port one, the second input information detected by port 2.When described test macro is when described second input information being detected, judge the upper input information (i.e. the first input information) detected, for the input of port one, different from port 2, and described port 2 does not detect output information yet, then described test macro judges that described first input information is uncorrelated with described second input information, and namely the input action of described tested object 1 does not produce any impact to described tested object 2.
Further, at least two states are previously provided with in described test macro, the input information detected can state in change system, or has no effect to the state in system, and in system, the change of state all has impact to described first tested object and described second tested object.Then in the present embodiment, when the change of the acquisition triggering system state of described second input information, determine that described first input information and described second input information meet and preset incidence relation.
Step 203: the first port transmission harmony messages of the second port to described first tested object controlling described second tested object based on described first instruction, performs input to make described first tested object based on described harmony messages.
Here, because described first tested object and described second tested object all carry out the I/O of information by respective port, when the second input information triggering system state of described second port changes, described first tested object is also ignorant, also cannot perform next step required movement input.Based on this, in the present embodiment, described test macro controls described second port and sends a harmony messages to described first port, namely a harmony messages is sent to described first tested object, to make first equipment at described first tested object place after receiving described harmony messages, further action input can be performed based on described harmony messages, thus avoid the first tested object and cannot know the change of system state thus not know the problem of action input that this carries out next step, thus the test assignment realized is synchronous.
As a kind of embodiment, described in the first input information of the first tested object detected after, described method also comprises: based on described first input information acquisition first status information, send described first status information to described first tested object;
Accordingly, described in the second input information of the second tested object detected after, described method also comprises: based on described second input information acquisition second status information, send described second status information to described second tested object.
Further, determine that described first input information and described second input information meet and preset incidence relation, comprising:
Judge whether described first status information and described second status information have the first incidence relation;
When judged result is described first status information and described second status information has the first incidence relation, determines that described first input information and described second input information meet and preset incidence relation.
Wherein, describedly judge whether described first status information and described second status information have the first incidence relation, comprising:
Judge whether described second status information changes relative to described first status information; Judge that described first status information and described second status information have the first incidence relation when judged result is that described second status information changes relative to described first status information.
Concrete, in present embodiment, configure finite state machine (FSM, FiniteStateMachine) in described test macro, described FSM comprises the status attribute change of the interface of the n shown in Fig. 1.Wherein, described FSM is defined as M=(S, I, O, δ, λ, S0), wherein,
S characterizes limited the state set of M;
S 0characterize the original state of M, then S 0∈ S;
I characterizes the input of port, then I=I 1∪ I 2∪ ... ∪ I n, I kcharacterize the input of port k, and i ≠ j (i, j, k ∈ [1, n]); represent empty set;
O characterizes the output of port, then O=(O 1∪ { ε }) × (O 2∪ { ε }) × ... × (O n∪ { ε }), O kcharacterize the output of port k, and i ≠ j (i, j, k ∈ [1, n]), ε represents no-output; represent empty set;
δ characterizes state transition attribute, corresponding to S × ItoS, i.e., δ: S × I → S; Wherein, S × I characterization system obtains at state S the behavior inputting I; δ represents the state transition after obtaining input I;
λ characterizes output, corresponding to S × ItoO, i.e., λ: S × I → O; Wherein, S × I characterization system obtains at state S the behavior inputting I; λ represents the external output that system obtains after state S obtains inputting I.
For the test assignment that the test assignment in test macro is applied for Online class, described test assignment comprises two kinds of test character object: the character object as teacher and the character object as student.Described test assignment comprises: three kinds of test modes such as non-initial state, in class state and done state; Wherein, the character object as teacher plays conclusive effect to above-mentioned three kinds of test modes, and that is, the state of input operation to test assignment of the terminal that the role state as teacher is corresponding has key effect.Based on this, suppose that the character object as teacher corresponds to the first test terminal, when character object as student corresponds to the second test terminal, when test macro receives the I1 input behavior of the first test terminal, system state is made to migrate in class state by non-initial state based on I1 input behavior, also can be understood as, moved to state S2 from state S1, then δ represents that obtaining the state transition after inputting I1 has moved to state S2 by S1.
Accordingly, when the state transition of described test macro has moved to state S2 by S1, namely current be in class state time, if when the I2 input behavior of the second test terminal being detected, namely obtain S2 × I2 characterization system and obtain inputting the behavior of I2 at state S2; Then when described state S2 (namely in class state), based on described I2 input behavior, the described second corresponding video flowing in test terminal should be exported to, then λ represents the external output (λ represents the external output that system obtains after state S2 obtains inputting I2 in this signal) that system obtains after state S obtains inputting I, can be understood as, current λ represent to obtain input I2 when state S2 after should export corresponding video stream data.
Whether present embodiment meets default incidence relation based on above-mentioned FSM status attribute to described first input information and described second input information judges, when namely carrying out test assignment based on the application architecture shown in Fig. 1, port one, port 2 ... the input and output of port n change the status attribute information of described FSM.Concrete, suppose that I/O (I/O) sequence of FSM is x 1/ y 1, x 2/ y 2x k/ y k, x i∈ I, y i∈ O, i ∈ [1, k], k is less than or equal to n.Wherein, described x 1/ y 1, x 2/ y 2x k/ y krepresent the I/O action that in described application architecture, each port obtains by execution sequence (can be understood as time sequencing); Still for the test assignment of Online class, if at a time, the first test terminal as teacher's character object inputs an action, and make system state be in class state, then described I/O is labeled as x 1/ y 1; At subsequent time, if some the second test terminals as students' role object input an action, want to ask video flowing, then the output action of described input action and corresponding video flowing is labeled as x by system 2/ y 2.
If an action x i/ y iand a upper action x i-1/ y i-1, exist x i-1∈ I p, wherein P is port; Then show a described upper action x i-1/ y i-1with described action x i/ y iuncorrelated, each other without impact; If at described action x i/ y iunder, the state change of system.If there is action x i/ y iand action x i+1/ y i+1(i ∈ [1, k-1]), has x i+1∈ I p, y i| during p=ε, then at described action x i/ y iand described action x i+1/ y i+1between insert a harmony messages, by described action x i/ y ithe port at place is sent to port p, performs input action x after receiving described harmony messages to make tested object corresponding to port p i+1.
Adopt the technical scheme of the embodiment of the present invention, when described first input information and described second input information meet default incidence relation, second port corresponding by the second tested object sends harmony messages to the first port that the first tested object is corresponding, to make first equipment at described first tested object place after receiving described harmony messages, further action input can be performed based on described harmony messages, thus avoid the first tested object and cannot know the change of system state thus not know the problem of action input that this carries out next step, the test assignment achieved synchronous.
Embodiment two
The embodiment of the present invention additionally provides a kind of terminal.Fig. 3 is the composition structural representation of the information handling system of the embodiment of the present invention two; As shown in Figure 3, described system comprises: communication unit 31, judging unit 32 and performance element 33; Wherein,
Described communication unit 31, for detecting the first input information of the first tested object by the first port; Also for inputting information by the second Port detecting to second of the second tested object;
Described judging unit 32, during for determining that described first input information and described second input information meet default incidence relation, generates the first instruction;
Described performance element 33, the first instruction for generating based on described judging unit 32 controls the first port transmission harmony messages of the second port to described first tested object of described second tested object, performs input to make described first tested object based on described harmony messages.
In the present embodiment, described first tested object and described second tested object can be applied in the first equipment and the second equipment respectively.Concrete, when first user performs an input action by described first equipment to described first tested object, described first equipment Inspection to the first input information corresponding to described input action, in the testing apparatus that described first input information is sent to test macro place by communication channel or server apparatus.Now, the testing apparatus at described test macro place or server apparatus detect the first input information of port one by communication channel.Accordingly, when the second user performs an input action by described second equipment to described second tested object, described second equipment Inspection to the second input information corresponding to described input action, in the testing apparatus that described second input information is sent to test macro place by communication channel or server apparatus.Now, the testing apparatus at described test macro place or server apparatus detect the second input information of port 2 by communication channel.Wherein, described first tested object and described second tested object are in same test assignment, described test assignment is specifically as follows the test assignment for application-specific, described application-specific needs at least two terminals to carry out alternately, such as: Online class application (needing the first terminal as teacher side and the second terminal as student side), or game application (needing as resisting the first terminal of both sides and second terminal) etc.
As a kind of embodiment, described judging unit 32, uncorrelated with described second input information for judging described first input information, and during the change of described second input information triggering system state, determine that described first input information and described second input information meet and preset incidence relation.
Here, described judging unit 32 judges that described first input information is uncorrelated with described second input information, specifically comprise: detect that the port of described first input information is different with the port of described second input information being detected, then judge that described first input information is uncorrelated with described second input information.For the application architecture shown in Fig. 1, suppose that described first input information is that tested object 1 sends, described second input information is that tested object 2 sends; Accordingly, test macro detects the first input information by port one, the second input information detected by port 2.When described test macro is when described second input information being detected, judge the upper input information (i.e. the first input information) detected, for the input of port one, different from port 2, and described port 2 does not detect output information yet, then described test macro judges that described first input information is uncorrelated with described second input information, and namely the input action of described tested object 1 does not produce any impact to described tested object 2.
Further, at least two states are previously provided with in described test macro, the input information detected can state in change system, or has no effect to the state in system, and in system, the change of state all has impact to described first tested object and described second tested object.Then in the present embodiment, when the change of the acquisition triggering system state of described second input information, determine that described first input information and described second input information meet and preset incidence relation.
In the present embodiment, because described first tested object and described second tested object all carry out the I/O of information by respective port, when the second input information triggering system state of described second port changes, described first tested object is also ignorant, also cannot perform next step required movement input.Based on this, in the present embodiment, described performance element 33 controls described second port and sends a harmony messages to described first port, namely a harmony messages is sent to described first tested object, to make first equipment at described first tested object place after receiving described harmony messages, further action input can be performed based on described harmony messages, thus avoid the first tested object and cannot know the change of system state thus not know the problem of action input that this carries out next step, thus the test assignment realized is synchronous.
As a kind of embodiment, described communication unit 31, also for based on described first input information acquisition first status information, sends described first status information to described first tested object; Also for based on described second input information acquisition second status information, send described second status information to described second tested object.
Further, described judging unit 32, for judging whether described first status information and described second status information have the first incidence relation; When judged result is described first status information and described second status information has the first incidence relation, determines that described first input information and described second input information meet and preset incidence relation.
Concrete, described judging unit 32, for judging whether described second status information changes relative to described first status information; Judge that described first status information and described second status information have the first incidence relation when judged result is that described second status information changes relative to described first status information.
Concrete, in present embodiment, configure finite state machine (FSM) in described test macro, described FSM comprises the status attribute change of the interface of the n shown in Fig. 1.Wherein, described FSM is defined as M=(S, I, O, δ, λ, S0), wherein,
S characterizes limited the state set of M;
S 0characterize the original state of M, then S 0∈ S;
I characterizes the input of port, then I=I 1∪ I 2∪ ... ∪ I n, I kcharacterize the input of port k, and i ≠ j (i, j, k ∈ [1, n]); represent empty set;
O characterizes the output of port, then O=(O 1∪ { ε }) × (O 2∪ { ε }) × ... × (O n∪ { ε }), O kcharacterize the output of port k, and i ≠ j (i, j, k ∈ [1, n]), ε represents no-output; represent empty set;
δ characterizes state transition attribute, corresponding to S × ItoS, i.e., δ: S × I → S; Wherein, S × I characterization system obtains at state S the behavior inputting I; δ represents the state transition after obtaining input I;
λ characterizes output, corresponding to S × ItoO, i.e., λ: S × I → O; Wherein, S × I characterization system obtains at state S the behavior inputting I; λ represents the external output that system obtains after state S obtains inputting I.
For the test assignment that the test assignment in test macro is applied for Online class, described test assignment comprises two kinds of test character object: the character object as teacher and the character object as student.Described test assignment comprises: three kinds of test modes such as non-initial state, in class state and done state; Wherein, the character object as teacher plays conclusive effect to above-mentioned three kinds of test modes, and that is, the state of input operation to test assignment of the terminal that the role state as teacher is corresponding has key effect.Based on this, suppose that the character object as teacher corresponds to the first test terminal, when character object as student corresponds to the second test terminal, when test macro receives the I1 input behavior of the first test terminal, system state is made to migrate in class state by non-initial state based on I1 input behavior, also can be understood as, moved to state S2 from state S1, then δ represents that obtaining the state transition after inputting I1 has moved to state S2 by S1.
Accordingly, when the state transition of described test macro has moved to state S2 by S1, namely current be in class state time, if when the I2 input behavior of the second test terminal being detected, namely obtain S2 × I2 characterization system and obtain inputting the behavior of I2 at state S2; Then when described state S2 (namely in class state), based on described I2 input behavior, the described second corresponding video flowing in test terminal should be exported to, then λ represents the external output (λ represents the external output that system obtains after state S2 obtains inputting I2 in this signal) that system obtains after state S obtains inputting I, can be understood as, current λ represent to obtain input I2 when state S2 after should export corresponding video stream data.
Whether present embodiment meets default incidence relation based on above-mentioned FSM status attribute to described first input information and described second input information judges, when namely carrying out test assignment based on the application architecture shown in Fig. 1, port one, port 2 ... the input and output of port n change the status attribute information of described FSM.Concrete, suppose that I/O (I/O) sequence of FSM is x 1/ y 1, x 2/ y 2x k/ y k, x i∈ I, y i∈ O, i ∈ [1, k], k is less than or equal to n.Wherein, described x 1/ y 1, x 2/ y 2x k/ y krepresent the I/O action that in described application architecture, each port obtains by execution sequence (can be understood as time sequencing); Still for the test assignment of Online class, if at a time, the first test terminal as teacher's character object inputs an action, and make system state be in class state, then described I/O is labeled as x 1/ y 1; At subsequent time, if some the second test terminals as students' role object input an action, want to ask video flowing, then the output action of described input action and corresponding video flowing is labeled as x by system 2/ y 2.
If an action x i/ y iand a upper action x i-1/ y i-1, exist x i-1∈ I p, wherein P is port; Then show a described upper action x i-1/ y i-1with described action x i/ y iuncorrelated, each other without impact; If at described action x i/ y iunder, the state change of system.If there is action x i/ y iand action x i+1/ y i+1(i ∈ [1, k-1]), has x i+1∈ I p, y i| during p=ε, then at described action x i/ y iand described action x i+1/ y i+1between insert a harmony messages, by described action x i/ y ithe port at place is sent to port p, performs input action x after receiving described harmony messages to make tested object corresponding to port p i+1.
Those skilled in the art are to be understood that, the function of each processing unit in the information handling system of the embodiment of the present invention, can refer to the associated description of aforementioned information disposal route and understand, each processing unit in the information handling system of the embodiment of the present invention, realizing by realizing the mimic channel of the function described in the embodiment of the present invention, also can be realized by the operation of the software of the function of execution described in the embodiment of the present invention on intelligent terminal.
In embodiments of the present invention, judging unit 32 in described information handling system and performance element 33, in actual applications all can by the central processing unit (CPU in described system, CentralProcessingUnit), digital signal processor (DSP, DigitalSignalProcessor) or programmable gate array (FPGA, Field-ProgrammableGateArray) realize; Communication unit 31 in described information handling system, in actual applications, can be realized by the dual-mode antenna in described system.
Fig. 4 is the application scenarios schematic diagram of the information handling system of the embodiment of the present invention; As shown in Figure 4, server (or test terminal) 401, at least two tested terminals are comprised; Connected by network (as cable network or wireless network) between described server (or test terminal) 401 and described at least two tested terminals, described at least two tested terminals the first tested terminal 402 and the second tested terminal 403 as shown in Figure 4, certainly, above-mentioned two tested terminals are not limited to.The information handling system of the embodiment of the present invention is applied in described server (or test terminal) 401.Be described in detail with concrete application scenarios composition graphs 4 pairs of embodiment of the present invention below.
Setting test assignment is the test assignment of Online class application, and described test assignment comprises the first tested object (character object as teacher) and the second tested object (character object as student); Accordingly, described first tested terminal 402 terminal belonging to described first tested object, described second tested terminal 403 terminal belonging to described second tested object.Described test assignment also comprises three kinds of states: non-initial state, in class state and done state.Then when described first tested object (character object as teacher) does not enter Online class (namely test macro does not detect the first input information of the input action characterizing described first tested object), described test assignment is in non-initial state, in described non-initial state, no matter now any second tested object (character object as student) enters Online class, namely when test macro detects the second input information of the input action characterizing described second tested object, described second tested object (character object as student) still can not get the video flowing returned, and test assignment is still in non-initial state, when described first tested object (character object as teacher) enters Online class (namely test macro detects the first input information of the input action characterizing described first tested object), a harmony messages is got at the second tested object (character object as student) being introduced into Online class, namely described test macro controls port belonging to described first tested object (character object as teacher) and sends described harmony messages to described second tested object (character object as student) described port, to make described second tested object (character object as student) after receiving described harmony messages, further by action input request video flowing, thus enter the test assignment being in class state.Accordingly, after described first tested object (character object as teacher) enters Online class (namely test macro detects the first input information of the input action characterizing described first tested object), described test assignment switches in class state; When described in being in, in class state-detection inputs information to second of the input action characterizing described second tested object (character object as student), described second tested object (character object as student) directly enters Online class, thus can obtain video flowing.
In several embodiments that the application provides, should be understood that disclosed equipment and method can realize by another way.Apparatus embodiments described above is only schematic, such as, the division of described unit, be only a kind of logic function to divide, actual can have other dividing mode when realizing, and as: multiple unit or assembly can be in conjunction with, maybe can be integrated into another system, or some features can be ignored, or do not perform.In addition, the coupling each other of shown or discussed each ingredient or direct-coupling or communication connection can be by some interfaces, and the indirect coupling of equipment or unit or communication connection can be electrical, machinery or other form.
The above-mentioned unit illustrated as separating component or can may not be and physically separates, and the parts as unit display can be or may not be physical location, namely can be positioned at a place, also can be distributed in multiple network element; Part or all of unit wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.
In addition, each functional unit in various embodiments of the present invention can all be integrated in a processing unit, also can be each unit individually as a unit, also can two or more unit in a unit integrated; Above-mentioned integrated unit both can adopt the form of hardware to realize, and the form that hardware also can be adopted to add SFU software functional unit realizes.
One of ordinary skill in the art will appreciate that: all or part of step realizing said method embodiment can have been come by the hardware that programmed instruction is relevant, aforesaid program can be stored in a computer read/write memory medium, this program, when performing, performs the step comprising said method embodiment; And aforesaid storage medium comprises: movable storage device, ROM (read-only memory) (ROM, Read-OnlyMemory), random access memory (RAM, RandomAccessMemory), magnetic disc or CD etc. various can be program code stored medium.
Or, if the above-mentioned integrated unit of the present invention using the form of software function module realize and as independently production marketing or use time, also can be stored in a computer read/write memory medium.Based on such understanding, the technical scheme of the embodiment of the present invention can embody with the form of software product the part that prior art contributes in essence in other words, this computer software product is stored in a storage medium, comprises some instructions and performs all or part of of method described in each embodiment of the present invention in order to make a computer equipment (can be personal computer, server or the network equipment etc.).And aforesaid storage medium comprises: movable storage device, ROM, RAM, magnetic disc or CD etc. various can be program code stored medium.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; change can be expected easily or replace, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection domain of described claim.

Claims (10)

1. an information processing method, is characterized in that, described method comprises:
The first input information of the first tested object is detected by the first port;
By the second input information of the second Port detecting to the second tested object;
When determining that described first input information and described second input information meet default incidence relation, generate the first instruction;
Control the first port transmission harmony messages of the second port to described first tested object of described second tested object based on described first instruction, perform input to make described first tested object based on described harmony messages.
2. method according to claim 1, is characterized in that, determines that described first input information and described second input information meet and presets incidence relation, comprising:
Judge that described first input information is uncorrelated with described second input information, and during the change of described second input information triggering system state, determine that described first input information and described second input information meet and preset incidence relation.
3. method according to claim 1, it is characterized in that, described the first input information of the first tested object detected after, described method also comprises: based on described first input information acquisition first status information, send described first status information to described first tested object;
Accordingly, described in the second input information of the second tested object detected after, described method also comprises: based on described second input information acquisition second status information, send described second status information to described second tested object.
4. method according to claim 3, is characterized in that, determines that described first input information and described second input information meet and presets incidence relation, comprising:
Judge whether described first status information and described second status information have the first incidence relation;
When judged result is described first status information and described second status information has the first incidence relation, determines that described first input information and described second input information meet and preset incidence relation.
5. method according to claim 4, is characterized in that, describedly judges whether described first status information and described second status information have the first incidence relation, comprising:
Judge whether described second status information changes relative to described first status information; Judge that described first status information and described second status information have the first incidence relation when judged result is that described second status information changes relative to described first status information.
6. an information handling system, is characterized in that, described system comprises: communication unit, judging unit and performance element; Wherein,
Described communication unit, for detecting the first input information of the first tested object by the first port; Also for inputting information by the second Port detecting to second of the second tested object;
Described judging unit, during for determining that described first input information and described second input information meet default incidence relation, generates the first instruction;
Described performance element, the first instruction for generating based on described judging unit controls the first port transmission harmony messages of the second port to described first tested object of described second tested object, performs input to make described first tested object based on described harmony messages.
7. terminal according to claim 6, it is characterized in that, described judging unit, uncorrelated with described second input information for judging described first input information, and during the change of described second input information triggering system state, determine that described first input information and described second input information meet and preset incidence relation.
8. terminal according to claim 6, is characterized in that, described communication unit, also for based on described first input information acquisition first status information, sends described first status information to described first tested object; Also for based on described second input information acquisition second status information, send described second status information to described second tested object.
9. terminal according to claim 8, is characterized in that, described judging unit, for judging whether described first status information and described second status information have the first incidence relation; When judged result is described first status information and described second status information has the first incidence relation, determines that described first input information and described second input information meet and preset incidence relation.
10. terminal according to claim 9, is characterized in that, described judging unit, for judging whether described second status information changes relative to described first status information; Judge that described first status information and described second status information have the first incidence relation when judged result is that described second status information changes relative to described first status information.
CN201510811854.2A 2015-11-20 2015-11-20 Information processing method and system Active CN105279031B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510811854.2A CN105279031B (en) 2015-11-20 2015-11-20 Information processing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510811854.2A CN105279031B (en) 2015-11-20 2015-11-20 Information processing method and system

Publications (2)

Publication Number Publication Date
CN105279031A true CN105279031A (en) 2016-01-27
CN105279031B CN105279031B (en) 2020-06-26

Family

ID=55148081

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510811854.2A Active CN105279031B (en) 2015-11-20 2015-11-20 Information processing method and system

Country Status (1)

Country Link
CN (1) CN105279031B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106302011A (en) * 2016-08-11 2017-01-04 优酷信息技术(杭州)有限公司 Method of testings based on multiterminal and terminal
CN106713419A (en) * 2016-11-29 2017-05-24 福建天泉教育科技有限公司 Online classroom teaching synchronization method and system based on state machines

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040076941A1 (en) * 2002-10-16 2004-04-22 Kaplan, Inc. Online curriculum handling system including content assembly from structured storage of reusable components
CN1741482A (en) * 2005-09-27 2006-03-01 清华大学 Protocol interoperation characteristic test generating method based on communication multi-port finite state machine
CN1993161A (en) * 2004-07-28 2007-07-04 皇家飞利浦电子股份有限公司 A method for contesting at least two interactive systems against each other and an interactive system competition arrangement
CN101316201A (en) * 2008-07-18 2008-12-03 中国工商银行股份有限公司 Multi-terminal mode script device and data processing method and automatization test system
KR20090110418A (en) * 2008-04-18 2009-10-22 주식회사 온비즈시스템 Online studying system which uses question drawing up and the method
CN101751313A (en) * 2008-10-17 2010-06-23 环旭电子股份有限公司 Measuring device of input/output end port and measuring method thereof
CN101968932A (en) * 2010-09-19 2011-02-09 深圳市摩拓触摸科技有限公司 Intelligent interactive multimedia teaching system and implementation method thereof
CN102035857A (en) * 2010-12-31 2011-04-27 北京像素软件科技股份有限公司 Method for simulating group self-organization behaviors of multiple game characters
US8799867B1 (en) * 2010-06-08 2014-08-05 Cadence Design Systems, Inc. Methods, systems, and articles of manufacture for synchronizing software verification flows
US20140282412A1 (en) * 2012-03-20 2014-09-18 Massively Parallel Technologies, Inc. System And Method For Automatic Generation Of Software Test

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040076941A1 (en) * 2002-10-16 2004-04-22 Kaplan, Inc. Online curriculum handling system including content assembly from structured storage of reusable components
CN1993161A (en) * 2004-07-28 2007-07-04 皇家飞利浦电子股份有限公司 A method for contesting at least two interactive systems against each other and an interactive system competition arrangement
CN1741482A (en) * 2005-09-27 2006-03-01 清华大学 Protocol interoperation characteristic test generating method based on communication multi-port finite state machine
KR20090110418A (en) * 2008-04-18 2009-10-22 주식회사 온비즈시스템 Online studying system which uses question drawing up and the method
CN101316201A (en) * 2008-07-18 2008-12-03 中国工商银行股份有限公司 Multi-terminal mode script device and data processing method and automatization test system
CN101751313A (en) * 2008-10-17 2010-06-23 环旭电子股份有限公司 Measuring device of input/output end port and measuring method thereof
US8799867B1 (en) * 2010-06-08 2014-08-05 Cadence Design Systems, Inc. Methods, systems, and articles of manufacture for synchronizing software verification flows
CN101968932A (en) * 2010-09-19 2011-02-09 深圳市摩拓触摸科技有限公司 Intelligent interactive multimedia teaching system and implementation method thereof
CN102035857A (en) * 2010-12-31 2011-04-27 北京像素软件科技股份有限公司 Method for simulating group self-organization behaviors of multiple game characters
US20140282412A1 (en) * 2012-03-20 2014-09-18 Massively Parallel Technologies, Inc. System And Method For Automatic Generation Of Software Test

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
曾垂鑫: "《基于多终端直播互动的移动学习平台的设计实现与性能优化》", 《中国优秀硕士学位论文全文数据库信息科技辑》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106302011A (en) * 2016-08-11 2017-01-04 优酷信息技术(杭州)有限公司 Method of testings based on multiterminal and terminal
CN106713419A (en) * 2016-11-29 2017-05-24 福建天泉教育科技有限公司 Online classroom teaching synchronization method and system based on state machines
CN106713419B (en) * 2016-11-29 2019-07-16 福建天泉教育科技有限公司 A kind of online class teaching synchronous method and system based on state machine

Also Published As

Publication number Publication date
CN105279031B (en) 2020-06-26

Similar Documents

Publication Publication Date Title
CN105911451B (en) Chip testing method and device
CN104796240A (en) Fuzz testing system for stateful network protocol
CN102224428A (en) Testing method and program product used therein
CN105740122A (en) Method and system for monitoring mobile phone memory leak
TWI648962B (en) Inspection device and method for multiple powered devices in a power over ethernet system
CN112800637A (en) Intelligent substation simulation test device and method
CN105279031A (en) Information processing method and system
CN113918219A (en) Chip internal signal output control method, chip and electronic equipment
CN111025046B (en) Test system, method for controlling matrix switch and storage medium
CN106405277B (en) Testing device and method for main processing unit in nuclear power station protection system
CN102298112A (en) Method and system for testing programmable logic device
CN108896901B (en) DCU circuit self-checking system and detection method
CN102447591B (en) Test the system and method for multiple serial device
CN105425095B (en) A kind of wiring test method and device
CN104850522B (en) A kind of signal output method and device
CN104868898A (en) Electronic equipment and information processing method
CN104866401B (en) Signal acquiring method and device in piece
CN109348286A (en) Crash detection method, device, play system and computer readable storage medium
US20240061556A1 (en) Discovering and testing a topology of a peripheral component interconnect board
CN113866674B (en) Method and device for testing multi-core cable, electronic equipment and storage medium
CN102607870B (en) Semiconductor manufacturing equipment-oriented logic coupling test method
CN108548985A (en) Safety output circuit and self checking method
CN114301807B (en) Double-system synchronous network cable fault testing device and method
CN115470167A (en) Expansion device, method, apparatus and storage medium
CN111835598B (en) Test method and system compatible with polarity 485 networking simulation

Legal Events

Date Code Title Description
C06 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