CN109063662A - Data processing method, device, equipment and storage medium - Google Patents

Data processing method, device, equipment and storage medium Download PDF

Info

Publication number
CN109063662A
CN109063662A CN201810904405.6A CN201810904405A CN109063662A CN 109063662 A CN109063662 A CN 109063662A CN 201810904405 A CN201810904405 A CN 201810904405A CN 109063662 A CN109063662 A CN 109063662A
Authority
CN
China
Prior art keywords
game
strategy
descriptive statement
image
game strategy
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
CN201810904405.6A
Other languages
Chinese (zh)
Other versions
CN109063662B (en
Inventor
张云
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Chengdu Co Ltd
Original Assignee
Tencent Technology Chengdu Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Chengdu Co Ltd filed Critical Tencent Technology Chengdu Co Ltd
Priority to CN201810904405.6A priority Critical patent/CN109063662B/en
Publication of CN109063662A publication Critical patent/CN109063662A/en
Application granted granted Critical
Publication of CN109063662B publication Critical patent/CN109063662B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V30/00Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
    • G06V30/40Document-oriented image-based pattern recognition
    • G06V30/41Analysis of document content
    • G06V30/413Classification of content, e.g. text, photographs or tables
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V30/00Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
    • G06V30/10Character recognition

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Artificial Intelligence (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Processing Or Creating Images (AREA)

Abstract

This application discloses data processing method, device, terminal, server and storage mediums, to reduce user's manual operation.The above method includes: the game image for obtaining client and sending;Identify the game element in the game image;Game strategy descriptive statement is generated using the game element identified;Description keyword in the game strategy descriptive statement includes the game element partly or entirely identified;It is retrieved according to the game strategy descriptive statement of generation, the game strategy to be matched;The game strategy is returned to the client.In the embodiment of the present application, game element can be identified based on the game image of acquisition, and is generated game strategy descriptive statement using the game element identified and retrieved.In the process, user does not need to be manually entered keyword, to simplify user's operation.

Description

Data processing method, device, equipment and storage medium
Technical field
This application involves Internet technical fields, more specifically to data processing method, device, equipment and storage Medium.
Background technique
The user for playing game often searches for some gaming-related informations, for example, search game strategy.It is common at present to search Rope mode is: keyword is inputted into search engine by hand from user, search engine is searched according to the keyword that user manually enters Rope, and show search result.
Above-mentioned way of search needs user to think deeply and inputs keyword, there is a problem of inconvenient victory.
Summary of the invention
In view of this, the embodiment of the present invention provides data processing method, device, equipment and storage medium, to reduce user Manual operation.
To achieve the above object, the embodiment of the present invention provides the following technical solutions:
A kind of data processing method is applied to server end, comprising:
Obtain the game image that client is sent;
Identify the game element in the game image;
Game strategy descriptive statement is generated using the game element identified;Description in the game strategy descriptive statement Keyword includes the game element partly or entirely identified;
It is retrieved according to the game strategy descriptive statement of generation, the game strategy to be matched;
The game strategy is returned to the client.
A kind of data processing method is applied to client, comprising:
Game image is obtained, and sends the game image to server end;
Game strategy that the server end returns, associated with the game image is received, and shows the game Strategy;Wherein, the game strategy is retrieval obtained from the server end is retrieved according to game strategy descriptive statement As a result, the description keyword in the game strategy descriptive statement includes the game element in the game image;The game Element is the server end as obtained from identifying to the game image.
A kind of data processing equipment, comprising:
First acquisition unit sends the game image for obtaining game image, and to server end;
Display unit, for receiving game strategy that the server end returns, associated with the game image, and Show the game strategy;Wherein, the game strategy is that the server end is retrieved according to game strategy descriptive statement Obtained from search result, the description keyword in the game strategy descriptive statement includes the game member in the game image Element;The game element is the server end as obtained from identifying to the game image.
A kind of data processing equipment, comprising:
Second acquisition unit, for obtaining the game image sent by client;
Data processing unit is used for:
Identify the game element in the game image;
Game strategy descriptive statement is generated using the game element identified;Description in the game strategy descriptive statement Keyword includes the game element partly or entirely identified;
It is retrieved according to the game strategy descriptive statement of generation, the game strategy to be matched;
The game strategy is returned to the client.
A kind of server includes at least processor and memory;The processor is stored by executing in the memory Program and call other equipment, execute the data processing method of above-mentioned equipment room.
A kind of terminal includes at least processor and memory;The processor is stored in the memory by executing Program and calling other equipment, execute the data processing method of above-mentioned equipment room.
The embodiment of the present invention also provides a kind of storage medium, and the storage medium is stored with a plurality of instruction, and described instruction is suitable It is loaded in processor, to execute the step in the data processing method of any equipment room provided by the embodiment of the present invention Suddenly.
As it can be seen that in the embodiment of the present application, it can identify game element based on the game image of acquisition, and using identifying Game element generates game strategy descriptive statement and is retrieved.In the process, user does not need to be manually entered keyword, thus Simplify user's operation.
Detailed description of the invention
Fig. 1 is application scenarios schematic diagram provided in an embodiment of the present invention;
Fig. 2 a is the exemplary block diagram of data processing equipment provided in an embodiment of the present invention;
Fig. 2 b is the another exemplary structure chart of data processing equipment provided in an embodiment of the present invention;
Fig. 2 c is the exemplary block diagram of terminal provided in an embodiment of the present invention or server;
Fig. 3, Fig. 5, Fig. 7, Fig. 8 are the exemplary process diagram of data processing method provided in an embodiment of the present invention;
Fig. 4, Fig. 6 a- Fig. 6 e are user interface schematic diagram provided in an embodiment of the present invention.
Specific embodiment
The embodiment of the present invention provides data processing method, data processing equipment, data processing equipment (terminal and server) And storage medium.
The core concept of technical solution provided by the invention is: identifying game element based on game image, and uses identification Game element out generates game strategy descriptive statement and is retrieved.
After having introduced core concept, data processing equipment involved in the embodiment of the present invention is described below.
Above-mentioned data processing equipment may include user side data processing equipment (can be described as the first data processing equipment) kimonos It is engaged in device side data processing unit (can be described as the second data processing equipment).
First data processing equipment can be applied in the form of software or hardware such as mobile terminal (such as smart phone), The terminal of ipad, PC machine etc..
When being applied in data processing equipment in a software form, in one example, above-mentioned first data processing equipment It can be independent software (such as dispose APP) at the terminal, can also be the operating system or operating system grade program (example of terminal Such as, the operating system in robot).In addition, the first data processing equipment can also be the small routine (Mini in wechat Program) or H5 (html5) webpage, it should be noted that " small routine " is that one kind does not need to answer workable for downloading installation i.e. With.
Above-mentioned independent software, small routine or H5 webpage can recognize the game element of multiple game, provide game for user Strategy retrieval service.
In another example, above-mentioned first data processing equipment also can be used as the component of certain game, be this game Game strategy retrieval service is provided.
It will use below and refer to existing first data processing equipment in a software form using generation.Above-mentioned application can call terminal On hardware (such as one of display screen, mobile communication module or a variety of etc.) realize technical solution provided by the present application.
And when being applied in terminal in the form of hardware, above-mentioned first data processing equipment is so exemplary that can be the control of terminal Device/processor processed.
Similarly, the second data processing equipment can be applied in server in the form of software or hardware.At the second data When reason device is applied in server in a software form, above-mentioned second data processing equipment can be independent software, small routine, H5 Webpage can also be the component etc. in game.
And when being applied in server in the form of hardware, above-mentioned second data processing equipment illustratively can be server Controller/processor.
For server, the terminal comprising the first data processing equipment or the first data processing equipment are client.
Fig. 1 is so exemplary that show one of application scenarios of above-mentioned technical proposal, the user involved in the application scenarios, visitor Family end and server, wherein user can pass through client game server.
Under application scenarios shown in Fig. 1, under the operation of user, client can call the photographic device of terminal to game Interface, game poster, publicity etc. are shot to obtain game image;Alternatively, client can also pass through under the operation of user Scan the interface of interception, game poster, publicity picture obtain game image, certainly, client also can receive other The game image of external equipment transmission.
Client can be transferred to server after getting game image, by server to the game member in game image Element is identified, and generates game strategy descriptive statement using the game element identified, and later, server can be according to generation Game strategy descriptive statement is retrieved, the game strategy to be matched, and returns to client.Client is again to user's exhibition Show game strategy.
In terms of user role, the process seen is: shooting or scanning game image after, client illustrate immediately with The associated game strategy of the game image.User does not need to be manually entered search key, to simplify the behaviour of user Make.
The internal structure of data processing equipment is described below.
Fig. 2 a shows a kind of exemplary structure of above-mentioned first data processing equipment, comprising: 201 He of first acquisition unit Display unit 202.Wherein, first acquisition unit 201 can be used for obtaining game image, and provide game image to server end, Display unit 202 can be used for receiving server end return, associated with game image game strategy, and show.
Fig. 2 b shows a kind of exemplary structure of above-mentioned second data processing equipment, comprising: 203 He of second acquisition unit Data processing unit 204.Wherein, second acquisition unit 203 can be used for receiving the game image of the transmission of client, data processing Unit 204 then can be used for identifying the game element in game image, and generate game using the game element identified Strategy descriptive statement is retrieved, the game strategy to be matched later according to the game strategy descriptive statement of generation, and Return to client.
The subsequent function that combined data processing method is introduced to above-mentioned each unit herein.
Fig. 2 c shows a kind of possible structural schematic diagram of above-mentioned terminal, comprising:
Bus, processor 1, memory 2, communication interface 3, input equipment 4 and output equipment 5.Processor 1, memory 2, Communication interface 3, input equipment 4 and output equipment 5 are connected with each other by bus.Wherein:
Bus may include an access, transmit information between computer system all parts.
Processor 1 can be general processor, such as general central processor (CPU), network processing unit (Network Processor, abbreviation NP), microprocessor etc., be also possible to application-specific integrated circuit (application-specific Integrated circuit, ASIC), or it is one or more for controlling the integrated circuit of the present invention program program execution.Also It can be digital signal processor (DSP), ready-made programmable gate array (FPGA) or other programmable logic device, discrete gate Or transistor logic, discrete hardware components.
Preserved in memory 2 execute technical solution of the present invention program or script, can also preserve operating system and Other key businesses.Specifically, program may include program code, and program code includes computer operation instruction.Script then leads to Often with text (such as ASCII) preservation, only explains or compile when called.
More specifically, memory 2 may include read-only memory (read-only memory, ROM), can store static letter Breath and instruction other kinds of static storage device, random access memory (random access memory, RAM), can Store the other kinds of dynamic memory, magnetic disk storage, flash etc. of information and instruction.
Input equipment 4 may include the device for receiving the data and information of user's input, such as keyboard, mouse, camera, language Sound input unit, touch screen etc..
Output equipment 5 may include allowing output information to the device, such as display screen, loudspeaker etc. of user.
Communication interface 3 may include using the device of any transceiver one kind, so as to other equipment or communication, Such as Ethernet, wireless access network (RAN), WLAN (WLAN) etc..In the present embodiment, communication interface 3 can be realized aforementioned Radio unit 203 and connection unit 204 function, in addition, communication interface 3 can also be achieved the part or complete of acquiring unit 201 Portion's function (such as receive wireless signal etc.).
Specifically, communication interface 3 may include one of bluetooth module, WI-FI module, mobile communication module or a variety of.
It is designed it is understood that Fig. 2 c illustrate only simplifying for data processing equipment.In practical applications, at data Reason equipment may include any number of transmitter, receiver, processor, controller, memory, communication interface etc., and own Server/intelligent terminal of the invention may be implemented all within protection scope of the present invention.
Processor 1 is by executing the program stored in memory 2 and calling other equipment, it can be achieved that following embodiments The data processing method of offer.
In addition, the function of each unit shown in Fig. 2 a or Fig. 2 b, can be executed in memory 2 by aforementioned processor 1 and be stored Program and call other equipment realize.
Server is similar with the structure of terminal, and therefore not to repeat here.
It is right for the application scenarios shown in aforementioned Fig. 1 below by terms of the general character being related to based on invention described above Technical solution provided by the present invention is described in further detail.
Fig. 3 shows a kind of exemplary flow of above-mentioned data processing method, may include following steps:
300 parts: client obtains game image, and sends above-mentioned game image to server.
More specifically, under the operation of user, client can call the photographic device of terminal to interface, game sea Report, publicity, video etc. are shot to obtain game image.For example, when user plays trip in PC machine or virtual reality device When play, usable mobile terminal takes the interface of the host side of PC machine or virtual reality device.
Alternatively, under the operation of user, interface, game poster, publicity, view that client can also be intercepted by scanning Frequency picture (can not take pictures to the game of the machine operation, need to obtain game by way of scanning screenshot to obtain game image Image).
Alternatively, client also can receive the game image of other external equipments transmission.
300 parts can be executed by first acquisition unit 201 above-mentioned, alternatively, 300 can be executed by communication interface above-mentioned The movement of game image is sent in point, alternatively, can be by the processor of terminal by executing the routine call stored in memory Filming apparatus is taken pictures or is scanned, and communication interface is called to execute the movement for sending game image in 300 parts.
And in server end, then above-mentioned game image can be received by second acquisition unit 203 above-mentioned, or by server Communication interface receives above-mentioned game image, or is connect by processor by executing the routine call communication interface stored in memory Receive above-mentioned game image.
301 parts: server identifies the game element in above-mentioned game image.
301 parts can be executed by data processing unit 204 above-mentioned, alternatively, can pass through execution by the processor of server The program stored in memory executes.
Game element is described below, classification/exemplary properties of game element obtain can include: game name, game role, road At least one of tool, player's personalization element, game events and scene.
Wherein, above-mentioned game role may include player role and non-player role.Game role, stage property in different game Generally it is different.
Above-mentioned player's personalization element is so exemplary that may include player levels, player's vital values (blood volume), defence value etc., In game generally player levels can be characterized with different additional elements, such as on the crown of player role in different colors The ring of light, different badges characterize the different brackets of player.Vital values, defence value etc. are similarly.
Above-mentioned game events may include the reminder events in game, for example, the head in some game is killed, double play, three kill, five Kill, it is super it is refreshing, group go out, can all be reminded with text, voice or graphic form, by taking voice as an example, for double play, it can be broadcasted “double kill”。
Above-mentioned situation elements are so exemplary that may include outpost, game mode, background environment etc..The scene one of different game As be different.
For example, by taking king's honor as an example, game mode may include break-through mode, 1v1 (" v " indicates confrontation), 5v5 etc. no Same game mode;By taking Mario game as an example, there are multiple outposts, in addition, also dividing ground outpost, underground outpost;With starvation For game, background environment may include spring, summer, autumn and winter, daytime, night etc..
In the present embodiment, it other than classification/attribute of game element each in game image to be identified, also to identify Specific keyword (attribute value).
By taking Fig. 4 as an example, in addition to identify element 1 be player role, element 2 be non-player role, element 3 be stage property outside, Also need to identify the corresponding keyword of player role (such as the name of the player role --- " Tom "), non-player role pair The keyword (such as " porkling ") answered, and, the corresponding keyword of stage property (such as the name of stage property --- " such as wind sword ").
Certainly, game element can also correspond to the certain area in game image.
For identification technology, image recognition technology will use, further, since may include text in game image, because This, it is also possible to it will use the knowledge of the texts such as such as OCR (Optical Character Recognition, optical character identification) Other technology.
Wherein, when carrying out image recognition, the game element in game image can be identified by identification model.
302 parts: server generates game strategy descriptive statement using the game element identified.
More specifically, the game element identified can be used to generate the game strategy descriptive statement of natural language form.Trip Description keyword in play strategy descriptive statement may include the game element (keyword) partly or entirely identified.
Natural language typically refers to a kind of language to develop naturally with culture, is people's crystallization of wisdom.
The game strategy descriptive statement of natural language form can be obtained by carrying out natural language processing to game element.
Natural language processing can be planned according to some key messages and its expression-form inside machine by one Journey, to automatically generate the natural language text of one section of high quality.
In one example, in the case where above-mentioned game element includes situation elements, above-mentioned game strategy descriptive statement Other game elements can be combined to generate game strategy descriptive statement situation elements.
By taking hungry game as an example, if identifying, the background environment (background environment belongs to scene) in game image is autumn, It include player role Wilson's and non-player role yak in image, then the game strategy descriptive statement generated may is that " Weir It is inferior to raise and train yak strategy in the fall ".
By taking Mario game as an example, if identifying, the outpost (outpost belongs to scene) in game image is specially pass of raising one's hat Card, then the game strategy descriptive statement that may be generated are as follows: " Mario outpost of raising one's hat reach a standard strategy ".
It is aforementioned to be referred in king's honor the game mould for having break-through mode, 1v1,5v5 etc. different by taking king's honor as an example Formula, if identifying, the game mode (game mode belongs to scene) in game image is 5v5, and includes player role in image " allusion quotation Wei ", then the game strategy descriptive statement that may be generated are as follows: " king honor 5v5 king valley allusion quotation Wei strategy ".
In another example, in the case where above-mentioned game element includes player's personalization element, above-mentioned game strategy Descriptive statement can also generate player's personalization element in conjunction with other game elements.
By taking king's honor as an example, it is assumed that the player role identified in game image includes li po and Dian Wei, and is identified The grade of player A corresponding to li po is bronze Samsung out, and the grade of player B corresponding to allusion quotation Wei is that king five-pointed star (namely plays The grade of family B is higher than player A), then for player A, because its grade is lower, game competitive ability is relatively poor, then it is swum Play strategy descriptive statement can include: the skill of defence allusion quotation Wei.
And for player B, because its is higher ranked, game competitive ability is relatively high, and game strategy descriptive statement can wrap It includes: robbing the strategy of li po's number of people.
302 parts can be executed by data processing unit 204 above-mentioned, alternatively, execution can be passed through by the processor of server The program stored in memory executes 302 parts.
In above-mentioned game strategy descriptive statement, other than game element, there is also conjunctive word associated with game element, Such as verb (defend, rob, raising and train), adjective etc..
Above-mentioned conjunctive word can be obtained by study.Specifically, can by learning game community, forum, barrage to strategy Description, and description of the people to strategy of hair strategy, and obtain conjunctive word.
For example, there is one strategy of human hair, it is named as " Wilson'sTame angerHow is yakIt pacifies", then it may be learned The conjunctive words such as " taming ", " anger ", " pacifying ".
Above-mentioned conjunctive word is the linguistic data relevant to game element really occurred, can be put into corpus storage.
After obtaining target keyword, conjunctive word corresponding with target keyword can be inquired from corpus, then In conjunction with target keyword, conjunctive word, above-mentioned situation elements are used, player's personalization Element generation game strategy describes language Sentence.
303 parts: server is retrieved using the description keyword in game strategy descriptive statement, is matched Game strategy.
303 parts can be executed by data processing unit 204 above-mentioned, alternatively, execution can be passed through by the processor of server The program stored in memory executes 303 parts.
More specifically, the description keyword in above-mentioned game strategy descriptive statement can be used to be retrieved.
In retrieval, server can be retrieved in internal strategy library, and above-mentioned strategy library may include player's typing or work The search strategy of personnel's typing.
It is retrieved, can also both be retrieved in internal strategy library in addition, external search engine can also be used in server, it is also sharp It is retrieved with search engine, finally summarizes inside and outside search result.
In retrieval, matched mode can be carried out by the title or label that will describe keyword and game strategy, come true Surely the game strategy to match.Since game strategy is retrieved based on the game element in game image, so obtaining Game strategy is associated with game image.
The game strategy retrieved can be video, article, alternatively, the rich-media contents such as figure, text, video and live streaming.
Certainly, in the application other embodiments, after identifying game element, the pass of game element also can be used directly Keyword is retrieved, and the step of generating game strategy descriptive statement is skipped.
304 parts: server returns to the game strategy retrieved to client.
More specifically, server can be to client Resume Mission strategy list.
It is of course also possible to there is the case where retrieval is less than the game strategy to match, then lost at this point, can return to characterization retrieval The information lost.
304 parts can be executed by data processing unit 204 above-mentioned, alternatively, can pass through execution by the processor of server The program stored in memory simultaneously calls communication interface to execute.
305: client shows the game strategy retrieved.
Certainly, retrieval less than in the case where, client can prompt retrieval to fail, and can return to 300 parts, or enter etc. The interface taken pictures or scanned to user.
305 parts can be executed by display unit 202 above-mentioned, alternatively, can be by the processor of terminal by executing memory Middle stored program simultaneously calls display screen to execute.
As it can be seen that in the embodiment of the present application, it can identify game element based on the game image of acquisition, and using identifying Game element generates game strategy descriptive statement and is retrieved.In the process, user does not need to be manually entered keyword, thus Simplify user's operation.
In addition, user is before inputting keyword in existing retrieval mode, it is also necessary to think deeply keyword, organize language. And if user thinks deeply that keyword out is not accurate enough, or tissue language description it is not accurate enough, then the result retrieved is simultaneously Inaccuracy also not enough focuses.User may be needed to search content, inefficiency again in search result.
And in the embodiment of the present application, other than the manually input step for having simplified user, by being identified to game image, Available comprehensively and accurately game element (such as game name, game role, player levels, the stage property used, place outpost, trip Play mode etc.), then the game strategy retrieved based on the game element identified is manually entered relative to user, also more smart It is quasi- and targeted.
Also, in the case where identifying player's personalization element, it can also push that the degree of association is higher, more individual character to user The game strategy of change.
It under normal circumstances, may include multiple elements in a width game image, for example, can both include by taking Fig. 4 as an example Stage property also includes multiple roles.But some elements are not necessarily that user is of interest.
Following embodiment will provide the service of selection element for user, to enable search result more meet the requirement of user.
For the application scenarios shown in aforementioned Fig. 1, Fig. 5 shows another exemplary stream of above-mentioned data processing method Journey may include following steps:
500 parts: user is shot or is intercepted game image by client.
When shooting game image, Interface An exemplary seen in user is obtained as shown in Figure 6 a.
501 parts: user end to server sends game image.
500 and 501 parts can be found in the description of aforementioned 300 part, and therefore not to repeat here.
502 parts: server identifies the game element in above-mentioned game image.
502 parts are identical as 301 part above-mentioned, and therefore not to repeat here.
If the unidentified game element out of server, can be taken pictures or be scanned again by Client-Prompt user, and returned 500 parts enter the state for waiting client to take pictures or scan.
503 parts: server marks the key element in the game element identified on game image and returns to visitor Family end.
In one example, key element may include at least one of role and stage property.
For the game image shown in Fig. 6 a, it includes player role Tom61, non-player role " porkling " 62, and, " such as wind sword " 63 can then be marked above three key element.
There are many forms of label, such as plays key element region using choice box control frame, marks bright key element Region etc..
503 parts can be executed by data processing unit 204 above-mentioned, alternatively, execution can be passed through by the processor of server The program stored in memory simultaneously calls communication interface to execute 503 parts.
504 parts: client shows the game image for marking key element.
Specifically, 504 parts can be executed by display unit 202 above-mentioned, alternatively, execution can be passed through by the processor of terminal The program stored in memory simultaneously calls display screen to execute 504 parts.
For the game image shown in Fig. 6 a, it includes player role Tom61, non-player role " porkling " 62, and, " such as wind sword " 63, then it is as shown in Figure 6 b to the interface after the label of game image shown in Fig. 6 a.
User can multiselect or single choice label key element.Specifically, user can be by where clicking certain key element Region, to choose the key element.Selected key element can be described as target critical element.
Further, client can highlight target critical element, for example, the bright target critical member of other color marks can be used Element, to be different from unchecked key element.Alternatively, referring to Fig. 6 c, it can show and choose in each key element region Box chooses box as user can click, and chooses box and presents to hook, to show that the key element is selected.
In the application other embodiments, also allow for the user (i.e. user) of client from line flag key element. For example, user is allowed to enclose the content in game image using rectangular choice box or free figure choice box, enclosed Content corresponding to game element be selected key element (target critical element).
505 parts: client is operated according to the first choice of user generates first choice instruction, and is sent to server End.
First choice operation example obtains can include: user has selected and (selected by the modes such as touching, clicking on) a certain Or certain key elements, and click determining control;Alternatively, user is using rectangular choice box or free figure choice box to trip Content in play image is marked, and clicks determining control.
Above-mentioned first choice instruction is then used to indicate target critical element.More specifically, first choice instruction may include mesh At least one of mark, number and the index of key element are marked, to enable server end can instruct which is determined according to first choice One or which key element it is selected.
505 parts can be executed by first acquisition unit 201 above-mentioned, alternatively, 505 can be executed by the communication interface of terminal Point, alternatively, can be by the processor of terminal by executing the program stored in memory and communication interface being called to execute 505 Point.
506 parts: game strategy descriptive statement of the server according at least to target critical Element generation natural language form.
Specifically, generating game strategy descriptive statement in combination with target critical element and scene.
By taking hungry game as an example, it is assumed that identify that scene is autumn in game image, include player role in game image " Wilson's " and non-player role " yak ", and user has clicked " Wilson's " and " yak ", then the game strategy description generated Sentence can include: " Wilson's raise and train yak strategy in the fall ".
By taking king's honor as an example, it is assumed that identify that scene in game image is 5v5, and user is from multiple game roles In clicked " allusion quotation Wei " role, then may generate game strategy descriptive statement are as follows: " king's honor5v5King valleyAllusion quotation WeiIt attacks Slightly ".
In addition, in the case where including player's personalization element in the game element identified, above-mentioned game strategy description Sentence may also be combined with target critical element, situation elements and player's personalization Element generation game strategy descriptive statement.
By taking king's honor as an example, it is assumed that user has clicked player role " li po " and " allusion quotation Wei " in game image, and Identify the grade of player A corresponding to li po for bronze Samsung, the grade of player B corresponding to allusion quotation Wei be king five-pointed star ( I.e. the grade of player B is higher than player A).If player A is the user of active client, the game strategy descriptive statement generated Can include: the skill of " li po " defence " allusion quotation Wei ".
It specifically, can be by above-mentioned target critical element, scene when generating the game strategy descriptive statement of natural language form Element, player's personalization element etc. input corpus, and the game strategy descriptive statement text of natural language form is generated by corpus This (sentence).
Related introduction can refer to the description of aforementioned 302 part, and therefore not to repeat here.
507: server is retrieved according to the game strategy descriptive statement of generation, the game strategy to be matched.
507 parts are similar with 303 part above-mentioned, and therefore not to repeat here.
Certainly, it if server does not retrieve the game strategy to match, can be tied by Client-Prompt user without matching Fruit, or prompt are taken pictures or are scanned again, and return to 500 parts or enter the state for waiting client to take pictures or scan.
508 parts and 509 parts are identical as the aforementioned part 304-305, and therefore not to repeat here.
In the present embodiment, user only needs to take pictures or scan, and clicks the key element of concern, can obtain and be closed The strategy content that the key element of note is consistent improves the efficiency of search strategy and the precision of strategy content.
In practice, may be had according to the game strategy descriptive statement of target critical Element generation it is a plurality of, for example, user's point Player role " Wilson's " and non-player role " yak " are selected, the game strategy descriptive statement generated may include: " Weir It is inferior to raise and train yak strategy in the fall ", " pacifying skill when yak anger ", " skill for killing yak ", " riding ox strategy ", " yak Shaving skill " etc..Above-mentioned a plurality of game strategy descriptive statement is not necessarily all that user is really intended by.Following embodiment will be The service that user provides selection game strategy descriptive statement more meets the requirement of user to enable search result more accurate.
For the application scenarios shown in aforementioned Fig. 1, Fig. 7 shows another exemplary stream of above-mentioned data processing method Journey may include following steps:
The part 700-706 is similar with the part 500-506 above-mentioned, and therefore not to repeat here.
707 parts: server returns to the game strategy descriptive statement generated to client.
707 parts can be executed by data processing unit 204 above-mentioned, alternatively, execution can be passed through by the processor of server The program stored in memory simultaneously calls communication interface to execute 707 parts.
708 parts: client shows the game strategy descriptive statement that server returns, to guide user's selection closest The game strategy descriptive statement that itself is needed.
708 parts can be executed by display unit 202 above-mentioned, alternatively, can be by the processor of terminal by executing memory Middle stored program simultaneously calls display screen to execute 708 parts.
For showing interface shown in Fig. 6 a-6c, the displaying Interface An exemplary for the game strategy descriptive statement that user sees It obtains as shown in fig 6d.
709 parts: client generates the second selection instruction according to the second selection operation of user, and is sent to server End.
Second selection operation is exemplary can include: user has selected (selected by the modes such as touching, clicking on) a certain Or certain game strategy descriptive statements, and click determining control.
User can multiselect or single choice game strategy descriptive statement.Further, client can highlight the game chosen Strategy descriptive statement, for example, can be bright with other color marks or highlighting the game strategy chosen using other visual effects and retouching Predicate sentence, to be different from not selected game strategy descriptive statement.
Second selection instruction is used to indicate selected game strategy descriptive statement.It, can be by selected game for convenience of address Strategy descriptive statement is known as target game strategy descriptive statement.
More specifically, the second selection instruction may include in the mark, number and index of target game strategy descriptive statement At least one, to enable server end that can be determined according to the second selection instruction, which or which game strategy descriptive statement is selected.
With Fig. 6 d citing, user has selected " pacifying skill when porkling anger ", then the second selection instruction may include this At least one of the mark of game strategy descriptive statement, number, index.
In the application other embodiments, it is also possible to which there are the game strategy descriptive statements of all generations not to comply with use The case where family needs, it is contemplated that such special circumstances, can be provided on interface input item, for user be manually entered keyword or Game strategy descriptive statement.
709 parts can be executed by first acquisition unit 201 above-mentioned, alternatively, 709 can be executed by the communication interface of terminal Point, alternatively, can be by the processor of terminal by executing the program stored in memory and communication interface being called to execute 709 Point.
710 parts: server is retrieved using the description keyword in target game strategy descriptive statement.
710 parts are similar with 507 part above-mentioned, 303 parts, and therefore not to repeat here.
711 parts: server returns to the game strategy retrieved to client.
More specifically, server can be to client Resume Mission strategy list.
It is of course also possible to there is the case where retrieval is less than the game strategy to match, then lost at this point, can return to characterization retrieval The information lost.
711 parts can be executed by data processing unit 204 above-mentioned, alternatively, can pass through execution by the processor of server The program stored in memory simultaneously calls communication interface to execute.
712: client shows the game strategy retrieved.
If user has selected " pacifying skill when porkling anger ", the Interface An exemplary that client is shown such as Fig. 6 e It is shown.
Certainly, retrieval less than in the case where, client can prompt retrieval to fail, and can return to 700 parts, or enter etc. The interface taken pictures or scanned to user.
712 parts can be executed by display unit 202 above-mentioned, alternatively, can be by the processor of terminal by executing memory Middle stored program simultaneously calls display screen to execute.
The key step executed from timing can be found in shown in Fig. 8.
In the present embodiment, user only needs to take pictures or scan, and clicks the key element of concern, and clicks game strategy and retouch Predicate sentence, can obtain targeted game strategy, further improve the accurate of the efficiency and strategy content for searching for strategy Degree.
The training process of the aforementioned identification model referred to is described below, can include:
Step A: the sample image for having marked game element is inputted into identification model to be trained.
For example, the sample of mark role, stage property, outpost, game mode, event etc. can be inputted into identification model to be trained This image.
Sample image is more, marks thinner, and the recognition accuracy being finally reached is higher.
Step B: carrying out feature extraction to the game element that marks in sample image by identification model to be trained, and to mentioning The feature taken carries out Classification and Identification, obtains classification recognition result.
Identification model concretely neural network or other models.It can carry out feature to mark part in sample image and mention It takes, and carries out Classification and Identification, obtain classification recognition result.
Step C: the parameter of identification model to be trained, return step A, until wait train are adjusted according to classification recognition result The accuracy of classification recognition result of identification model meet preset requirement to get to identification model.
By taking neural network as an example, the above-mentioned parameter concretely filter parameter in neural network.
In the application other embodiments, can also speech recognition be carried out to a segment of audio, identify the game member in audio Element.
By taking Mario game as an example, different outposts can play it is different dub in background music, be directed to successfully, turkey can also broadcast Put it is different dub in background music, therefore can identify game element above-mentioned by the identification dubbed in background music to it.
Subsequent operation is i.e. identical with aforementioned all embodiments, and therefore not to repeat here.
Terminal or server is also claimed in the embodiment of the present application, includes at least processor and memory, the processor By executing the program stored in memory and calling other equipment, above-mentioned data processing method is executed.
A kind of storage medium is also claimed in the embodiment of the present invention, which is stored with a plurality of instruction, described instruction It is loaded suitable for processor, to execute the step in data processing method provided by any embodiment of the present invention.
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with other The difference of embodiment, the same or similar parts in each embodiment may refer to each other.For device disclosed in embodiment For, since it is corresponded to the methods disclosed in the examples, so being described relatively simple, related place is said referring to method part It is bright.
Professional further appreciates that, unit described in conjunction with the examples disclosed in the embodiments of the present disclosure And algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, in order to clearly demonstrate hardware and The interchangeability of software generally describes each exemplary composition and step according to function in the above description.These Function is implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Profession Technical staff can use different methods to achieve the described function each specific application, but this realization is not answered Think beyond the scope of this invention.
The step of method described in conjunction with the examples disclosed in this document or algorithm, can directly be held with hardware, processor The combination of capable software unit or the two is implemented.Software unit can be placed in random access memory (RAM), memory, read-only deposit Reservoir (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technology In any other form of storage medium well known in field.
The foregoing description of the disclosed embodiments enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, as defined herein General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, of the invention It is not intended to be limited to the embodiments shown herein, and
It is to fit to the widest scope consistent with the principles and novel features disclosed herein.

Claims (16)

1. a kind of data processing method, which is characterized in that be applied to server end, comprising:
Obtain the game image that client is sent;
Identify the game element in the game image;
Game strategy descriptive statement is generated using the game element identified;Description in the game strategy descriptive statement is crucial Word includes the game element partly or entirely identified;
It is retrieved according to the game strategy descriptive statement of generation, the game strategy to be matched;
The game strategy is returned to the client.
2. the method as described in claim 1, which is characterized in that
It is described to include: using the game element identified generation game strategy descriptive statement
The game strategy descriptive statement of natural language form is generated using the game element identified;
The game strategy descriptive statement according to generation carries out retrieval
It is retrieved using the description keyword in the game strategy descriptive statement.
3. method according to claim 2, which is characterized in that
The game element includes key element, and the key element includes at least one of role and stage property;
The game strategy descriptive statement for generating natural language form using the game element that identifies includes:
The key element identified is marked on the game image and returns to the client;
The first choice instruction that the client is sent is received, the first choice instruction is used to indicate target critical element, institute Stating target critical element is the key element that user selectes;
According at least to the game strategy descriptive statement of the target critical Element generation natural language form.
4. method as claimed in claim 3, which is characterized in that described according at least to the target critical Element generation nature language The game strategy descriptive statement of speech form includes:
Conjunctive word corresponding with the target keyword is inquired from corpus;The corpus is stored with to be learnt in advance , with game element have incidence relation conjunctive word;
According to the target critical element and conjunctive word corresponding with the target critical element, the trip of natural language form is generated Play strategy descriptive statement, the conjunctive word are obtained by study.
5. the method as described in claim 1, which is characterized in that the game element further includes situation elements, and the game is attacked Slightly descriptive statement is generated also according to the situation elements.
6. method as claimed in claim 5, which is characterized in that the game element further includes player's personalization element, described Game strategy descriptive statement is also according to player's personalization Element generation.
7. as the method according to claim 1 to 6, which is characterized in that
It is described to use retouching in the game strategy descriptive statement when the quantity of the game strategy descriptive statement of generation is a plurality of It states keyword and retrieve and include:
The second selection instruction that the client is sent is received, second selection instruction is used to indicate selected game strategy and retouches Predicate sentence;The selected game strategy descriptive statement is target game strategy descriptive statement;
It is retrieved using the description keyword in the target game strategy descriptive statement.
8. as the method according to claim 1 to 6, which is characterized in that the game member in the identification game image Element includes:
The game element in the game image is identified using identification model;The identification model is based on being marked with game element Sample image training obtains.
9. method according to claim 8, which is characterized in that the training process of the identification model includes:
The sample image for having marked game element is inputted into identification model to be trained;
Feature extraction carried out to the game element that marks in sample image by identification model to be trained, and to the feature of extraction into Row Classification and Identification, obtains classification recognition result;
According to the parameter of the classification recognition result adjustment identification model to be trained, until the identification mould to be trained The accuracy of the classification recognition result of type meets preset requirement, obtains the identification model.
10. a kind of data processing method, which is characterized in that be applied to client, comprising:
Game image is obtained, and sends the game image to server end;
Game strategy that the server end returns, associated with the game image is received, and shows the game strategy; Wherein, the game strategy is search result obtained from the server end is retrieved according to game strategy descriptive statement, Description keyword in the game strategy descriptive statement includes the game element in the game image;The game element is The server end is as obtained from identifying the game image.
11. method as claimed in claim 10, which is characterized in that the game strategy descriptive statement is specially natural language shape The game strategy descriptive statement of formula;
The game element includes key element, and the key element includes at least one of role and stage property;
After the acquisition game image, the method also includes:
Show game image that the server end returns, marking key element;
It is operated according to the first choice of user and generates first choice instruction, and be sent to the server end;First choosing It selects instruction and is used to indicate target critical element, the target critical element is the key element that user selectes;
The target critical element generates the game strategy descriptive statement of natural language form for the server end.
12. method as claimed in claim 11, which is characterized in that it is characterized in that, when the game strategy descriptive statement shown Quantity be it is a plurality of when, the method also includes:
The second selection instruction is generated according to the second selection operation of user;
Second selection instruction is sent to the server end, second selection instruction is used to indicate selected game strategy Descriptive statement, the selected game strategy descriptive statement are used for the server-side retrieval game strategy.
13. a kind of data processing equipment characterized by comprising
First acquisition unit sends the game image for obtaining game image, and to server end;
Display unit for receiving game strategy that the server end returns, associated with the game image, and is shown The game strategy;Wherein, the game strategy is that the server end is retrieved according to game strategy descriptive statement and obtained The search result arrived, the description keyword in the game strategy descriptive statement include the game element in the game image; The game element is the server end as obtained from identifying to the game image.
14. a kind of data processing equipment characterized by comprising
Second acquisition unit, for obtaining the game image sent by client;
Data processing unit is used for:
Identify the game element in the game image;
Game strategy descriptive statement is generated using the game element identified;Description in the game strategy descriptive statement is crucial Word includes the game element partly or entirely identified;
It is retrieved according to the game strategy descriptive statement of generation, the game strategy to be matched;
The game strategy is returned to the client.
15. a kind of data processing equipment, which is characterized in that include at least processor and memory;The processor passes through execution The program and calling other equipment stored in the memory, execute such as any one of any one of claim 1-8 or 9-12 institute The data processing method stated.
16. a kind of storage medium, which is characterized in that the storage medium is stored with a plurality of instruction, and described instruction is suitable for processor It is loaded, to execute such as the step in any one of claim 1-8 or the described in any item data processing methods of 9-12.
CN201810904405.6A 2018-08-09 2018-08-09 Data processing method, device, equipment and storage medium Active CN109063662B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810904405.6A CN109063662B (en) 2018-08-09 2018-08-09 Data processing method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810904405.6A CN109063662B (en) 2018-08-09 2018-08-09 Data processing method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN109063662A true CN109063662A (en) 2018-12-21
CN109063662B CN109063662B (en) 2022-05-17

Family

ID=64683162

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810904405.6A Active CN109063662B (en) 2018-08-09 2018-08-09 Data processing method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109063662B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109710255A (en) * 2018-12-24 2019-05-03 网易(杭州)网络有限公司 Effect processing method, special effect processing device, electronic equipment and storage medium
CN109740510A (en) * 2018-12-29 2019-05-10 三星电子(中国)研发中心 Method and apparatus for output information
CN111035931A (en) * 2019-12-13 2020-04-21 张哲� Programming processing method and device and server
CN111481925A (en) * 2020-04-08 2020-08-04 网易(杭州)网络有限公司 Information processing method and device in game and terminal equipment
CN111970555A (en) * 2020-08-18 2020-11-20 深圳康佳电子科技有限公司 Intelligent television real-time game auxiliary method and system based on image recognition
CN113010732A (en) * 2019-12-19 2021-06-22 宏正自动科技股份有限公司 Game strategy movie recommendation system, strategy providing device and method thereof
CN113198172A (en) * 2020-02-03 2021-08-03 宏碁股份有限公司 Game key mode adjusting method and electronic device
CN115485039A (en) * 2020-02-28 2022-12-16 Cy游戏公司 System and method for supporting creation of game scripts
CN116020122A (en) * 2023-03-24 2023-04-28 深圳游禧科技有限公司 Game attack recommendation method, device, equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103294918A (en) * 2013-05-30 2013-09-11 佛山电视台南海分台 Method and system for realizing virtual games in real images
CN104166707A (en) * 2014-08-08 2014-11-26 百度在线网络技术(北京)有限公司 Search recommendation method and device
CN106075913A (en) * 2016-06-16 2016-11-09 深圳市金立通信设备有限公司 A kind of information processing method and terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103294918A (en) * 2013-05-30 2013-09-11 佛山电视台南海分台 Method and system for realizing virtual games in real images
CN104166707A (en) * 2014-08-08 2014-11-26 百度在线网络技术(北京)有限公司 Search recommendation method and device
CN106075913A (en) * 2016-06-16 2016-11-09 深圳市金立通信设备有限公司 A kind of information processing method and terminal

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109710255A (en) * 2018-12-24 2019-05-03 网易(杭州)网络有限公司 Effect processing method, special effect processing device, electronic equipment and storage medium
CN109740510A (en) * 2018-12-29 2019-05-10 三星电子(中国)研发中心 Method and apparatus for output information
CN109740510B (en) * 2018-12-29 2023-03-24 三星电子(中国)研发中心 Method and apparatus for outputting information
CN111035931A (en) * 2019-12-13 2020-04-21 张哲� Programming processing method and device and server
CN113010732A (en) * 2019-12-19 2021-06-22 宏正自动科技股份有限公司 Game strategy movie recommendation system, strategy providing device and method thereof
CN113198172A (en) * 2020-02-03 2021-08-03 宏碁股份有限公司 Game key mode adjusting method and electronic device
CN115485039A (en) * 2020-02-28 2022-12-16 Cy游戏公司 System and method for supporting creation of game scripts
CN115485039B (en) * 2020-02-28 2023-06-09 Cy游戏公司 System and method for supporting creation of game scripts
CN111481925A (en) * 2020-04-08 2020-08-04 网易(杭州)网络有限公司 Information processing method and device in game and terminal equipment
CN111970555A (en) * 2020-08-18 2020-11-20 深圳康佳电子科技有限公司 Intelligent television real-time game auxiliary method and system based on image recognition
CN116020122A (en) * 2023-03-24 2023-04-28 深圳游禧科技有限公司 Game attack recommendation method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN109063662B (en) 2022-05-17

Similar Documents

Publication Publication Date Title
CN109063662A (en) Data processing method, device, equipment and storage medium
US11790904B2 (en) Voice application platform
US11615791B2 (en) Voice application platform
CN107071554B (en) Method for recognizing semantics and device
US20180101730A1 (en) Mobile electronic device and server
CN110929045B (en) Construction method and system of poetry-semantic knowledge map
US20190371314A1 (en) Voice Application Platform
US20190034455A1 (en) Dynamic Glyph-Based Search
CN110209777A (en) The method and electronic equipment of question and answer
CN112163560A (en) Video information processing method and device, electronic equipment and storage medium
CN109684497A (en) Image-text matching information sending method and device and electronic equipment
JP7315321B2 (en) Generation device, generation method and generation program
CN110221710A (en) Keyboard input method and device, electronic equipment and storage medium
CN110414001A (en) Sentence generation method and device, storage medium and electronic device
CN109815379A (en) A kind of intelligent search recommended method, storage medium and terminal for content
CN111767386B (en) Dialogue processing method, device, electronic equipment and computer readable storage medium
CN111223014B (en) Method and system for online generation of subdivision scene teaching courses from a large number of subdivision teaching contents
CA3102093A1 (en) Voice application platform
CN109063127A (en) A kind of searching method, device, server and storage medium
CN111523343B (en) Reading interaction method, device, equipment, server and storage medium
CN109284364A (en) A kind of interaction vocabulary update method and device connecting wheat interaction for voice
JP2004021706A (en) Method and device for retrieving illustrated book
JP2009266065A (en) Method and device for creating related term dictionary, and program for the same
US20150046376A1 (en) Systems and methods for creating an artificial intelligence
Nguyen et al. LifeSeeker: an interactive concept-based retrieval system for lifelog data

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