CN112619155A - Method for cooperative operation, electronic device and storage medium - Google Patents

Method for cooperative operation, electronic device and storage medium Download PDF

Info

Publication number
CN112619155A
CN112619155A CN202011511507.5A CN202011511507A CN112619155A CN 112619155 A CN112619155 A CN 112619155A CN 202011511507 A CN202011511507 A CN 202011511507A CN 112619155 A CN112619155 A CN 112619155A
Authority
CN
China
Prior art keywords
user account
user
control area
control
interface
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202011511507.5A
Other languages
Chinese (zh)
Other versions
CN112619155B (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.)
Migu Cultural Technology Co Ltd
China Mobile Communications Group Co Ltd
MIGU Interactive Entertainment Co Ltd
Original Assignee
Migu Cultural Technology Co Ltd
China Mobile Communications Group Co Ltd
MIGU Interactive Entertainment 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 Migu Cultural Technology Co Ltd, China Mobile Communications Group Co Ltd, MIGU Interactive Entertainment Co Ltd filed Critical Migu Cultural Technology 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

Images

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Business, Economics & Management (AREA)
  • Computer Security & Cryptography (AREA)
  • General Business, Economics & Management (AREA)
  • Information Transfer Between Computers (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention relates to the technical field of computers, and discloses a cooperative operation method, electronic equipment and a storage medium. The method for the cooperative operation 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; issuing the allocation information to the client of each user account so that the clients of at least 2 user accounts can simultaneously carry out cooperative operation on the respective control areas; receiving cooperative operation data uploaded by clients of at least 2 user accounts; and forming an operation instruction for the same operation object of the interface to be operated according to the cooperative operation data. By adopting the embodiment, at least two clients can perform cooperative operation on the same operation object in the interface to be operated, so that the operation speed and the user experience are improved.

Description

Method for cooperative operation, electronic device and storage medium
Technical Field
The embodiment of the invention relates to the technical field of computers, in particular to a cooperative operation method, electronic equipment and a storage medium.
Background
The cloud game is a game mode based on cloud computing, all games run at a server side in a running mode of the cloud game, the server completes the computation and rendering of the games, game pictures are coded in real time, and coded audio and video streams are pushed to a client side. The client decodes and displays the audio and video stream and simultaneously transmits a user operation instruction back to the server. Cloud computing is an internet-based computing method by which shared software and hardware resources and information can be provided to computers and other devices as needed.
However, currently, the operation right of the same game screen is only allocated to one client, and the remaining clients can only view the game screen and cannot operate the game screen, so that team assistance cannot be performed, and the game experience is reduced, for example, the operation on the game character a includes: generally, the control authority of the game role A is only the client A at the same time, the game role can be controlled only by the client A, and the game role cannot be controlled by other clients at the same time.
Disclosure of Invention
An object of an embodiment of the present invention is to provide a method, an electronic device, and a storage medium for performing a cooperative operation, so that at least two clients can perform a cooperative operation on a same operation object in an interface to be operated, thereby increasing an operation speed and obtaining the interface to be operated by a user, where the interface to be operated includes N control areas, and N is an integer greater than 1; distributing a corresponding user account for each control area; issuing the allocation information to the client of each user account so that the clients of at least 2 user accounts can simultaneously carry out cooperative operation on the respective control areas; receiving cooperative 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 cooperative 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 cooperative operation data to the control area according to a cooperative instruction input by a user and the distribution information; and uploading the cooperative operation data to enable the server to form an operation instruction for the interface to be operated according to the cooperative operation data uploaded by at least 2 clients. An embodiment of the present invention also provides an electronic device, including: 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 above-described co-operating method.
Embodiments of the present invention also provide a computer-readable storage medium storing a computer program, which when executed by a processor implements the method of cooperative operation described above.
In the embodiment of the invention, the interface to be operated is divided into N control areas, and a corresponding user account is allocated to each control area; the client sides of the user accounts can simultaneously carry out cooperative operation on the respective control areas because the different control areas have the respective corresponding user accounts, 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 plurality of user accounts, so that the operation on the same operation object is decomposed, and the operation difficulty of the client of each user account on the same operation object in the interface to be operated is reduced; the operation efficiency of the same operation object is improved; meanwhile, the client side of the multi-user account can simultaneously carry out cooperative operation on the same operation object in the to-be-operated interface, and the use experience of the user can be improved.
In addition, allocating, according to each of the user attributes and the control level of each of the control areas, the corresponding user account for each of the control areas, and allocating the corresponding user account for each of the control areas, so that clients of at least 2 of the user accounts operate respective control areas at the same time, 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 a first operation level of the current user account; according to the control level indication sequence from high to low, each control area is sequentially allocated as follows: acquiring the user account with the highest indication corresponding to the maximum user comprehensive score from the unassigned user account; 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 the high control level is high, the user comprehensive score can be obtained through the user attributes, and the user account with the high user comprehensive score is allocated to the control area with the high control level, so that the allocated user account can flexibly control the control area to the maximum degree, and the whole operation on the interface to be operated is improved.
In addition, the user attributes include: the user account is in a second operation level of the current application and a second operation level of the user account in the interface to be operated; the obtaining of the user comprehensive score of each user account according to each user attribute comprises: acquiring a first average value of the second operation levels according to each second operation level; acquiring a second average value of a third operation level according to the third operation level; determining a grading weighting coefficient according to the first mean value and the second mean value; and acquiring a 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 comprehensive user score is related to the first operation level and the 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 an operation instruction for the same operation object in the interface to be operated is formed according to the cooperative operation data, the method further includes: acquiring an operation score of each user account in each control area at preset intervals, wherein the operation score is 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 scores of each user account in each control area. And reallocating the user account numbers to each control area every other preset time interval, ensuring that the user account numbers distributed to each control area are matched best, and improving the flexible control on the interface to be operated to the maximum 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 includes: and according to the sequence of the control level indication from high to low, sequentially and again performing the following updating operation on each control area: acquiring a user account corresponding to the maximum operation score in the control area from the unassigned user account; and updating the user account in the control area into the acquired user account. Because the user accounts can be used by different users, the operation scores of each user account are obtained again, the flexibility degree of the operation control area of the current user account can be accurately reflected by the operation scores obtained in real time, the user accounts with high operation scores are distributed to the control area with high control level, and the control flexibility 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 cooperative operation data, the method includes: the following processing is performed for each control area: if the cooperative operation data in the control area is detected to be from the client corresponding to the user account and the clients of other user accounts, judging whether the control authority level of other user accounts in the control area is higher than that of the user account corresponding to the control area, if so, acquiring the cooperative operation data uploaded by the client used by the user account with the highest control authority level, and otherwise, acquiring the cooperative operation data uploaded by the client used by the user account corresponding to the control area. And acquiring the cooperative 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 control authority level can operate other control areas.
In addition, the user composite score for the nth user account is expressed as:
Figure BDA0002846541160000031
wherein Dn is represented as a first operation level of the nth user account, a is represented as the first average value, Jn is represented as a second operation level of the nth user account, B is represented as the second average value, W is a weighting coefficient, and n is an integer greater than 0.
In addition, after the allocating the corresponding user account to each control area so that clients of at least 2 user accounts operate the respective control areas simultaneously, the method further includes: and judging whether the user account of each control area is lost, and if the user account is lost, re-distributing the user account to the control area corresponding to the lost account. And each control area can be ensured to have a corresponding user account for operation.
In addition, after the allocating the corresponding user account to each control area so that clients of at least 2 user accounts operate the respective control areas simultaneously, the method further includes: the following processing is performed for each control area: and acquiring the cooperative operation data of the control area, judging whether the cooperative operation data is from a client corresponding to the user account, and if not, deleting the cooperative operation data. And deleting the cooperative operation data generated by the clients of other user accounts 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 in the accompanying drawings, which correspond to the figures in which like reference numerals refer to similar elements and which are not to scale unless otherwise specified.
FIG. 1 is a flow chart of a method of collaborative operation according to a first embodiment of the present invention;
FIG. 2 is a flow chart of a method of collaborative operation according to a second embodiment of the present invention;
FIG. 3 is a schematic diagram of an interface to be operated in a cooperative method 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 a second embodiment of the present invention;
FIG. 5 is another schematic diagram of an interface to be operated in a cooperative method according to a second embodiment of the present invention;
FIG. 6 is a flow chart of a method of collaborative operation according to a third embodiment of the present invention;
FIG. 7 is another schematic diagram of an interface to be operated in a cooperative method according to a third embodiment of the present invention;
FIG. 8 is a flow chart of a method of cooperative operation provided in accordance with a fourth embodiment of the present invention;
FIG. 9 is a flow chart of a method of cooperative operation provided in accordance with a fifth embodiment of the present invention;
FIG. 10 is a flow chart of a method of co-operation according to a sixth embodiment of the present invention;
fig. 11 is a block diagram of an electronic device according to a seventh embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention more apparent, embodiments of the present invention will be described in detail below with reference to the accompanying drawings. However, it will be appreciated by those of ordinary skill in the art that numerous technical details are set forth in order to provide a better understanding of the present application in various embodiments of the present invention. However, the technical solution claimed in the present application can be implemented without these technical details and various changes and modifications based on the following embodiments.
The following embodiments are divided for convenience of description, and should not constitute any limitation to the specific implementation manner of the present invention, and the embodiments may be mutually incorporated and referred to without contradiction.
A first embodiment of the invention relates to a method of co-operating. The flow is 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 allocating a corresponding user account for each control area.
Step 103: and issuing the distribution information to the client of each user account so that the clients of at least 2 user accounts can simultaneously carry out cooperative operation on respective control areas.
Step 104: and receiving the cooperative operation data uploaded by the clients 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 cooperative operation data.
In the embodiment of the invention, the interface to be operated is divided into N control areas, and a corresponding user account is allocated to each control area; the client sides of the user accounts can simultaneously carry out cooperative operation on the respective control areas because the different control areas have the respective corresponding user accounts, 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 plurality of user accounts, so that the operation on the same operation object is decomposed, and the operation difficulty of the client of each user account on the same operation object in the interface to be operated is reduced; the operation efficiency of the same operation object is improved; meanwhile, the client side of the multi-user account can simultaneously carry out cooperative operation on the same operation object in the to-be-operated interface, and the use experience of the user can be improved.
A second embodiment of the invention relates to a method of co-operating. The second embodiment is a detailed description of the first embodiment, and the flow thereof is shown in fig. 2:
step 201, obtaining an interface to be operated, wherein the interface to be operated comprises N control areas, and N is an integer larger than 1.
Specifically, the cooperative operation method may be applied to a server, where the server is in communication connection with a client of a user account. The cooperative operation scene may be a game scene, a drawing scene, and the like, in this example, a game scene in a game application is taken as an example for introduction, the interface to be operated is a game interface in the game application, and the game interface may be an interactive game, a battle game, and the like. The server may divide the interface to be operated into N control regions in advance, where N is an integer greater than 1, and the control regions may be divided in various ways, for example, the regions with the same operation function may be divided into one control region, as shown in fig. 3, the game scene is a role game scene, the region operated in the direction of the role character is the position of the region a, and the region operated by the game skill is the region B; by replacing the area C of the skill equipment, the game scene can be divided into 3 control areas, namely area a, area B and area C. The number of control areas is at least 2.
The control area may also be divided in other ways, for example, an area with similar colors in a game scene may be divided into one control area. The operation area can be divided according to the number of the user accounts, so that the number of the control area is equal to the number of the user accounts.
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 the time T1 is the interface to be operated at the time T1, and the game interface displayed on the screen at the time T2 is the interface to be operated at the time T2.
The game application in the embodiment is a cloud game, namely, the operation and rendering in the game are processed by the server, the server sends the processed video stream to the client, and the client plays the video stream and obtains the operation data of the user to upload the operation data to the server.
Step 202: and allocating a corresponding user account for each control area.
Specifically, each user account may be logged in by the corresponding client used. Each client is in communication connection with the server, and the server acquires at least 2 user accounts.
There may be a variety of ways to assign a corresponding user account to each control region. In one example, the assignment process for each control region may be as follows: and randomly acquiring an account from the unassigned user accounts as the user account corresponding to the control area. If the number of the user accounts is the same as that of the control areas, each control area has a unique corresponding user account; if the number of the user accounts is larger than that of the control area, one control area can have a plurality of corresponding user accounts, and one control area can also have one corresponding user account; if the number of the user accounts is smaller than that of the control areas, a plurality of control areas may correspond to one user account, for example, if there are 3 control areas and 2 user accounts, then control area 1 may correspond to user account a, and control area 2 and control area 3 may both correspond to user account B.
In one example, a corresponding user account is assigned to each control area, and the steps shown in fig. 4 may also be adopted.
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 side obtains a user attribute of each user account and a control level of each control area, the control level of each 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 can be set by the server according to the historical operation data of the user account in 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 a second operation level of the user account at 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 level of the current user account.
The user composite score can be determined according to the user attributes, and the determination mode has various modes.
In one example, the process of obtaining the user composite score of each user account may be: acquiring a first average value of the first operation levels according to each first operation level; acquiring a second average value of the second operation level according to the second operation level; determining a grading weighting coefficient according to the first mean value and the second mean value; and acquiring 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 the user composite score is described as a specific example.
For example, the number of user accounts is n, the number of control areas is n, the application is a game application, the first operation level of each user account is a game level of the user account in the game application, and the first operation levels of the n user accounts are respectively represented as: d1, D2 … … Dn; the second operation level is an operation level of the current role of the user account, and is respectively represented as: j1, J2 … … Jn. A first average value a ═ (D1+ D2+ … + Dn)/n; a second mean value B ═ (J1+ J2+ … + Jn)/n; the weighting factor W can be expressed as shown in equation (1):
w ═ round (abs ((a + B)/(a-B)),0) formula (1);
wherein, the round function in the formula (1) represents the value of 0 bit after returning a decimal point, and the abs function represents the absolute value.
The user composite score Un may be as shown in formula (2):
Figure BDA0002846541160000071
the Un can objectively and accurately reflect the operation level of the user account in the current interface to be operated.
Step S13: according to the control level indication from high to low, each control area is sequentially allocated as follows: acquiring a user account corresponding to the maximum user comprehensive score from the 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 that of the control region of the low control level. In order to improve the accuracy of the cooperative operation of the interface to be operated, each control area may be sequentially allocated in the order 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 accounts 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, which are control area 1 and control area 2 … … control area 5 respectively; 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 region 1> control region 2> control region 3> control region 4> control region 5, the user composite score is expressed as: u1> U2> U3> U4> U5; firstly, allocating user accounts to the control area 1, selecting the user account with the maximum user comprehensive score from the unallocated user accounts, namely, acquiring the user account corresponding to U1 as the user account corresponding to the control area 1, and in the same way, taking the user account with the user comprehensive score of U2 as the user account corresponding to the control area 2, taking the user account with the user comprehensive score of U3 as the user account corresponding to the control area 3, taking the user account with the user comprehensive score of U4 as the user account corresponding to the control area 4, and taking the user account with the user comprehensive score of U5 as the user account corresponding to the control area 5.
Step 203: and issuing the distribution information to the client of each user account so that the clients of at least 2 user accounts can simultaneously carry out cooperative operation on respective control areas.
The server side issues the allocation information to the terminal, so that the clients of a plurality of user accounts can simultaneously perform cooperative operation on respective control areas. The allocation information includes: and the information of the control area corresponding to the user account.
Step 204: and receiving the cooperative operation data uploaded by the clients of at least 2 user accounts.
Specifically, the client of each user account acquires an operation instruction of the user, generates respective cooperative operation data, and uploads the cooperative operation data to the server. For example, the control area a corresponds to the user account a, the client may display the control area a, so that the user performs an operation on the control area a, and the client obtains the operation input by the user to generate the collaboration operation data uploading server.
Step 205, the following processing is carried out for each control area: acquiring the cooperative operation data of the control area, and judging whether the cooperative operation data is from a client corresponding to the user account, if not, executing step 206, and deleting the cooperative operation data, otherwise, directly executing step 207.
Specifically, the following processing is performed for each control area: and acquiring the cooperative operation data of the control area, judging whether the cooperative operation data is from a 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 cooperative operation data includes cooperative operation data uploaded by the client of the user account 2, the cooperative operation data uploaded by the client of the user account 2 is deleted. And deleting the cooperative operation data generated by the clients of other user accounts to ensure that each control area is only operated by the corresponding user account.
It is worth mentioning that the server determines whether the uploaded cooperative operation data is from the client corresponding to the user account, so that the operation of the client can be reduced, and the processing efficiency can be improved.
Step 206: and deleting the cooperative operation data.
Step 207: and forming an operation instruction of the same operation object in the interface to be operated according to the cooperative operation data.
The cooperative operation data processed in step 205 is acquired, and the currently acquired cooperative operation data may be merged 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 enriching the blood is uploaded by the client of the user account 2, so that the current operation instruction of the character a moves left by 2 steps while enriching the blood.
In the cooperative operation method in this embodiment, the cooperative operation data generated by the clients of the other user accounts is deleted, and it is ensured that each control area is 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 an operation instruction of an interface to be operated is formed according to collaborative operation data, a corresponding user account is newly allocated to each control area at intervals of a preset time period. 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 allocating a corresponding user account for each control area.
Step 303: and issuing the distribution information to the client of each user account so that the clients of at least 2 user accounts can simultaneously carry out cooperative operation on the respective control areas.
Step 304: and receiving the cooperative operation data uploaded by the clients of at least 2 user accounts.
Step 305: the following processing is performed for each control area: acquiring cooperative operation data of the control area, judging whether the cooperative operation data is from a client corresponding to the user account, if not, executing step 306: the cooperative operation data is deleted.
Step 306: the cooperative operation data is deleted.
Step 307: and forming an operation instruction of the interface to be operated according to the cooperative operation data.
Step 308: and acquiring the operation score of each user account in each control area at preset intervals.
Specifically, the preset time period may be set according to actual applications, for example, may be set to 1 minute, 2 minutes, or the like. And acquiring the operation scores of the user accounts corresponding to each control area at preset time intervals. The operation score is used for indicating the matching degree of the user account and the control area.
There are various ways to obtain the operation score of the user account, for example, in a game application, the operation score may be determined according to game behavior data in a game, where the user behavior data includes: the operation time of the control area, the obtained prop awards, the grade growth speed, the opponent suppression 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 operations are performed again for each control area in sequence from high to low according to the control level indication: acquiring a user account corresponding to the maximum operation score in the control area from the unassigned user account; and updating the user account in the control area to the acquired user account.
Specifically, obtaining operation scores of each user account in each control area, for example, n user accounts are obtained, n control areas are obtained, 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 of the nth user account in each control area is scored as follows: { Sn1, Sn2, Sn3 … Snn }; the first subscript is the identifier of the user account, and the second subscript is the identifier of the control area.
And according to the sequence of the control level indication from high to low, sequentially carrying out the following updating operation on each control area again: acquiring a user account corresponding to the maximum operation score in the control area from the unassigned user account; for example, as shown in fig. 7, the maximum operation score of control region 1 is S21; the maximum operational score of control region 2 is S32; the maximum operation score of control region 3 is S43; the maximum operation score of control region 4 is S14; the maximum operation score of control region 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 to be the 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 operation score may also be as follows: acquiring the maximum operation score in each control region, wherein the maximum operation score K1 of the first control region is max { S11, S21, S31 … Sn1 }; the maximum operation score K2 of the second control region is max { S12, S22, S32 … Sn2} … the maximum operation score Kn of the nth control region is max { S1n, S2n, S3n … Snn }. Starting traversal from the control region of the highest control level, and if the user score of the current control region is Snn > Kn 0.8, entering the alternative queue by the user; and selecting the user account corresponding to the highest operation score from the alternative 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 flexibility degree of the operation control area of the current user account can be accurately reflected by the operation score obtained in real time, the user accounts with high operation scores are distributed to the control area with high control level, and the control flexibility of the interface to be operated is improved.
A fourth embodiment of the present invention relates to a method of cooperative operation, and the flow chart thereof is shown in fig. 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 allocating a corresponding user account for each control area.
Step 403: and issuing the distribution information to the client of each user account so that the clients of at least 2 user accounts can simultaneously carry out cooperative operation on the respective control areas.
Step 404: and receiving the cooperative operation data uploaded by the clients of at least 2 user accounts.
Step 405: the following processing is performed for each control area: if it is detected that the cooperative operation data in the control area includes a client from the corresponding user account and clients from other user accounts, determining 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, executing step 406: acquiring the cooperative operation data uploaded by the client used by the user account with the highest control authority level, otherwise, executing step 407: and acquiring the cooperative operation data uploaded by the client used by the user account corresponding to the control area.
Specifically, the server may perform the following processing for each control area: and if the control authority level of the other user account is detected to be higher than the control authority level of the corresponding user account, acquiring the cooperative operation data of the user account with the highest control authority level, and ignoring the cooperative operation data of the user accounts with other control levels.
For example: the control area 1 corresponds to a 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 it is detected that the cooperative operation data a in the control area 1 is from the client of the user account 1 and the cooperative operation data B is from the client of the user account 2, and it is determined that the control authority level of the user account 2 is higher than that of the user account 1, the cooperative operation data 2 is acquired, and the cooperative operation data 1 is ignored or deleted.
It should be noted that the following processing may be performed for each control area: and acquiring the cooperative operation data of the control area, judging whether the cooperative operation data is from a client corresponding to the user account, and if not, executing the step to delete the cooperative operation data.
Step 406: and acquiring the cooperative operation data uploaded by the client used by the user account with the highest control authority level.
Step 407: and acquiring the cooperative operation data uploaded by the client used by the user account corresponding to the control area.
Step 408: and forming an operation instruction of the same operation object in the interface to be operated according to the cooperative operation data.
In another example, the server may determine whether the user account in each control area is lost, and if the user account is lost, the server re-allocates the user account to the control area corresponding to the lost account.
Specifically, when the user account is reassigned, the user account with the highest operation score may be preferentially assigned to the control area corresponding to the missed 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 collaborative operations, which is applied to a terminal, and the flow thereof is as 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 cooperative operation data for the control area according to the cooperative instruction and the distribution information input by the user.
Step 503: and uploading the cooperative operation data to enable the server to form an operation instruction of the same operation object in the interface to be operated according to the cooperative operation data uploaded by at least 2 clients.
In the embodiment of the invention, the interface to be operated is divided into N control areas, and a corresponding user account is allocated to each control area; the client sides of the user accounts can simultaneously carry out cooperative operation on the respective control areas because the different control areas have the respective corresponding user accounts, 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 plurality of user accounts, so that the operation on the same operation object is decomposed, and the operation difficulty of the client of each user account on the same operation object in the interface to be operated is reduced; the operation efficiency of the same operation object is improved; meanwhile, the client side of the multi-user account can simultaneously carry out cooperative operation on the same operation object in the to-be-operated interface, and the use experience of the user can be improved.
A sixth embodiment of the present invention relates to a method of cooperative operation, and the present embodiment is a detailed description of the fifth embodiment, and its flow 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, a client of the user account is in communication connection with a server, the server can divide an interface to be operated into N control areas, and the server obtains at least 2 user accounts. There may be a variety of ways to assign a corresponding user account to each control region.
In one example, the assignment process of the server for each control region may be as follows: and randomly acquiring an account from the unassigned user accounts as the user account corresponding to the control area. If the number of the user accounts is the same as that of the control areas, each control area has a unique corresponding user account; if the number of the user accounts is larger than that of the control area, the control area can have a plurality of corresponding user accounts, and each control area can also have one corresponding user account; if the number of the user accounts is smaller than that of the control areas, a plurality of control areas may correspond to one user account, for example, if there are 3 control areas and two user accounts, then control area 1 may correspond to user account a, and control area 2 and control area 3 may both correspond to user account B.
In an example, a corresponding user account is allocated to each control area, and the following process may also be adopted: 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; according to the control level indication from high to low, each control area is sequentially allocated as follows: acquiring a user account corresponding to the maximum user comprehensive score from the 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 issuing the distribution information and the interface to be operated to the client of each user account. And the client of the current user account receives the interface to be operated and the distribution information. The allocation information may include information of a control area corresponding to the current user account.
Step 602: and acquiring the corresponding control area according to the distribution information.
And acquiring a control area corresponding to the current user account, and displaying the empty control area on the client.
Step 603: the following processing is performed for each operation data: and detecting whether the position where the operation data is generated belongs to the corresponding control area, if so, executing step 604 to use 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 obtain operation data of the user in real time, determine whether a position where the operation data is generated belongs to a control area corresponding to the current user account, if not, delete the operation data, and if so, use the operation data as cooperative operation data corresponding to the control area.
Step 604: and taking the operation data as the cooperative data of the control area.
Step 605: the operation data is deleted.
Step 606: and uploading the cooperative operation data to enable the server to form an operation instruction of the same operation object in the interface to be operated according to the cooperative operation data uploaded by at least 2 clients.
And uploading the cooperative operation data to a server, receiving the cooperative operation data uploaded by at least 2 clients by the server, and combining the cooperative operation data by the server to form an operation instruction of an interface to be operated.
The steps of the above methods are divided for clarity, and the implementation may be combined into one step or split some steps, and the steps are divided into multiple steps, so long as the same logical relationship is included, which are all within the protection scope of the present patent; it is within the scope of the patent to add insignificant modifications to the algorithms or processes or to introduce insignificant design changes to the core design without changing the algorithms or processes.
A seventh embodiment of the present invention relates to an electronic device, a block diagram of which is shown in fig. 11, and includes: 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, and the instructions are executed by the at least one processor 701 to enable the at least one processor 701 to perform the above-described cooperative operation method.
The memory 702 and the processor 701 are coupled by a bus, which may include any number of interconnected buses and bridges that link one or more of the various circuits of the processor and the memory. The bus may also link various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. A bus interface provides an interface between the bus and the transceiver. The transceiver may be one element or 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 a wireless medium via an 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 the memory may be used to store data used by the processor in performing operations.
An eighth embodiment of the present invention relates to a computer-readable storage medium storing a computer program which, when executed by a processor, implements the method of cooperative operation described above.
Those skilled in the art can understand that all or part of the steps in the method of the foregoing embodiments may be implemented by a program to instruct related hardware, where the program is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, etc.) or a processor (processor) to execute all or part of the steps of the method described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and 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 for carrying out the invention, and that various changes in form and details may be made therein without departing from the spirit and scope of the invention in practice.

Claims (10)

1. A method of collaboration, 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;
issuing the allocation information to the client of each user account so that the clients of at least 2 user accounts can simultaneously carry out cooperative operation on the respective control areas;
receiving cooperative 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 cooperative operation data.
2. The method according to claim 1, wherein the allocating a corresponding user account to each control area so that at least 2 clients of the user accounts operate the respective control areas at the same time comprises:
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;
according to the control level indication sequence from high to low, each control area is sequentially allocated as follows: acquiring the user account corresponding to the maximum user comprehensive score from the 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 at a second operation level of the interface to be operated;
the obtaining of the user comprehensive score of each user account according to each user attribute comprises:
acquiring a first average value of the first operation levels according to each first operation level;
acquiring a second average value of a second operation level according to the second operation level;
determining a grading weighting coefficient according to the first mean value and the second mean value;
and acquiring a 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 any one of claims 1 to 3, wherein after the forming of the operation instruction for the same operation object in the interface to be operated according to the cooperative operation data, the method further comprises:
acquiring an operation score of each user account in each control area at preset intervals, wherein the operation score is 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 scores of each user account in each control area.
5. The method according to claim 4, wherein the updating the user account corresponding to each control area according to the operation score of each user account in each control area comprises:
and according to the sequence of the control level indication from high to low, sequentially and again performing the following updating operation on each control area:
acquiring a user account corresponding to the maximum operation score in the control area from the unassigned user account;
and updating the user account in the control area into the acquired user account.
6. The cooperative operation method according to any one of claims 1 to 3, wherein before the operation instruction for the same operation object in the interface to be operated is formed according to the cooperative operation data, the method comprises:
the following processing is performed for each control area: if the cooperative operation data in the control area is detected to be from the client corresponding to the user account and the clients of other user accounts, judging whether the control authority level of other user accounts in the control area is higher than that of the user account corresponding to the control area, if so, acquiring the cooperative operation data uploaded by the client used by the user account with the highest control authority level, and otherwise, acquiring the cooperative operation data uploaded by the client used by the user account corresponding to the control area.
7. The method of claim 3, wherein the user composite score for an nth user account is expressed as:
Figure FDA0002846541150000021
wherein Dn is represented as a first operation level of the nth user account, a is represented as the first average value, Jn is represented as a second operation level of the nth user account, B is represented as the second average value, W is a weighting coefficient, and n is an integer greater than 0.
8. The method according to any one of claims 1 to 3, wherein after the allocating the corresponding user account to each control area so that clients of at least 2 user accounts operate the respective control areas simultaneously, the method further comprises:
and judging whether the user account of each control area is lost, and if the user account is lost, allocating other user accounts to the control area corresponding to the lost account again.
9. An electronic device, comprising:
at least one processor; and the number of the first and second groups,
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 any one of claims 1 to 8.
10. A computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the method of collaboration of any of claims 1 to 8.
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 true CN112619155A (en) 2021-04-09
CN112619155B 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
CN112619155B (en) 2023-09-19

Similar Documents

Publication Publication Date Title
CN106056529B (en) Method and equipment for training convolutional neural network for picture recognition
CN110009233B (en) Game theory-based task allocation method in crowd sensing
CN112870726B (en) Resource allocation method, device and storage medium for graphic processor
CN103650001A (en) Moving image distribution server, moving image playback device, control method, program, and recording medium
CN106455056A (en) Positioning method and device
CN108290071B (en) Media, apparatus, system, and method for determining resource allocation for performing rendering with prediction of player's intention
US8495192B2 (en) Distributed processing method, distributed processing system, server, program for the same, computer, and program for the same
CN114885199A (en) Real-time interaction method, device, electronic equipment, storage medium and system
CN112221151B (en) Map generation method and device, computer equipment and storage medium
CN110209750A (en) Maps processing method, apparatus, storage medium and processor
CN112619155B (en) Collaborative operation method, electronic device and storage medium
CN112494951A (en) Game relay method, server and storage medium
US11694389B2 (en) Avatar output device, terminal device, avatar output method, and program
CN113468346B (en) Resource processing method and device, electronic equipment and storage medium
CN112449205A (en) Information interaction method and device, terminal equipment and storage medium
CN113730921B (en) Recommendation method and device for virtual organization, storage medium and electronic equipment
CN114979686A (en) Live broadcast interaction method and device, electronic equipment and storage medium
CN114669052A (en) Game control method, device, equipment and storage medium
CN112988609B (en) Data processing method, device, storage medium and client
CN108140156A (en) Be used for transmission for generate interactive image data method, computer program and system
JP2018033809A (en) Information processor and program
CN112507100A (en) Method and device for updating question-answering system
US20030135400A1 (en) Geographically or temporally distributed simulation system
CN113409215B (en) Reconstruction equipment and medical image multi-plane reconstruction method
CN111738903B (en) Method, device and equipment for optimizing layered material of object

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