CN113641428B - Method and device for acquiring special effect scene packet, electronic equipment and readable storage medium - Google Patents

Method and device for acquiring special effect scene packet, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN113641428B
CN113641428B CN202110789081.8A CN202110789081A CN113641428B CN 113641428 B CN113641428 B CN 113641428B CN 202110789081 A CN202110789081 A CN 202110789081A CN 113641428 B CN113641428 B CN 113641428B
Authority
CN
China
Prior art keywords
special effect
effect scene
attribute information
adjustment
terminal equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110789081.8A
Other languages
Chinese (zh)
Other versions
CN113641428A (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.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and 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 Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN202110789081.8A priority Critical patent/CN113641428B/en
Publication of CN113641428A publication Critical patent/CN113641428A/en
Application granted granted Critical
Publication of CN113641428B publication Critical patent/CN113641428B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a method and a device for acquiring a special effect scene packet, electronic equipment and a readable storage medium, and relates to the technical field of artificial intelligence such as augmented reality, computer vision, deep learning and the like. The method for acquiring the special effect scene packet comprises the following steps: a server receives a special effect request sent by terminal equipment; obtaining the performance score of the terminal equipment according to the attribute information; determining at least one target special effect scene package matched with the performance score; and sending at least one target special effect scene packet to the terminal equipment. The method for acquiring the special effect scene packet comprises the following steps: the terminal equipment acquires attribute information; sending a special effect request containing attribute information to a server; and receiving at least one target special effect scene packet sent by the server. According to the method and the device, the target special effect scene packet is more adaptive to the current terminal equipment through interaction of the terminal equipment and the server, and the effect of the current terminal equipment in generating the special effect scene is improved.

Description

Method and device for acquiring special effect scene packet, electronic equipment and readable storage medium
Technical Field
The present disclosure relates to the field of data processing technology, and more particularly, to the field of artificial intelligence techniques such as augmented reality, computer vision, and deep learning. Provided are a method and device for acquiring a special effect scene package, an electronic device and a readable storage medium.
Background
The terminal device needs to have corresponding performance, and can generate a special effect scene with a good effect aiming at a specific special effect scene package. Because different terminal devices have different performances, if a terminal device obtains a special effect scene packet whose performance cannot be satisfied, the technical problems of failure in generating a special effect scene and poor generation effect can be caused.
Disclosure of Invention
According to a first aspect of the present disclosure, a method for acquiring a special effect scene package is provided, including: a server receives a special effect request sent by terminal equipment, wherein the special effect request comprises attribute information of the terminal equipment; obtaining the performance score of the terminal equipment according to the attribute information; determining at least one target special effects scene package matching the performance score; and sending the at least one target special effect scene packet to the terminal equipment, so that the terminal equipment generates a corresponding special effect scene according to different target special effect scene packets.
According to a second aspect of the present disclosure, there is provided a method for acquiring a special effect scene package, including: the method comprises the steps that terminal equipment obtains attribute information, wherein the attribute information is used for a server side to obtain a performance score of the terminal equipment; sending a special effect request containing the attribute information to a server; and receiving at least one target special effect scene packet sent by the server side so as to generate a corresponding special effect scene according to different target special effect scene packets.
According to a third aspect of the present disclosure, an apparatus for obtaining a special effect scene package is provided, which is located at a server side, and includes: a first receiving unit, configured to receive a special effect request sent by a terminal device, where the special effect request includes attribute information of the terminal device; the processing unit is used for obtaining the performance score of the terminal equipment according to the attribute information; a determining unit for determining at least one target special effect scene package matching the performance score; the first sending unit is used for sending the at least one target special effect scene packet to the terminal equipment, so that the terminal equipment generates a corresponding special effect scene according to different target special effect scene packets.
According to a fourth aspect of the present disclosure, an apparatus for acquiring a special effect scene package is provided, where the apparatus is located in a terminal device, and the apparatus includes: the terminal equipment comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring attribute information, and the attribute information is used for a server side to obtain a performance score of the terminal equipment; the second sending unit is used for sending the special effect request containing the attribute information to the server side; and the second receiving unit is used for receiving at least one target special effect scene packet sent by the server end so as to generate a corresponding special effect scene according to different target special effect scene packets.
According to a fifth aspect of the present disclosure, there is provided an electronic device comprising: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method as described above.
According to a sixth aspect of the present disclosure, there is provided a non-transitory computer readable storage medium having stored thereon computer instructions for causing the computer to perform the method as described above.
According to a seventh aspect of the present disclosure, there is provided a computer program product comprising a computer program which, when executed by a processor, implements the method as described above.
According to the technical scheme, the target special effect scene packet is obtained through interaction between the terminal equipment and the server side, and the server side can more accurately obtain the performance score of the terminal equipment according to the attribute information of the terminal equipment, so that the determined target special effect scene packet can be more adaptive to the current terminal equipment, and the effect of the current terminal equipment in generating a special effect scene is improved.
It should be understood that the statements in this section do not necessarily identify key or critical features of the embodiments of the present disclosure, nor do they limit the scope of the present disclosure. Other features of the present disclosure will become apparent from the following description.
Drawings
The drawings are included to provide a better understanding of the present solution and are not to be construed as limiting the present disclosure. Wherein:
FIG. 1 is a schematic diagram according to a first embodiment of the present disclosure;
FIG. 2 is a schematic diagram according to a second embodiment of the present disclosure;
FIG. 3 is a schematic diagram according to a third embodiment of the present disclosure;
FIG. 4 is a schematic illustration of a fourth embodiment according to the present disclosure;
FIG. 5 is a schematic diagram according to a fifth embodiment of the present disclosure;
FIG. 6 is a schematic diagram according to a sixth embodiment of the present disclosure;
fig. 7 is a block diagram of an electronic device for implementing the method for acquiring a special effect scene package according to the embodiment of the present disclosure.
Detailed Description
Exemplary embodiments of the present disclosure are described below with reference to the accompanying drawings, in which various details of the embodiments of the disclosure are included to assist understanding, and which are to be considered as merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present disclosure. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
Fig. 1 is a schematic diagram according to a first embodiment of the present disclosure. As shown in fig. 1, the method for acquiring a special effect scene package according to this embodiment may specifically include the following steps:
s101, a server receives a special effect request sent by terminal equipment, wherein the special effect request comprises attribute information of the terminal equipment;
s102, obtaining a performance score of the terminal equipment according to the attribute information;
s103, determining at least one target special effect scene packet matched with the performance score;
s104, sending the at least one target special effect scene packet to the terminal equipment, so that the terminal equipment generates corresponding special effect scenes according to different target special effect scene packets.
The execution main body of the method for acquiring the special effect scene packet is the server side, the server side obtains the performance score of the terminal device according to the attribute information sent by the terminal device, then determines at least one target special effect scene packet matched with the performance score, and further sends the determined special effect scene packet to the terminal device.
The terminal device in this embodiment may be an intelligent device such as a mobile phone, a personal computer, and a vehicle-mounted device, that is, the intelligent device in this embodiment, and the obtaining of the special effect scene package is realized through interaction between the terminal device and the server side.
After executing S101 and receiving the special effect request sent by the terminal device, the server in this embodiment may obtain attribute information of the terminal device included in the special effect request; the attribute information in this embodiment includes at least one of model information, version information, memory information, chip information (including information such as CPU information and GPU information), gyroscope information, and the like of the terminal device.
After executing S101 to receive a special effect request containing attribute information sent by a terminal device, a server in this embodiment executes S102 to obtain a performance score of the terminal device according to the received attribute information.
Specifically, when the server side in this embodiment performs S102 to obtain the performance score of the terminal device according to the received attribute information, an optional implementation manner that may be adopted is as follows: matching the received attribute information in a first relation table, wherein the first relation table comprises different attribute information and corresponding scores thereof; and taking the score corresponding to the matching result in the first relation table as the performance score of the terminal equipment.
It can be understood that the iteration speed of the terminal device is fast, the attribute information of the terminal device itself is also changed continuously, and in order to ensure that the performance scores corresponding to different terminal devices can be obtained, the first relationship table needs to be updated regularly, for example, new attribute information and the score corresponding to the new attribute information are added, or the score corresponding to the existing attribute information is adjusted.
That is to say, in this embodiment, a first relationship table including different attribute information and corresponding scores thereof is preset, and then the performance score of the current terminal device is obtained by combining the first relationship table, because the server has stronger computing capability, the server can more quickly determine the performance score of the current terminal device from the first relationship table including various attribute information and corresponding scores thereof, thereby further improving the efficiency of obtaining the special effect scene package.
In order to further ensure that the performance scores corresponding to different terminal devices can be obtained and improve the accuracy of the obtained performance scores, when the server side in this embodiment performs S102 to obtain the performance scores of the terminal devices according to the received attribute information, the optional implementation manner that may be adopted is: and inputting the received attribute information into a score evaluation model obtained by pre-training, and taking an output result of the score evaluation model as a performance score of the terminal equipment. The score evaluation model used in this embodiment is obtained by training according to attribute information of a known score, and a corresponding score can be output according to the input attribute information.
That is to say, in this embodiment, the performance score of the terminal device is obtained through the score evaluation model, so that the problem that the performance score cannot be obtained due to the absence of certain attribute information in the first relation table is avoided, the first relation table does not need to be updated, and the accuracy of the obtained performance score is improved.
After the server in this embodiment executes S102 to obtain the performance score of the terminal device, executes S103 to determine at least one target special effect scene package matched with the obtained performance score.
Specifically, when the server side in this embodiment executes S103 to determine at least one target special effect scene packet matching the obtained performance score, the optional implementation manner that may be adopted is as follows: obtaining a special effect score of each special effect scene packet, wherein the special effect scores are obtained when the special effect scene packets are obtained; and taking the special effect scene packet with the special effect score not exceeding the obtained performance score as a target special effect scene packet.
The special effect scene package in the embodiment includes contents such as material resources, engine rendering files, model files, scene interaction scripts, and the like, and different special effect scene packages correspond to different special effect scenes; specifically, the special effect scene packet in this embodiment is used for the terminal device to generate an Augmented Reality (AR) special effect scene.
In this embodiment, the special effect scene packages corresponding to different special effect scenes may be stored in the server side, and the special effect scene packages stored together with the special effect scene packages further include the special effect scores of the special effect scene packages; in this embodiment, the special effect scene packages corresponding to different special effect scenes and the special effect scores thereof may also be stored in the special effect platform, and the server side may determine the target special effect scene package through interaction with the special effect platform.
After the server side in this embodiment executes S103 to determine at least one target special effect scene packet, executes S104 to send the at least one target special effect scene packet to the terminal device, so that the terminal device generates a corresponding special effect scene according to different target special effect scene packets.
Since the determined target special effect scene package contains basic content for generating a special effect scene, after the server side in this embodiment sends the determined target special effect scene package to the terminal device, the terminal device can generate different special effect scenes according to different target special effect scene packages.
According to the method provided by the embodiment, through interaction between the terminal device and the server, the server determines at least one target special effect scene packet according to the attribute information sent by the terminal device, so that the determined target special effect scene packet is more suitable for the current terminal device, and the special effect scene generated by the current terminal device is more vivid and lifelike.
Fig. 2 is a schematic diagram according to a second embodiment of the present disclosure. As shown in fig. 2, when executing S104 "sending the at least one target special effect scene package to the terminal device", the embodiment may specifically include the following steps:
s201, obtaining grading labels of the terminal equipment corresponding to different adjustment types according to the performance scores;
s202, obtaining adjustment information corresponding to different adjustment types according to the grading labels;
s203, sending the adjusting information and the at least one target special effect scene packet to the terminal equipment.
That is to say, the server side in this embodiment can also obtain corresponding adjustment information according to the performance score of the terminal device, so that the obtained adjustment information and the target special effect scene package are sent to the terminal device together, so that the terminal device can adjust the generated special effect scene according to the received adjustment information, and the effect of the generated special effect scene is further improved.
When the server side in this embodiment executes S201 to obtain the hierarchical tags corresponding to different adjustment types for the terminal device according to the performance score, the optional implementation manner that may be adopted is: aiming at each adjustment type, matching the obtained performance scores in a second relation table corresponding to the adjustment type, wherein the second relation table corresponding to each adjustment type comprises different performance scores and corresponding grading labels; and taking the grading label corresponding to the matching result in the second relation table as the grading label corresponding to the adjustment type.
The adjustment types in this embodiment include different types such as a filter parameter type and a learning model type; the adjustment information corresponding to the filter parameter types comprises different filter parameters, and the adjustment information corresponding to the learning model types comprises different learning models.
When the server side in this embodiment executes S202 to obtain adjustment information corresponding to different adjustment types according to the determined hierarchical tag, the optional implementation manner that may be adopted is as follows: for each adjustment type, matching the obtained hierarchical label in a third relation table corresponding to the adjustment type, wherein the third relation table corresponding to each adjustment type comprises different hierarchical labels and corresponding adjustment information; and taking the adjustment information corresponding to the matching result in the third relation table as the adjustment information corresponding to the adjustment type.
For example, if the adjustment information corresponding to the filter parameter type includes "ruddy: 80. whitening: 60 "," ruddy: 60. whitening: 60 and ruddy: 62. whitening: 50 ", if the rating labels corresponding to the adjustment information are F1, F2, and F3, respectively, and if the rating label corresponding to the filter parameter type determined according to the performance score of the terminal device is F1, the present embodiment determines that the adjustment information corresponding to the filter parameter type is" ruddy: 80. whitening: 60".
Fig. 3 is a schematic diagram according to a third embodiment of the present disclosure. As shown in fig. 3, the method for acquiring a special effect scene package according to this embodiment may specifically include the following steps:
s301, the terminal equipment acquires attribute information, wherein the attribute information is used for the server side to acquire the performance score of the terminal equipment;
s302, sending a special effect request containing the attribute information to a server;
s303, receiving at least one target special effect scene packet sent by the server side, and generating a corresponding special effect scene according to different target special effect scene packets.
An execution main body of the method for acquiring the special effect scene packet in this embodiment is a terminal device, and after acquiring attribute information of the terminal device, the terminal device sends a special effect request including the acquired attribute information to a server, and further receives at least one target special effect scene packet sent by the server, so as to generate a corresponding special effect scene according to different target special effect scene packets.
When the terminal device in this embodiment executes S301 to acquire the attribute information, the terminal device may acquire the attribute information after detecting that the generation function of the special effect scene of the terminal device is triggered, for example, after detecting that a user clicks a button for generating the special effect scene in the terminal device, or after detecting that the user issues a voice instruction for generating the special effect scene to the terminal device.
When the terminal device in this embodiment executes S301 to obtain the attribute information, at least one of the model information, version information, memory information, chip information (including information such as CPU information and GPU information), and gyroscope information of the terminal device may be obtained, and the obtained attribute information is used by the server to obtain the performance score of the terminal device.
After executing S301 to acquire the attribute information, the terminal device in this embodiment executes S302 to send a special effect request including the acquired attribute information to the server.
Since the terminal device executes S302 that the special effect request sent to the server includes the attribute information, the server can obtain the special effect scene packet adapted to the current terminal device according to the special effect request.
After executing S302 to send a special effect request to the server, the terminal device in this embodiment executes S303 to receive at least one target special effect scene packet sent by the server, so as to generate a corresponding special effect scene according to different target special effect scene packets.
In this embodiment, when S303 is executed to receive at least one target special effect scene packet sent by the server, the optional implementation manner that may be adopted is as follows: and receiving the adjustment information and at least one target special effect scene packet sent by the server, wherein the received adjustment information is used for adjusting the special effect scene generated by the target special effect scene packet.
That is to say, the terminal device of this embodiment receives the target special effect scene packet and the adjustment information sent by the server at the same time, and then adjusts the generated special effect scene by using the adjustment information when generating the special effect scene according to the target special effect scene packet, thereby further improving the effect of the generated special effect scene.
Fig. 4 is a schematic diagram according to a fourth embodiment of the present disclosure. Fig. 4 shows an architecture diagram of the capture special effects scene package of the present embodiment: the terminal device in fig. 4 corresponds to mobile phones of different models, and the attribute information sent by the terminal device to the server side is chip information; after receiving the chip information sent by the terminal device, the server side firstly obtains the performance score of the terminal device according to a preset chip-performance score relation table, and then selects a special effect scene packet with the special effect score not exceeding the performance score as a target special effect scene packet from a preset case (namely a special effect scene packet) -special effect score relation table according to the obtained performance score, so as to send the target special effect scene packet to the terminal device.
Fig. 5 is a schematic diagram according to a fifth embodiment of the present disclosure. As shown in fig. 5, the apparatus 500 for acquiring a special effect scene package of this embodiment is located at a server, and includes:
a first receiving unit 501, configured to receive a special effect request sent by a terminal device, where the special effect request includes attribute information of the terminal device;
a processing unit 502, configured to obtain a performance score of the terminal device according to the attribute information;
a determining unit 503, configured to determine at least one target special effect scene package matching the performance score;
the first sending unit 504 is configured to send the at least one target special effect scene packet to the terminal device, so that the terminal device generates a corresponding special effect scene according to different target special effect scene packets.
The first receiving unit 501 may obtain attribute information of the terminal device included in the special effect request after receiving the special effect request sent by the terminal device; the attribute information in this embodiment includes at least one of model information, version information, memory information, chip information (including information such as CPU information and GPU information), gyroscope information, and the like of the terminal device.
After receiving the special effect request containing the attribute information sent by the terminal device by the first receiving unit 501, the present embodiment obtains the performance score of the terminal device by the processing unit 502 according to the received attribute information.
Specifically, when the processing unit 502 obtains the performance score of the terminal device according to the received attribute information, the optional implementation manners that can be adopted are as follows: matching the received attribute information in a first relation table, wherein the first relation table comprises different attribute information and corresponding scores thereof; and taking the score corresponding to the matching result in the first relation table as the performance score of the terminal equipment.
It can be understood that the iteration speed of the terminal device is fast, the attribute information of the terminal device itself is also changed continuously, and in order to ensure that the performance scores corresponding to different terminal devices can be obtained, the processing unit 502 needs to update the first relation table regularly, for example, add new attribute information and the score corresponding to the new attribute information or adjust the score corresponding to the existing attribute information.
That is to say, the processing unit 502 presets the first relationship table containing different attribute information and corresponding scores thereof, and further obtains the performance score of the current terminal device by combining the first relationship table, because the server has stronger computing power, the server can more quickly determine the performance score of the current terminal device from the first relationship table containing various attribute information and corresponding scores thereof, and further improves the obtaining efficiency of the special effect scene package.
In order to further ensure that the performance scores corresponding to different terminal devices can be obtained, and improve the accuracy of the obtained performance scores, when the processing unit 502 obtains the performance scores of the terminal devices according to the received attribute information, the optional implementation manner that may be adopted is: and inputting the received attribute information into a score evaluation model obtained by pre-training, and taking an output result of the score evaluation model as a performance score of the terminal equipment. The score evaluation model used by the processing unit 502 is obtained by training according to the attribute information of known scores, and can output corresponding scores according to the input attribute information.
That is to say, the processing unit 502 obtains the performance score of the terminal device through the score evaluation model, so that the problem that the performance score cannot be obtained due to the fact that certain attribute information does not exist in the first relation table is avoided, the first relation table does not need to be updated, and the accuracy of the obtained performance score is improved.
After the performance score of the terminal device is obtained by the processing unit 502, at least one target special effect scene package matching the obtained performance score is determined by the determining unit 503.
Specifically, when determining at least one target special effect scene packet matching the obtained performance score, the determining unit 503 may adopt the following optional implementation manners: obtaining the special effect scores of the special effect scene packages; and taking the special effect scene packet with the special effect score not exceeding the obtained performance score as a target special effect scene packet.
The special effect scene package in the determining unit 503 includes contents such as material resources, engine rendering files, model files, scene interaction scripts, and the like, and different special effect scene packages correspond to different special effect scenes; specifically, the special effect scene packet in the determination unit 503 is used for the terminal device to generate an Augmented Reality (AR) special effect scene.
After the determining unit 503 determines at least one target special effect scene packet, the first sending unit 504 sends the at least one target special effect scene packet to the terminal device, so that the terminal device generates a corresponding special effect scene according to different target special effect scene packets.
Since the determined target special effect scene package contains basic content for generating a special effect scene, after the server side in this embodiment sends the determined target special effect scene package to the terminal device, the terminal device can generate different special effect scenes according to different target special effect scene packages.
In addition, when the first sending unit 504 sends at least one target special effect scene package to the terminal device, the following manner may be adopted: according to the performance scores, obtaining grading labels of the terminal equipment corresponding to different adjustment types; obtaining adjustment information corresponding to different adjustment types according to the obtained grading label; and sending the obtained adjustment information and at least one target special effect scene packet to the terminal equipment.
That is to say, the first sending unit 504 can also obtain corresponding adjustment information according to the performance score of the terminal device, so that the obtained adjustment information and the target special effect scene package are sent to the terminal device together, so that the terminal device can adjust the generated special effect scene according to the received adjustment information, and the effect of the generated special effect scene is further improved.
When the first sending unit 504 obtains the hierarchical tags corresponding to different adjustment types for the terminal device according to the performance scores, the optional implementation manner that may be adopted is as follows: for each adjustment type, matching the obtained performance score in a second relation table corresponding to the adjustment type; and taking the grading label corresponding to the matching result in the second relation table as the grading label corresponding to the adjustment type.
When the first sending unit 504 obtains the adjustment information corresponding to different adjustment types according to the determined hierarchical tag, the optional implementation manner that may be adopted is: for each adjustment type, matching the obtained hierarchical label in a third relation table corresponding to the adjustment type; and taking the adjustment information corresponding to the matching result in the third relation table as the adjustment information corresponding to the adjustment type.
Fig. 6 is a schematic diagram according to a sixth embodiment of the present disclosure. As shown in fig. 6, the apparatus 600 for acquiring a special effect scene package according to this embodiment is located in a terminal device, and specifically includes the following steps:
the obtaining unit 601 is configured to obtain attribute information, where the attribute information is used for a server to obtain a performance score of the terminal device;
a second sending unit 602, configured to send a special effect request including the attribute information to a server;
the second receiving unit 603 is configured to receive at least one target special effect scene packet sent by the server, so as to generate a corresponding special effect scene according to different target special effect scene packets.
The obtaining unit 601, when obtaining the attribute information, may obtain the attribute information after detecting that a function of generating a special effect scene of the terminal device is triggered, for example, after detecting that a user clicks a button of the terminal device for generating the special effect scene, or after detecting that a voice instruction for generating the special effect scene is issued to the terminal device by the user.
When acquiring the attribute information, the acquiring unit 601 may acquire at least one of model information, version information, memory information, chip information (including information such as CPU information and GPU information), gyroscope information, and the like of itself, where the acquired attribute information is used by the server to obtain the performance score of the terminal device.
After the terminal device in this embodiment acquires the attribute information by the acquisition unit 601, the server side transmits a special effect request including the acquired attribute information by the second transmission unit 602.
Since the second sending unit 602 includes the attribute information in the special effect request sent to the server, the server can obtain the special effect scene packet adapted to the current terminal device according to the special effect request.
After the terminal device in this embodiment sends the special effect request to the server side by the second sending unit 602, the second receiving unit 603 receives at least one target special effect scene packet sent by the server side, so as to generate a corresponding special effect scene according to different target special effect scene packets.
When the second receiving unit 603 receives at least one target special effect scene packet sent by the server, the optional implementation manner that may be adopted is: and receiving the adjustment information and at least one target special effect scene packet sent by the server, wherein the received adjustment information is used for adjusting the special effect scene generated by the target special effect scene packet.
That is to say, the terminal device in this embodiment receives the target special effect scene packet and the adjustment information sent by the server side through the second receiving unit 603, and then when generating a special effect scene according to the target special effect scene packet, adjusts the generated special effect scene by using the adjustment information, thereby further improving the effect of the generated special effect scene.
In the technical scheme of the disclosure, the acquisition, storage, application and the like of the personal information of the related user all accord with the regulations of related laws and regulations, and do not violate the good customs of the public order.
The present disclosure also provides an electronic device, a readable storage medium, and a computer program product according to embodiments of the present disclosure.
As shown in fig. 7, the disclosure is a block diagram of an electronic device of an obtaining method of a special effect scene package according to an embodiment of the disclosure. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the disclosure described and/or claimed herein.
As shown in fig. 7, the device 700 comprises a computing unit 701, which may perform various suitable actions and processes according to a computer program stored in a Read Only Memory (ROM)702 or a computer program loaded from a storage unit 708 into a Random Access Memory (RAM) 703. In the RAM703, various programs and data required for the operation of the device 700 can also be stored. The computing unit 701, the ROM702, and the RAM703 are connected to each other by a bus 704. An input/output (I/O) interface 705 is also connected to bus 704.
Various components in the device 700 are connected to the I/O interface 705, including: an input unit 706 such as a keyboard, a mouse, or the like; an output unit 707 such as various types of displays, speakers, and the like; a storage unit 708 such as a magnetic disk, optical disk, or the like; and a communication unit 709 such as a network card, modem, wireless communication transceiver, etc. The communication unit 709 allows the device 700 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunication networks.
Computing unit 701 may be a variety of general and/or special purpose processing components with processing and computing capabilities. Some examples of the computing unit 701 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various computing units running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, and so forth. The calculation unit 701 executes the respective methods and processes described above, such as the acquisition method of the special effect scene package. For example, in some embodiments, the method of obtaining the special effects scene package may be implemented as a computer software program tangibly embodied in a machine-readable medium, such as storage unit 708.
In some embodiments, part or all of a computer program may be loaded onto and/or installed onto device 700 via ROM702 and/or communications unit 709. When the computer program is loaded into the RAM703 and executed by the computing unit 701, one or more steps of the above-described special effects scene package acquisition method may be performed. Alternatively, in other embodiments, the computing unit 701 may be configured by any other suitable means (e.g., by means of firmware) to perform the method of acquiring the special effects scene package.
Various implementations of the systems and techniques described here can be realized in digital electronic circuitry, integrated circuitry, Field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), system on a chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for implementing the methods of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the program codes, when executed by the processor or controller, cause the functions/operations specified in the flowchart and/or block diagram to be performed. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on 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.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), Wide Area Networks (WANs), and the Internet.
The computer system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The Server can be a cloud Server, also called a cloud computing Server or a cloud host, and is a host product in a cloud computing service system, so as to solve the defects of high management difficulty and weak service expansibility in the traditional physical host and VPS service ("Virtual Private Server", or simply "VPS"). The server may also be a server of a distributed system, or a server incorporating a blockchain.
It should be noted that in the embodiment of the present disclosure, the execution subject of the method for acquiring a special effect scene package may acquire the attribute information of the terminal device in various public and legal compliance manners, for example, the attribute information may be acquired from a public data set or acquired from a user after authorization of the user. The obtaining process of the special effect scene package through the embodiment of the disclosure is executed after being authorized by the user, and the obtaining process of the special effect scene package accords with relevant laws and regulations. The special effect scene package in the embodiment of the present disclosure is not obtained for a specific user, and cannot reflect personal information of a specific user.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present disclosure may be executed in parallel or sequentially or in different orders, and are not limited herein as long as the desired results of the technical solutions disclosed in the present disclosure can be achieved.
The above detailed description should not be construed as limiting the scope of the disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present disclosure should be included in the protection scope of the present disclosure.

Claims (20)

1. A method for acquiring a special effect scene packet comprises the following steps:
a server receives a special effect request sent by terminal equipment, wherein the special effect request comprises equipment attribute information of the terminal equipment;
obtaining the performance score of the terminal equipment according to the equipment attribute information;
determining at least one target special effects scene package matching the performance score;
and sending the at least one target special effect scene packet to the terminal equipment, so that the terminal equipment generates a corresponding special effect scene according to different target special effect scene packets.
2. The method of claim 1, wherein the deriving the performance score of the terminal device according to the device attribute information comprises:
matching the equipment attribute information in a first relation table;
and taking the score corresponding to the matching result in the first relation table as the performance score of the terminal equipment.
3. The method of claim 1, wherein the deriving the performance score of the terminal device according to the device attribute information comprises:
and inputting the equipment attribute information into a score evaluation model obtained by pre-training, and taking an output result of the score evaluation model as a performance score of the terminal equipment.
4. The method of claim 1, wherein the determining at least one target special effects scene package that matches the performance score comprises:
obtaining the special effect scores of the special effect scene packages;
and taking the special effect scene packet with the special effect score not exceeding the performance score as the target special effect scene packet.
5. The method of claim 1, wherein the transmitting the at least one target special effects scene package to the terminal device comprises:
obtaining grading labels of the terminal equipment corresponding to different adjustment types according to the performance scores;
obtaining adjustment information corresponding to different adjustment types according to the grading label;
and sending the adjustment information and the at least one target special effect scene packet to the terminal equipment.
6. The method of claim 5, wherein the obtaining the hierarchical labels of the terminal device corresponding to different adjustment types according to the performance scores comprises:
for each adjustment type, matching the performance score in a second relation table corresponding to the adjustment type;
and taking the grading label corresponding to the matching result in the second relation table as the grading label corresponding to the adjustment type.
7. The method of claim 5, wherein the obtaining adjustment information corresponding to different adjustment types according to the hierarchical label comprises:
for each adjustment type, matching the hierarchical label in a third relation table corresponding to the adjustment type;
and taking the adjustment information corresponding to the matching result in the third relation table as the adjustment information corresponding to the adjustment type.
8. A method for acquiring a special effect scene packet comprises the following steps:
the method comprises the steps that terminal equipment obtains equipment attribute information, wherein the equipment attribute information is used for a server side to obtain a performance score of the terminal equipment;
sending a special effect request containing the equipment attribute information to a server;
and receiving at least one target special effect scene packet sent by the server side so as to generate a corresponding special effect scene according to different target special effect scene packets.
9. The method of claim 8, wherein the receiving at least one target special effects scene package sent by the server comprises:
and receiving the adjustment information and the at least one target special effect scene packet sent by the server.
10. An acquisition device of a special effect scene packet is located at a server side and comprises:
a first receiving unit, configured to receive a special effect request sent by a terminal device, where the special effect request includes device attribute information of the terminal device;
the processing unit is used for obtaining the performance score of the terminal equipment according to the equipment attribute information;
a determining unit for determining at least one target special effect scene package matching the performance score;
the first sending unit is used for sending the at least one target special effect scene packet to the terminal equipment, so that the terminal equipment generates a corresponding special effect scene according to different target special effect scene packets.
11. The apparatus according to claim 10, wherein the processing unit, when obtaining the performance score of the terminal device according to the device attribute information, specifically performs:
matching the equipment attribute information in a first relation table;
and taking the score corresponding to the matching result in the first relation table as the performance score of the terminal equipment.
12. The apparatus according to claim 10, wherein the processing unit, when obtaining the performance score of the terminal device according to the device attribute information, specifically performs:
and inputting the equipment attribute information into a score evaluation model obtained by pre-training, and taking an output result of the score evaluation model as a performance score of the terminal equipment.
13. The apparatus according to claim 10, wherein the determining unit, when determining at least one target special effects scene package matching the performance score, performs in particular:
obtaining the special effect scores of the special effect scene packages;
and taking the special effect scene packet with the special effect score not exceeding the performance score as the target special effect scene packet.
14. The apparatus according to claim 10, wherein the first sending unit, when sending the at least one target special effect scene package to the terminal device, specifically performs:
obtaining grading labels of the terminal equipment corresponding to different adjustment types according to the performance scores;
obtaining adjustment information corresponding to different adjustment types according to the grading label;
and sending the adjustment information and the at least one target special effect scene packet to the terminal equipment.
15. The apparatus according to claim 14, wherein the first sending unit, when obtaining the hierarchical tags corresponding to different adjustment types for the terminal device according to the performance score, specifically performs:
for each adjustment type, matching the performance score in a second relation table corresponding to the adjustment type;
and taking the grading label corresponding to the matching result in the second relation table as the grading label corresponding to the adjustment type.
16. The apparatus according to claim 14, wherein the first sending unit, when obtaining the adjustment information corresponding to different adjustment types according to the hierarchical tag, specifically performs:
for each adjustment type, matching the hierarchical label in a third relation table corresponding to the adjustment type;
and taking the adjustment information corresponding to the matching result in the third relation table as the adjustment information corresponding to the adjustment type.
17. An acquisition device of a special effect scene packet is located at a terminal device, and comprises:
the device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring device attribute information, and the device attribute information is used for a server side to obtain a performance score of the terminal device;
the second sending unit is used for sending a special effect request containing the equipment attribute information to a server side;
and the second receiving unit is used for receiving at least one target special effect scene packet sent by the server end so as to generate a corresponding special effect scene according to different target special effect scene packets.
18. The apparatus according to claim 17, wherein the second receiving unit, when receiving at least one target special effect scene packet sent by the server, specifically performs:
and receiving the adjusting information and the at least one target special effect scene packet sent by the server side.
19. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-9.
20. A non-transitory computer readable storage medium having stored thereon computer instructions for causing the computer to perform the method of any one of claims 1-9.
CN202110789081.8A 2021-07-13 2021-07-13 Method and device for acquiring special effect scene packet, electronic equipment and readable storage medium Active CN113641428B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110789081.8A CN113641428B (en) 2021-07-13 2021-07-13 Method and device for acquiring special effect scene packet, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110789081.8A CN113641428B (en) 2021-07-13 2021-07-13 Method and device for acquiring special effect scene packet, electronic equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN113641428A CN113641428A (en) 2021-11-12
CN113641428B true CN113641428B (en) 2022-05-27

Family

ID=78417207

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110789081.8A Active CN113641428B (en) 2021-07-13 2021-07-13 Method and device for acquiring special effect scene packet, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN113641428B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6976079B1 (en) * 2000-09-29 2005-12-13 International Business Machines Corporation System and method for upgrading software in a distributed computer system
CN102647398A (en) * 2011-02-16 2012-08-22 腾讯科技(深圳)有限公司 Method and device for realizing game on basis of mobile terminal
CN111640192A (en) * 2020-06-05 2020-09-08 上海商汤智能科技有限公司 Scene image processing method and device, AR device and storage medium
CN111973993A (en) * 2020-09-08 2020-11-24 网易(杭州)网络有限公司 Game configuration obtaining method, device, server, terminal and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6976079B1 (en) * 2000-09-29 2005-12-13 International Business Machines Corporation System and method for upgrading software in a distributed computer system
CN102647398A (en) * 2011-02-16 2012-08-22 腾讯科技(深圳)有限公司 Method and device for realizing game on basis of mobile terminal
CN111640192A (en) * 2020-06-05 2020-09-08 上海商汤智能科技有限公司 Scene image processing method and device, AR device and storage medium
CN111973993A (en) * 2020-09-08 2020-11-24 网易(杭州)网络有限公司 Game configuration obtaining method, device, server, terminal and storage medium

Also Published As

Publication number Publication date
CN113641428A (en) 2021-11-12

Similar Documents

Publication Publication Date Title
CN112597754B (en) Text error correction method, apparatus, electronic device and readable storage medium
CN113342345A (en) Operator fusion method and device of deep learning framework
CN113766487B (en) Cloud mobile phone information acquisition method, device, equipment and medium
CN112015468B (en) Interface document processing method and device, electronic equipment and storage medium
CN113641829A (en) Method and device for training neural network of graph and complementing knowledge graph
CN112508115A (en) Method, apparatus, device and computer storage medium for building node representation model
CN113641677A (en) Data processing method and device, electronic equipment and storage medium
CN113961289A (en) Data processing method, device, equipment and storage medium
CN113641428B (en) Method and device for acquiring special effect scene packet, electronic equipment and readable storage medium
CN114218166A (en) Data processing method and device, electronic equipment and readable storage medium
CN112966607A (en) Model training method, face video generation method, device, equipment and medium
CN113327311A (en) Virtual character based display method, device, equipment and storage medium
CN116071422B (en) Method and device for adjusting brightness of virtual equipment facing meta-universe scene
CN113900734B (en) Application program file configuration method, device, equipment and storage medium
CN113470380B (en) Data processing method and device, electronic equipment and readable storage medium
CN112783507B (en) Data stream guiding playback method and device, electronic equipment and readable storage medium
CN114398130B (en) Page display method, device, equipment and storage medium
CN116233051A (en) Page sharing method, device and equipment for applet and storage medium
CN116382787A (en) Method and device for loading animation in page, electronic equipment and readable storage medium
CN116506165A (en) Cloud mobile phone identification method and device, electronic equipment and readable storage medium
CN117591145A (en) Updating method and device of interface document, electronic equipment and storage medium
CN116436883A (en) Method, device, electronic equipment and readable storage medium for link transmission
CN117113323A (en) Verification method, device, equipment and storage medium
CN117249845A (en) Voice broadcasting method, device, electronic equipment and readable storage medium
CN114398072A (en) Installation package generation method, device, equipment and storage medium

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