CN105320253B - A kind of user's indicator construction method, device, electronic equipment and system - Google Patents

A kind of user's indicator construction method, device, electronic equipment and system Download PDF

Info

Publication number
CN105320253B
CN105320253B CN201410313291.XA CN201410313291A CN105320253B CN 105320253 B CN105320253 B CN 105320253B CN 201410313291 A CN201410313291 A CN 201410313291A CN 105320253 B CN105320253 B CN 105320253B
Authority
CN
China
Prior art keywords
user
area
indicating
cut
users
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.)
Active
Application number
CN201410313291.XA
Other languages
Chinese (zh)
Other versions
CN105320253A (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 CN201410313291.XA priority Critical patent/CN105320253B/en
Publication of CN105320253A publication Critical patent/CN105320253A/en
Application granted granted Critical
Publication of CN105320253B publication Critical patent/CN105320253B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The embodiment of the present invention provides a kind of user's indicator construction method, device, electronic equipment and system, and wherein method comprises determining that the number of users for participating in application;Cut-off rule is determined in predetermined cropped area, to mark off quantity indicating area corresponding with the number of users in the cropped area, wherein, the quantity of the cut-off rule is corresponding with the number of users, and any two indicating area is split by a cut-off rule;Construct the corresponding relationship of indicating area and indicating module, wherein the corresponding indicating module in an indicating area;The UI control of corresponding indicating module is shown in each indicating area.The quantity of indicating module in user's indicator constructed by the embodiment of the present invention can keep consistent with the number of users.

Description

A kind of user's indicator construction method, device, electronic equipment and system
Technical field
The present invention relates to technical field of data processing, more specifically to a kind of user's indicator construction method, dress It sets, electronic equipment and system.
Background technique
User's indicator is for the indicative application component of user's operation, application program can often to be accomplished at present Participation often requires to use user's indicator in order to enable the operation of each user more has specification while supporting multiple users The operation of each user is indicated.
User's indicator can be applied in multiclass application program, and Web conference application is that the one of which of user's indicator is answered With;Web conference application at present often can support multiple users to simultaneously participate in meeting, for the operation between each user of specification, It needs to indicate using to order of speech, floor status etc. of user's indicator to user.Fig. 1 shows a kind of meeting use The structural schematic diagram of family indicator, user's indicator shown in Fig. 1 have 4 indicating modules, and the user of a participation meeting can be right Answer an indicating module, indicating module can order of speech, floor status etc. to user indicate, such as currently take turns to user a Speech, then indicating module a corresponding to user a will make instruction, so that all users know currently for the shape of user a speech State;Obviously, indicating module also has the function of that other are indicated, as user b needs temporarily when user a makes a speech from then can also be in user b Temporarily from when, corresponding indicating module b make temporarily from instruction.
The present inventor has found in the course of the research: the quantity of the indicating module in user's indicator is preparatory at present It sets, the quantity of indicating module can not be automatically adjusted according to the number of users for participating in application, this indicates user Device has strict requirements to the number of users for participating in application, i.e. number of users cannot be greater than pre-set indicating module Quantity, leading to the use of existing user's indicator, there are great limitations;Meanwhile being less than in the number of users for participating in application pre- When the quantity of the indicating module first set, the indicating module quantity that user's indicator is shown still is pre-set number Amount, this will lead to the extra displaying of indicating module, cause the waste of display resource.For user's indicator shown in Fig. 1, user The pre-set indicating module quantity of indicator is 4, then user's indicator only supports the use less than or equal to 4 quantity Family participates in, and can not support that the user for being greater than 4 quantity participates in, and when the number of users participated in is less than 4 (such as 3), The indicating module quantity that user's indicator is shown still is 4.
Summary of the invention
In view of this, the embodiment of the present invention provides a kind of user's indicator construction method, device and electronic equipment, to solve The quantity of the indicating module of user's indicator cannot be caused according to the number of users adjust automatically for participating in application in the prior art The use of user's indicator there are great limitations, and the problem of cause the display wasting of resources.
To achieve the above object, the invention provides the following technical scheme:
A kind of user's indicator construction method, user's indicator are applied to the application for supporting multiple users to simultaneously participate in In, which comprises
Determine the number of users for participating in the application;
Determine cut-off rule, in predetermined cropped area to mark off quantity and the number of users in the cropped area Corresponding indicating area, wherein the quantity of the cut-off rule is corresponding with the number of users, any two indicating area by One cut-off rule is split;
Construct the corresponding relationship of indicating area and indicating module, wherein the corresponding indicating module in an indicating area;
The UI control of corresponding indicating module is shown in each indicating area.
The embodiment of the present invention also provides a kind of user's indicator construction device, and user's indicator is applied to support multiple In the application that user simultaneously participates in, described device includes:
Number of users determining module, for determining the number of users for participating in the application;
Division module, for determining cut-off rule in predetermined cropped area, to mark off quantity in the cropped area Indicating area corresponding with the number of users, wherein the quantity of the cut-off rule is corresponding with the number of users, arbitrarily Two indicating areas are split by a cut-off rule;
Corresponding relationship constructs module, for constructing the corresponding relationship of indicating area and indicating module, wherein an instruction area Domain corresponds to an indicating module;
Display module, for showing the UI control of corresponding indicating module in each indicating area.
The embodiment of the present invention also provides a kind of electronic equipment, including user's indicator construction device described above.
The embodiment of the present invention also provides a kind of user's indicator building system, comprising: several user equipmenies and application service Device;
Wherein, the application server, the application access request sent for receiving several user equipmenies are described to answer With the application to support multiple users to simultaneously participate in, determines the number of users for participating in the application, the number of users is sent To several user equipmenies;
Each user equipment, for determining the number of users for participating in the application;Cut-off rule is determined in predetermined cropped area, To mark off quantity indicating area corresponding with the number of users in the cropped area, wherein the cut-off rule Quantity is corresponding with the number of users, and any two indicating area is split by a cut-off rule;Construct indicating area with The corresponding relationship of indicating module, wherein the corresponding indicating module in an indicating area;Corresponding instruction is shown in each indicating area The UI control of module.
Based on the above-mentioned technical proposal, user's indicator construction method provided in an embodiment of the present invention can participate in application determining Number of users after, in cropped area by cut-off rule carry out indicating area division, to mark off quantity and the use The corresponding indicating area of amount amount, by constructing the corresponding relationship of indicating area and indicating module, and in each indicating area exhibition Show the UI control of corresponding indicating module, to complete the building of user's indicator.Since user provided in an embodiment of the present invention refers to Show that device construction method is to carry out the division of indicating area, and an indicating area pair according to the number of users for participating in the application An indicating module is answered, therefore the quantity of the indicating module in constructed user's indicator can be kept and the number of users phase Unanimously, so that constructed user's indicator can be suitably used for the application of any amount user participation, constructed user refers to It is applicable to show that device can carry out in most applications;And the indicating module quantity that the embodiment of the present invention is shown is protected with the number of users It holds unanimously, therefore shows that reasonable utilization can be obtained in resource, reduce the waste of display resource.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is a kind of structural schematic diagram of meeting user's indicator;
Fig. 2 is the flow chart of user's indicator construction method provided in an embodiment of the present invention;
Fig. 3 is the method flow diagram of determining segmentation line position provided in an embodiment of the present invention;
Fig. 4 is the schematic diagram that cut-off rule provided in an embodiment of the present invention rotates angle;
Fig. 5 is the method flow diagram of the UI control provided in an embodiment of the present invention for showing indicating module;
Fig. 6 is the displaying schematic diagram of the UI control of indicating module provided in an embodiment of the present invention;
Fig. 7 is another flow chart of user's indicator construction method provided in an embodiment of the present invention;
Fig. 8 is the schematic diagram of annular cropped area provided in an embodiment of the present invention;
Fig. 9 is the system structure diagram that application provided in an embodiment of the present invention has user's indicator construction method;
Figure 10 is the structural block diagram of user's indicator construction device provided in an embodiment of the present invention;
Figure 11 is the structural block diagram of division module provided in an embodiment of the present invention;
Figure 12 is the structural block diagram of the first rotation angle determination unit provided in an embodiment of the present invention;
Figure 13 is the structural block diagram of display module provided in an embodiment of the present invention;
Figure 14 is the structural block diagram of the second rotation angle determination unit provided in an embodiment of the present invention;
Figure 15 is the hardware block diagram of electronic equipment provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
Fig. 2 is the flow chart of user's indicator construction method provided in an embodiment of the present invention, which can apply In the application for supporting multiple users to simultaneously participate in, referring to Fig. 2, this method may include:
Step S100, the number of users for participating in application is determined;
Wherein, the application, which can refer to apply, user's indicator, and the application that multiple users can be supported to simultaneously participate in.
Optionally, the embodiment of the present invention can often have a user to participate in described in application, counting by counter, To determine the number of users for participating in the application by the count value of counter.
Optionally, determine that user participates in the mode of the application and may is that application server has detected that user equipment is stepped on Record application, accesses in application server, then can determine that user takes part in the application;Specifically, application server can detect To often thering is a user equipment to log in application, being counted by counter, so that the count value by counter determines ginseng With the number of users of the application.Obviously, after user equipment logs in application, application server can also have ginseng by inquiring record With the file of the number of users of application, the number of users for participating in the application is determined.
Optionally, user's indicator construction method provided in an embodiment of the present invention can be applied in application server, can also Applied in user equipment;If method provided in an embodiment of the present invention is applied in user equipment, application server is in determination After the number of users for participating in the application, the number of users can be sent to user equipment, be participated in so that user equipment determines The number of users of application.
Step S110, cut-off rule is determined, in predetermined cropped area to mark off quantity and institute in the cropped area State the corresponding indicating area of number of users, wherein the quantity of the cut-off rule is corresponding with the number of users, any two Indicating area is split by a cut-off rule;
Step S120, the corresponding relationship of indicating area and indicating module is constructed, wherein the corresponding finger in an indicating area Show module;
It optionally, can be each use of the participation application after having constructed the corresponding relationship of indicating area and indicating module Indicating module is distributed at family, so that a user for participating in the application is corresponding with an indicating module.
Step S130, the UI control of corresponding indicating module is shown in each indicating area.
Optionally, when determining that the opportunity for participating in the number of users of the application can be using initial start, confirmation is initial The number of users of the application is participated in, thus distribution and the number of users pair for initially participating in the application in application initial start The indicating module answered;Optionally, it determines that the opportunity for participating in the number of users of the application can also be using after starting, participates in institute When there is change in the number of users for stating application, the number of users of the participation application after determining change, thus in the fortune of application Distribution indicating module corresponding with the number of users of the participation application after change during row;After starting, institute is participated in The case where number of users for stating application has change can be with are as follows: and there are new users to participate in the application (number of users increase), or The user that person originally participated in the application exits the application (number of users reduction).
User's indicator construction method provided in an embodiment of the present invention can cut out after determining the number of users for participating in application The division for carrying out indicating area in region by cut-off rule is cut, to mark off quantity instruction corresponding with the number of users Region shows the UI of corresponding indicating module by constructing the corresponding relationship of indicating area and indicating module, and in each indicating area Control, to complete the building of user's indicator.Since user's indicator construction method provided in an embodiment of the present invention is basis The number of users of the application is participated in, carries out the division of indicating area, and the corresponding indicating module in an indicating area, therefore The quantity of indicating module in constructed user's indicator can keep consistent with the number of users, so that constructed User's indicator can be suitably used for any amount user participation application, constructed user's indicator can in most applications into Row is applicable in;And the indicating module quantity that the embodiment of the present invention is shown is consistent with the number of users, therefore shows resource Reasonable utilization can be obtained, reduce the waste of display resource.
Optionally, in embodiments of the present invention, cut-off rule can divide equally each indicating area, i.e., each instruction area in cropped area Domain it is in the same size, cut-off rule can also in cropped area not divide equally each indicating area, i.e., each indicating area it is not of uniform size. For the rational deployment of the UI control of indicating module, the embodiment of the present invention is preferably used divides equally each indicating area in cropped area Mode determine cut-off rule.
Optionally, the embodiment of the present invention, can be by each cut-off rule of determination in cropped area when determining segmentation line position Rotation angle, so that it is determined that the position of each cut-off rule out.Corresponding, Fig. 3 shows determination provided in an embodiment of the present invention point The method flow diagram of secant position, referring to Fig. 3, this method may include:
Step S200, using predetermined direction as positive direction, longitudinal center of each cut-off rule relative to the cropped area is determined The rotation angle of line;
Optionally, predetermined direction can be for clockwise;For ease of understanding, Fig. 4 show cut-off rule be 3 in the case of , it, referring to Fig. 4, is in a clockwise direction positive direction that each cut-off rule, which rotates the optional schematic diagram of angle, and cut-off rule L1 is relative to cutting The rotation angle of the longitudinal centre line M in region is X1, and cut-off rule L2 is X2, segmentation relative to the rotation angle of longitudinal centre line M Line L3 is X3 relative to the rotation angle of longitudinal centre line M.It is worth noting that, the shape of cropped area shown in Fig. 4, cut-off rule Item number, positive direction selection is merely illustrative, in order to describe, should not become the limitation of the scope of the present invention.Obviously, predetermined party To may be counterclockwise.
Optionally, optional way of each cut-off rule relative to the rotation angle of the longitudinal centre line of the cropped area is determined It can be with are as follows: determine that initial angle, n are the number of users according to formula θ=90-360/2n, θ is the initial angle;According to Formula θ+360/n* (i-1) determines rotation angle of each cut-off rule relative to the longitudinal centre line of the cropped area, wherein i For the ordinal number of cut-off rule, i takes 1 to n integer.For being illustrated shown in Fig. 4, then θ=90-360/2n=30 ° of initial angle, The rotation angle X1 of corresponding cut-off rule L1 is 30 °, and the rotation angle X2 of cut-off rule L2 is 150 °, the rotation angle of cut-off rule L3 X3 is 270 °.
It step S210, is the first end point of each cut-off rule with the center of the cropped area, on the side of the cropped area Edge sequentially determines the second endpoint of each cut-off rule, and the line segment that the first end point and each second end point are formed is as each segmentation Line, wherein the angle and each cut-off rule of the cut-off rule and the longitudinal centre line of the first end point and the formation of each second end point Rotation angle it is corresponding.
To illustrate shown in Fig. 4, the rotation angle X1 of cut-off rule L1 is 30 °, and the rotation angle X2 of cut-off rule L2 is 150 °, point For the rotation angle X3 of secant L3 is 270 °, then the embodiment of the present invention, can be in cropped area when determining cut-off rule L1 Heart Z is the first end point of cut-off rule L1, and rotation angle is the second end that 30 ° of corresponding cropped area endpoint D1 are cut-off rule L1 Point, then the line segment that first end point and the second endpoint D1 are formed is cut-off rule L1;It is corresponding, it is point with the center Z of cropped area The first end point of secant L2, rotation angle is the second endpoint that 150 ° of corresponding cropped area endpoint D2 are cut-off rule L2, then the The line segment that end point and the second endpoint D2 are formed is cut-off rule L2;The method of determination of cut-off rule L3 is similarly.
Optionally, the embodiment of the present invention, can also basis when showing the UI control of the corresponding indicating module in each indicating area The rotation angle of the UI control of each indicating module with respect to the horizontal plane determines the UI control of each indicating module in indicating area Arrangement.Corresponding, Fig. 5 shows the method flow diagram of the UI control provided in an embodiment of the present invention for showing indicating module, reference Fig. 5, this method may include:
Step S300, using predetermined direction as positive direction, the rotation of the UI control of each indicating module with respect to the horizontal plane is determined Angle;
Step S310, with rotation angle corresponding to each indicating module, corresponding indicating module is shown in each indicating area UI control.
Optionally, predetermined direction can be sequence clockwise;The original state of the UI control of each indicating module can recognize To be horizontality, in order to reasonably arrange the UI control of indicating module in each indicating area, the embodiment of the present invention can be true Determine the rotation angle of the UI control of each indicating module with respect to the horizontal plane, then rotation corresponding to the UI control with each indicating module Angle shows the UI control of corresponding indicating module in each indicating area.
Optionally, the embodiment of the present invention can determine the UI control of each indicating module according to formula 360/2n+360/n* (j-1) Rotation angle with respect to the horizontal plane, wherein n is the number of users, and j is the ordinal number of indicating module, takes 1 to n integer.It can Choosing, using indicating area shown in Fig. 4 as example, Fig. 6 shows the displaying schematic diagram of the UI control of each indicating module, referring to Fig. 6, The embodiment of the present invention can determine the UI control B1 of first indicating module relative to level according to 360/2n+360/n* (j-1) The rotation angle in face is 60 °, and the rotation angle of the UI control B2 of second indicating module is 180 °, the UI of third indicating module The rotation angle of control B3 is 300 °.Then the UI control B1 of first indicating module can be in first indicating area according to opposite It is shown in the angle that horizontal plane rotates 60 °, the UI control B2 of second indicating module can be pressed in second indicating area It is shown according to the angle for respect to the horizontal plane rotating 180 °, the UI control B3 of third indicating module can indicate area in third It is shown in domain according to the angle for respect to the horizontal plane rotating 300 °.It is worth noting that, signal shown in Fig. 6 is only convenient for retouching It states, the limitation of the scope of the present invention should not be become.Obviously, predetermined direction may be counterclockwise.
Already described above, the embodiment of the present invention can be after application starting, and the number of users for participating in the application, which exists, to be become When more, the number of users of the participation application after determining change;Corresponding, Fig. 7 shows use provided in an embodiment of the present invention Another flow chart of family indicator construction method, referring to Fig. 7, this method may include:
Step S400, starting application;
Step S410, the number of users for participating in the application is determined;
Step S420, cut-off rule is determined, in predetermined cropped area to mark off quantity and institute in the cropped area State the corresponding indicating area of number of users, wherein the quantity of the cut-off rule is corresponding with the number of users, any two Indicating area is split by a cut-off rule;
Step S430, the corresponding relationship of indicating area and indicating module is constructed, wherein the corresponding finger in an indicating area Show module;
Step S440, the UI control of corresponding indicating module is shown in each indicating area;
Step S450, the number of users that judgement participates in the application whether there is change, if so, step S410 is executed, if It is no, execute step S460;
Step S460, terminate process.
Alteration includes: that there are new users to participate in the application (number of users increase), or answers described in original participation User exits the application (number of users reduction).
Optionally, the embodiment of the present invention can be using the predetermined display area of picture as cropped area, specifically, the present invention is real Target Photo can be chosen by applying example, using the predetermined display area of the Target Photo as the cropped area.Optionally, of the invention Embodiment can also carry out the determination of cropped area manually, and the embodiment of the present invention can select prime area, in the prime area Determine it is several cut vertex, sequentially connect respectively cut vertex formed a closed area, then the closed area can be used as the sanction Cut region.
Optionally, cropped area provided in an embodiment of the present invention can be annular cropped area.
Optionally, the embodiment of the present invention can also be while each indicating area shows the UI control of corresponding indicating module, exhibition Show the corresponding UI control of timing module;The corresponding UI control of timing module can be shown in the position of setting, be can choose displaying and existed In cropped area, it also may be selected to show outside cropped area;By taking cropped area is annular cropped area as an example, timing module is corresponding UI control can show that at the center of annular cropped area, Fig. 8 shows a kind of schematic diagram of optional annular cropped area, can Carry out reference.
Optionally, when the corresponding UI control exposure of timing module is in cropped area, the corresponding UI control of timing module It can show in top layer, so that the corresponding UI control of timing module is not blocked.In embodiments of the present invention, timing module can table It is now a UI control, the level of the control, the setting of each engine can be set when a UI control is arranged on carrier Mode is different, for example level can be arranged by setting zorder in cocos2dx, and the bigger level of zorder is higher will be in layer Secondary low control is shown above, and cropped area is also a UI control, can add UI control on UI control, that is to say, that The UI control of timing module can be added on cropped area.
Optionally, starting or the message closed can be transmitted when needing to start the work of user's indicator in the embodiment of the present invention Timing module and indicating module work are adjusted or have closed respectively, being sent out countdown when timing module countdown time-out terminates Message, while the message for closing indicating effect is sent to the indicating module that is just working, and then triggered in user's indicator again Another indicating module is started to work.Optionally, the progress of Tip effect can be used when indicating module is indicated, Tip effect can be with There are many, it can be set according to different use requirements.
Optionally, user's indicator construction method provided in an embodiment of the present invention can be applied in user equipment, can also answer For network server, specifically user's indicator construction method provided in an embodiment of the present invention can be carried out according to actual use scene Application.Fig. 9 shows the system structure diagram that a kind of application has user's indicator construction method provided in an embodiment of the present invention, Referring to Fig. 9, which may include: several user equipmenies 10 and application server 20;
Wherein, application server 20, the application access request sent for receiving several user equipmenies 10, the application are The application for supporting multiple users to simultaneously participate in determines the number of users for participating in the application, if the number of users is sent to Dry user equipment;
Each user equipment, for determining the number of users for participating in the application;Segmentation is determined in predetermined cropped area Line, to mark off quantity indicating area corresponding with the number of users in the cropped area, wherein the cut-off rule Quantity it is corresponding with the number of users, any two indicating area is split by a cut-off rule;Construct indicating area With the corresponding relationship of indicating module, wherein the corresponding indicating module in an indicating area;Show that correspondence refers in each indicating area Show the UI control of module.
Optionally, user's indicator construction method provided in an embodiment of the present invention can be applied in Web conference application, It may be applicable in the internet game application using user's indicator, so that the game operation for each user indicates. User's indicator constructed by user's indicator construction method provided in an embodiment of the present invention can be suitably used for any amount user ginseng With application, constructed user's indicator can carry out applicable in most applications;And the instruction that the embodiment of the present invention is shown Module number is consistent with the number of users, therefore shows that reasonable utilization can be obtained in resource, reduces display resource Waste.
User's indicator construction device provided in an embodiment of the present invention is introduced below, user's instruction described below Device construction device can correspond to each other reference with above-described user's indicator construction method.
Figure 10 is the structural block diagram of user's indicator construction device provided in an embodiment of the present invention, wherein user's indicator Applied in the application for supporting multiple users to simultaneously participate in, user's indicator construction device provided in an embodiment of the present invention can be applied In user equipment, can also be applied in application server, depending on concrete application scene, reference 10, the apparatus may include:
Number of users determining module 100, for determining the number of users for participating in the application;
Division module 200, for determining cut-off rule in predetermined cropped area, to mark off number in the cropped area Measure indicating area corresponding with the number of users, wherein the quantity of the cut-off rule is corresponding with the number of users, appoints Two indicating areas of anticipating are split by a cut-off rule;
Corresponding relationship constructs module 300, for constructing the corresponding relationship of indicating area and indicating module, wherein a finger Show the corresponding indicating module in region;
Display module 400, for showing the UI control of corresponding indicating module in each indicating area.
Optionally, Figure 11 shows a kind of alternative construction of division module 200, and referring to Fig.1 1, division module 200 can wrap It includes:
First rotation angle determination unit 210, for determining each cut-off rule relative to described using predetermined direction as positive direction The rotation angle of the longitudinal centre line of cropped area;
Cut-off rule determination unit 220, for taking the center of the cropped area as the first end point of each cut-off rule, described The edge of cropped area sequentially determines the second endpoint of each cut-off rule, the line segment that the first end point and each second end point are formed As each cut-off rule, wherein the angle of the cut-off rule and the longitudinal centre line of the first end point and the formation of each second end point It is corresponding with the rotation angle of each cut-off rule.
Optionally, Figure 12 shows a kind of alternative construction of the first rotation angle determination unit 210, and referring to Fig.1 2, first Rotating angle determination unit 210 may include:
Initial angle determines subelement 211, for determining that initial angle, n are the use according to formula θ=90-360/2n Amount amount, θ are the initial angle;
First determines subelement 212, for determining that each cut-off rule is cut relative to described according to formula θ+360/n* (i-1) The rotation angle of the longitudinal centre line in region, wherein i is the ordinal number of cut-off rule, and i takes 1 to n integer.
Optionally, Figure 13 shows a kind of alternative construction of display module 400 provided in an embodiment of the present invention, referring to figure 13, display module 400 may include:
Second rotation angle determination unit 410, for determining the UI control of each indicating module using predetermined direction as positive direction Rotation angle with respect to the horizontal plane;
Execution unit 420 is shown, for rotation angle corresponding to the UI control with each indicating module, in each indicating area The middle UI control for showing corresponding indicating module.
Optionally, Figure 14 shows a kind of optional of the second rotation angle determination unit 410 provided in an embodiment of the present invention Structure, the referring to Fig.1 4, second rotation angle determination unit 410 may include:
Second determines subelement 411, for determining that the UI of each indicating module is controlled according to formula 360/2n+360/n* (j-1) Rotation angle of the part relative to the horizontal plane, n are the number of users, and j is the ordinal number of indicating module, take 1 to n integer.
Optionally, the method for determination of cropped area can be with are as follows: Target Photo is chosen, with the predetermined display of the Target Photo Region is as the cropped area;Alternatively, selected prime area, determination is several in the prime area cuts vertex, sequentially Connection respectively cuts vertex and forms a closed area, using the closed area as the cropped area.
Optionally, determine that the opportunity for participating in the number of users of the application can be with are as follows: when the application starts starting, really The fixed number of users for initially participating in the application;Alternatively, the number of users for participating in the application exists after application starting When change, the number of users of the participation application after determining change.
Optionally, the embodiment of the present invention can be positive direction in a clockwise direction.
Optionally, cropped area can be annular cropped area.
User's indicator constructed by user's indicator construction device provided in an embodiment of the present invention can be suitably used for arbitrary number The application that user participates in is measured, constructed user's indicator can carry out applicable in most applications;And institute of embodiment of the present invention exhibition The indicating module quantity shown is consistent with the number of users, therefore shows that reasonable utilization can be obtained in resource, is reduced aobvious Show the waste of resource.
The embodiment of the present invention also provides a kind of electronic equipment, which may include user's indicator described above Construction device, the electronic equipment are specifically as follows user equipment, or application server, depending on concrete application scene.
Figure 15 shows the hardware block diagram of electronic equipment provided in an embodiment of the present invention, and referring to Fig.1 5, which sets Standby may include: processor 1, communication interface 2, memory 3 and communication bus 4;
Wherein processor 1, communication interface 2, memory 3 complete mutual communication by communication bus 4;
Optionally, communication interface 2 can be the interface of communication module, such as the interface of gsm module;
Processor 1, for executing program;
Memory 3, for storing program;
Program may include program code, and said program code includes computer operation instruction.
Processor 1 may be a central processor CPU or specific integrated circuit ASIC (Application Specific Integrated Circuit), or be arranged to implement the integrated electricity of one or more of the embodiment of the present invention Road.
Memory 3 may include high speed RAM memory, it is also possible to further include nonvolatile memory (non-volatile Memory), a for example, at least magnetic disk storage.
Wherein, program can be specifically used for:
Determine the number of users for participating in the application;
Determine cut-off rule, in predetermined cropped area to mark off quantity and the number of users in the cropped area Corresponding indicating area, wherein the quantity of the cut-off rule is corresponding with the number of users, any two indicating area by One cut-off rule is split;
Construct the corresponding relationship of indicating area and indicating module, wherein the corresponding indicating module in an indicating area;
The UI control of corresponding indicating module is shown in each indicating area.
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with other The difference of embodiment, the same or similar parts in each embodiment may refer to each other.For device disclosed in embodiment For, since it is corresponded to the methods disclosed in the examples, so being described relatively simple, related place is said referring to method part It is bright.
Professional further appreciates that, unit described in conjunction with the examples disclosed in the embodiments of the present disclosure And algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, in order to clearly demonstrate hardware and The interchangeability of software generally describes each exemplary composition and step according to function in the above description.These Function is implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Profession Technical staff can use different methods to achieve the described function each specific application, but this realization is not answered Think beyond the scope of this invention.
The step of method described in conjunction with the examples disclosed in this document or algorithm, can directly be held with hardware, processor The combination of capable software module or the two is implemented.Software module can be placed in random access memory (RAM), memory, read-only deposit Reservoir (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technology In any other form of storage medium well known in field.
The foregoing description of the disclosed embodiments enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, as defined herein General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, of the invention It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one The widest scope of cause.

Claims (16)

1. a kind of user's indicator construction method, which is characterized in that user's indicator is for referring to user's operation The application component shown, applied in the application for supporting multiple users to simultaneously participate in, user's indicator includes multiple instruction moulds Block, the multiple indicating module take turns to operate, to indicate that the corresponding user of the indicating module operates;The method packet It includes:
Determine the number of users for participating in the application;
Cut-off rule is determined in predetermined cropped area, it is opposite with the number of users to mark off quantity in the cropped area The indicating area answered, wherein the quantity of the cut-off rule is corresponding with the number of users, and any two indicating area is by one Cut-off rule is split;The cropped area is a UI control;
Construct the corresponding relationship of indicating area and indicating module, wherein the corresponding indicating module in an indicating area;
The UI control of corresponding indicating module is shown in each indicating area;Complete the building of user's indicator.
2. user's indicator construction method according to claim 1, which is characterized in that described true in predetermined cropped area Determining cut-off rule includes:
Using predetermined direction as positive direction, rotation angle of each cut-off rule relative to the longitudinal centre line of the cropped area is determined;
Take the center of the cropped area as the first end point of each cut-off rule, sequentially determines each point at the edge of the cropped area Second endpoint of secant, the line segment that the first end point and each second end point are formed is as each cut-off rule, wherein described first Endpoint is corresponding with the angle of the longitudinal centre line and the rotation angle of each cut-off rule with the cut-off rule that each second end point is formed.
3. user's indicator construction method according to claim 2, which is characterized in that each cut-off rule of determination relative to The rotation angle of the longitudinal centre line of the cropped area includes:
Determine that initial angle, n are the number of users according to formula θ=90-360/2n, θ is the initial angle;
Rotation angle of each cut-off rule relative to the longitudinal centre line of the cropped area is determined according to formula θ+360/n* (i-1) Degree, wherein i is the ordinal number of cut-off rule, and i takes 1 to n integer.
4. user's indicator construction method according to claim 1, which is characterized in that described in the displaying pair of each indicating area The UI control for answering indicating module includes:
Using predetermined direction as positive direction, the rotation angle of the UI control of each indicating module with respect to the horizontal plane is determined;
Rotation angle corresponding to UI control with each indicating module shows the UI control of corresponding indicating module in each indicating area Part.
5. user's indicator construction method according to claim 4, which is characterized in that the UI of each indicating module of determination The rotation angle of control with respect to the horizontal plane includes:
Rotation angle of the UI control of each indicating module relative to the horizontal plane is determined according to formula 360/2n+360/n* (j-1) Degree, n are the number of users, and j is the ordinal number of indicating module, take 1 to n integer.
6. user's indicator construction method according to claim 1, which is characterized in that the determination process of the cropped area Include:
Target Photo is chosen, using the predetermined display area of the Target Photo as the cropped area;
Alternatively, selected prime area, determined in the prime area it is several cuts vertex, sequentially connect and respectively cut vertex and formed One closed area, using the closed area as the cropped area.
7. user's indicator construction method according to claim 1-6, which is characterized in that the cropped area is Annular cropped area.
8. user's indicator construction method according to claim 1, which is characterized in that the determining participation application Number of users includes:
When the application starts starting, the number of users for initially participating in the application is determined;
Alternatively, the participation institute after application starting, when the number of users for participating in the application has change, after determining change State the number of users of application.
9. a kind of user's indicator construction device, which is characterized in that user's indicator is for referring to user's operation The application component shown, applied in the application for supporting multiple users to simultaneously participate in, user's indicator includes multiple instruction moulds Block, the multiple indicating module take turns to operate, to indicate that the corresponding user of the indicating module operates;Described device packet It includes:
Number of users determining module, for determining the number of users for participating in the application;
Division module, for determining cut-off rule in predetermined cropped area, to mark off quantity and institute in the cropped area State the corresponding indicating area of number of users, wherein the quantity of the cut-off rule is corresponding with the number of users, any two Indicating area is split by a cut-off rule;The cropped area is a UI control;
Corresponding relationship constructs module, for constructing the corresponding relationship of indicating area and indicating module, wherein an indicating area pair Answer an indicating module;
Display module, for showing the UI control of corresponding indicating module in each indicating area;Complete the structure of user's indicator It builds.
10. user's indicator construction device according to claim 9, which is characterized in that the division module includes:
First rotation angle determination unit, for determining that each cut-off rule cuts area relative to described using predetermined direction as positive direction The rotation angle of the longitudinal centre line in domain;
Cut-off rule determination unit cuts area described for taking the center of the cropped area as the first end point of each cut-off rule The edge in domain sequentially determines the second endpoint of each cut-off rule, and the line segment that the first end point and each second end point are formed is as each Cut-off rule, wherein the angle of the cut-off rule and the longitudinal centre line of the first end point and the formation of each second end point and each minute The rotation angle of secant is corresponding.
11. user's indicator construction device according to claim 10, which is characterized in that the first rotation angle determines Unit includes:
Initial angle determines subelement, for determining that initial angle, n are the number of users according to formula θ=90-360/2n, θ is the initial angle;
First determines subelement, for determining each cut-off rule relative to the cropped area according to formula θ+360/n* (i-1) The rotation angle of longitudinal centre line, wherein i is the ordinal number of cut-off rule, and i takes 1 to n integer.
12. user's indicator construction device according to claim 9, which is characterized in that the display module includes:
Second rotation angle determination unit, for using predetermined direction as positive direction, determine the UI control of each indicating module relative to The rotation angle of horizontal plane;
Show that execution unit is shown in each indicating area for rotation angle corresponding to the UI control with each indicating module The UI control of corresponding indicating module.
13. user's indicator construction device according to claim 12, which is characterized in that the second rotation angle determines Unit includes:
Second determines subelement, for according to formula 360/2n+360/n* (j-1) determine the UI control of each indicating module relative to The rotation angle of the horizontal plane, n are the number of users, and j is the ordinal number of indicating module, take 1 to n integer.
14. a kind of electronic equipment, which is characterized in that including the described in any item user's indicator building dresses of claim 9-13 It sets.
15. a kind of user's indicator constructs system, which is characterized in that user's indicator is for referring to user's operation The application component shown, applied in the application for supporting multiple users to simultaneously participate in, user's indicator includes multiple instruction moulds Block, the multiple indicating module take turns to operate, to indicate that the corresponding user of the indicating module operates;It include: several use Family equipment and application server;
Wherein, the application server, the application access request sent for receiving several user equipmenies, the application are The application for supporting multiple users to simultaneously participate in determines the number of users for participating in the application, if the number of users is sent to Dry user equipment;
Each user equipment, for determining the number of users for participating in the application;In predetermined cropped area determine cut-off rule, with Quantity indicating area corresponding with the number of users is marked off in the cropped area, wherein the quantity of the cut-off rule Corresponding with the number of users, any two indicating area is split by a cut-off rule;The cropped area is one UI control;Construct the corresponding relationship of indicating area and indicating module, wherein the corresponding indicating module in an indicating area;? Each indicating area shows the UI control of corresponding indicating module;Complete the building of user's indicator.
16. a kind of storage medium, which is characterized in that be stored with computer program, the computer program in the storage medium The described in any item user's indicator construction methods of 1-8 are required for perform claim.
CN201410313291.XA 2014-07-02 2014-07-02 A kind of user's indicator construction method, device, electronic equipment and system Active CN105320253B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410313291.XA CN105320253B (en) 2014-07-02 2014-07-02 A kind of user's indicator construction method, device, electronic equipment and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410313291.XA CN105320253B (en) 2014-07-02 2014-07-02 A kind of user's indicator construction method, device, electronic equipment and system

Publications (2)

Publication Number Publication Date
CN105320253A CN105320253A (en) 2016-02-10
CN105320253B true CN105320253B (en) 2019-08-30

Family

ID=55247799

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410313291.XA Active CN105320253B (en) 2014-07-02 2014-07-02 A kind of user's indicator construction method, device, electronic equipment and system

Country Status (1)

Country Link
CN (1) CN105320253B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105892665B (en) * 2016-03-31 2019-02-05 联想(北京)有限公司 Information processing method and electronic equipment

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1268122C (en) * 2002-07-23 2006-08-02 精工爱普生株式会社 Display system, network answering display device, terminal apparatus and controlling program
CN101625618B (en) * 2008-07-09 2012-01-18 纬创资通股份有限公司 Screen display area segmenting method, and screen display area segmenting system
US20110298722A1 (en) * 2010-06-04 2011-12-08 Smart Technologies Ulc Interactive input system and method
CN102479043A (en) * 2010-11-29 2012-05-30 联想(北京)有限公司 Method for realizing mouse event on touch screen, touch screen and electronic equipment
CN103870073B (en) * 2012-12-18 2017-02-08 联想(北京)有限公司 Information processing method and electronic equipment

Also Published As

Publication number Publication date
CN105320253A (en) 2016-02-10

Similar Documents

Publication Publication Date Title
CN110399307A (en) A kind of test method, test platform and destination server
CN109445869B (en) Cross-cloud-adaptive micro-service management method and device and storage medium
CN107592237B (en) Resource monitoring method and system of hybrid cloud
CN104765678B (en) The method and device tested the application on mobile terminal device
CN104462277B (en) Application program installation data statistical method, server and terminal
JP5857374B2 (en) Data collection method and apparatus, and mobile terminal
CN108572795A (en) Based on expansion method, device, equipment and the storage medium for building Storage Virtualization
CN106302111B (en) Information processing method, terminal and server
CN107800814B (en) Virtual machine deployment method and device
US10609137B2 (en) Global logical timestamp
CN106649600B (en) A kind of method, apparatus and system of migrated file permission
TWI621078B (en) Business object verification method and device
CN110162270A (en) Date storage method, memory node and medium based on distributed memory system
CN110519127A (en) Detection method, device and the storage medium of network delay
CN105718304A (en) Virtual machine management method and system
CN105320253B (en) A kind of user's indicator construction method, device, electronic equipment and system
CN104582011B (en) A kind of method and apparatus for mobile terminal to be connected to network
CN106534227B (en) Method and apparatus for extending distributed consistency services
CN108566429A (en) A kind of high in the clouds sharing files method and apparatus
CN106209561B (en) The sending method and device of loop detection message
WO2016177046A1 (en) Method and apparatus for determining network element information and network management topology system
CN106933646A (en) A kind of method and device for creating virtual machine
CN110290172B (en) Container application cloning method and device, computer equipment and storage medium
EP3299960A1 (en) Virtual machine deployment method, device and network function virtualization orchestrator (nfvo)
CN105812434B (en) Business chain control method and device after the virtualization of user's handheld device

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