CN112619155B - Collaborative operation method, electronic device and storage medium - Google Patents

Collaborative operation method, electronic device and storage medium Download PDF

Info

Publication number
CN112619155B
CN112619155B CN202011511507.5A CN202011511507A CN112619155B CN 112619155 B CN112619155 B CN 112619155B CN 202011511507 A CN202011511507 A CN 202011511507A CN 112619155 B CN112619155 B CN 112619155B
Authority
CN
China
Prior art keywords
user account
user
control area
control
level
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
CN202011511507.5A
Other languages
Chinese (zh)
Other versions
CN112619155A (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.)
China Mobile Communications Group Co Ltd
MIGU Interactive Entertainment Co Ltd
MIGU Culture Technology Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
MIGU Interactive Entertainment Co Ltd
MIGU Culture 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 China Mobile Communications Group Co Ltd, MIGU Interactive Entertainment Co Ltd, MIGU Culture Technology Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN202011511507.5A priority Critical patent/CN112619155B/en
Publication of CN112619155A publication Critical patent/CN112619155A/en
Application granted granted Critical
Publication of CN112619155B publication Critical patent/CN112619155B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/70Game security or game management aspects
    • A63F13/79Game security or game management aspects involving player-related data, e.g. identities, accounts, preferences or play histories
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/40Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/80Special adaptations for executing a specific game genre or game mode
    • A63F13/847Cooperative playing, e.g. requiring coordinated actions from several players to achieve a common goal
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/30Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by output arrangements for receiving control signals generated by the game device
    • A63F2300/308Details of the user interface
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/50Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by details of game servers
    • A63F2300/55Details of game data or player data management
    • A63F2300/5546Details of game data or player data management using player registration data, e.g. identification, account, preferences, game history
    • A63F2300/5566Details of game data or player data management using player registration data, e.g. identification, account, preferences, game history by matching opponents or finding partners to build a team, e.g. by skill level, geographical area, background, play style
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/80Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game specially adapted for executing a specific type of game
    • A63F2300/8088Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game specially adapted for executing a specific type of game involving concurrently several players in a non-networked game, e.g. on the same game console

Abstract

The embodiment of the invention relates to the technical field of computers, and discloses a method for cooperative operation, electronic equipment and a storage medium. The method of the invention comprises the following steps: acquiring an interface to be operated, wherein the interface to be operated comprises N control areas, and N is an integer greater than 1; distributing a corresponding user account for each control area; distributing information to the client sides of each user account so that at least 2 client sides of the user accounts cooperate with the respective control areas at the same time; receiving collaborative operation data uploaded by clients of at least 2 user accounts; and forming an operation instruction of the same operation object of the interface to be operated according to the collaborative operation data. By adopting the embodiment, at least two clients can cooperatively operate the same operation object in the interface to be operated, so that the operation speed and the user experience are improved.

Description

Collaborative operation method, electronic device and storage medium
Technical Field
The embodiment of the invention relates to the technical field of computers, in particular to a method for cooperative operation, electronic equipment and a storage medium.
Background
The cloud game is a game mode based on cloud computing, all games are run on a server side in a running mode of the cloud game, the server is used for completing computing and rendering of the games, game pictures are encoded in real time, and the encoded audio and video streams are pushed to a client side. The client decodes and displays the audio and video stream and returns a user operation instruction to the server. Cloud computing is an internet-based computing manner by which shared software and hardware resources and information can be provided to computers and other devices as needed.
However, currently, the operation authority of the same game screen is only allocated to one client, and the other clients can only watch the game screen and cannot operate the game screen, so that team assistance cannot be performed, and the experience of the game is reduced, for example, the operation on the game role a includes: in general, the control authority of the game character a at the same time is only the client a, and the client a can only control the game character and cannot control other clients at the same time.
Disclosure of Invention
The invention aims to provide a method, electronic equipment and storage medium for collaborative operation, which enable at least two clients to perform collaborative operation on the same operation object in an interface to be operated, improve operation speed and enable a user to acquire the interface to be operated, wherein the interface to be operated comprises N control areas, and N is an integer greater than 1; distributing a corresponding user account for each control area; distributing information to the client sides of each user account so that at least 2 client sides of the user accounts cooperate with the respective control areas at the same time; receiving collaborative operation data uploaded by clients of at least 2 user accounts; and forming an operation instruction for the same operation object in the interface to be operated according to the collaborative operation data.
The embodiment of the invention also provides a method for cooperative operation, which comprises the following steps: receiving an interface to be operated and distribution information issued by a server, wherein the interface to be operated comprises N control areas, and each control area is distributed with a corresponding user account by the server; generating collaborative operation data for the control area according to the collaborative instruction input by the user and the allocation information; uploading the collaborative operation data so that the server side forms an operation instruction for the interface to be operated according to the collaborative operation data uploaded by at least 2 client sides. The embodiment of the invention also provides electronic equipment, which comprises: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of co-operation described above.
The embodiment of the invention also provides a computer readable storage medium storing a computer program which when executed by a processor implements the above-described method of co-operation.
In the embodiment of the invention, an interface to be operated is divided into N control areas, and a corresponding user account is allocated to each control area; because the different control areas have the corresponding user accounts, the clients of the user accounts can simultaneously perform cooperative operation on the respective control areas, and an operation instruction for the same operation object in the interface to be operated is formed according to the received cooperative operation data; in the example, the operation instruction of the interface to be operated can be completed by the clients of the user accounts, so that the operation of the same operation object is decomposed, and the operation difficulty of the same operation object in the interface to be operated by the client of each user account is reduced; the operation efficiency of the same operation object is improved; meanwhile, the client of the multi-user account can simultaneously perform cooperative operation on the same operation object in the interface to be operated, and the use experience of the user can be improved.
In addition, according to each user attribute and the control level of each control area, a corresponding user account is allocated to each control area, and a corresponding user account is allocated to each control area, so that the client sides of at least 2 user accounts operate on the respective control areas at the same time, and the method comprises the following steps: acquiring a user attribute of each user account and a control level of each control area, wherein the control level is used for indicating the operation difficulty of the control area; acquiring a user comprehensive score of each user account according to each user attribute, wherein the user comprehensive score is used for indicating a first operation level of the current user account; and sequentially distributing each control area from high to low according to the control level indication, wherein the control areas are distributed as follows: acquiring the user account with the highest user comprehensive score corresponding indication from unassigned user accounts; and taking the user account corresponding to the maximum user comprehensive score as the user account corresponding to the control area. The operation difficulty of the control area with high control level is high, the comprehensive score of the user can be obtained through the user attribute, and the user account with high comprehensive score of the user is distributed to the control area with high control level, so that the distributed user account can flexibly control the control area to the greatest extent, and the overall operation of the interface to be operated is improved.
In addition, the user attributes include: the second operation level of the user account at the current application and the second operation level of the user account at the interface to be operated; the step of obtaining the user comprehensive score of each user account according to each user attribute comprises the following steps: acquiring a first average value of the second operation level according to each second operation level; according to the third operation level, a second average value of the third operation level is obtained; determining a scoring weighting coefficient according to the first average value and the second average value; and obtaining the user comprehensive score of each user account according to each user attribute, the first mean value, the second mean value and the weighting coefficient. The user comprehensive score is related to a first operation level and a second operation level, and the operation flexibility degree of the user account in the initial stage can be accurately reflected through the first operation level and the second operation level.
In addition, after forming an operation instruction for the same operation object in the interface to be operated according to the collaborative operation data, the method further includes: obtaining operation scores of each user account in each control area at preset time intervals, wherein the operation scores are used for indicating the matching degree of the user account and the control area; and updating the user account corresponding to each control area according to the operation score of each user account in each control area. And (3) re-distributing the user account numbers to each control area every preset time interval, so as to ensure that the user account numbers distributed to each control area are matched best, and improve the flexible control of the interface to be operated to the greatest extent.
In addition, updating the user account corresponding to each control area according to the operation score of each user account in each control area, including: and sequentially carrying out the following updating operation on each control area again according to the order of the control level indication from high to low: acquiring a user account corresponding to the maximum operation score in the control area from the user account which is not allocated at this time; and updating the user account of the control area into the user account acquired at the time. Because the user accounts can be used by different users, the operation scores of each user account are re-acquired, the operation scores acquired in real time can accurately reflect the flexibility degree of the operation control area of the current user account, and the user accounts with high operation scores are distributed to the control area with high control level, so that the control flexibility degree of the interface to be operated is improved.
In addition, before forming an operation instruction for the same operation object in the interface to be operated according to the collaborative operation data, the method comprises the following steps: the following is performed for each control region: if the collaborative operation data in the control area is detected to comprise the client side corresponding to the user account and the client sides of other user accounts, judging whether the control authority level of the other user accounts in the control area is higher than the control authority level of the user account corresponding to the control area, if so, acquiring the collaborative operation data uploaded by the client side used by the user account with the highest control authority level, otherwise, acquiring the collaborative operation data uploaded by the client side used by the user account corresponding to the control area. And acquiring the collaborative operation data uploaded by the client used by the user account with the high control authority level, so that the user account with the high-level control authority can operate other control areas.
In addition, the user composite score for the nth user account is expressed as:wherein Dn is denoted as a first operation level of the nth user account, a is denoted as the first average value, jn is denoted as a second operation level of the nth user account, B is denoted as the second average value, W is denoted as a weighting coefficient, and n is an integer greater than 0.
In addition, after the corresponding user account is allocated to each control area so that the client sides of at least 2 user accounts operate on the respective control areas at the same time, the method further includes: judging whether the user account number of each control area is in a disconnection state, and if the user account number is in the disconnection state, re-distributing the user account number to the control area corresponding to the disconnection state account number. It can be ensured that each control area has a corresponding user account for operation.
In addition, after the corresponding user account is allocated to each control area so that the client sides of at least 2 user accounts operate on the respective control areas at the same time, the method further includes: the following is performed for each control region: and acquiring the collaborative operation data of the control area, judging whether the collaborative operation data come from a client corresponding to the user account, and if not, deleting the collaborative operation data. And deleting the collaborative operation data generated by the clients of other user accounts, so as to ensure that each control area is only operated by the corresponding user account.
Drawings
One or more embodiments are illustrated by way of example and not limitation in the figures of the accompanying drawings, in which like references indicate similar elements, and in which the figures of the drawings are not to be taken in a limiting sense, unless otherwise indicated.
FIG. 1 is a flow chart of a method of co-operation provided in accordance with a first embodiment of the present invention;
FIG. 2 is a flow chart of a method of co-operation provided in accordance with a second embodiment of the present invention;
FIG. 3 is a schematic diagram of an interface to be operated in a method of collaborative operation according to a second embodiment of the present invention;
fig. 4 is a schematic diagram of a specific implementation of allocating a corresponding user account to each control area according to the second embodiment of the present invention;
FIG. 5 is another schematic view of an interface to be operated in a method of collaboration according to a second embodiment of the present invention;
FIG. 6 is a flow chart of a method of co-operation provided in accordance with a third embodiment of the present invention;
FIG. 7 is another schematic view of an interface to be operated in a method of collaboration according to a third embodiment of the present invention;
FIG. 8 is a flow chart of a method of co-operation provided in accordance with a fourth embodiment of the present application;
FIG. 9 is a flow chart of a method of co-operation provided in accordance with a fifth embodiment of the present application;
FIG. 10 is a flow chart of a method of co-operation provided in accordance with a sixth embodiment of the present application;
fig. 11 is a block diagram of an electronic device according to a seventh embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present application more apparent, the following detailed description of the embodiments of the present application will be given with reference to the accompanying drawings. However, those of ordinary skill in the art will understand that in various embodiments of the present application, numerous technical details have been set forth in order to provide a better understanding of the present application. However, the claimed application may be practiced without these specific details and with various changes and modifications based on the following embodiments.
The following embodiments are divided for convenience of description, and should not be construed as limiting the specific implementation of the present application, and the embodiments can be mutually combined and referred to without contradiction.
A first embodiment of the invention relates to a method of co-operation. The flow is as shown in figure 1:
step 101: and acquiring an interface to be operated, wherein the interface to be operated comprises N control areas, and N is an integer greater than 1.
Step 102: and distributing a corresponding user account for each control area.
Step 103: and distributing the distribution information to the clients of each user account, so that at least 2 clients of the user accounts can cooperate with the respective control areas at the same time.
Step 104: and receiving the collaborative operation data uploaded by the client sides of at least 2 user accounts.
Step 105: and forming an operation instruction of the same operation object in the interface to be operated according to the collaborative operation data.
In the embodiment of the invention, an interface to be operated is divided into N control areas, and a corresponding user account is allocated to each control area; because the different control areas have the corresponding user accounts, the clients of the user accounts can simultaneously perform cooperative operation on the respective control areas, and an operation instruction for the same operation object in the interface to be operated is formed according to the received cooperative operation data; in the example, the operation instruction of the interface to be operated can be completed by the clients of the user accounts, so that the operation of the same operation object is decomposed, and the operation difficulty of the same operation object in the interface to be operated by the client of each user account is reduced; the operation efficiency of the same operation object is improved; meanwhile, the client of the multi-user account can simultaneously perform cooperative operation on the same operation object in the interface to be operated, and the use experience of the user can be improved.
A second embodiment of the invention relates to a method of co-operation. The second embodiment is a detailed description of the first embodiment, and the flow chart is shown in fig. 2:
step 201, acquiring an interface to be operated, wherein the interface to be operated comprises N control areas, and N is an integer greater than 1.
Specifically, the method for collaborative operation can be applied to a server, and the server is in communication connection with a client of a user account. The collaborative operation scene may be a game scene, a drawing scene, etc., in this example, the game scene in the game application is introduced as an example, the interface to be operated is a game interface in the game application, and the game interface may be an interactive game, a combat game, etc. The server may divide the interface to be operated into N control areas in advance, where N is an integer greater than 1, and the control areas may be divided in multiple manners, for example, an area having the same operation function may be divided into one control area, as shown in fig. 3, where the game scene is a character game scene, an area operated by a character in a direction is a position of the area a, and an area operated by a game skill is an area B; the area C of the skill set is replaced, then the game scene may be divided into 3 control areas, area a, area B, and area C, respectively. The number of control areas is at least 2.
Other division methods may be used for the control area, for example, an area having a similar color in the game scene may be divided into one control area. The operation area to be operated can be divided according to the number of the user accounts, so that the number of the control areas is equal to the number of the user accounts.
It should be noted that, the interface to be operated in this example refers to the game interface currently displayed on the screen, for example, the game interface displayed on the screen at time T1 is used as the interface to be operated at time T1, and the game interface displayed on the screen at time T2 is used as the interface to be operated at time T2.
The game application in the example is a cloud game, namely, operations and rendering in the game are processed by a server, the server issues the processed video stream to a client, the client plays the video stream, and operation data of a user is acquired to upload the video stream to the server.
Step 202: and distributing a corresponding user account for each control area.
Specifically, each user account may be logged in by a corresponding user client. Each client is in communication connection with a server, and the server acquires at least 2 user accounts.
There are a number of ways to assign a corresponding user account to each control region. In one example, the allocation process for each control region may be as follows: and randomly acquiring an account number from the unassigned user account number as a user account number corresponding to the control area. If the number of the user accounts is the same as the number of the control areas, each control area has a unique corresponding user account; if the number of the user accounts is greater than the number of the control areas, one control area can have a plurality of corresponding user accounts, or one control area can have one corresponding user account; if the number of user accounts is smaller than the number of control areas, the plurality of control areas may correspond to one user account, for example, if there are 3 control areas and 2 user accounts, then the control area 1 may correspond to the user account a, and the control area 2 and the control area 3 both correspond to the user account B.
In one example, a corresponding user account is assigned to each control region, and the steps shown in fig. 4 may also be employed.
Step S11: and acquiring the user attribute of each user account and the control level of each control area, wherein the control level is used for indicating the operation difficulty of the control area.
Specifically, the server acquires a user attribute of each user account and a control level of each control area, wherein the control level of the control area is used for indicating the operation difficulty of the control area, and the control levels of different control areas are different. The control level may be set by the server according to historical operation data of the user account of the control area.
The user attributes of the user account include: the user account is at a first operation level of the current application and the user account is at a second operation level of the interface to be operated. For example, in this example, the current application is a game application, and the first operation level is an operation level of the user account in the game application; the second operation level is an operation level of the user account using a character in the game application.
Step S12: and acquiring a user comprehensive score of each user account according to each user attribute, wherein the user comprehensive score is used for indicating the operation grade of the current user account.
The user composite score may be determined based on user attributes in a variety of ways.
In one example, the process of obtaining the user composite score for each user account may be: according to each first operation level, a first average value of the first operation level is obtained; according to the second operation level, a second average value of the second operation level is obtained; determining a scoring weighting coefficient according to the first average value and the second average value; and obtaining the user comprehensive score of each user account according to each user attribute, the first mean value, the second mean value and the weighting coefficient.
The process of obtaining a user composite score is described below in a specific example.
For example, the number of user accounts is n, the control area is n, the application is a game application, the first operation level of each user account is the game level of the user account in the game application, and the first operation levels of the n user accounts are respectively expressed as: d1, D2 … … Dn; the second operation level is the operation level of the current role of the user account, and is respectively expressed as: j1, J2 … … Jn. First mean a= (d1+d2+ … +dn)/n; second mean b= (j1+j2+ … +jn)/n; the weighting coefficient W can be expressed as shown in the formula (1):
W=round (abs ((a+b)/(a-B)), 0) formula (1);
wherein, the round function in the formula (1) represents a value of 0 bits after returning a decimal point, and the abs function represents an absolute value.
The user composite score Un may be as shown in equation (2):
the Un can objectively and accurately reflect the operation level of the user account on the current interface to be operated.
Step S13: and sequentially distributing the following control areas according to the order of the control level indication from high to low: acquiring a user account corresponding to the maximum user comprehensive score from unassigned user accounts; and taking the user account corresponding to the maximum user comprehensive score as the user account corresponding to the control area.
Specifically, the control difficulty of the control region of the high control level is greater than the control difficulty of the control region of the low control level. In order to improve accuracy of collaborative operation of the interface to be operated, each control area may be allocated in sequence from high to low according to the control level indication as follows: and acquiring the user account with the maximum user comprehensive score from the unassigned user account as the user account corresponding to the control area.
For example, there are 5 user accounts, and the interface to be operated is divided into 5 control areas, as shown in fig. 5, namely a control area 1, a control area 2 and a … … control area 5; the user composite scores of the 5 user accounts are respectively expressed as: u1, U2 … … U5; the control levels of the control areas are in the order from high to low: control area 1> control area 2> control area 3> control area 4> control area 5, the user composite score is expressed in order from high to low as: u1> U2> U3> U4> U5; firstly, user accounts are allocated to a control area 1, the user account with the largest user comprehensive score is selected from unassigned user accounts, namely, the user account corresponding to U1 is obtained as the user account corresponding to the control area 1, the user account with the user comprehensive score of U2 is taken as the user account corresponding to the control area 2, the user account with the user comprehensive score of U3 is taken as the user account corresponding to the control area 3, the user account with the user comprehensive score of U4 is taken as the user account corresponding to the control area 4, and the user account with the user comprehensive score of U5 is taken as the user account corresponding to the control area 5.
Step 203: and distributing the distribution information to the clients of each user account, so that at least 2 clients of the user accounts can cooperate with the respective control areas at the same time.
The server side distributes the distribution information to the terminal, so that the clients of the user accounts can cooperate with the respective control areas at the same time. The allocation information includes: information of a control area corresponding to the user account.
Step 204: and receiving the collaborative operation data uploaded by the client sides of at least 2 user accounts.
Specifically, the client side of each user account obtains an operation instruction of a user, generates respective collaborative operation data, and uploads the collaborative operation data to the server side. For example, the control area a corresponds to the user account a, and the client may display the control area a, so that the user performs an operation on the control area a, and the client obtains an operation input by the user and generates a collaborative operation data uploading server.
Step 205, for each control area, the following processing is performed: and acquiring the collaborative operation data of the control area, judging whether the collaborative operation data is from a client corresponding to the user account, if not, executing step 206, deleting the collaborative operation data, otherwise, directly executing step 207.
Specifically, the following processing is performed for each control region: and acquiring the cooperative operation data of the control area, judging whether the cooperative operation data come from the client of the corresponding user account, and if not, deleting the cooperative operation data. For example, if the user account 1 corresponding to the control area 1 determines that the received collaborative operation data includes collaborative operation data uploaded by the client of the user account 2, the collaborative operation data uploaded by the client of the user account 2 is deleted. And deleting the collaborative operation data generated by the clients of other user accounts, so as to ensure that each control area is only operated by the corresponding user account.
It is worth mentioning that whether the uploaded collaborative operation data comes from the client corresponding to the user account is judged at the server, so that the operation of the client can be reduced, and the processing efficiency is improved.
Step 206: and deleting the collaborative operation data.
Step 207: and forming an operation instruction of the same operation object in the interface to be operated according to the collaborative operation data.
And (3) acquiring the collaborative operation data processed in the step (205), and combining the currently acquired collaborative operation data to form an operation instruction of the same operation object in the interface to be operated. For example, the operation data of the character a moving left by 2 steps is uploaded by the client of the user account 1, and the operation data of the character a moving blood by 2 steps is uploaded by the client of the user account 2, so that the operation instruction of the character a is the operation instruction of moving blood left by 2 steps.
In the collaborative operation method in the embodiment, collaborative operation data generated by clients of other user accounts are deleted, so that each control area is ensured to be operated only by the client of the corresponding user account.
A third embodiment of the present invention relates to a method for collaborative operation, which is a further improvement of the second embodiment or the first embodiment, and the main improvement is that after forming an operation instruction of an interface to be operated according to collaborative operation data, the method further includes, at each preset interval, reassigning a corresponding user account to each control area. The flow is shown in fig. 6:
step 301: and acquiring an interface to be operated, wherein the interface to be operated comprises N control areas, and N is an integer greater than 1.
Step 302: and distributing a corresponding user account for each control area.
Step 303: and distributing information to the clients of each user account so that at least 2 clients of the user accounts cooperate with the control areas at the same time.
Step 304: and receiving the collaborative operation data uploaded by the client sides of at least 2 user accounts.
Step 305: the following is performed for each control region: acquiring the collaborative operation data of the control area, judging whether the collaborative operation data is from a client corresponding to the user account, and if not, executing step 306: the co-operation data is deleted.
Step 306: the co-operation data is deleted.
Step 307: and forming an operation instruction of the interface to be operated according to the collaborative operation data.
Step 308: and obtaining the operation score of each user account in each control area every preset time interval.
Specifically, the preset period may be set according to the actual application, and may be set to 1 minute, 2 minutes, or the like, for example. And obtaining operation scores of the user accounts corresponding to each control area every preset time interval. The operation score is used for indicating the matching degree of the user account and the control area.
There are a number of ways in which the operational score of a user account may be obtained, for example, in a gaming application, it may be determined from in-game behavior data, including: control the operating time of the area, the obtained prop rewards, the grade growth speed, the opponent pressing ratio information and the like.
Step 309: and updating the user account corresponding to each control area according to the operation score of each user account in each control area.
In one example, the following updating operation is sequentially performed on each control area again in the order of the control level indication from high to low: acquiring a user account corresponding to the maximum operation score in a control area from the user account which is not allocated at this time; and updating the user account of the control area into the user account acquired at the time.
Specifically, the operation scores of each user account in each control area are obtained, for example, n user accounts are obtained, n control areas are provided, and the operation score of the first user account in each control area is { S11, S12, S13 … S1n }; the operation scores of the second user account in each control area are as follows: { S21, S22, S23 … S2n }, … … the operation score of the nth user account in each control area is: { Sn1, sn2, sn3 … Snn }; the first subscript is the identification of the user account, and the second subscript is the identification of the control area.
And sequentially carrying out the following updating operation on each control area again according to the order of the control level indication from high to low: acquiring a user account corresponding to the maximum operation score in a control area from the user account which is not allocated at this time; for example, as shown in fig. 7, the maximum operation score of the control region 1 is S21; the maximum operation score of the control region 2 is S32; the maximum operation score of the control region 3 is S43; the maximum operation score of the control region 4 is S14; the maximum operation score of the control area 5 is S55; updating the user account corresponding to the control area 1 into a user account 2; updating the user account corresponding to the control area 2 into a user account 3; updating the user account corresponding to the control area 3 into a user account 4; updating the user account corresponding to the control area 4 into a user account 1; and updating the user account corresponding to the control area 5 into the user account 5.
In one example, the process of obtaining the maximum operational score may also be as follows: obtaining a maximum operation score in each control region, wherein the maximum operation score k1=max { S11, S21, S31 … Sn1} of the first control region; maximum operation score k2=max { S12, S22, S32 … Sn2} … for the second control region and maximum operation score kn=max { S1n, S2n, S3n … Snn } for the nth control region. Traversing from the control area with the highest control level, and if the current control area user score Snn is greater than Kn and equal to 0.8, entering an alternative queue by the user; and selecting the user account corresponding to the highest operation score from the candidate area.
It is worth mentioning that, because the user accounts can be used by different users, the operation score of each user account is obtained again, the operation score obtained in real time can accurately reflect the flexibility degree of the operation control area of the current user account, and the user account with high operation score is distributed to the control area with high control level, so that the control flexibility degree of the interface to be operated is improved.
A fourth embodiment of the invention relates to a method of co-operation, the flow of which is shown in figure 8.
Step 401: and acquiring an interface to be operated, wherein the interface to be operated comprises N control areas, and N is an integer greater than 1.
Step 402: and distributing a corresponding user account for each control area.
Step 403: and distributing information to the clients of each user account so that at least 2 clients of the user accounts cooperate with the control areas at the same time.
Step 404: and receiving the collaborative operation data uploaded by the client sides of at least 2 user accounts.
Step 405: the following is performed for each control region: if it is detected that the collaborative operation data in the control area includes the client side from the corresponding user account and the client sides of other user accounts, then it is determined whether the control authority level of the other user accounts in the control area is higher than the control authority level of the user accounts corresponding to the control area, if so, step 406 is executed: acquiring the collaborative operation data uploaded by the client used by the user account with the highest control authority level, otherwise, executing step 407: and obtaining the collaborative operation data uploaded by the client used by the control area corresponding to the user account.
Specifically, the server may perform the following processing for each control area: and judging that the control area also comprises clients from other user accounts, acquiring control authority levels of the other user accounts, if the control authority levels of the other user accounts are detected to be higher than the control authority levels of the corresponding user accounts, acquiring the collaborative operation data of the user accounts with the highest control authority levels, and ignoring the collaborative operation data of the user accounts with the other control levels.
For example: the control area 1 corresponds to the user account 1; the user account 1 is a low-level control authority level, and the user account 2 is a high-level control authority level; if the collaborative operation data A in the control area 1 is detected to come from the client of the user account 1, the collaborative operation data B comes from the client of the user account 2, and the control authority level of the user account 2 is judged to be higher than that of the user account 1, the collaborative operation data 2 is obtained, and the collaborative operation data 1 is ignored or deleted.
It should be noted that the following processing may be performed for each control region: and acquiring the collaborative operation data of the control area, judging whether the collaborative operation data come from the client corresponding to the user account, and if not, executing the step to delete the collaborative operation data.
Step 406: and obtaining the collaborative operation data uploaded by the client used by the user account with the highest control authority level.
Step 407: and obtaining the collaborative operation data uploaded by the client used by the control area corresponding to the user account.
Step 408: and forming an operation instruction of the same operation object in the interface to be operated according to the collaborative operation data.
In another example, the server may determine, in real time, whether the user account in each control area is disconnected, and if the user account is disconnected, then the user account is allocated to the control area corresponding to the disconnected account again.
Specifically, when the user account is reassigned, the user account with the highest operation score can be assigned preferentially to the control area corresponding to the loss account according to the operation score assignment. A random allocation may also be used.
A fifth embodiment of the present invention relates to a method for cooperating with a terminal, and the flow of the method is shown in fig. 9:
step 501: and receiving an interface to be operated and distribution information issued by the server, wherein the interface to be operated comprises N control areas, and each control area is distributed with a corresponding user account by the server.
Step 502: and generating the collaborative operation data of the control area according to the collaborative instruction and the allocation information input by the user.
Step 503: uploading the collaborative operation data so that the server side forms an operation instruction of the same operation object in the interface to be operated according to the collaborative operation data uploaded by at least 2 clients.
In the embodiment of the invention, an interface to be operated is divided into N control areas, and a corresponding user account is allocated to each control area; because the different control areas have the corresponding user accounts, the clients of the user accounts can simultaneously perform cooperative operation on the respective control areas, and an operation instruction for the same operation object in the interface to be operated is formed according to the received cooperative operation data; in the example, the operation instruction of the interface to be operated can be completed by the clients of the user accounts, so that the operation of the same operation object is decomposed, and the operation difficulty of the same operation object in the interface to be operated by the client of each user account is reduced; the operation efficiency of the same operation object is improved; meanwhile, the client of the multi-user account can simultaneously perform cooperative operation on the same operation object in the interface to be operated, and the use experience of the user can be improved.
A sixth embodiment of the present invention relates to a method for collaborative operation, and this embodiment is a specific description of the fifth embodiment, and the flow chart thereof is shown in fig. 10:
step 601: and receiving an interface to be operated and distribution information issued by the server, wherein the interface to be operated comprises N control areas, and each control area is distributed with a corresponding user account by the server.
Specifically, the client of the user account is in communication connection with the server, the server may divide the interface to be operated into N control areas, and the server obtains at least 2 user accounts. There are a number of ways to assign a corresponding user account to each control region.
In one example, the allocation process of the server for each control area may be as follows: and randomly acquiring an account number from the unassigned user account number as a user account number corresponding to the control area. If the number of the user accounts is the same as the number of the control areas, each control area has a unique corresponding user account; if the number of the user accounts is greater than the number of the control areas, the control areas can have a plurality of corresponding user accounts, or each control area can have a corresponding user account; if the number of user accounts is smaller than the number of control areas, the plurality of control areas may correspond to one user account, for example, if there are 3 control areas and two user accounts, then the control area 1 may correspond to the user account a, and the control area 2 and the control area 3 both correspond to the user account B.
In one example, a corresponding user account is assigned to each control area, and the following procedure may be adopted: acquiring user attributes of each user account and a control level of each control area, wherein the control level is used for indicating the operation difficulty of the control area; acquiring a user comprehensive score of each user account according to each user attribute, wherein the user comprehensive score is used for indicating the operation grade of the current user account; and sequentially distributing the following control areas according to the order of the control level indication from high to low: acquiring a user account corresponding to the maximum user comprehensive score from unassigned user accounts; and taking the user account corresponding to the maximum user comprehensive score as the user account corresponding to the control area.
And distributing the distribution information and the interfaces to be operated to the clients of the user accounts. And the client of the current user account receives the interface to be operated and the allocation information. The allocation information may include information of a control area corresponding to the current user account.
Step 602: and acquiring a corresponding control area according to the allocation information.
And acquiring a control area corresponding to the current user account, and displaying the blank control area on the client.
Step 603: the following processing is performed for each operation data: detecting whether the position generated by the operation data belongs to the corresponding control area, if so, executing step 604, taking the operation data as the cooperative operation data of the control area, otherwise, executing step 605 to delete the operation data.
Specifically, the client may acquire the operation data of the user in real time, determine whether the location generated by the operation data belongs to the control area corresponding to the current user account, if not, delete the operation data, and if yes, use the operation data as the collaborative operation data corresponding to the control area.
Step 604: the operation data is used as the cooperative data of the control area.
Step 605: the operation data is deleted.
Step 606: uploading the collaborative operation data so that the server side forms an operation instruction of the same operation object in the interface to be operated according to the collaborative operation data uploaded by at least 2 clients.
Uploading the collaborative operation data to a server, and receiving the collaborative operation data uploaded by at least 2 clients by the server, wherein the server can combine the collaborative operation data to form an operation instruction of an interface to be operated.
The above steps of the methods are divided, for clarity of description, and may be combined into one step or split into multiple steps when implemented, so long as they include the same logic relationship, and they are all within the protection scope of this patent; it is within the scope of this patent to add insignificant modifications to the algorithm or flow or introduce insignificant designs, but not to alter the core design of its algorithm and flow.
A seventh embodiment of the present invention relates to an electronic device, the structural block diagram of which is shown in fig. 11, including: at least one processor 701; and a memory 702 communicatively coupled to the at least one processor 701; the memory 702 stores instructions executable by the at least one processor 701, the instructions being executable by the at least one processor 701 to enable the at least one processor 701 to perform the above-described method of co-operation.
Where memory 702 and processor 701 are connected by a bus, the bus may comprise any number of interconnected buses and bridges linking together the various circuits of the one or more processors and memory. The bus may also link together various other circuits such as peripheral devices, voltage regulators, power management circuits, etc., as are well known in the art and, therefore, will not be further described herein. The bus interface provides an interface between the bus and the transceiver. The transceiver may be one element or may be a plurality of elements, such as a plurality of receivers and transmitters, providing a means for communicating with various other apparatus over a transmission medium. The data processed by the processor is transmitted over the wireless medium via the antenna, which further receives the data and transmits the data to the processor.
The processor is responsible for managing the bus and general processing and may also provide various functions including timing, peripheral interfaces, voltage regulation, power management, and other control functions. And memory may be used to store data used by the processor in performing operations.
An eighth embodiment of the present application relates to a computer-readable storage medium storing a computer program which, when executed by a processor, implements the above-described method of co-operation.
Those skilled in the art will appreciate that all or part of the steps in implementing the methods of the embodiments described above may be implemented by a program stored in a storage medium, including instructions for causing a device (which may be a single-chip microcomputer, a chip or the like) or a processor (processor) to perform all or part of the steps of the methods of the embodiments of the application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
It will be understood by those of ordinary skill in the art that the foregoing embodiments are specific examples of carrying out the application and that various changes in form and details may be made therein without departing from the spirit and scope of the application.

Claims (8)

1. A method of co-operation, comprising:
acquiring an interface to be operated, wherein the interface to be operated comprises N control areas, and N is an integer greater than 1;
distributing a corresponding user account for each control area;
distributing information to the client sides of each user account so that at least 2 client sides of the user accounts cooperate with the respective control areas at the same time;
receiving collaborative operation data uploaded by clients of at least 2 user accounts;
forming an operation instruction for the same operation object in the interface to be operated according to the cooperative operation data;
before forming an operation instruction for the same operation object in the interface to be operated according to the collaborative operation data, the following processing is performed for each control area: if the collaborative operation data in the control area is detected to comprise the client side corresponding to the user account and the client sides of other user accounts, judging whether the control authority level of the other user accounts in the control area is higher than the control authority level of the user account corresponding to the control area, if so, acquiring the collaborative operation data uploaded by the client side used by the user account with the highest control authority level, otherwise, acquiring the collaborative operation data uploaded by the client side used by the user account corresponding to the control area;
After the operation instruction for the same operation object in the interface to be operated is formed according to the collaborative operation data, the method further comprises:
obtaining operation scores of each user account in each control area at preset time intervals, wherein the operation scores are used for indicating the matching degree of the user account and the control area;
and updating the user account corresponding to each control area according to the operation score of each user account in each control area.
2. The method according to claim 1, wherein the assigning a corresponding user account to each control area, so that the clients of at least 2 user accounts operate on the respective control areas simultaneously, includes:
acquiring a user attribute of each user account and a control level of each control area, wherein the control level is used for indicating the operation difficulty of the control area;
acquiring a user comprehensive score of each user account according to each user attribute, wherein the user comprehensive score is used for indicating the operation level of the current user account;
And sequentially distributing each control area from high to low according to the control level indication, wherein the control areas are distributed as follows: acquiring the user account corresponding to the maximum comprehensive user score from unassigned user accounts; and taking the user account corresponding to the maximum user comprehensive score as the user account corresponding to the control area.
3. The method of claim 2, wherein the user attributes comprise: the user account is at a first operation level of the current application and the user account is at a second operation level of the interface to be operated;
the step of obtaining the user comprehensive score of each user account according to each user attribute comprises the following steps:
acquiring a first average value of the first operation level according to each first operation level;
acquiring a second average value of the second operation level according to the second operation level;
determining a scoring weighting coefficient according to the first average value and the second average value;
and obtaining the user comprehensive score of each user account according to each user attribute, the first mean value, the second mean value and the weighting coefficient.
4. The method according to claim 1, wherein updating the user account corresponding to each control area according to the operation score of each user account in each control area comprises:
And sequentially carrying out the following updating operation on each control area again according to the order of the control level indication from high to low:
acquiring a user account corresponding to the maximum operation score in the control area from the user account which is not allocated at this time;
and updating the user account of the control area into the user account acquired at the time.
5. A method of co-operation according to claim 3, wherein the user composite score for the nth user account is expressed as:wherein Dn is denoted as a first operation level of the nth user account, a is denoted as the first average value, jn is denoted as a second operation level of the nth user account, B is denoted as the second average value, W is denoted as a weighting coefficient, and n is an integer greater than 0.
6. A method according to any one of claims 1-3, wherein after said assigning each of said control areas a corresponding one of said user accounts such that clients of at least 2 of said user accounts operate on respective ones of said control areas simultaneously, said method further comprises:
judging whether the user account number of each control area is in a disconnection state, and if the user account number is in the disconnection state, distributing other user account numbers to the control area corresponding to the disconnection state account number again.
7. An electronic device, comprising:
at least one processor; the method comprises the steps of,
a memory communicatively coupled to the at least one processor; wherein, the liquid crystal display device comprises a liquid crystal display device,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of co-operation of any one of claims 1-6.
8. A computer readable storage medium storing a computer program, characterized in that the computer program, when executed by a processor, implements the method of co-operation of any of claims 1 to 6.
CN202011511507.5A 2020-12-18 2020-12-18 Collaborative operation method, electronic device and storage medium Active CN112619155B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011511507.5A CN112619155B (en) 2020-12-18 2020-12-18 Collaborative operation method, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011511507.5A CN112619155B (en) 2020-12-18 2020-12-18 Collaborative operation method, electronic device and storage medium

Publications (2)

Publication Number Publication Date
CN112619155A CN112619155A (en) 2021-04-09
CN112619155B true CN112619155B (en) 2023-09-19

Family

ID=75318173

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011511507.5A Active CN112619155B (en) 2020-12-18 2020-12-18 Collaborative operation method, electronic device and storage medium

Country Status (1)

Country Link
CN (1) CN112619155B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003144755A (en) * 2001-08-28 2003-05-20 Square Co Ltd On-line system, server device for on-line system, client device, player information provision method, player information control method, player information provision program, player information control program, and recording medium
JP5111651B1 (en) * 2011-09-29 2013-01-09 株式会社コナミデジタルエンタテインメント Game device and program
KR101627259B1 (en) * 2015-08-18 2016-06-03 주식회사 홍인터내셔날 Method and apparatus for team match dart game mode with virtual player and computer program stored in computer readable medium therefor
CN106101132A (en) * 2016-07-08 2016-11-09 腾讯科技(深圳)有限公司 One is formed a team system, method and device
US9764227B1 (en) * 2013-09-25 2017-09-19 Aftershock Services, Inc. Providing content based on presentation control device
CN108635862A (en) * 2018-04-25 2018-10-12 咪咕互动娱乐有限公司 A kind of method of controlling operation thereof, device and storage medium
CN109408213A (en) * 2018-10-09 2019-03-01 佛山市蠢材科技有限公司 Cotasking processing method, system and storage medium
CN109589610A (en) * 2018-12-14 2019-04-09 北京智明星通科技股份有限公司 A kind of gaming jurisdiction setting method, device and terminal
CN110765016A (en) * 2019-10-24 2020-02-07 网易(杭州)网络有限公司 Game test instruction processing method, system, server and storage device
CN111481939A (en) * 2020-04-08 2020-08-04 网易(杭州)网络有限公司 Game account control method, device, medium and electronic equipment

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003144755A (en) * 2001-08-28 2003-05-20 Square Co Ltd On-line system, server device for on-line system, client device, player information provision method, player information control method, player information provision program, player information control program, and recording medium
JP5111651B1 (en) * 2011-09-29 2013-01-09 株式会社コナミデジタルエンタテインメント Game device and program
US9764227B1 (en) * 2013-09-25 2017-09-19 Aftershock Services, Inc. Providing content based on presentation control device
KR101627259B1 (en) * 2015-08-18 2016-06-03 주식회사 홍인터내셔날 Method and apparatus for team match dart game mode with virtual player and computer program stored in computer readable medium therefor
CN106101132A (en) * 2016-07-08 2016-11-09 腾讯科技(深圳)有限公司 One is formed a team system, method and device
CN108635862A (en) * 2018-04-25 2018-10-12 咪咕互动娱乐有限公司 A kind of method of controlling operation thereof, device and storage medium
CN109408213A (en) * 2018-10-09 2019-03-01 佛山市蠢材科技有限公司 Cotasking processing method, system and storage medium
CN109589610A (en) * 2018-12-14 2019-04-09 北京智明星通科技股份有限公司 A kind of gaming jurisdiction setting method, device and terminal
CN110765016A (en) * 2019-10-24 2020-02-07 网易(杭州)网络有限公司 Game test instruction processing method, system, server and storage device
CN111481939A (en) * 2020-04-08 2020-08-04 网易(杭州)网络有限公司 Game account control method, device, medium and electronic equipment

Also Published As

Publication number Publication date
CN112619155A (en) 2021-04-09

Similar Documents

Publication Publication Date Title
US11303730B2 (en) Dynamic online game implementation on a client device
KR20050044752A (en) Dynamic bandwidth control
US20130059654A1 (en) Method and apparatus for receiving game streaming data, and method and server for transmitting game streaming data
JP2015153101A (en) Information sharing system, information-processing device, program, and information sharing method
CN104623898A (en) Method for entering game copy scene and game server
CN102985142A (en) Server, game device, and program executed by said server
CN103650001A (en) Moving image distribution server, moving image playback device, control method, program, and recording medium
CN111659126A (en) Distribution method, device, server, terminal and storage medium of matching process
US20110312425A1 (en) Video game system
JP2022002702A (en) Computer program, method, and server device
JP2018023673A (en) Program and system
CN112619155B (en) Collaborative operation method, electronic device and storage medium
CN110354496B (en) Electronic athletic event processing method and device, storage medium and electronic equipment
US20230091665A1 (en) Method for controlling game apparatus, game system, and recording medium
CN112494951B (en) Game relay method, server and storage medium
CN113730921B (en) Recommendation method and device for virtual organization, storage medium and electronic equipment
JP6974550B1 (en) Computer programs, methods, and server equipment
US10943319B2 (en) Information processing system, information processing apparatus, server, storage medium having stored therein information processing program, and information processing method
US10016676B2 (en) Processing system, information processing apparatus, control method, program and storage medium
CN112449205A (en) Information interaction method and device, terminal equipment and storage medium
CN114679596B (en) Interaction method and device based on game live broadcast, electronic equipment and storage medium
CN109999490A (en) A kind of method and system reducing networking cloud application delay
CN113409215B (en) Reconstruction equipment and medical image multi-plane reconstruction method
JP6208909B1 (en) CONTROL PROGRAM, CONTROL METHOD, AND GAME DEVICE
CN104618421A (en) Method and device for distributing storage resources

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant