CN105094526A - Method and device for intelligently adjusting windows of client-side browser - Google Patents

Method and device for intelligently adjusting windows of client-side browser Download PDF

Info

Publication number
CN105094526A
CN105094526A CN201510364224.5A CN201510364224A CN105094526A CN 105094526 A CN105094526 A CN 105094526A CN 201510364224 A CN201510364224 A CN 201510364224A CN 105094526 A CN105094526 A CN 105094526A
Authority
CN
China
Prior art keywords
client
shake
parameter
adjustment
mobile terminal
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
CN201510364224.5A
Other languages
Chinese (zh)
Other versions
CN105094526B (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.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Anyi Hengtong Beijing Technology 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 Anyi Hengtong Beijing Technology Co Ltd filed Critical Anyi Hengtong Beijing Technology Co Ltd
Priority to CN201510364224.5A priority Critical patent/CN105094526B/en
Priority to PCT/CN2015/090918 priority patent/WO2016206213A1/en
Publication of CN105094526A publication Critical patent/CN105094526A/en
Application granted granted Critical
Publication of CN105094526B publication Critical patent/CN105094526B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/40Network security protocols
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)

Abstract

The application discloses a method and device for intelligently adjusting windows of a client-side browser. One embodiment of the method comprises establishing communication connection between a client and a mobile terminal, receiving a jitter data packet which is sent by the mobile terminal through a jitter-proof monitoring module and is associated with the jitter condition of the client, calculating jitter adjusting parameters according to the jitter data packet, and adjusting presentation of windows of a client-side browser based on the jitter adjusting parameters. A user' mobile terminal can be used for detecting jitter condition of a client with no change on a hardware configuration of the client and no increase in hardware, and then the mobile terminal adjusts positions of the windows of a client-side browser, so as to eliminate visual sense jitter caused by jitter of the client when a user uses the browser.

Description

The method and apparatus of adjustment client browser window
Technical field
The application relates to internet arena, is specifically related to terminal applies field, particularly relates to the method and apparatus of adjustment client browser window.
Background technology
User uses in the process of client (such as notebook computer) browser, often there will be the situation of the screen shake of client.Such as, when user uses client browser in the vehicle travelled, vehicle jolts in the process of moving or carries out turning and all can cause the shake of client screen, and the browser window simultaneously in client also can correspondingly be shaken.Thus make user produce visual shake when using client browser, cause ophthalmic uncomfortable, affect the normal use of user.Usually, the client of such as notebook computer is not configured for the sensor measuring displacement.Therefore, when shake occurs client screen, cannot detect the jitter conditions of client screen, and then also cannot according to the jitter conditions of client screen, the position of adjustment client browser window is to eliminate the visual shake of user.
Summary of the invention
This application provides the method and apparatus of adjustment client browser window, for solving the technical matters that above-mentioned background technology part exists.
First aspect, this application provides the method for adjustment client browser window, the method comprises: the communication connection of setting up client and mobile terminal; The shake packet be associated with the jitter conditions of client that mobile terminal receive is sent by stabilization monitoring modular; According to shake packet, calculate shake adjustment parameter; Based on shake adjustment parameter, presenting, in order to eliminate the visual shake of user of adjustment client browser window.
Second aspect, this application provides the method for adjustment client browser window, the method comprises: mobile terminal performs stabilization monitoring modular and detects whether there is shake generation; When detecting that shake occurs, generate the shake packet be associated with client jitter conditions; Packet Generation will be shaken to client browser.
The third aspect, this application provides the device of adjustment client browser window, and this device comprises: connection establishment unit, be configured for set up client and mobile terminal and communication connection; Receiving element, the shake packet be associated with the jitter conditions of client that the stabilization monitoring modular being configured for mobile terminal receive sends; Computing unit, is configured for according to shake packet, calculates shake adjustment parameter; Adjustment unit, is configured for based on shake adjustment parameter, presenting, in order to eliminate the visual shake of user of adjustment client browser window.
Fourth aspect, this application provides the device of adjustment client browser window, and this device comprises: detecting unit, is configured for execution stabilization monitoring modular and detects whether there is shake generation; Generation unit, being configured for when detecting that shake occurs, generating the shake packet be associated with client jitter conditions; Transmitting element, is configured for shake Packet Generation to client.
The method and apparatus of the adjustment client browser window that the application provides, the shake packet be associated with the jitter conditions of client sent by the stabilization monitoring modular of mobile terminal receive; According to shake packet, calculate shake adjustment parameter; Based on shake adjustment parameter, presenting of adjustment client browser window.Thus when namely the hardware structure without the need to changing client does not increase hardware, utilize the mobile terminal of user to detect the jitter conditions of client, then the window's position of client browser is adjusted, to eliminate the user's visual shake in use browser process caused because of the shake of client.
Accompanying drawing explanation
By reading the detailed description done non-limiting example done with reference to the following drawings, the other features, objects and advantages of the application will become more obvious:
Fig. 1 shows the process flow diagram of an embodiment of the method for the adjustment client browser window according to the application;
Fig. 2 shows the particular flow sheet of adjustment client browser window;
Fig. 3 shows the process flow diagram of another embodiment of the method for the adjustment client browser window according to the application;
Fig. 4 shows an exemplary block diagram of shake packet;
Fig. 5 shows the particular flow sheet that mobile terminal generates shake packet;
Fig. 6 shows the structural representation of an embodiment of the device of the adjustment client browser window according to the application;
Fig. 7 shows the structural representation of another embodiment of the device of the adjustment client browser window according to the application.
Embodiment
Below in conjunction with drawings and Examples, the application is described in further detail.Be understandable that, specific embodiment described herein is only for explaining related invention, but not the restriction to this invention.It also should be noted that, for convenience of description, in accompanying drawing, illustrate only the part relevant to Invention.
It should be noted that, when not conflicting, the embodiment in the application and the feature in embodiment can combine mutually.Below with reference to the accompanying drawings and describe the application in detail in conjunction with the embodiments.
In embodiment in this application, client can be PC (PersonalComputer, PC) or display device, mobile terminal can be smart mobile phone, panel computer, MP3 (MovingPictureExpertsGroupAudioLayerIII, dynamic image expert compression standard audio frequency aspect 3), PDA (PersonalDigitalAssistant, personal digital assistant) etc.
Please refer to Fig. 1, it illustrates the flow process 100 of an embodiment of the adjustment client browser window according to the application.The method comprises the following steps:
Step 101, set up client and mobile terminal and communication connection.
In the present embodiment, the communication connection of client and mobile terminal can be set up in advance.Wired connection mode (such as spi bus) or radio connection (such as NFC) can be adopted between client and mobile terminal to establish a communications link.
Step 102, the shake packet be associated with the jitter conditions of client that mobile terminal receive is sent by stabilization monitoring modular.
In the present embodiment, shake packet and can comprise length parameter, width parameter, rotation parameter, tilt parameters.Wherein, length parameter can for characterizing the parameter of object displacement in the horizontal direction, width parameter can for characterizing the parameter of object displacement in the vertical direction, rotation parameter can for characterizing the parameter of the angle that object rotates along Z axis, and tilt parameters can for characterizing the parameter of the angle that object rotates along X-axis.Above-mentioned parameter is vector parameters, can represent by two bit vectors.For length parameter, in the bivector that length parameter is corresponding, comprise the vector on directing object sense of displacement in the horizontal direction (such as left side or right side), and instruction is at the vector of sense of displacement top offset amount.Above-mentioned parameter can be obtained by the stabilization monitoring modular on mobile terminal.
In the present embodiment, the length parameter obtained by the stabilization monitoring modular on mobile terminal, width parameter, rotation parameter, tilt parameters can be associated with the jitter conditions of client, are namely associated with the jitter conditions of client screen.Illustrate the incidence relation of length parameter, width parameter and client jitter conditions below.When user uses client (such as notebook computer) in the vehicle travelled, client usually can be placed on and user's body (is such as placed on the leg of user) is fixed.When vehicle is through irregular section, user's body can be made to be subjected to displacement with vertical direction in the horizontal direction.Now, can be gone out by the displacement sensor on mobile terminal user under dither state user's body in the horizontal direction, the displacement (measuring sense of displacement and displacement) of vertical direction, generate length parameter and width parameter.Because the mobile terminal (mobile terminal that such as user carries with it) of user and client all can when shaking along with user's body move together.Therefore, in these cases, the mobile terminal of user and client and user's body can be the equal of geo-stationary on position relationship, and namely the sense of displacement of client, mobile terminal and user's body and displacement can be similar to identical.Therefore, in these cases, length parameter, width parameter can be used for representing client in the horizontal direction, the sense of displacement of vertical direction and displacement, namely the screen of client in the horizontal direction, the sense of displacement of vertical direction and displacement.
Below illustrate the incidence relation of the jitter conditions of rotation parameter, tilt parameters and client.When vehicle is turned, user's body can be made to tilt in the horizontal direction certain angle, and namely user's body have rotated certain angle along Z axis.When vehicle brakes, user's body can be made to tilt certain angle at fore-and-aft direction, and namely user's body have rotated certain angle along X-axis.In the present embodiment, the angle that the gyro sensor on the mobile terminal of user can be utilized to measure mobile terminal rotate along Z axis and X-axis, then angle mobile terminal rotated along Z axis as rotation parameter, and using mobile terminal in the angle rotated along X-axis as tilt parameters.When vehicle carries out turning or braking, due to the mobile terminal (mobile terminal that such as user carries with it) of user and client (being placed on the notebook computer of user's leg) all can along with user's body together in the horizontal direction or fore-and-aft direction tilt, simultaneously due to the effect of friction force, the health of the mobile terminal of user and client and user can be equivalent to geo-stationary on position relationship, and the angle that namely mobile terminal, client rotate along Z axis or X-axis with user's body can be similar to identical.Therefore, in these cases, rotation parameter, tilt parameters can be used for the angle representing that client rotates along Z axis or X-axis, i.e. the angle that rotates along Z axis or X-axis of the screen of client.
It should be noted that, in the present embodiment, although only with when there is shake, client, mobile terminal, keep relative static conditions to be example with user's body, illustrate obtained by the stabilization monitoring modular of mobile terminal length parameter, width parameter, rotation parameter, tilt parameters and the screen of client the associating of jitter conditions.But when not being limited to generation shake, the corresponding relation of the jitter conditions of length parameter, width parameter, rotation parameter, tilt parameters and client screen.According to the difference of the jitter conditions of client screen, length parameter, width parameter, rotation parameter, tilt parameters can have different corresponding relations from the jitter conditions of client.
, also comprise: the installation kit that mobile terminal receive sends obtains request alternatively in implementation in some of the present embodiment; Obtain request in response to installation kit, the stabilization monitoring modular installation kit be pre-stored in browser installation kit is sent to mobile terminal, to make mobile terminal, stabilization monitoring modular is installed.In the present embodiment, can pre-configured stabilization monitoring modular installation kit in the installation kit of browser on the client.The installation kit that client can send in response to mobile terminal obtains request.Then the stabilization monitoring modular installation kit be arranged in the installation kit of browser is sent to mobile terminal.Thus make mobile terminal stabilization monitoring modular can be installed to detect jitter conditions.
Step 103, according to shake packet, calculates shake adjustment parameter;
In the present embodiment, shake adjustment parameter is used for representing the sense of displacement of client and displacement, i.e. the sense of displacement of client screen and displacement.In acquisition shake packet after length parameter, width parameter and rotation parameter, tilt parameters, based on above-mentioned parameter, shake adjustment parameter can be calculated.
In some of the present embodiment alternatively in implementation, shake adjustment parameter comprises: length adjustment parameter, width adjustment parameter, rotate adjustment parameter, tilt adjustments parameter.Above-mentioned parameter is vector parameters, can represent by two bit vectors.For length adjustment parameter, in the bivector that length adjustment parameter is corresponding, comprise the vector on instruction client screen sense of displacement in the horizontal direction (such as left side or right side), and indicate the vector of correspondingly displacement.In the present embodiment, according to the difference of client jitter conditions, length parameter, width parameter, rotation parameter, tilt parameters and length adjustment parameter, width adjustment parameter, rotate adjust parameter, the corresponding relation of tilt adjustments parameter is also different.During there is shake, client, mobile terminal, with user's body keep the state of geo-stationary to be example, because the sense of displacement of client, mobile terminal and user's body and displacement can be similar to identical, therefore, can directly length parameter, width parameter, rotation parameter, tilt parameters be configured to length adjustment parameter, width adjustment parameter, rotate adjustment parameter, tilt adjustments parameter.
Step 104, based on shake adjustment parameter, presenting of adjustment client browser window.
In the present embodiment, after determining length adjustment parameter, width adjustment parameter respectively, rotating adjustment parameter, tilt adjustments parameter, based on above-mentioned parameter, presenting of client browser window can be adjusted.Such as, can based on shake adjustment parameter, edge and the direction changed in the opposite direction of the position of client screen adjust the position of client browser window.Particularly, can adjust the position of client browser window in the following ways: first based on length adjustment parameter, width adjustment parameter, rotation adjustment parameter, tilt adjustments parameter, determine the adjustment direction that client browser window is corresponding and adjustment amount further.In the present embodiment, the adjustment amount that client browser window is corresponding can adopt following window to shake the definition of length structure body:
StructBrowserWindowAdjustLong
{
floatleftLong;
floattopLong;
floatrightLong;
floatbottomLong;
introtateDegrees;
intskewDegrees;
}
Wherein, leftLong is the length that the left end of client browser window needs to adjust, topLong is the length that browser window rectangle top needs adjustment, rightLong is the length that client browser window right-hand member needs adjustment, bottomLong is the length that client browser window bottom needs adjustment, rotateDegrees is the angle that client browser window needs to rotate (such as rotating in the counterclockwise direction), skewDegrees is that client browser window needs by the angle tilted, namely angle corresponding when two ends, browser window left and right carry out tilting to make the oblique parallelogram of browser window boil down in the horizontal direction.The numerical value of the correspondence for this parameter during rectangle of browser window is 0 degree, and the numerical value that this parameter is corresponding when rectangle is compressed into straight line along X-axis positive dirction is 180 degree.
In the present embodiment, the position of client browser window on client screen can adopt following the window's position structure to define:
StructBrowserWindowRect
{
intleft;
inttop;
intright;
intbottom;
}
Wherein, left represents the coordinate of client browser window left end, and top represents the coordinate of client browser window top, and right represents the coordinate of client browser window right-hand member, and bottom represents the coordinate of client browser window bottom.
In the present embodiment, based on above-mentioned window shake length structure body and the window's position structure, the final position of client browser window can be determined.Thus browser window is adjusted to final position, complete the adjustment to browser window position, to eliminate the user's visual shake when using browser caused because of the shake of client.
In some of the present embodiment alternatively in implementation, according to shake adjustment parameter, adjustment browser window comprises: based on length adjustment parameter and width adjustment parameter, carry out length adjustment and width adjustment to browser window; Based on rotation adjustment parameter, rotation adjustment is carried out to browser window; Based on tilt adjustments parameter, tilt adjustments is carried out to browser window.In the present embodiment, length adjustment, width adjustment, rotation adjustment, tilt adjustments can be carried out to browser window successively.
Alternatively, in the adjustment of browser window, integer can be divided into adjust and precision adjustment.Such as, when adjustment length is the unit length of 72.9, wherein, unit adjustment length is determined according to the width at the interface (screen of such as client) at browser window place, first integer adjustment can be carried out, namely client browser window is carried out to the adjustment of 72 unit lengths, then carry out precision adjustment, namely client browser window is carried out to the adjustment of 0.9 unit length.
Please refer to Fig. 2, it illustrates idiographic flow Figure 200 of adjustment client browser window.As shown in Figure 2, following steps are comprised:
Step 201, receives shake packet;
Step 202, calculates window shake length structure body;
Step 203, judges that the length of browser window (rectangular window) and width are the need of adjustment, if so, perform step 204, if not, performs step 205;
Step 204, adjusts the length of browser window and width;
Step 205, judges that browser window is the need of rotating, and if so, performs step 206, if not, performs step 207;
Step 206, carries out rotation adjustment to browser window;
Step 207, judges that browser window is the need of tilting, and if so, performs step 208, if not, returns step 201;
Step 208, carries out tilt adjustments to browser window, returns step 201.
The method of the adjustment client browser window that the present embodiment provides, the shake packet be associated with the jitter conditions of client sent by the stabilization monitoring modular of mobile terminal receive; According to shake packet, calculate shake adjustment parameter; Based on shake adjustment parameter, presenting of adjustment client browser window.Thus when namely the hardware structure without the need to changing client does not increase hardware, utilize the mobile terminal of user to detect the jitter conditions of client, then the window's position of client browser is adjusted, to eliminate the user's visual shake in use browser process caused because of the shake of client.
Please refer to Fig. 3, it illustrates the process flow diagram 300 of another embodiment of the method for the adjustment client browser window according to the application.The method comprises the following steps:
Step 301, mobile terminal performs stabilization monitoring modular and detects whether there is shake generation.
In the present embodiment, stabilization monitoring modular can being pre-set at mobile terminal, whether having jitter conditions to occur for detecting.By the displacement transducer on detection mobile terminal and gyrostatic output signal, stabilization monitoring modular can judge whether that jitter conditions occurs.Such as, when detecting that the output signal of displacement transducer is greater than predetermined threshold value, or when detecting that gyrostatic output signal is greater than predetermined threshold value, then can judge have jitter conditions to occur.
In some of the present embodiment alternatively in implementation, also comprise: set up the communication connection with client, communication connection comprises bluetooth, WiFi, USB; By communication connection, be pre-stored in the stabilization monitoring modular installation kit browser installation kit from client downloads, to install stabilization monitoring modular.In the present embodiment, can be established a communications link by the connected mode such as bluetooth, WiFi, USB and client in advance, then be pre-stored in the stabilization monitoring modular installation kit the browser installation kit of client from client downloads.Thus make, when user is when utilizing stabilization monitoring modular installation kit to detect the jitter conditions of client, can directly downloads stabilization monitoring modular installation kit from client, thus saving the network traffics of user.
In some of the present embodiment alternatively in implementation, perform stabilization monitoring modular and detect and whether have before jitter conditions occurs, also comprise: the stabilization monitoring modular activating mobile terminal, to start to carry out dynamic monitoring to client browser window.In the present embodiment, after stabilization monitoring modular has been installed, activation manipulation can be carried out to stabilization monitoring modular.Thus performing stabilization monitoring modular, the output signal of displacement transducer and gyro sensor is read in circulation.Stabilization monitoring modular can according to the variable quantity of the output signal of displacement transducer and gyro sensor, and whether monitoring has shake to occur.Such as when variable quantity is greater than predetermined threshold value, then judge have shake to occur.
Step 302, when detecting that shake occurs, generates the shake packet be associated with client jitter conditions.In the present embodiment, stabilization monitoring modular can be configured on mobile terminals in advance.When detecting that shake occurs, sense of displacement and the amount of movement of mobile terminal first can be detected by the sensor of mobile upper configuration.Then sense of displacement and the amount of movement of mobile terminal is obtained by stabilization monitoring modular.Such as, when running of mobile terminal is in android system, the data that the Api read sensor that stabilization monitoring modular can be provided by android system detects, thus the sense of displacement and the amount of movement that obtain mobile terminal.Then based on the sense of displacement of mobile terminal and amount of movement, shake packet can be generated.
In some of the present embodiment alternatively in implementation, shake packet comprises: length parameter, width parameter, rotation parameter, tilt parameters.Alternatively, displacement transducer acquisition length parameter, width parameter that mobile terminal (mobile terminal that such as user carries) configures can be passed through with it.The principle of work of displacement transducer is: choose a reference object in advance, when the terminal at displacement transducer place is relative to reference object displacement, the change of the luminous flux that this displacement can cause, thus make displacement transducer can determine the amount of movement of terminal relative to measuring object according to the change of luminous flux.Based on the principle of work of above displacement transducer, in the present embodiment, when the displacement transducer of the mobile terminal utilizing user obtains length parameter, width parameter, can to be in the user's body of non-dither state for reference object, when there is shake, by the length parameter of the displacement sensor on mobile terminal and width parameter then can represent mobile terminal relative to non-dither state user's body in the horizontal direction, the displacement of vertical direction.
Alternatively, rotation parameter, tilt parameters can be obtained by the gyro sensor of mobile terminal configuration.The principle of work of gyro sensor is: when the mobile terminal at gyro sensor place is subjected to displacement, and the gyro in gyroscope can be made to produce acceleration respectively in X-axis, Y-axis, Z axis three directions.According to the acceleration of gyroscope in X-axis, Y-axis, Z axis three directions, the anglec of rotation of mobile terminal on X-axis, Y-axis, Z axis three directions can be calculated.In the present embodiment, can utilize the gyroscope of mobile terminal obtain occur shake time mobile terminal rotates along Z axis angle, along X-axis rotate angle, the angle then mobile terminal rotated along Z axis, along X-axis rotation angle as rotation parameter, tilt parameters.
Please refer to Fig. 4, it illustrates an exemplary block diagram of shake packet.As shown in Figure 4, the data subdomain SndataBody that packet comprises data packet head SndataHead and bearing parameter is shaken.Data packet head comprises CRC identifying code, and the data subdomain of bearing parameter comprises upwards jitter amplitude, downwards jitter amplitude, left jitter amplitude, to the right jitter amplitude.Wherein, upwards jitter amplitude, downwards jitter amplitude can represent with length parameter, such as, in the bivector that length parameter is corresponding, and the direction (up or down) of a vector representation shake, the amplitude of another vector representation shake.Jitter amplitude, to the right jitter amplitude can represent with width parameter left, such as, in the bivector that width parameter is corresponding, and the direction (to the left or to the right) of a vector representation shake, the amplitude of another vector representation shake.It should be noted that, the structure of the packet shown in Fig. 4 is only exemplary, according to the difference of client jitter conditions, the parameter that client jitter conditions is relevant can be carried in shake packet.
Step 303, will shake Packet Generation to client.
In the present embodiment, after generating the shake packet be associated with client jitter conditions, the communication connection of setting up in advance and setting up with client can be utilized, such as, by the bluetooth set up in advance, WiFi, USB connection, Packet Generation will be shaken to client.
Please refer to Fig. 5, it illustrates the particular flow sheet 500 that mobile terminal generates shake packet.As shown in Figure 5, following steps are comprised:
Step 501, detects mobile terminal (mobile terminal that user carries) with it and whether connects client (terminal at the browser place that user is using);
Step 502, when mobile terminal connects client, detects mobile terminal and whether is provided with data transmission App (stabilization monitoring modular), if, perform step 503, if not, prompting user installation, and clearly point out and do not need consumed flow, and detect whether installation, when installation being detected, perform step 503, when detecting non-installation, return step 502;
Step 503, client browser activation data transmits App;
Step 504, data transmit App and start dynamic monitoring;
Step 505, has judged whether that shake occurs, has if so, performed step 506, and whether if not, continuing to detect has shake to occur;
Step 506, calculates shake packet;
Step 507, will shake Packet Generation to client browser.
Please refer to Fig. 6, Fig. 6 shows the structural representation of an embodiment of the device of the adjustment client browser window according to the application.As shown in Figure 6, this device 600 comprises: connection establishment unit 601, receiving element 602, computing unit 603, adjustment unit 604.Wherein, connection establishment unit 601 is configured for the communication connection of setting up client and mobile terminal; Receiving element 602 is configured for the shake packet be associated with the jitter conditions of client that mobile terminal receive is sent by stabilization monitoring modular; Computing unit 603 is configured for according to shake packet, calculates shake adjustment parameter; Adjustment unit 604 is configured for based on shake adjustment parameter, presenting of adjustment client browser window.
In some of the present embodiment alternatively in implementation, shake adjustment parameter comprises: length adjustment parameter, width adjustment parameter, rotate adjustment parameter, tilt adjustments parameter.
In some of the present embodiment alternatively in implementation, adjustment unit 604 is configured for further: based on length adjustment parameter, width adjustment parameter, carry out length adjustment, width adjustment to client browser window; Based on rotation adjustment parameter, rotation adjustment is carried out to client browser window; Based on tilt adjustments parameter, tilt adjustments is carried out to client browser window.
In some of the present embodiment alternatively in implementation, this device also comprises: request reception unit, is configured for the installation kit that mobile terminal receive sends and obtains request; Response unit, is configured for and obtains request in response to installation kit, the stabilization monitoring modular installation kit be pre-stored in browser installation kit is sent to mobile terminal, installs stabilization monitoring modular to make mobile terminal.
Please refer to Fig. 7, Fig. 7 shows the structural representation of another embodiment of the device of the adjustment client browser window according to the application.This device 700 comprises: detecting unit 701, generation unit 702, transmitting element 703.Detecting unit 701 is configured for execution stabilization monitoring modular and detects whether there is shake generation; Generation unit 702 is configured for when detecting that shake occurs, and generates the shake packet be associated with client jitter conditions; Transmitting element 703 is configured for shake Packet Generation to client.
In some of the present embodiment alternatively in implementation, shake packet comprises: length parameter, width parameter, rotation parameter, tilt parameters.
In some of the present embodiment alternatively in implementation, device 700 also comprises: activate unit (not shown), be configured for before whether the detection of execution stabilization monitoring modular has jitter conditions generation, activate stabilization monitoring modular, to carry out dynamic monitoring to client browser window.
In some of the present embodiment alternatively in implementation, device 700 also comprises: linkage unit (not shown), is configured for the communication connection of setting up with client, and communication connection comprises bluetooth, WiFi, USB; Download unit (not shown), is configured for by communication connection, is pre-stored in the stabilization monitoring modular installation kit client browser installation kit, to install stabilization monitoring modular from client downloads.
More than describe and be only the preferred embodiment of the application and the explanation to institute's application technology principle.Those skilled in the art are to be understood that, invention scope involved in the application, be not limited to the technical scheme of the particular combination of above-mentioned technical characteristic, also should be encompassed in when not departing from described inventive concept, other technical scheme of being carried out combination in any by above-mentioned technical characteristic or its equivalent feature and being formed simultaneously.The technical characteristic that such as, disclosed in above-mentioned feature and the application (but being not limited to) has similar functions is replaced mutually and the technical scheme formed.

Claims (16)

1. a method for adjustment client browser window, is characterized in that, described method comprises:
Set up the communication connection of client and mobile terminal;
Receive the shake packet be associated with the jitter conditions of described client that described mobile terminal is sent by stabilization monitoring modular;
According to described shake packet, calculate shake adjustment parameter;
Based on described shake adjustment parameter, adjust presenting of described client browser window, in order to eliminate the visual shake of user.
2. method according to claim 1, is characterized in that, described shake adjustment parameter comprises: length adjustment parameter, width adjustment parameter, rotation adjustment parameter, tilt adjustments parameter.
3. method according to claim 2, is characterized in that, described based on described shake adjustment parameter, adjusts described presenting of client browser window to comprise:
Based on length adjustment parameter and width adjustment parameter, length adjustment and width adjustment are carried out to described client browser window;
Based on rotation adjustment parameter, rotation adjustment is carried out to described client browser window;
Based on tilt adjustments parameter, tilt adjustments is carried out to described client browser window.
4. according to the method one of claim 1-3 Suo Shu, it is characterized in that, described method also comprises:
The installation kit that mobile terminal receive sends obtains request;
Obtain request in response to installation kit, the stabilization monitoring modular installation kit be pre-stored in client browser installation kit is sent to mobile terminal, to make mobile terminal, described stabilization monitoring modular is installed.
5. a method for adjustment client browser window, is characterized in that, described method comprises:
Mobile terminal performs stabilization monitoring modular and detects whether there is shake generation;
When detecting that shake occurs, generate the shake packet be associated with client jitter conditions;
By described shake Packet Generation to client.
6. method according to claim 5, is characterized in that, described shake packet comprises: length parameter, width parameter, rotation parameter, tilt parameters.
7. according to the method one of claim 5-6 Suo Shu, it is characterized in that, described method also comprises: before whether described execution stabilization monitoring modular detection has jitter conditions generation, activate described stabilization monitoring modular, to carry out dynamic monitoring to described client browser window.
8. method according to claim 7, is characterized in that, described method also comprises:
Set up the communication connection with client, described communication connection comprises bluetooth, WiFi, USB;
By described communication connection, be pre-stored in the stabilization monitoring modular installation kit client browser installation kit from client downloads, to install stabilization monitoring modular.
9. a device for adjustment client browser window, is characterized in that, described device comprises:
Connection establishment unit, is configured for the communication connection of setting up client and mobile terminal;
Receiving element, is configured for the shake packet be associated with the jitter conditions of described client receiving described mobile terminal and sent by stabilization monitoring modular;
Computing unit, is configured for according to described shake packet, calculates shake adjustment parameter;
Adjustment unit, is configured for based on described shake adjustment parameter, adjusts presenting of described client browser window, in order to eliminate the visual shake of user.
10. device according to claim 9, is characterized in that, described shake adjustment parameter comprises: length adjustment parameter, width adjustment parameter, rotation adjustment parameter, tilt adjustments parameter.
11. devices according to claim 10, is characterized in that, described adjustment unit is configured for further:
Based on length adjustment parameter and width adjustment parameter, length adjustment and width adjustment are carried out to client browser window;
Based on rotation adjustment parameter, rotation adjustment is carried out to client browser window;
Based on tilt adjustments parameter, tilt adjustments is carried out to client browser window.
12., according to the device one of claim 9-11 Suo Shu, is characterized in that, described device also comprises:
Request reception unit, is configured for the installation kit acquisition request that mobile terminal receive sends;
Response unit, is configured for and obtains request in response to installation kit, the stabilization monitoring modular installation kit be pre-stored in browser installation kit is sent to mobile terminal, installs stabilization monitoring modular to make mobile terminal.
The device of 13. 1 kinds of adjustment client browser windows, is characterized in that, described device comprises:
Detecting unit, is configured for execution stabilization monitoring modular and detects whether there is shake generation;
Generation unit, being configured for when detecting that shake occurs, generating the shake packet be associated with client jitter conditions;
Transmitting element, is configured for described shake Packet Generation to client.
14. devices according to claim 13, is characterized in that, described shake packet comprises: length parameter, width parameter, rotation parameter, tilt parameters.
15., according to the device one of claim 13-14 Suo Shu, is characterized in that, described device also comprises:
Activate unit, be configured for before whether described execution stabilization monitoring modular detection has jitter conditions generation, activate stabilization monitoring modular, to carry out dynamic monitoring to described client browser window.
16. devices according to claim 15, is characterized in that, described device also comprises:
Linkage unit, be configured for the communication connection of setting up with client, described communication connection comprises bluetooth, WiFi, USB;
Download unit, is configured for by described communication connection, is pre-stored in the stabilization monitoring modular installation kit client browser installation kit, to install stabilization monitoring modular from client downloads.
CN201510364224.5A 2015-06-26 2015-06-26 The method and apparatus of adjustment client-side browser window Active CN105094526B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201510364224.5A CN105094526B (en) 2015-06-26 2015-06-26 The method and apparatus of adjustment client-side browser window
PCT/CN2015/090918 WO2016206213A1 (en) 2015-06-26 2015-09-28 Method and device for intelligently adjusting browser window on client terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510364224.5A CN105094526B (en) 2015-06-26 2015-06-26 The method and apparatus of adjustment client-side browser window

Publications (2)

Publication Number Publication Date
CN105094526A true CN105094526A (en) 2015-11-25
CN105094526B CN105094526B (en) 2019-03-08

Family

ID=54575111

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510364224.5A Active CN105094526B (en) 2015-06-26 2015-06-26 The method and apparatus of adjustment client-side browser window

Country Status (2)

Country Link
CN (1) CN105094526B (en)
WO (1) WO2016206213A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111381678A (en) * 2020-03-17 2020-07-07 维沃移动通信有限公司 Anti-jitter method, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040151186A1 (en) * 2001-08-08 2004-08-05 Katsuaki Akama Server, mobile communication terminal, radio apparatus, communication method in communication system and communication system
TW200631432A (en) * 2005-02-21 2006-09-01 Asustek Comp Inc Display system and displaying method capable of auto-adjusting display brightness
CN102237069A (en) * 2010-05-05 2011-11-09 中国移动通信集团公司 Method and device for preventing screen picture from dithering
CN103123780A (en) * 2011-11-18 2013-05-29 中兴通讯股份有限公司 Image display method and device of mobile terminal
CN104548596A (en) * 2015-02-02 2015-04-29 陈荣 Aiming method and device of shooting games

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8253697B2 (en) * 2007-09-26 2012-08-28 Wacom Co., Ltd Height dependent filter for a pointing device or a digitizer tablet, a method of reducing jitter in position data of a pointing device or a digitizer tablet, a computer readable medium and driver for performing the method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040151186A1 (en) * 2001-08-08 2004-08-05 Katsuaki Akama Server, mobile communication terminal, radio apparatus, communication method in communication system and communication system
TW200631432A (en) * 2005-02-21 2006-09-01 Asustek Comp Inc Display system and displaying method capable of auto-adjusting display brightness
CN102237069A (en) * 2010-05-05 2011-11-09 中国移动通信集团公司 Method and device for preventing screen picture from dithering
CN103123780A (en) * 2011-11-18 2013-05-29 中兴通讯股份有限公司 Image display method and device of mobile terminal
CN104548596A (en) * 2015-02-02 2015-04-29 陈荣 Aiming method and device of shooting games

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111381678A (en) * 2020-03-17 2020-07-07 维沃移动通信有限公司 Anti-jitter method, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN105094526B (en) 2019-03-08
WO2016206213A1 (en) 2016-12-29

Similar Documents

Publication Publication Date Title
EP3714613B1 (en) Proximity platform
KR102329639B1 (en) Remote control apparatus and contorl method thereof
EP2838309A1 (en) Method, device and system for establishing data connection
WO2018040258A1 (en) Method, apparatus and device for adjusting signal transmission power of base station, and storage medium
KR102381045B1 (en) Electronic apparatus and control method thereof
CN106850967A (en) A kind of self adaptation screen display method, system and helmet
US9807646B1 (en) Determining noise levels in electronic environments
JP2017530350A (en) Automatic sensor selection based on required sensor characteristics
US20170134230A1 (en) Phone thermal context
US9619080B2 (en) Electronic apparatus and control method of electronic apparatus
US20190124472A1 (en) Locating a user device
CN113766636A (en) Apparatus and method for estimating position in wireless communication system
US20220253174A1 (en) Terminal device, calibration method and calibration program
CN105094526A (en) Method and device for intelligently adjusting windows of client-side browser
TWI710268B (en) PERSONAL HOTSPOT DEVICE WITH A WiFi POWER CONTROL FUNCTION AND METHOD THEREFORE
CN104731309A (en) Electronic equipment and method and device for regulating and controlling same
JP7077540B2 (en) Terminal device, display system, and control method of terminal device
CN105320254A (en) Mobile terminal display control method and device
US11330651B2 (en) Electronic device using bluetooth communication and operating method thereof
CN108871356B (en) Driving navigation method and mobile terminal
CN113849062B (en) Dynamic energy-saving method and device based on acceleration and attitude angle of embedded system
CN103955268B (en) Portable type electronic device and control method thereof
US11153018B2 (en) Electronic device and method for controlling electronic device
JP7318348B2 (en) Wireless communication device and time acquisition method
US20210310785A1 (en) Electronic device and method for calculating bending angle thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20190828

Address after: 100085 Beijing, Haidian District, No. ten on the ground floor, No. 10 Baidu building, layer 2

Patentee after: BEIJING BAIDU NETCOM SCIENCE AND TECHNOLOGY Co.,Ltd.

Address before: 100091 C, block, building No. 4, Zhongguancun Software Park, No. 8, West flourishing West Road, Beijing, China 1-03

Patentee before: Pacify a Heng Tong (Beijing) Science and Technology Ltd.

TR01 Transfer of patent right