CN111013156A - Robot-based scene detection method, device, terminal and medium - Google Patents

Robot-based scene detection method, device, terminal and medium Download PDF

Info

Publication number
CN111013156A
CN111013156A CN201911304382.6A CN201911304382A CN111013156A CN 111013156 A CN111013156 A CN 111013156A CN 201911304382 A CN201911304382 A CN 201911304382A CN 111013156 A CN111013156 A CN 111013156A
Authority
CN
China
Prior art keywords
resource
resources
target scene
redundant
preset
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
CN201911304382.6A
Other languages
Chinese (zh)
Other versions
CN111013156B (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.)
Shanghai Mihoyo Tianming Technology Co Ltd
Original Assignee
Shanghai Mihoyo Tianming Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Mihoyo Tianming Technology Co Ltd filed Critical Shanghai Mihoyo Tianming Technology Co Ltd
Priority to CN201911304382.6A priority Critical patent/CN111013156B/en
Publication of CN111013156A publication Critical patent/CN111013156A/en
Application granted granted Critical
Publication of CN111013156B publication Critical patent/CN111013156B/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/77Game security or game management aspects involving data related to game devices or game servers, e.g. configuration data, software version or amount of memory
    • 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/5526Game data structure

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Business, Economics & Management (AREA)
  • Computer Security & Cryptography (AREA)
  • General Business, Economics & Management (AREA)
  • Stored Programmes (AREA)
  • Manipulator (AREA)

Abstract

The invention discloses a robot-based scene detection method, a robot-based scene detection device, a robot-based scene detection terminal and a robot-based scene detection medium, wherein the method comprises the following steps: when detecting the trigger scene detection operation, detecting each resource to be used in the target scene based on a preset virtual user, and taking the detected resource as a current resource corresponding to the target scene; determining redundant resources corresponding to the target scene based on the current resources and preset resources acquired in advance; and when the change of the redundant resources is detected, updating the target scene based on the changed redundant resources. According to the technical scheme, the technical problems that whether redundant resources exist or not is determined by traversing all resources in a target scene in a manual mode at present, labor cost is high, accuracy is low, and accordingly a downloaded resource installation package is large are solved, whether the redundant resources exist or not is determined by automatically detecting the resources in the target scene based on the robot, and the technical effects of improving resource detection efficiency and accuracy are achieved.

Description

Robot-based scene detection method, device, terminal and medium
Technical Field
The embodiment of the invention relates to the technical field of game development, in particular to a scene detection method, a scene detection device, a scene detection terminal and a scene detection medium based on a robot.
Background
For the game industry, a plurality of redundant objects exist in a scene, for example, temporary resources, or occupied resources, or air walls in a game and the like, which are needed when a target scene is manufactured, are all intermediate products, i.e., redundant resources.
When a game is downloaded, the problem that the installation package is large and the requirement on the terminal memory is high is easily caused by the redundant resources, and meanwhile, in the game process, the redundant resources have no practical purpose and can expose the scene defect, so that the user experience is poor.
At present, in order to avoid redundant resources in a scene, each resource in the scene can be traversed in a manual mode, and the problem still exists due to certain errors existing in manual detection.
Disclosure of Invention
The embodiment of the invention provides a robot-based scene detection method, a robot-based scene detection device, a robot-based scene detection terminal and a robot-based scene detection medium, so as to improve the commodity display effect and the technical effect of user experience.
In a first aspect, an embodiment of the present invention provides a robot-based scene detection method, where the method is applied to a game client, and includes:
when detecting the trigger scene detection operation, detecting each resource to be used in the target scene based on a preset virtual user, and taking the detected resource as a current resource corresponding to the target scene;
determining redundant resources corresponding to the target scene based on the current resources and preset resources acquired in advance, and outputting the redundant resources in a preset format;
and when the change of the redundant resources is detected, updating the target scene based on the changed redundant resources.
In a second aspect, an embodiment of the present invention further provides a robot-based scene detection apparatus, where the apparatus is configured in a game client, and includes:
the current resource acquisition module is used for detecting each resource to be used in the target scene based on a preset virtual user when detecting the trigger scene detection operation and taking the detected resource as the current resource corresponding to the target scene;
a redundant resource acquisition module, configured to determine a redundant resource corresponding to the target scene based on the current resource and a preset resource acquired in advance, and output the redundant resource in a preset format;
and the target scene resource updating module is used for updating the target scene based on the changed redundant resources when detecting that the redundant resources are changed.
In a third aspect, an embodiment of the present invention further provides a terminal, where the terminal includes:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement a robot-based scene detection method as in any of the embodiments of the invention.
In a fourth aspect, embodiments of the present invention further provide a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform the method for robot-based scene detection according to any of the embodiments of the present invention.
According to the technical scheme of the embodiment of the invention, when the trigger scene detection operation is detected, each resource to be used in the target scene is detected based on the preset virtual user and is used as the current resource corresponding to the target scene; determining redundant resources corresponding to the target scene based on the current resources and preset resources acquired in advance, and outputting the redundant resources in a preset format; when the change of the redundant resources is detected, the target scene is updated based on the changed redundant resources, the technical problem that in the prior art, the downloaded resource installation package is large due to the fact that all resources in the target scene are traversed in a manual mode and whether the redundant resources exist is determined, labor cost is high, accuracy is low is solved, the fact that whether the redundant resources exist is determined based on the fact that the robot automatically detects the resources in the target scene, and the technical effects of improving resource detection efficiency and accuracy are achieved.
Drawings
In order to more clearly illustrate the technical solutions of the exemplary embodiments of the present invention, a brief description is given below of the drawings used in describing the embodiments. It should be clear that the described figures are only views of some of the embodiments of the invention to be described, not all, and that for a person skilled in the art, other figures can be derived from these figures without inventive effort.
Fig. 1 is a schematic flowchart of a robot-based scene detection method according to an embodiment of the present invention;
fig. 2 is another schematic flow chart of a robot-based scene detection method according to a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of a robot-based scene detection apparatus according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of a terminal according to a fourth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
Fig. 1 is a flowchart illustrating a scenario detection method based on a robot according to an embodiment of the present invention, where the scenario detection method is applicable to detecting resources involved in a game scenario and determining that redundant resources need to be deleted, and the scenario detection method may be implemented by a scenario detection apparatus based on a robot, where the apparatus may be implemented in the form of software and/or hardware, and the hardware may be an electronic device, and the electronic device may be a mobile terminal or a PC terminal.
As shown in fig. 1, the method of the present embodiment includes:
and S110, when the trigger scene detection operation is detected, detecting each resource to be used in the target scene based on a preset virtual user, and taking the resource as the current resource corresponding to the target scene.
Wherein, the target scene is the scene in the game process. The resources to be used are resources required to be used in the target scene, and optionally, resource data corresponding to trees, rivers, tables, chairs and the like. And taking each resource used in the game process as the current resource. The virtual user may be understood as a robot for detecting each resource to be used included in the target scene.
Specifically, after the project corresponding to the target scene is completed, resources that are not frequently used in the target scene need to be deleted to reduce the data amount in the installation package, and a virtual user can be set to play a game to detect each resource in the target scene in the game process. When detecting that the user triggers the operation of scene detection, optionally triggering the scene detection control, obtaining each resource used in the target scene based on a preset virtual user, and taking each resource detected at this time as the current resource.
In order to improve the efficiency of determining the current resources in the target scene, at least one virtual user may be preset to detect the resources used in the target scene in parallel. Optionally, based on at least one preset virtual user, traversing each currently-called resource to be used in the target scene in parallel, marking each resource according to a preset mode, and taking each identified resource to be used as the current resource.
Wherein, the number of virtual users can be one, two or more. The number of virtual users can be set according to actual conditions, and optionally, the number of virtual users is three. When the number of the virtual users is multiple, the target scene may be divided according to the number of the virtual users, and optionally, if the number of the virtual users is three, the target scene may be divided into three regions correspondingly. The preset manner may be to determine the resource identifier corresponding to each resource in advance, for example, the resource identifier corresponding to a tree is 1, the resource identifier corresponding to a river is 2, and the like. Parallel traversal may be understood as each virtual user traversing the corresponding target scene, for example, the number of virtual users is 3, the target scene is divided into three sub-regions A, B, C, a first virtual user may traverse the resources in sub-region a, a second virtual user may traverse the resources in sub-region B, and a third virtual user may edit the resources in sub-region C.
Specifically, a plurality of virtual users traverse each resource to be used in the target scene in parallel, mark each resource to be used according to a predetermined resource marking method, and use each marked resource to be used as the current resource.
And S120, determining redundant resources corresponding to the target scene based on the current resources and preset resources acquired in advance, and outputting the redundant resources in a preset format.
The redundant resources are resources which are not needed to be used by the target scene in the game process. Optionally, there are multiple types of air walls in the preset resources, and if the number of the air walls in the game is one, the resources different from the types of the air walls in the game are redundant resources. Since the staff is required to determine what the redundant resources are in the target scene, and whether the redundant resources need to be deleted, the redundant resources can be output in a preset format.
Specifically, according to the current resource and the preset resource, the redundant resource in the target scene can be determined, and the redundant resource is output to the display interface according to the preset format, so that the staff can determine whether to delete the redundant resource in the redundant resource list according to the output redundant resource list.
Before triggering scene detection, it is also necessary to acquire each resource used when a target scene is manufactured, and the resource used when the target scene is manufactured can be used as a preset resource. Because the resources used in the process of manufacturing the target scene are far larger than the resources used in the process, the redundant resources to be deleted can be determined based on the preset resources and the current resources.
Optionally, each resource in the target scene is acquired through the resource acquisition tool, each resource is marked based on a preset mode, and each marked resource is used as a preset resource.
The preset resources are used for manufacturing the target scene. The resource acquisition tool may be understood as an engine. The preset manner may be understood as a predetermined resource identifier corresponding to each resource.
Specifically, each resource used in the process of manufacturing the target scene is acquired through a resource acquisition tool, each resource is marked based on a predetermined resource identifier corresponding to each resource, and each marked resource is used as a preset resource.
That is, the preset resources are a set of resources used in the process of manufacturing the target scene; the current resource is a collection of individual resources used during the game. The number of elements in the set corresponding to the preset resource is much greater than the number of elements in the set corresponding to the current resource.
In this embodiment, according to the current resource and the preset resource, determining the redundant resource may be: and screening out resources different from the current resource identifier from the preset resources according to the current resource identifier in the current resources and the preset resource identifier in the preset resources, and taking the screened out resources as redundant resources.
Wherein, the identifier corresponding to each element in the current resource is used as the current resource identifier; and taking identifiers corresponding to each element in the preset resource as preset resource identifications.
It can be understood that: according to each current resource identifier in the current resources and each preset resource identifier in the preset resources, each resource which does not comprise the current resource identifier and the resource identifier can be screened from the preset resources, the screened resource is used as a redundant resource, and the corresponding identifier is used as a redundant identifier.
And S130, when the change of the redundant resources is detected, updating the target scene based on the changed redundant resources.
In this embodiment, after determining the redundant resource, the redundant resource may be output according to a preset format, so as to obtain a redundant resource list. The scene maker can judge whether the content is the content which should exist in the target scene according to the redundant resource list, so as to determine whether one or more redundant resources in the redundant resource list need to be deleted.
Specifically, when a worker who creates a target scene deletes part of resources in the redundant resource list, the client may detect the triggered deletion operation, and update the target scene according to the deleted redundant resource list, that is, the updated target scene does not include the deleted redundant resources.
According to the technical scheme of the embodiment of the invention, when the trigger scene detection operation is detected, each resource to be used in the target scene is detected based on the preset virtual user and is used as the current resource corresponding to the target scene; determining redundant resources corresponding to the target scene based on the current resources and preset resources acquired in advance, and outputting the redundant resources in a preset format; when the change of the redundant resources is detected, the target scene is updated based on the changed redundant resources, the technical problem that in the prior art, the downloaded resource installation package is large due to the fact that all resources in the target scene are traversed in a manual mode and whether the redundant resources exist is determined, labor cost is high, accuracy is low is solved, the fact that whether the redundant resources exist is determined based on the fact that the robot automatically detects the resources in the target scene, and the technical effects of improving resource detection efficiency and accuracy are achieved.
Example two
As a preferred embodiment of the foregoing embodiment, fig. 2 is another schematic flow chart of a scene detection method based on a robot according to a second embodiment of the present invention. As shown in fig. 2, the method includes:
and S210, a scene data generation module.
The scene data generation module may be understood as a module for acquiring preset resources.
Specifically, before detecting the target scene, each resource used in the process of manufacturing the target scene may be acquired by a resource acquisition tool. And through a scene data generation module, the identification corresponding to each resource is determined.
That is, the preset resource is a set of a plurality of resources.
And S220, a robot traversing module.
Wherein a robot may be understood as a virtual user. The robot traversal module can be understood as a module for traversing a target scene based on a robot.
Specifically, according to the number of virtual users, the target scene may be divided into sub-regions with the same number as the virtual users. And a plurality of virtual users traverse all the resources used in the target scene in parallel.
That is, the target scene detection may traverse the resources used in the game process by simulating the game by the virtual user. According to the performance of the testing equipment, running test is carried out on the target scene in parallel through a certain algorithm, and the resource content encountered by the virtual user is recorded.
And S230, a robot data generation module.
The robot data generation module may be understood as data formed according to the current resource after the current resource is acquired.
Specifically, according to the running test result of the robot, data collected by all virtual users are summarized to form a current resource, and a current identifier of each resource in the current resource is determined.
S240, a data analysis module.
The data analysis module may be understood as a module that determines a redundant resource according to a current resource and a preset resource.
Specifically, a preset resource identifier in the preset resource is compared with a current resource identifier in the current resource, the difference content and the specific resource are used as redundant resources, and the redundant resources are output in a preset format.
And S250, a data deleting module.
And outputting the screened redundant resources on a display interface so that a worker for manufacturing a target scene can determine whether to delete the redundant resources in the redundant resource list according to the list to which the redundant resources belong. If the redundant resources need to be deleted, a worker for manufacturing the target scene can mark the redundant resources to be deleted, and after the deletion triggering control is detected, the marked redundant resources can be deleted. Correspondingly, each resource in the target scene can be updated according to the deleted redundant resource, so that the technical effect of reducing the data volume of the installation package is achieved.
According to the technical scheme of the embodiment of the invention, when the trigger scene detection operation is detected, each resource to be used in the target scene is detected based on the preset virtual user and is used as the current resource corresponding to the target scene; determining redundant resources corresponding to the target scene based on the current resources and preset resources acquired in advance, and outputting the redundant resources in a preset format; when the change of the redundant resources is detected, the target scene is updated based on the changed redundant resources, the technical problem that in the prior art, the downloaded resource installation package is large due to the fact that all resources in the target scene are traversed in a manual mode and whether the redundant resources exist is determined, labor cost is high, accuracy is low is solved, the fact that whether the redundant resources exist is determined based on the fact that the robot automatically detects the resources in the target scene, and the technical effects of improving resource detection efficiency and accuracy are achieved.
EXAMPLE III
Fig. 3 is a schematic structural diagram of a robot-based scene detection apparatus according to a third embodiment of the present invention. As shown in fig. 3, the apparatus includes: a current resource acquisition module 310, a redundant resource acquisition module 320, and a target scene resource update module 330.
The current resource obtaining module 310 is configured to, when detecting that a trigger scene detection operation is performed, detect, based on a preset virtual user, each resource to be used in a target scene, and use the detected resource as a current resource corresponding to the target scene; a redundant resource obtaining module 320, configured to determine, based on the current resource and a preset resource obtained in advance, a redundant resource corresponding to the target scene, and output the redundant resource in a preset format; and the target scene resource updating module 330, when detecting that the redundant resource changes, updates the target scene based on the changed redundant resource.
According to the technical scheme of the embodiment of the invention, when the trigger scene detection operation is detected, each resource to be used in the target scene is detected based on the preset virtual user and is used as the current resource corresponding to the target scene; determining redundant resources corresponding to the target scene based on the current resources and preset resources acquired in advance, and outputting the redundant resources in a preset format; when the change of the redundant resources is detected, the target scene is updated based on the changed redundant resources, the technical problem that in the prior art, the downloaded resource installation package is large due to the fact that all resources in the target scene are traversed in a manual mode and whether the redundant resources exist is determined, labor cost is high, accuracy is low is solved, the fact that whether the redundant resources exist is determined based on the fact that the robot automatically detects the resources in the target scene, and the technical effects of improving resource detection efficiency and accuracy are achieved.
On the basis of the above technical solution, the apparatus further includes a preset resource obtaining module, configured to, when the current resource obtaining module detects the trigger scene detection operation, detect, based on a preset virtual user, each resource in the target scene, and before the current resource obtaining module serves as the current resource corresponding to the target scene, further:
and acquiring each resource in the target scene through a resource acquisition tool, marking each resource based on a preset mode, and taking each marked resource as a preset resource.
On the basis of the above technical solutions, the current resource obtaining module is further configured to:
traversing each currently called resource to be used in the target scene in parallel based on at least one preset virtual user, marking each resource to be used according to a preset mode, taking each marked resource to be used as the current resource,
on the basis of the above technical solutions, the redundant resource obtaining module is further configured to:
and screening out resources different from the current resource identifier from the preset resources according to the current resource identifier in the current resources and the preset resource identifier in the preset resources, and taking the screened out resources as redundant resources.
On the basis of the above technical solutions, the target scene resource updating module is further configured to:
and when detecting that a deletion control in the redundant resources is triggered, acquiring the deleted redundant resources, and updating the target scene according to the deleted redundant resources.
On the basis of the above technical solutions, the target scene resource updating module is further configured to:
and updating each resource of the target scene according to the deleted redundant resource and the current resource.
It should be noted that, the units and modules included in the apparatus are merely divided according to functional logic, but are not limited to the above division as long as the corresponding functions can be implemented; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the embodiment of the invention.
Example four
Fig. 4 is a schematic structural diagram of a terminal according to a fourth embodiment of the present invention. Fig. 4 illustrates a block diagram of an exemplary terminal 40 suitable for use in implementing embodiments of the present invention. The terminal 40 shown in fig. 4 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiment of the present invention.
As shown in fig. 4, the terminal 40 is embodied in the form of a general purpose computing device. The components of the terminal 40 may include, but are not limited to: one or more processors or processing units 401, a system memory 402, and a bus 403 that couples the various system components (including the system memory 402 and the processing unit 401).
Bus 403 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, micro-channel architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Terminal 40 typically includes a variety of computer system readable media. Such media may be any available media that is accessible by terminal 40 and includes both volatile and nonvolatile media, removable and non-removable media.
The system memory 402 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM)404 and/or cache memory 405. The terminal 40 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 406 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 4, and commonly referred to as a "hard drive"). Although not shown in FIG. 4, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to the bus 403 by one or more data media interfaces. Memory 402 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
A program/utility 408 having a set (at least one) of program modules 407 may be stored, for example, in memory 402, such program modules 407 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may comprise an implementation of a network environment. Program modules 407 generally perform the functions and/or methods of the described embodiments of the invention.
The terminal 40 may also communicate with one or more external devices 409 (e.g., keyboard, pointing device, display 410, etc.), with one or more devices that enable a user to interact with the terminal 40, and/or with any devices (e.g., network card, modem, etc.) that enable the terminal 40 to communicate with one or more other computing devices. Such communication may be through input/output (I/O) interface 411. Also, the terminal 40 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the internet) via the network adapter 412. As shown, the network adapter 412 communicates with the other modules of the terminal 40 over the bus 403. It should be understood that although not shown in fig. 4, other hardware and/or software modules may be used in conjunction with the terminal 40, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
The processing unit 401 executes various functional applications and data processing by running a program stored in the system memory 402, for example, to implement the robot-based scene detection method provided by the embodiment of the present invention.
EXAMPLE five
Fifth, an embodiment of the present invention further provides a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform a robot-based scene detection method.
The method comprises the following steps:
when detecting the trigger scene detection operation, detecting each resource to be used in the target scene based on a preset virtual user, and taking the detected resource as a current resource corresponding to the target scene;
determining redundant resources corresponding to the target scene based on the current resources and preset resources acquired in advance, and outputting the redundant resources in a preset format;
and when the change of the redundant resources is detected, updating the target scene based on the changed redundant resources.
Computer storage media for embodiments of the invention may employ any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for embodiments of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. A scene detection method based on a robot is applied to a game client and comprises the following steps:
when detecting the trigger scene detection operation, detecting each resource to be used in the target scene based on a preset virtual user, and taking the detected resource as a current resource corresponding to the target scene;
determining redundant resources corresponding to the target scene based on the current resources and preset resources acquired in advance, and outputting the redundant resources in a preset format;
and when the change of the redundant resources is detected, updating the target scene based on the changed redundant resources.
2. The scene detection method according to claim 1, wherein before the detecting, based on the virtual user set in advance when the triggering of the scene detection operation is detected, each resource in the target scene is detected as a current resource corresponding to the target scene, further comprising:
and acquiring each resource in the target scene through a resource acquisition tool, marking each resource based on a preset mode, and taking each marked resource as a preset resource.
3. The scene detection method according to claim 1, wherein the detecting, based on the preset virtual user, each resource to be used in the target scene as a current resource corresponding to the target scene comprises:
and traversing all the resources to be used currently called in the target scene in parallel based on at least one preset virtual user, marking all the resources to be used according to a preset mode, and taking all the marked resources to be used as current resources.
4. The scene detection method according to claim 1, wherein the determining, based on the current resource and a preset resource acquired in advance, a redundant resource corresponding to the target scene comprises:
and screening out resources different from the current resource identifier from the preset resources according to the current resource identifier in the current resources and the preset resource identifier in the preset resources, and taking the screened out resources as redundant resources.
5. The scene detection method according to claim 1, wherein the updating the target scene based on the changed redundant resources when detecting that the redundant resources are changed comprises:
and when detecting that a deletion control in the redundant resources is triggered, acquiring the deleted redundant resources, and updating the target scene according to the deleted redundant resources.
6. The scene detection method of claim 5, wherein the updating the target scene according to the deleted redundant resources comprises:
and updating each resource of the target scene according to the deleted redundant resource and the current resource.
7. A robot-based scene detection device, which is provided in a game client, includes:
the current resource acquisition module is used for detecting each resource to be used in the target scene based on a preset virtual user when detecting the trigger scene detection operation and taking the detected resource as the current resource corresponding to the target scene;
a redundant resource acquisition module, configured to determine a redundant resource corresponding to the target scene based on the current resource and a preset resource acquired in advance, and output the redundant resource in a preset format;
and the target scene resource updating module is used for updating the target scene based on the changed redundant resources when detecting that the redundant resources are changed.
8. The scene detection device according to claim 7, characterized by further comprising:
and the preset resource acquisition module is used for acquiring each resource in the target scene through the resource acquisition tool, marking each resource based on a preset mode, and taking each marked resource as the preset resource.
9. A terminal, characterized in that the terminal comprises:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the robot-based scene detection method of any of claims 1-6.
10. A storage medium containing computer executable instructions for performing the robot-based scene detection method of any one of claims 1-6 when executed by a computer processor.
CN201911304382.6A 2019-12-17 2019-12-17 Scene detection method, device, terminal and medium based on robot Active CN111013156B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911304382.6A CN111013156B (en) 2019-12-17 2019-12-17 Scene detection method, device, terminal and medium based on robot

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911304382.6A CN111013156B (en) 2019-12-17 2019-12-17 Scene detection method, device, terminal and medium based on robot

Publications (2)

Publication Number Publication Date
CN111013156A true CN111013156A (en) 2020-04-17
CN111013156B CN111013156B (en) 2023-05-05

Family

ID=70210228

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911304382.6A Active CN111013156B (en) 2019-12-17 2019-12-17 Scene detection method, device, terminal and medium based on robot

Country Status (1)

Country Link
CN (1) CN111013156B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105677883A (en) * 2016-01-14 2016-06-15 网易(杭州)网络有限公司 Animation resource optimization method and device
CN108280009A (en) * 2017-12-25 2018-07-13 福建天晴数码有限公司 A kind of method and terminal of monitoring gridding resource
CN108434734A (en) * 2018-01-30 2018-08-24 网易(杭州)网络有限公司 Virtual resource processing method, device, terminal and storage medium in scene of game

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105677883A (en) * 2016-01-14 2016-06-15 网易(杭州)网络有限公司 Animation resource optimization method and device
CN108280009A (en) * 2017-12-25 2018-07-13 福建天晴数码有限公司 A kind of method and terminal of monitoring gridding resource
CN108434734A (en) * 2018-01-30 2018-08-24 网易(杭州)网络有限公司 Virtual resource processing method, device, terminal and storage medium in scene of game

Also Published As

Publication number Publication date
CN111013156B (en) 2023-05-05

Similar Documents

Publication Publication Date Title
CN109144695B (en) Method, device, equipment and medium for processing task topological relation
CN110457277B (en) Service processing performance analysis method, device, equipment and storage medium
CN110989926B (en) Fault magnetic disc slot positioning method and device and electronic equipment
US20150242380A1 (en) Checking testing coverage
CN110990411B (en) Data structure generation method and device, and calling method and device
CN112035314B (en) Memory leakage monitoring method and device and electronic equipment
CN111124371A (en) Game-based data processing method, device, equipment and storage medium
CN110727572A (en) Buried point data processing method, device, equipment and storage medium
CN110597704B (en) Pressure test method, device, server and medium for application program
CN111401228A (en) Video target labeling method and device and electronic equipment
CN110647318A (en) Method, device, equipment and medium for creating instance of stateful application
CN110888731B (en) Method, device, equipment and storage medium for acquiring route data
CN110515758B (en) Fault positioning method and device, computer equipment and storage medium
CN114003269A (en) Component processing method and device, electronic equipment and storage medium
CN110716804A (en) Method and device for automatically deleting useless resources, storage medium and electronic equipment
CN115022201B (en) Data processing function test method, device, equipment and storage medium
CN111013156B (en) Scene detection method, device, terminal and medium based on robot
CN111367813A (en) Automatic testing method and device for decision engine, server and storage medium
CN110457705B (en) Method, device, equipment and storage medium for processing point of interest data
CN113342632A (en) Simulation data automatic processing method and device, electronic equipment and storage medium
CN109062797B (en) Method and device for generating information
CN113590495A (en) Method, device, equipment and storage medium for determining test coverage rate
CN114117289A (en) Browser operation data acquisition method and device and electronic equipment
CN111309583B (en) Interface overdrawing detection method, device, medium and computing equipment
CN113760988A (en) Method, device, equipment and storage medium for associating and processing unbounded stream 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