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

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

Info

Publication number
CN113515707B
CN113515707B CN202011000227.8A CN202011000227A CN113515707B CN 113515707 B CN113515707 B CN 113515707B CN 202011000227 A CN202011000227 A CN 202011000227A CN 113515707 B CN113515707 B CN 113515707B
Authority
CN
China
Prior art keywords
request packet
operation request
target
data
intelligent
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
CN202011000227.8A
Other languages
Chinese (zh)
Other versions
CN113515707A (en
Inventor
戴礼松
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202011000227.8A priority Critical patent/CN113515707B/en
Publication of CN113515707A publication Critical patent/CN113515707A/en
Application granted granted Critical
Publication of CN113515707B publication Critical patent/CN113515707B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9536Search customisation based on social or collaborative filtering
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/28Databases characterised by their database models, e.g. relational or object models
    • G06F16/284Relational databases
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the application discloses a data processing method, an intelligent device, intelligent equipment and a storage medium, wherein the data processing method relates to an artificial intelligence technology for behavior imitation and follow-up, and the method comprises the following steps: acquiring an operation request packet; acquiring intelligent user account data, and updating user data included in the operation data in the operation request packet by adopting the intelligent user account data to obtain a target operation request packet; determining the operation type of the target operation according to the operation data, and selecting a script according to the operation type; and carrying out recombination processing on the selected script according to the target operation request packet, and running the recombined script to send the target operation request packet to an operation interface provided by the social platform. The intelligent processing can be carried out on the operation of the user, the robot operation is automatically carried out along with the operation of the user, the intelligent requirement is met, and the data processing efficiency is improved.

Description

Data processing method, intelligent device, intelligent equipment and storage medium
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a data processing method, an intelligent device, an intelligent apparatus, and a computer readable storage medium.
Background
With the development of science and the advancement of technology, a UGC (User Generate Content, user generated content) social platform (e.g., internet forum, internet community, etc.) is widely applied to people's daily life, and an internet user can post UGC (e.g., an article written by an internet user, a post written by an internet user, etc.) through the UGC social platform.
At present, the heat of UGC in the UGC social platform is often increased through manual operation, and the interactivity of the UGC social platform is improved, for example, a user reviews the UGC through the UGC social platform, and the user reads the UGC through the UGC social platform; manual operations such as comment and reading can indeed increase the heat of UGC and promote interactivity of UGC platforms, but human resources are wasted, and the operation efficiency is low.
Disclosure of Invention
The embodiment of the application provides a data processing method, an intelligent device, intelligent equipment and a storage medium, which can perform intelligent processing on an operation request packet, meet intelligent requirements and improve data processing efficiency.
In one aspect, an embodiment of the present application provides a data processing method, where the data processing method includes:
acquiring an operation request packet, wherein the operation request packet is generated by the intelligent terminal in response to target operation on a multimedia object published through a social platform, and operation data of the target operation are recorded in the operation request packet;
Acquiring intelligent user account data, and updating user data included in the operation data in the operation request packet by adopting the intelligent user account data to obtain a target operation request packet;
determining the operation type of the target operation according to the operation data, and selecting a script according to the operation type;
and carrying out recombination processing on the selected script according to the target operation request packet, and running the recombined script so as to send the target operation request packet to an operation interface provided by the social platform, wherein the target operation request packet is used for requesting the social platform to execute target operation on the multimedia object according to the intelligent user account data.
In another aspect, an embodiment of the present application provides an intelligent device, including:
the acquisition unit is used for acquiring an operation request packet, wherein the operation request packet is generated by the intelligent terminal in response to target operation on the multimedia object issued by the social platform, and operation data of the target operation are recorded in the operation request packet;
the acquisition unit is also used for acquiring the intelligent user account data and updating the user data included in the operation data in the operation request packet by adopting the intelligent user account data to acquire a target operation request packet;
The processing unit is used for determining the operation type of the target operation according to the operation data and selecting a script according to the operation type;
the processing unit is further used for carrying out recombination processing on the selected script according to the target operation request packet, and running the recombined script so as to send the target operation request packet to an operation interface provided by the social platform, wherein the target operation request packet is used for requesting the social platform to execute target operation on the multimedia object according to the intelligent user account data.
In one implementation, the user data includes a set of key-value pairs including key-value pairs composed of keywords and values corresponding to the keywords, and the intelligent user account data includes login identifiers that are successfully registered on the social platform; the processing unit is specifically used for:
analyzing the operation request packet to obtain user data;
if the operation type is the first type, determining a login keyword in the key value pair set;
replacing a value corresponding to the login keyword with a login identifier in the intelligent user account data to obtain a target operation request packet;
wherein the login identification comprises a user identification, or the login identification comprises a user identification and a password.
In one implementation, the user data includes a set of key-value pairs including key-value pairs composed of keywords and values corresponding to the keywords, and the intelligent user account data includes login identifiers that are successfully registered on the social platform and comment content that comments on the multimedia object; the processing unit is specifically used for:
Analyzing the operation request packet to obtain user data;
if the operation type is the second type, determining a login keyword and a comment keyword in the key value pair set;
replacing the value corresponding to the login keyword with the login identifier in the intelligent user account data, and replacing the value corresponding to the comment keyword with comment content in the intelligent user account data to obtain a target operation request packet;
wherein the login identification comprises a user identification, or the login identification comprises a user identification and a password.
In one implementation, the operation interface comprises a hypertext transfer protocol, HTTP, interface and the operation request packet comprises an HTTP request packet; the operation types include at least two, different operation types are provided with different scripts.
In one implementation, the processing unit is further configured to:
detecting whether the operation request packet meets the update condition;
if the operation request packet meets the updating condition, triggering and executing the step of updating the user data included in the operation data in the operation request packet by adopting the intelligent user account data to obtain a target operation request packet;
wherein the operation request packet satisfies the update condition includes any one of the following: the operation request packet satisfies the delay condition, the operation request packet satisfies the probability condition, and the operation request packet satisfies the delay condition and the probability condition.
In one implementation, the operation request packet is obtained from a message queue of the social platform, and the operation request packet meeting the delay condition means that a time difference value between an operation data corresponding time stamp in the operation request packet and the current reference time is greater than a preset delay threshold; the processing unit is further used for:
if the operation request packet does not meet the delay condition, returning the operation request packet to the message queue;
the operation request packet does not meet the delay condition means that a time difference between a corresponding time stamp of the operation request packet and the current reference time is less than or equal to a preset delay threshold.
In one implementation, the processing unit is further configured to:
acquiring a reference value corresponding to the operation request packet;
performing modular processing on the reference value and a preset standard value to obtain a target value;
if the target value is within the target value range, determining that the operation request packet meets the probability condition;
if the target value is not in the target value range, determining that the operation request packet does not meet the probability condition;
the target value range is calculated according to a preset standard value and a preset operation probability.
In one implementation, the operation types include a first type and a second type; the processing unit is specifically used for:
Displaying a user page, wherein the user page comprises an operation type selection item and an operation probability setting item;
if a first type option corresponding to the first type in the operation type selection items is selected, taking the value set in the operation probability setting item as a first operation probability;
if a second type option corresponding to the second type in the operation type selection items is selected, taking the value set in the operation probability setting item as a second operation probability;
wherein the first operational probability and the second operational probability are different.
In one implementation, the processing unit is further configured to:
acquiring an operation count value of a multimedia object under a target operation from a social platform, and acquiring a count threshold corresponding to the target operation;
updating the operation probability according to the operation count value and the count threshold;
wherein the operation probability is updated according to the operation count value and the count threshold value, and the operation probability comprises at least one of the following:
if the operation count value is larger than the count threshold value, the operation probability is reduced;
if the count value is less than or equal to the count threshold, the operational probability is raised.
In another aspect, an embodiment of the present application provides an intelligent device, including:
A processor adapted to implement computer instructions; the method comprises the steps of,
a computer readable storage medium storing computer instructions adapted to be loaded by a processor and to perform the data processing method described above.
In another aspect, embodiments of the present application provide a computer-readable storage medium storing computer instructions that, when read and executed by a processor of a computer device, cause the computer device to perform the data processing method described above.
In another aspect, embodiments of the present application provide a computer program product or computer program comprising computer instructions stored in a computer-readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device performs the data processing method described above.
In the embodiment of the application, the intelligent device adopts the process of updating the user data included in the operation data in the operation request packet by adopting the intelligent user account data, the process of determining the operation type of the target operation by the intelligent device according to the operation data and selecting the script according to the operation type is realized by the intelligent device automatically executing, the intelligent device reorganizes the selected script according to the target operation request packet, and automatically sends the target operation request packet to the operation interface provided by the social platform through the operation of the reorganized script, thereby meeting the automatic and intelligent requirements of the intelligent device and effectively improving the data processing efficiency of the intelligent device. The social platform responds to the target operation request packet and executes target operation on the multimedia object according to the intelligent user account data, so that the heat of the multimedia object is effectively increased.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are needed in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 illustrates a schematic diagram of the operation provided by a social platform provided by an exemplary embodiment of the present application;
FIG. 2 illustrates a flow diagram of a data processing scheme provided by an exemplary embodiment of the present application;
FIG. 3 depicts a schematic diagram of the architecture of a data processing system provided by an exemplary embodiment of the present application;
FIG. 4 illustrates a schematic diagram of a social platform provided in an exemplary embodiment of the present application;
FIG. 5 illustrates a flow diagram of a data processing scheme provided in accordance with another exemplary embodiment of the present application;
FIG. 6 illustrates a page schematic of a social page provided in an exemplary embodiment of the present application;
FIG. 7 is a flow chart of a method for processing data according to an exemplary embodiment of the present application;
FIG. 8 is a flow chart of a method for processing data according to another exemplary embodiment of the present application;
FIG. 9 is a flow chart of a method for inspecting an operation request packet according to another exemplary embodiment of the present application;
FIG. 10 illustrates a page schematic of a user page provided in an exemplary embodiment of the present application;
FIG. 11 illustrates a page schematic of a user page provided in accordance with another exemplary embodiment of the present application;
FIG. 12 is a schematic diagram of a smart device according to an exemplary embodiment of the present application;
fig. 13 shows a schematic structural diagram of a smart device according to an exemplary embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.
The data processing scheme provided by the embodiment of the application relates to an artificial intelligence technology, and realizes that the artificial intelligence (Artificial Intelligence, AI) executes new operation along with user operation, for example, a user performs 'praise' operation on an article on a social platform, and then a robot can selectively perform 'praise' processing on the article along with the user operation. AI is a theory, method, technique, and application system that utilizes a digital computer or a digital computer-controlled machine to simulate, extend, and extend human intelligence, sense the environment, acquire knowledge, and use knowledge to obtain optimal results. In other words, artificial intelligence is an integrated technology of computer science that attempts to understand the essence of intelligence and to produce a new intelligent machine that can react in a similar way to human intelligence. Artificial intelligence, i.e. research on design principles and implementation methods of various intelligent machines, enables the machines to have functions of sensing, reasoning and decision.
The artificial intelligence technology is a comprehensive subject, and relates to the technology with wide fields, namely the technology with a hardware level and the technology with a software level. Artificial intelligence infrastructure technologies generally include technologies such as sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, big data processing technologies, operation/interaction systems, mechatronics, and the like. The artificial intelligence software technology mainly comprises a computer vision technology, a voice processing technology, a natural language processing technology, machine learning/deep learning and other directions.
Embodiments of the present application relate to UGC (User Generated Content ), which may be considered user generated multimedia objects or user originated multimedia objects, which may include, but are not limited to, at least one of the following: user-generated articles, posts, pictures, audio, video, and the like. Users often operate on multimedia objects through a social platform, which in particular provides two types of multimedia object operations to users: one type of operation is a management operation for a multimedia object, which may include, but is not limited to, at least one of: publishing the multimedia objects through the social platform, deleting the multimedia objects published to the social platform, and the like; another type of operation is a general operation on a multimedia object, which may include, but is not limited to, at least one of: marking interactive operations (such as praise interactive operations, point difference interactive operations), reading interactive operations, watching interactive operations, comment interactive operations and the like on multimedia objects which have been posted to the social platform; the praise interaction operation refers to an operation of endorsing, enjoying, interested and other emotions on the multimedia object released to the social platform, and the praise interaction operation refers to an operation of disagreeing, disliked, uninteresting and other emotions on the multimedia object released to the social platform.
In order to increase the popularity of the multimedia object published to the social platform and improve the interactivity between the social platform and the user, the target operation of the user on the multimedia object can be followed and simulated by a smart system (for example, may be referred to as UGC smart system) mounted in the smart device, where the target operation refers to the operations of marking, reading, watching, commenting and the like, as shown in fig. 1, fig. 1 shows an operation schematic provided by the social platform according to an exemplary embodiment of the present application, and the smart system can follow and simulate the common operation of the user on the multimedia object, but cannot follow and simulate the management operation of the user on the multimedia object. FIG. 2 is a flow chart of a data processing scheme provided in an exemplary embodiment of the present application, as shown in FIG. 2, including the following four steps:
(1) responding to the target operation of the user on the multimedia object by the social platform, calling a logic code to execute processing corresponding to the target operation on the multimedia object, and generating an operation message corresponding to the target operation, wherein the operation message can be used for indicating the operation type of the target operation; for example, the social platform responds to the marking interaction operation of the user on the multimedia object, invokes the logic code corresponding to the marking interaction operation to execute the marking interaction operation on the multimedia object, and generates an operation message corresponding to the marking interaction operation, wherein the operation message is used for indicating the marking interaction type to which the marking interaction operation belongs.
(2) The social platform sends the operation Message to a Message Queue (MQ), where the Message queue refers to a container for storing data during the transmission process of the data (e.g., operation Message, operation data, operation request packet, etc.), and the Message queue supports asynchronous consumption of the data stored in the Message queue by the intelligent device.
(3) The intelligent device consumes the operation message from the message queue, namely, the intelligent device acquires the operation message from the message queue.
(4) The intelligent equipment calls a logic code corresponding to the operation type to execute the target operation on the multimedia object based on the operation type of the target operation indicated by the operation message; for example, the intelligent device invokes a logic code corresponding to the tag interaction type to perform the tag interaction operation on the multimedia object based on the tag interaction type to which the tag interaction operation indicated by the operation message belongs.
In the above process, the social platform and the intelligent device need to call the same logic code when executing the target operation on the multimedia object, the social platform and the intelligent device are mutually coupled and mutually dependent, and when the social platform changes the logic code, the intelligent device needs to update the logic code synchronously so as to execute the target operation on the multimedia object along with the social platform. In addition, an intelligent system is mounted in the intelligent device, and when the development language supported by the intelligent system is inconsistent with the development language of compiling the logic code, the intelligent device can also realize operation interaction with the social platform by adding related scripts for calling the logic code, for example, the intelligent device is mounted with the intelligent system, the development language supported by the intelligent system is a first development language, the development language of compiling the logic code is a second development language, the development language supported by the intelligent system is inconsistent with the development language of compiling the logic code, and the intelligent device can add related calling scripts to call the logic code compiled by using the second development language by running the calling scripts.
The foregoing describes a data processing scheme of the present application, and on the basis of the foregoing scheme, an embodiment of the present application proposes a further data processing scheme, in which, in the data processing scheme, an intelligent device obtains an operation request packet in which operation data of a target operation is recorded from a message queue of a social platform, the intelligent device updates user data included in the operation data in the operation request packet by using intelligent user account data, obtains the target operation request packet, and sends the target operation request packet to an operation interface provided by the social platform, where the target operation request packet is used for requesting the social platform to execute a target operation on a multimedia object according to the intelligent user account data. By implementing the data processing scheme, the intelligent device adopts the intelligent user account data to update the user data included in the operation data in the operation request packet, the intelligent device determines the operation type of the target operation according to the operation data and selects the script according to the operation type, the intelligent device automatically executes the selected script according to the target operation request packet, and automatically sends the target operation request packet to an operation interface provided by the social platform through the operation of the recombined script, thereby meeting the automatic and intelligent requirements of the intelligent device and effectively improving the data processing efficiency of the intelligent device. The social platform responds to the target operation request packet and executes target operation on the multimedia object according to the intelligent user account data, so that the heat of the multimedia object is effectively increased.
FIG. 3 illustrates a schematic architecture of a data processing system provided in an exemplary embodiment of the present application, and as shown in FIG. 3, the data processing system 30 includes a smart device 301 and a social platform 302. Wherein, the intelligent device 301 may be a server, and the intelligent device 301 may also be an intelligent terminal; the intelligent terminal can be a smart phone, a tablet computer, a notebook computer, a desktop computer, a smart sound box, a smart watch and other devices which can be accessed to the internet through a computer network or a mobile communication network, but is not limited to the above; the server may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server for providing cloud computing service, which is not limited herein. Fig. 4 illustrates a schematic structural diagram of a social platform according to an exemplary embodiment of the present application, and as shown in fig. 4, the social platform 302 includes an HTTP (Hyper Text Transfer Protocol ) access layer 3021, a storage layer 3022, and a message queue 3023. The HTTP access layer 3021 provides an HTTP interface, and the HTTP access layer 3021 includes a multimedia object detail CGI (Common Gateway Interface, general gateway interface), a multimedia object operation (i.e., the above management operation and the general operation) CGI, a publisher CGI, and a social page CGI; the multimedia object operation CGI is adapted to receive and respond to multimedia object operation requests and the publisher CGI is adapted to receive and respond to multimedia object publication requests. The storage layer 3022 includes a multimedia object storage module, a multimedia object operation storage module, and a multimedia object list storage module; the multimedia object storage module is used for storing all multimedia objects issued by a user through the social platform; the multimedia object operation storage module is used for storing multimedia object operations and operation data corresponding to the multimedia object operations, such as mark interaction time corresponding to mark interaction operations, comment content corresponding to comment interaction operations and the like; the multimedia object list storage module is used for storing key information of the multimedia object released by each user, such as release time of the multimedia object, multimedia object identification, release state of the multimedia object (for example, the release state of the multimedia object is visible to only the target user, etc.). The message queue 3203 is used for storing operation request packets, and the operation request packets stored in the message queue 3023 include HTTP request packets.
In this embodiment, the specific flow of the data processing scheme in the case that the intelligent device 301 is a server and the specific flow of the data processing scheme in the case that the intelligent device 301 is an intelligent terminal are different, and the specific flow of the data processing scheme in the case of two cases is described below:
(1) The smart device 301 is a server.
When the smart device 301 is a server, referring to fig. 5, fig. 5 shows a schematic flow chart of a data processing scheme according to another exemplary embodiment of the present application, where a processing flow of the data processing scheme is as follows:
(1) the server obtains an operation request packet from a message queue of the social platform. In one implementation, the operation request packet is sent by the intelligent terminal to the social platform, and the social platform stores the operation request packet sent by the intelligent terminal in the message queue. The intelligent terminal can support the installation and running of various application programs, wherein the application programs can include, but are not limited to, social application programs (such as a microblog application program, an instant messaging application program, a forum application program, a bar application program and the like), audio and video application programs (such as a video on demand application program, an audio player and the like), game application programs and the like, and the intelligent terminal accesses a social page CGI and further accesses a social platform through a social page provided by the social application program. The operation request packet is generated by the intelligent terminal in response to the target operation of the intelligent terminal user on the multimedia object published through the social platform, as shown in fig. 6, fig. 6 shows a page schematic diagram of a social page provided by an exemplary embodiment of the present application, and when the intelligent terminal user clicks the praise option 602 for the multimedia object 601 in the social page 60 of the social application running in the intelligent terminal, the intelligent terminal generates the operation request packet in response to the praise interaction operation of the intelligent terminal user on the multimedia object published through the social platform; when the intelligent terminal user clicks the comment option 603 for the multimedia object 601 in the social page 60 of the social application running in the intelligent terminal, the intelligent terminal generates an operation request packet in response to comment interactive operation of the intelligent terminal user on the multimedia object published through the social platform, and comment content 604 for the multimedia object 601 is displayed in the social page 60.
(2) The server determines whether the operation request packet satisfies the update condition. Specifically, the operation request packet records operation data of the target operation, which may include user data and an operation type of the target operation; the server judges whether the operation request packet meets the updating conditions, and if the operation request packet meets the updating conditions, the server updates user data included in the operation data in the operation request packet by adopting intelligent user account data to obtain a target operation request packet; if the operation request packet does not meet the update condition, the server ends the checking flow of the operation request packet, acquires another operation request packet from the message queue and checks the operation request packet.
(3) If the operation request packet meets the updating condition, the server updates the user data included in the operation data in the operation request packet by adopting the intelligent user account data to obtain a target operation request packet. The intelligent user account data may include a login identifier that is successfully registered on the social platform and comment content that comments on the multimedia object, and the login identifier may include at least one of the following: user identification (e.g., user name, user account, etc.), password, etc.
(4) And the server determines the operation type of the target operation according to the operation data, and selects a script according to the operation type. Specifically, the operation types of the target operation include a first type and a second type, the first type may include a marking interaction type, a reading interaction type, a viewing interaction type, and the like, and the second type may include a comment interaction type and the like; the server determines the operation type of the target operation according to the operation data in the operation request packet, and selects a script according to the operation type; for example, the operation type to which the target operation belongs is a markup interaction type, the script selected by the server is a script corresponding to the markup interaction type, the operation type to which the target operation belongs is a reading interaction type, and the script selected by the server is a script corresponding to the reading interaction type. Different operation types are provided with different scripts, so that decoupling of the intelligent device and the social platform bottom processing logic is realized.
(5) And the server reorganizes the selected script according to the target operation request packet, and runs the reorganized script so as to send the target operation request packet to an operation interface provided by the social platform. Specifically, the operation interface provided by the social platform is an HTTP interface, and the target operation request packet is used for requesting the social platform to execute target operation on the multimedia object according to the intelligent user account data.
(2) The smart device 301 is a smart terminal.
When the smart device 301 is a smart terminal, the processing flow of the data processing scheme is as follows:
(1) the intelligent terminal acquires the operation request packet. The intelligent terminal accesses the social platform through the social application program, the operation request packet is generated by the intelligent terminal in response to target operation of the intelligent terminal user on the multimedia object released through the social platform, the intelligent terminal stores the operation request packet into a message queue of the intelligent terminal, and under certain conditions, for example, the period conditions are met, the intelligent terminal acquires one or more stored operation request packets from the message queue. Meanwhile, for the operation request packet, the intelligent terminal also normally sends the operation request packet to the social platform, the social platform normally responds to the operation request packet, and operations such as marking interactive operation, reading interactive operation and the like are performed on the multimedia object according to the indication of the operation request packet.
(2) The intelligent terminal judges whether the operation request packet meets the update condition. That is, the intelligent terminal does not process each operation request packet, but only processes a part of the operation request packets, and only if a probability condition or a delay condition is met, it is determined that the operation request packets meet an update condition, and then the subsequent processing can be performed.
(3) If the operation request packet meets the updating condition, the intelligent terminal updates the user data included in the operation data in the operation request packet by adopting the intelligent user account data to obtain a target operation request packet.
(4) The intelligent terminal determines the operation type of the target operation according to the operation data, and selects a script according to the operation type.
(5) The intelligent terminal carries out recombination processing on the selected script according to the target operation request packet, and runs the recombined script so as to send the target operation request packet to an operation interface provided by the social platform. Specifically, the target operation request packet is used for requesting the social platform to execute target operations on the multimedia objects according to the intelligent user account data.
In the embodiment of the application, the intelligent device adopts the process of updating the user data included in the operation data in the operation request packet by adopting the intelligent user account data, the process of determining the operation type of the target operation by the intelligent device according to the operation data and selecting the script according to the operation type is realized by the intelligent device automatically executing, the intelligent device reorganizes the selected script according to the target operation request packet, and automatically sends the target operation request packet to the operation interface provided by the social platform through the operation of the reorganized script, thereby meeting the automatic and intelligent requirements of the intelligent device and effectively improving the data processing efficiency of the intelligent device. The social platform responds to the target operation request packet and executes target operation on the multimedia object according to the intelligent user account data, so that the heat of the multimedia object is effectively increased. In addition, the intelligent device can be a server, the server can process data on all operation request packets received by the social platform, and the data processing process aims at all multimedia objects in the social platform, so that the data processing process has universality; the intelligent device can also be an intelligent terminal, and the intelligent terminal processes data of the operation request packet generated by the intelligent terminal, so that the data processing process is targeted.
It will be appreciated that, the data processing system described in the embodiments of the present application is for more clearly describing the technical solution of the embodiments of the present application, and does not constitute a limitation on the technical solution provided in the embodiments of the present application, and those skilled in the art can know that, with the evolution of the system architecture and the appearance of a new service scenario, the technical solution provided in the embodiments of the present application is equally applicable to similar technical problems.
Based on the above description, please refer to fig. 7, fig. 7 shows a schematic flow chart of a data processing method according to an exemplary embodiment of the present application, where the data processing method may be performed by the smart device 301 (taking the smart terminal 301 as a server as an example) in the embodiment shown in fig. 3, and the data processing method includes the following steps S701 to S704.
S701, acquiring an operation request packet. The operation request packet is generated by the intelligent terminal in response to the target operation of the multimedia object issued by the social platform, and the operation request packet records the operation data of the target operation; the operation data of the target operation may include user data and an operation type of the target operation.
S702, acquiring intelligent user account data, and updating user data included in the operation data in the operation request packet by adopting the intelligent user account data to obtain a target operation request packet. The operation types of the target operation include a first type, which may include a marking interaction type, a reading interaction type, a viewing interaction type, and the like, and a second type, which may include a comment interaction type, and the like. The smart user account data may include a login identifier that is successfully registered on the social platform and comment content that comments on the multimedia object, and the login identifier may include at least one of: user identification (e.g., user name, user account, etc.), password, etc.
In one implementation manner, updating user data included in operation data in the operation request packet by using intelligent user account data may be performed in a specific embodiment of obtaining the target operation request packet: analyzing the operation request packet to obtain user data, wherein the user data can comprise a key value pair set, and the key value pair set comprises key value pairs formed by keywords and values corresponding to the keywords; if the operation type of the target operation is the first type, determining a login keyword in the key value pair set, and replacing a value corresponding to the login keyword with a login identifier in the intelligent user account data to obtain a target operation request packet. In one implementation, the login keyword may include a user identification keyword, and replacing the value corresponding to the login keyword with the login identification in the intelligent user account data refers to: and replacing the value corresponding to the user identification key with the user identification in the login identification. In another implementation manner, the login keyword may include a user identification keyword and a password keyword, and replacing the value corresponding to the login keyword with the login identifier in the intelligent user account data refers to: and replacing the value corresponding to the user identification key with the user identification in the login identification, and replacing the value corresponding to the password key with the password in the login identification.
In another implementation manner, updating user data included in the operation data in the operation request packet by using the intelligent user account data may further include: analyzing the operation request packet to obtain user data, wherein the user data can comprise a key value pair set, and the key value pair set comprises key value pairs formed by keywords and values corresponding to the keywords; if the operation type of the target operation is the second type, determining a login keyword and a comment keyword in the key value pair set; and replacing the value corresponding to the login keyword with the login identifier in the intelligent user account data, and replacing the value corresponding to the comment keyword with the comment content in the intelligent user account data to obtain the target operation request packet.
In one implementation, comment content may be obtained in three ways:
(1) And obtaining comment content from a database of the intelligent device. The database of the intelligent device stores a plurality of comment content general sets, such as a comment content general set corresponding to an article, a comment content general set corresponding to a picture, a comment content general set corresponding to a video and the like, wherein each comment content general set comprises at least one comment content. The intelligent device may obtain comment content from the comment content general set, for example, if the multimedia object is an article, then the intelligent device obtains any piece of comment content from the comment content general set corresponding to the article, and if the multimedia object is a picture, then the intelligent device obtains any piece of comment content from the comment content general set corresponding to the picture.
(2) And obtaining comment content from the Internet. The intelligent device extracts object keywords from the multimedia objects; specifically, if the multimedia object is an article or a post, the smart device extracts an object keyword from the article or the post, for example, the article is entitled "how to improve sleep quality", the object keyword extracted from the article's title by the smart device is "sleep quality", and for example, the word with the highest occurrence frequency in the article is "sleep quality", and the object keyword extracted from the article by the smart device is "sleep quality"; if the multimedia object is voice, the intelligent device extracts an object keyword in the voice through a voice recognition technology; if the multimedia object is a picture, the intelligent device extracts an object keyword in the picture through an image recognition technology. After the intelligent device extracts the object keywords from the multimedia object, the intelligent device uses the object keywords as search tags, searches comment content related to the object keywords from the Internet, and acquires the comment content.
(3) Comment content is obtained from a set of existing comment content for the multimedia object. The intelligent device sends a comment content acquisition request to the social platform, wherein the comment content acquisition request carries a multimedia object identifier; the social platform responds to the comment content acquisition request and searches whether a comment content set corresponding to the multimedia object identifier exists in a multimedia object operation storage module of the social platform; if the comment content set exists, the social platform sends the comment content set corresponding to the multimedia object identifier to the intelligent device; the intelligent device selects any piece of comment content from the comment content set corresponding to the multimedia object identifier, wherein the comment content in the comment content set corresponding to the multimedia object identifier is comment content which has comment on the multimedia object.
Through the three ways of obtaining comment contents (obtaining comment contents from a database of the intelligent device, obtaining comment contents from the Internet and obtaining comment contents from a comment content set existing in the multimedia object), the intelligent device is enabled to be more realistic in following the target operation executed by the user on the multimedia object.
S703, determining the operation type of the target operation according to the operation data, and selecting a script according to the operation type. The operation data of the target operation comprises an operation type of the target operation, and the intelligent equipment can select a script according to the operation type of the target operation; for example, the operation type to which the target operation belongs is a marked interaction type, the script selected by the intelligent device is a script corresponding to the marked interaction type, the operation type to which the target operation belongs is a read interaction type, and the script selected by the server is a script corresponding to the read interaction type.
S704, carrying out recombination processing on the selected script according to the target operation request packet, and running the recombined script so as to send the target operation request packet to an operation interface provided by the social platform. The intelligent device carries out recombination processing on the selected script according to the target operation request packet, and the intelligent device can send the target operation request packet to an operation interface provided by the social platform by running the recombined script, wherein the target operation request packet is used for requesting the social platform to execute target operation on the multimedia object according to the account data of the intelligent user.
In the embodiment of the application, the intelligent device adopts the process of updating the user data included in the operation data in the operation request packet by adopting the intelligent user account data, the process of determining the operation type of the target operation by the intelligent device according to the operation data and selecting the script according to the operation type is realized by the intelligent device automatically executing, the intelligent device reorganizes the selected script according to the target operation request packet, and automatically sends the target operation request packet to the operation interface provided by the social platform through the operation of the reorganized script, thereby meeting the automatic and intelligent requirements of the intelligent device and effectively improving the data processing efficiency of the intelligent device. The social platform responds to the target operation request packet and executes target operation on the multimedia object according to the intelligent user account data, so that the heat of the multimedia object is effectively increased. In addition, in the process of replacing the user data in the operation request packet by adopting the intelligent user account data, a plurality of ways for acquiring comment content in the intelligent user account data exist, so that the intelligent user account data replacement requirement of the intelligent device is met, and the intelligent device has more authenticity in following the target operation executed by the user on the multimedia object.
Referring to fig. 8, fig. 8 is a flowchart illustrating another data processing method according to an exemplary embodiment of the present application, where the data processing method may be performed by the smart device 301 (taking the smart terminal 301 as a server as an example) in the embodiment shown in fig. 3, and the data processing method includes the following steps S801 to S805:
s801, an operation request packet is acquired.
S802, detecting whether the operation request packet meets the update condition. The update condition may include at least one of: delay conditions, probability conditions. In one implementation, the operation request packet satisfying the update condition may include any one of the following: the operation request packet meets the delay condition, the operation request packet meets the probability condition, and the operation request packet meets the delay condition and the probability condition simultaneously; if the operation request packet meets the updating condition, the intelligent device acquires the intelligent user account data, and updates the user data included in the operation data in the operation request packet by adopting the intelligent user account data to obtain the target operation request packet.
In one implementation, the operation request packet meeting the delay condition means that a time difference between a corresponding timestamp of the operation request packet and a current reference time is greater than a preset delay threshold; the fact that the operation request packet does not meet the delay condition means that the time difference between the corresponding time stamp of the operation request packet and the current reference time is smaller than or equal to a preset delay threshold; and if the operation request packet does not meet the delay condition, the intelligent equipment returns the operation request packet to the message queue of the social platform. The timestamp corresponding to the operation request packet may include any one of the following: the social platform receives a time stamp corresponding to the time point of the operation request packet, a time stamp corresponding to the time point of the intelligent terminal generating the operation request packet, and a time stamp corresponding to the operation data in the operation request packet (namely, the time stamp corresponding to the time point of the intelligent terminal responding to the target operation of the multimedia object). The current reference time may be a current system time, where the current system time refers to a time displayed by an operating system of the intelligent device when the intelligent device detects whether the operation request packet meets an update condition. The preset delay threshold is set according to an empirical value, for example, the preset delay threshold can be 5 minutes, 10 minutes and the like, and by setting the delay threshold, the target operation is prevented from being executed immediately after the multimedia object is released, so that the intelligent device is more realistic to follow the target operation executed by the user on the multimedia object.
In one implementation, a specific implementation of the smart device checking whether the operation request packet satisfies the probability condition may include: acquiring a reference value corresponding to the operation request packet, wherein the reference value corresponding to the operation request packet can be a timestamp corresponding to the operation request packet; performing modular processing on the reference value and a preset standard value to obtain a target value; calculating a target value range according to a preset standard value and a preset operation probability, wherein the target value range [ a, b ] comprises a section starting point value a and a section ending point value b, the section starting point value a is a fixed value 0, and the section ending point value b is calculated according to the preset standard value and the preset operation probability; if the target value is within the target value range, determining that the operation request packet meets the probability condition; if the target value is not within the target value range, determining that the operation request packet does not meet the probability condition. For example, the reference value corresponding to the operation request packet is 137, the preset standard value is 60, and the reference value and the preset standard value are subjected to modulo processing to obtain the target value 17; calculating to obtain an interval end point value 6 of a target value range according to a preset standard value 60 and a preset operation probability 0.1, wherein the target value range is [0, 6); the target value 17 is not within the target value range 0, 6) and the probability condition is not satisfied by the operation request packet. For another example, the reference value corresponding to the operation request packet is 137, the preset standard value is 60, and the reference value and the preset standard value are subjected to modulo processing to obtain the target value 17; calculating according to a preset standard value 60 and a preset operation probability 0.3 to obtain an interval end point value 18 of a target value range, wherein the target value range is [0, 18); the target value 17 is within the target value range [0, 18), and the operation request packet satisfies the probability condition. By setting the probability condition, the event of the target operation executed after the multimedia object is released becomes a random event, so that the event occurrence rule is satisfied, and the intelligent device has more authenticity for following the target operation executed by the user on the multimedia object.
In an implementation manner, referring to fig. 9, fig. 9 is a flow chart illustrating a method for checking an operation request packet according to an exemplary embodiment of the present application, where an intelligent device determines whether the operation request packet is a delay request packet; if the operation request packet is a delay request packet, the intelligent device judges whether the operation request packet meets the delay condition, if the operation request packet meets the delay condition, the intelligent device acquires intelligent user account data, updates user data included in the operation data in the operation request packet by adopting the intelligent user account data to obtain a target operation request packet, and if the intelligent device does not meet the delay condition, the intelligent device returns the operation request packet to a message queue of the social platform; if the operation request packet is not the delay request packet, the intelligent device judges whether the operation request packet meets the probability condition, if the operation request packet meets the probability condition, the intelligent device acquires intelligent user account data, updates user data included in the operation data in the operation request packet by adopting the intelligent user account data to obtain a target operation request packet, and if the operation request packet does not meet the probability condition, the checking flow of the operation request packet is ended.
That is, if the operation request packet is a delay request packet and the operation request packet satisfies the delay condition, the operation request packet is updated; if the operation request packet is not a delay request packet and the operation request packet meets the probability condition, updating the operation request packet; if the operation request packet is a delay request packet but the operation request packet does not meet the delay condition, returning the operation request packet to a message queue of the social platform; if the operation request packet is not a delay request packet and the operation request packet does not meet the probability condition, the checking flow of the operation request packet is ended. The operation request packet is a delay request packet, which means that the time difference between the timestamp corresponding to the operation request packet and the current reference time is greater than a preset first delay threshold (the first delay threshold is a fixed value of 0 minutes), and the operation request packet is not a delay request packet, which means that the time difference between the timestamp corresponding to the operation request packet and the current reference time is equal to the preset first delay threshold; the operation request packet meeting the delay condition means that the time difference between the corresponding time stamp of the operation request packet and the current reference time is larger than a preset second delay threshold; the fact that the operation request packet does not meet the delay condition means that the time difference between the time stamp corresponding to the operation request packet and the current reference time is smaller than or equal to a preset second delay threshold, and the second delay threshold is larger than the first delay threshold, for example, the preset second delay threshold may be 5 minutes, 10 minutes, and the like.
In one implementation manner, the operation probability for calculating the target value range may be set through a user page, fig. 10 shows a page schematic diagram of a user page provided in an exemplary embodiment of the present application, and as shown in fig. 10, the smart device displays the user page 100, where the user page 100 includes an operation type selection item 1001 and an operation probability setting item 1002, and the operation type selection item 1001 includes a first type option 1003 corresponding to a first type and a second type option 1004 corresponding to a second type; if a first type option 1003 in the operation type selection item is selected, a value set in the operation probability setting item 1002 is used as a first operation probability; if the second-type option 1004 of the operation-type options is selected, the first operation probability and the second operation probability may be different according to the value set in the operation probability setting item 1001 as the second operation probability.
In another implementation manner, fig. 11 shows a page schematic diagram of a user page provided in another exemplary embodiment of the present application, as shown in fig. 11, in which, the smart device displays a user page 110, and the user page 110 includes an operation type selection item 1001 and an operation probability setting item 1002, and the operation type selection item 1001 includes a tag interaction type option 1101 corresponding to a tag interaction type, a reading interaction type option 1102 corresponding to a reading interaction type, a viewing interaction type option 1103 corresponding to a viewing interaction type, and a comment interaction type option 1104 corresponding to a comment interaction type; if the marker interaction type option 1101 in the operation type selection item is selected, setting a marker interaction operation probability corresponding to the marker interaction type in the operation probability setting item 1002; if the reading interaction type option 1102 in the operation type selection item is selected, setting a reading interaction operation probability corresponding to the reading interaction type in the operation probability setting item 1002; if the viewing interaction type option 1103 in the operation type selection item is selected, setting a viewing interaction operation probability corresponding to the viewing interaction type in the operation probability setting item 1002; if the comment interaction type option 1104 in the operation type selection item is selected, setting comment interaction operation probability corresponding to the comment interaction type in the operation probability setting item 1002; the tag interactive operation probability, the reading interactive operation probability, the viewing interactive operation probability, and the comment interactive operation probability may be different. By setting the operation probabilities for different types of target operations, the intelligent device is enabled to be more realistic to follow the target operations performed by the user on the multimedia object.
In one implementation manner, the operation probability for calculating the target value range can be updated, specifically, the intelligent device acquires an operation count value of the multimedia object under the target operation from the social platform, acquires a count threshold corresponding to the target operation, and updates the operation probability according to the operation count value and the count threshold; the intelligent updating device updates the operation probability according to the operation count value and the count threshold value, and comprises at least one of the following: if the operation count value is larger than the count threshold value, the operation probability is reduced; if the count value is less than or equal to the count threshold, the operational probability is raised. That is, when the operation count value of the multimedia object under the target operation exceeds the count threshold, the target value range is narrowed, so that the number of operation request packets satisfying the probability condition is reduced; when the operation count value of the multimedia object under the target operation does not reach the count threshold, the target value range is enlarged, so that the number of operation request packets meeting the probability condition is increased, the number of target operations executed on the multimedia object is effectively controlled by updating the operation probability, and the intelligent device is enabled to be more realistic along with the target operations executed on the multimedia object by the user. For example, the intelligent device acquires an operation count value 50 of the multimedia object under the marker interaction operation from the social platform, acquires a count threshold value 30 corresponding to the marker interaction operation, wherein the operation count value 50 is greater than the count threshold value 30, and reduces the operation probability according to an operation probability change rule (for example, the operation probability change rule is that the operation probability is increased or reduced by 0.01).
S803, if the operation request packet meets the updating conditions, acquiring intelligent user account data, and updating user data included in the operation data in the operation request packet by adopting the intelligent user account data to obtain a target operation request packet.
S804, determining the operation type of the target operation according to the operation data, and selecting a script according to the operation type.
S805, recombining the selected script according to the target operation request packet, and running the recombined script to send the target operation request packet to an operation interface provided by the social platform.
In this embodiment, the execution process of S801 is the same as the execution process of S701 in the embodiment shown in fig. 7, the execution process of S803 is the same as the execution process of S702 in the embodiment shown in fig. 7, the execution process of S804 is the same as the execution process of S703 in the embodiment shown in fig. 7, the execution process of S805 is the same as the execution process of S704 in the embodiment shown in fig. 7, and the detailed execution process will be described with reference to the embodiment shown in fig. 7 and will not be repeated here.
In the embodiment of the application, the intelligent device adopts the process of updating the user data included in the operation data in the operation request packet by adopting the intelligent user account data, the process of determining the operation type of the target operation by the intelligent device according to the operation data and selecting the script according to the operation type is realized by the intelligent device automatically executing, the intelligent device reorganizes the selected script according to the target operation request packet, and automatically sends the target operation request packet to the operation interface provided by the social platform through the operation of the reorganized script, thereby meeting the automatic and intelligent requirements of the intelligent device and effectively improving the data processing efficiency of the intelligent device. The social platform responds to the target operation request packet and executes target operation on the multimedia object according to the intelligent user account data, so that the heat of the multimedia object is effectively increased. In addition, by setting the update conditions (namely the delay conditions and the probability conditions), the operation request packet meeting the update conditions is updated, so that the intelligent equipment has more authenticity along with the target operation executed by the user on the multimedia object; different operation probabilities are set for different operation types, and the operation probabilities are updated according to the operation count value of the multimedia object under the target operation, so that the authenticity of the intelligent device when the intelligent device follows the target operation executed by the user on the multimedia object is further improved.
Referring to fig. 12, fig. 12 is a schematic structural diagram of a smart device according to an exemplary embodiment of the present application, where the smart device 120 may be used to perform corresponding steps in the data processing method shown in fig. 7 or fig. 8, and the smart device 120 includes the following units:
an obtaining unit 1201, configured to obtain an operation request packet, where the operation request packet is generated by the intelligent terminal in response to a target operation on a multimedia object published through the social platform, and operation data of the target operation is recorded in the operation request packet;
the obtaining unit 1201 is further configured to obtain intelligent user account data, and update user data included in the operation data in the operation request packet with the intelligent user account data to obtain a target operation request packet;
a processing unit 1202, configured to determine an operation type to which the target operation belongs according to the operation data, and select a script according to the operation type;
the processing unit 1202 is further configured to perform reorganization processing on the selected script according to the target operation request packet, and run the reorganized script so as to send the target operation request packet to an operation interface provided by the social platform, where the target operation request packet is used to request the social platform to perform a target operation on the multimedia object according to the intelligent user account data.
In one implementation, the user data includes a set of key-value pairs including key-value pairs composed of keywords and values corresponding to the keywords, and the intelligent user account data includes login identifiers that are successfully registered on the social platform; the processing unit 1202 is specifically configured to:
analyzing the operation request packet to obtain user data;
if the operation type is the first type, determining a login keyword in the key value pair set;
replacing a value corresponding to the login keyword with a login identifier in the intelligent user account data to obtain a target operation request packet;
wherein the login identification comprises a user identification, or the login identification comprises a user identification and a password.
In one implementation, the user data includes a set of key-value pairs including key-value pairs composed of keywords and values corresponding to the keywords, and the intelligent user account data includes login identifiers that are successfully registered on the social platform and comment content that comments on the multimedia object; the processing unit 1202 is specifically configured to:
analyzing the operation request packet to obtain user data;
if the operation type is the second type, determining a login keyword and a comment keyword in the key value pair set;
Replacing the value corresponding to the login keyword with the login identifier in the intelligent user account data, and replacing the value corresponding to the comment keyword with comment content in the intelligent user account data to obtain a target operation request packet;
wherein the login identification comprises a user identification, or the login identification comprises a user identification and a password.
In one implementation, the operation interface comprises a hypertext transfer protocol, HTTP, interface and the operation request packet comprises an HTTP request packet; the operation types include at least two, different operation types are provided with different scripts.
In one implementation, the processing unit 1202 is further configured to:
detecting whether the operation request packet meets the update condition;
if the operation request packet meets the updating condition, triggering and executing the step of updating the user data included in the operation data in the operation request packet by adopting the intelligent user account data to obtain a target operation request packet;
wherein the operation request packet satisfies the update condition includes any one of the following: the operation request packet satisfies the delay condition, the operation request packet satisfies the probability condition, and the operation request packet satisfies the delay condition and the probability condition.
In one implementation, the operation request packet is obtained from a message queue of the social platform, and the operation request packet meeting the delay condition means that a time difference value between an operation data corresponding time stamp in the operation request packet and the current reference time is greater than a preset delay threshold; the processing unit 1202 is further configured to:
If the operation request packet does not meet the delay condition, returning the operation request packet to the message queue;
the operation request packet does not meet the delay condition means that a time difference between a corresponding time stamp of the operation request packet and the current reference time is less than or equal to a preset delay threshold.
In one implementation, the processing unit 1202 is further configured to:
acquiring a reference value corresponding to the operation request packet;
performing modular processing on the reference value and a preset standard value to obtain a target value;
if the target value is within the target value range, determining that the operation request packet meets the probability condition;
if the target value is not in the target value range, determining that the operation request packet does not meet the probability condition;
the target value range is calculated according to a preset standard value and a preset operation probability.
In one implementation, the operation types include a first type and a second type; the processing unit 1202 is specifically configured to:
displaying a user page, wherein the user page comprises an operation type selection item and an operation probability setting item;
if a first type option corresponding to the first type in the operation type selection items is selected, taking the value set in the operation probability setting item as a first operation probability;
If a second type option corresponding to the second type in the operation type selection items is selected, taking the value set in the operation probability setting item as a second operation probability;
wherein the first operational probability and the second operational probability are different.
In one implementation, the processing unit 1202 is further configured to:
acquiring an operation count value of a multimedia object under a target operation from a social platform, and acquiring a count threshold corresponding to the target operation;
updating the operation probability according to the operation count value and the count threshold;
wherein the operation probability is updated according to the operation count value and the count threshold value, and the operation probability comprises at least one of the following:
if the operation count value is larger than the count threshold value, the operation probability is reduced;
if the count value is less than or equal to the count threshold, the operational probability is raised.
According to one embodiment of the present application, each unit in the smart device 120 shown in fig. 12 may be separately or completely combined into one or several additional units, or some (some) unit(s) thereof may be further split into a plurality of units with smaller functions, which may achieve the same operation without affecting the implementation of the technical effects of the embodiments of the present application. The above units are divided based on logic functions, and in practical applications, the functions of one unit may be implemented by a plurality of units, or the functions of a plurality of units may be implemented by one unit. In other embodiments of the present application, the smart device 120 may also include other units, and in practical applications, these functions may also be implemented with assistance from other units, and may be implemented by cooperation of multiple units. According to another embodiment of the present application, the smart device 120 as shown in fig. 12 may be constructed by running a computer program (including program code) capable of executing the steps involved in the respective methods as shown in fig. 7 or 8 on a general purpose computing device of a general purpose computer including a processing element such as a Central Processing Unit (CPU), a random access storage medium (RAM), a read only storage medium (ROM), and the like, and a storage element, and implementing the data processing method of the embodiments of the present application. The computer program may be recorded on a computer readable storage medium, for example, and loaded into and executed by the smart device 301 of the data processing system shown in fig. 3 via the computer readable storage medium.
In the embodiment of the application, the intelligent device adopts the process of updating the user data included in the operation data in the operation request packet by adopting the intelligent user account data, the process of determining the operation type of the target operation by the intelligent device according to the operation data and selecting the script according to the operation type is realized by the intelligent device automatically executing, the intelligent device reorganizes the selected script according to the target operation request packet, and automatically sends the target operation request packet to the operation interface provided by the social platform through the operation of the reorganized script, thereby meeting the automatic and intelligent requirements of the intelligent device and effectively improving the data processing efficiency of the intelligent device. The social platform responds to the target operation request packet and executes target operation on the multimedia object according to the intelligent user account data, so that the heat of the multimedia object is effectively increased.
Referring to fig. 13, fig. 13 is a schematic structural diagram of a smart device according to an exemplary embodiment of the present application, where the smart device 130 includes at least a processor 1301 and a computer readable storage medium 1302. Wherein the processor 1301 and the computer readable storage medium 1302 may be connected by a bus or other means. The computer readable storage medium 1302 may be stored in a memory, the computer readable storage medium 1302 for storing a computer program comprising computer instructions, and the processor 1301 for executing the computer instructions stored in the computer readable storage medium 1302. Processor 1301 (or CPU (Central Processing Unit, central processing unit)) is a computing core as well as a control core of smart device 130, which is adapted to implement computer instructions, in particular to load and execute the computer instructions to implement the corresponding method flow or the corresponding functions.
Embodiments of the present application also provide a computer readable storage medium (Memory), which is a Memory device in the smart device 130, for storing computer programs and data. It is to be appreciated that computer-readable storage medium 1302 herein may include both built-in storage media in smart device 130 and extended storage media supported by smart device 130. Computer-readable storage medium 1302 provides storage space that stores the operating system of smart device 130. Also stored in this memory space are computer instructions, which may be one or more computer programs (including program code), adapted to be loaded and executed by the processor 1301. Note that the computer readable storage medium 1302 may be a high-speed RAM Memory or a Non-Volatile Memory (Non-Volatile Memory), such as at least one magnetic disk Memory; optionally, at least one computer readable storage medium remote from the aforementioned processor 1301.
In one implementation, the computer-readable storage medium 1302 has stored therein computer instructions; computer instructions stored in a computer-readable storage medium 1302 are loaded and executed by processor 1301 to implement the corresponding steps in the method embodiments described above; in particular implementations, computer instructions in computer-readable storage medium 1302 are loaded by processor 1301 and perform the steps of:
Acquiring an operation request packet, wherein the operation request packet is generated by the intelligent terminal in response to target operation on a multimedia object published through a social platform, and operation data of the target operation are recorded in the operation request packet;
acquiring intelligent user account data, and updating user data included in the operation data in the operation request packet by adopting the intelligent user account data to obtain a target operation request packet;
determining the operation type of the target operation according to the operation data, and selecting a script according to the operation type;
and carrying out recombination processing on the selected script according to the target operation request packet, and running the recombined script so as to send the target operation request packet to an operation interface provided by the social platform, wherein the target operation request packet is used for requesting the social platform to execute target operation on the multimedia object according to the intelligent user account data.
In one implementation, the user data includes a set of key-value pairs including key-value pairs composed of keywords and values corresponding to the keywords, and the intelligent user account data includes login identifiers that are successfully registered on the social platform; computer instructions in a computer-readable storage medium 1302 are loaded by processor 1301 in particular to perform the steps of:
Analyzing the operation request packet to obtain user data;
if the operation type is the first type, determining a login keyword in the key value pair set;
replacing a value corresponding to the login keyword with a login identifier in the intelligent user account data to obtain a target operation request packet;
wherein the login identification comprises a user identification, or the login identification comprises a user identification and a password.
In one implementation, the user data includes a set of key-value pairs including key-value pairs composed of keywords and values corresponding to the keywords, and the intelligent user account data includes login identifiers that are successfully registered on the social platform and comment content that comments on the multimedia object; computer instructions in a computer-readable storage medium 1302 are loaded by processor 1301 in particular to perform the steps of:
analyzing the operation request packet to obtain user data;
if the operation type is the second type, determining a login keyword and a comment keyword in the key value pair set;
replacing the value corresponding to the login keyword with the login identifier in the intelligent user account data, and replacing the value corresponding to the comment keyword with comment content in the intelligent user account data to obtain a target operation request packet;
Wherein the login identification comprises a user identification, or the login identification comprises a user identification and a password.
In one implementation, the operation interface comprises a hypertext transfer protocol, HTTP, interface and the operation request packet comprises an HTTP request packet; the operation types include at least two, different operation types are provided with different scripts.
In one implementation, the computer instructions in computer-readable storage medium 1302 loaded by processor 1301 further perform the steps of:
detecting whether the operation request packet meets the update condition;
if the operation request packet meets the updating condition, triggering and executing the step of updating the user data included in the operation data in the operation request packet by adopting the intelligent user account data to obtain a target operation request packet;
wherein the operation request packet satisfies the update condition includes any one of the following: the operation request packet satisfies the delay condition, the operation request packet satisfies the probability condition, and the operation request packet satisfies the delay condition and the probability condition.
In one implementation, the operation request packet is obtained from a message queue of the social platform, and the operation request packet meeting the delay condition means that a time difference value between an operation data corresponding time stamp in the operation request packet and the current reference time is greater than a preset delay threshold; computer instructions in computer-readable storage medium 1302 loaded by processor 1301 also perform the steps of:
If the operation request packet does not meet the delay condition, returning the operation request packet to the message queue;
the operation request packet does not meet the delay condition means that a time difference between a corresponding time stamp of the operation request packet and the current reference time is less than or equal to a preset delay threshold.
In one implementation, the computer instructions in computer-readable storage medium 1302 loaded by processor 1301 further perform the steps of:
acquiring a reference value corresponding to the operation request packet;
performing modular processing on the reference value and a preset standard value to obtain a target value;
if the target value is within the target value range, determining that the operation request packet meets the probability condition;
if the target value is not in the target value range, determining that the operation request packet does not meet the probability condition;
the target value range is calculated according to a preset standard value and a preset operation probability.
In one implementation, the operation types include a first type and a second type; computer instructions in a computer-readable storage medium 1302 are loaded by processor 1301 in particular to perform the steps of:
displaying a user page, wherein the user page comprises an operation type selection item and an operation probability setting item;
If a first type option corresponding to the first type in the operation type selection items is selected, taking the value set in the operation probability setting item as a first operation probability;
if a second type option corresponding to the second type in the operation type selection items is selected, taking the value set in the operation probability setting item as a second operation probability;
wherein the first operational probability and the second operational probability are different.
In one implementation, the computer instructions in computer-readable storage medium 1302 loaded by processor 1301 further perform the steps of:
acquiring an operation count value of a multimedia object under a target operation from a social platform, and acquiring a count threshold corresponding to the target operation;
updating the operation probability according to the operation count value and the count threshold;
wherein the operation probability is updated according to the operation count value and the count threshold value, and the operation probability comprises at least one of the following:
if the operation count value is larger than the count threshold value, the operation probability is reduced;
if the count value is less than or equal to the count threshold, the operational probability is raised.
In the embodiment of the application, the intelligent device adopts the process of updating the user data included in the operation data in the operation request packet by adopting the intelligent user account data, the process of determining the operation type of the target operation by the intelligent device according to the operation data and selecting the script according to the operation type is realized by the intelligent device automatically executing, the intelligent device reorganizes the selected script according to the target operation request packet, and automatically sends the target operation request packet to the operation interface provided by the social platform through the operation of the reorganized script, thereby meeting the automatic and intelligent requirements of the intelligent device and effectively improving the data processing efficiency of the intelligent device. The social platform responds to the target operation request packet and executes target operation on the multimedia object according to the intelligent user account data, so that the heat of the multimedia object is effectively increased.
According to one aspect of the present application, there is provided a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions so that the computer device performs the data processing methods provided in the various alternatives described above.
Those skilled in the art will appreciate that implementing all or part of the above-described methods in the embodiments may be accomplished by computer programs to instruct related hardware, where the programs may be stored in a computer readable storage medium, and where the programs may include the processes of the embodiments of the methods described above when executed. The computer readable storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), or the like.
The foregoing disclosure is only illustrative of the preferred embodiments of the present application and is not intended to limit the scope of the claims herein, as the equivalent of the claims herein shall be construed to fall within the scope of the claims herein.

Claims (12)

1. A method of data processing, the method comprising:
acquiring an operation request packet, wherein the operation request packet is generated by an intelligent terminal in response to target operation on a multimedia object published through a social platform, and operation data of the target operation are recorded in the operation request packet;
acquiring intelligent user account data, and updating user data included in operation data in the operation request packet by adopting the intelligent user account data when the operation request packet meets the updating condition to obtain a target operation request packet; the operation request packet satisfying the update condition includes any one of: the operation request packet meets a delay condition, the operation request packet meets a probability condition, and the operation request packet meets the delay condition and the probability condition; the operation request meeting probability conditions includes: obtaining a reference value corresponding to the operation request packet, performing modulo processing on the reference value and a preset standard value to obtain a target value, and determining that the operation request packet meets the probability condition if the target value is within a target value range; the target value range is calculated according to the preset standard value and the preset operation probability;
Determining the operation type of the target operation according to the operation data, and selecting a script according to the operation type;
and carrying out recombination processing on the selected script according to the target operation request packet, and running the recombined script so as to send the target operation request packet to an operation interface provided by the social platform, wherein the target operation request packet is used for requesting the social platform to execute the target operation on the multimedia object according to the intelligent user account data.
2. The method of claim 1, wherein the user data comprises a set of key-value pairs comprising key-value pairs consisting of keywords and values corresponding to the keywords, the smart user account data comprising login identifications that were successfully registered on the social platform; the updating the user data included in the operation data in the operation request packet by using the intelligent user account data to obtain a target operation request packet includes:
analyzing the operation request packet to obtain the user data;
if the operation type is the first type, determining a login keyword in the key value pair set;
Replacing the value corresponding to the login keyword with the login identifier in the intelligent user account data to obtain the target operation request packet;
wherein the login identification comprises a user identification, or the login identification comprises the user identification and a password.
3. The method of claim 1, wherein the user data comprises a set of key-value pairs including key-value pairs consisting of keywords and values corresponding to the keywords, the smart user account data comprising login identifications that were successfully registered on the social platform and comment content that commented on the multimedia object; the updating the user data included in the operation data in the operation request packet by using the intelligent user account data to obtain a target operation request packet includes:
analyzing the operation request packet to obtain the user data;
if the operation type is the second type, determining login keywords and comment keywords in the key value pair set;
replacing the value corresponding to the login keyword with the login identifier in the intelligent user account data, and replacing the value corresponding to the evaluation keyword with the evaluation content in the intelligent user account data to obtain the target operation request packet;
Wherein the login identification comprises a user identification, or the login identification comprises the user identification and a password.
4. The method of any one of claim 1 to 3, wherein,
the operation interface comprises a hypertext transfer protocol (HTTP) interface, and the operation request packet comprises an HTTP request packet; the operation types comprise at least two types, and different operation types are provided with different scripts.
5. The method of claim 1, wherein the updating the user data included in the operation data in the operation request packet with the intelligent user account data further comprises, before obtaining the target operation request packet:
detecting whether the operation request packet meets an update condition;
and if the operation request packet meets the updating condition, triggering and executing the step of updating the user data included in the operation data in the operation request packet by adopting the intelligent user account data to obtain a target operation request packet.
6. The method of claim 5, wherein the operation request packet is obtained from a message queue of the social platform, and wherein the operation request packet satisfying a latency condition means: the time difference between the corresponding time stamp of the operation request packet and the current reference time is larger than a preset delay threshold; the method further comprises the steps of:
If the operation request packet does not meet the delay condition, returning the operation request packet to the message queue;
wherein the fact that the operation request packet does not meet the delay condition means that a time difference between a time stamp corresponding to the operation request packet and the current reference time is less than or equal to the preset delay threshold.
7. The method of claim 5, wherein the detecting whether the operation request packet satisfies an update condition comprises:
and if the target value is not in the target value range, determining that the operation request packet does not meet the probability condition.
8. The method of claim 7, wherein the operation types include a first type and a second type; the setting of the operation probability comprises the following steps:
displaying a user page, wherein the user page comprises an operation type selection item and an operation probability setting item;
if a first type option corresponding to the first type in the operation type selection item is selected, taking the value set in the operation probability setting item as a first operation probability;
and if a second type option corresponding to the second type in the operation type selection item is selected, setting a value in the operation probability setting item as a second operation probability.
9. The method of claim 7, wherein the method further comprises:
acquiring an operation count value of the multimedia object under the target operation from the social platform, and acquiring a count threshold corresponding to the target operation;
updating the operation probability according to the operation count value and the count threshold;
wherein the updating the operation probability according to the operation count value and the count threshold value includes at least one of:
if the operation count value is larger than the count threshold value, the operation probability is reduced;
and if the count value is smaller than or equal to the count threshold value, the operation probability is increased.
10. A smart device, the smart device comprising:
the system comprises an acquisition unit, a storage unit and a processing unit, wherein the acquisition unit is used for acquiring an operation request packet, the operation request packet is generated by an intelligent terminal in response to target operation on a multimedia object issued through a social platform, and operation data of the target operation are recorded in the operation request packet;
the acquiring unit is further configured to acquire intelligent user account data, and when the operation request packet meets an update condition, update user data included in the operation data in the operation request packet with the intelligent user account data to obtain a target operation request packet; the operation request packet satisfying the update condition includes any one of: the operation request packet meets a delay condition, the operation request packet meets a probability condition, and the operation request packet meets the delay condition and the probability condition; the operation request meeting probability conditions includes: obtaining a reference value corresponding to the operation request packet, performing modulo processing on the reference value and a preset standard value to obtain a target value, and determining that the operation request packet meets the probability condition if the target value is within a target value range; the target value range is calculated according to the preset standard value and the preset operation probability;
The processing unit is used for determining the operation type of the target operation according to the operation data and selecting a script according to the operation type;
the processing unit is further configured to perform reorganization processing on the selected script according to the target operation request packet, and run the reorganized script so as to send the target operation request packet to an operation interface provided by the social platform, where the target operation request packet is used to request the social platform to execute the target operation on the multimedia object according to the intelligent user account data.
11. An intelligent terminal, characterized in that, the intelligent terminal includes:
a processor adapted to implement computer instructions; the method comprises the steps of,
a computer readable storage medium storing computer instructions adapted to be loaded by the processor and to perform the data processing method of any one of claims 1 to 9.
12. A computer readable storage medium, characterized in that the computer readable storage medium stores computer instructions adapted to be loaded by a processor and to perform the data processing method according to any of claims 1 to 9.
CN202011000227.8A 2020-09-21 2020-09-21 Data processing method, intelligent device, intelligent equipment and storage medium Active CN113515707B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011000227.8A CN113515707B (en) 2020-09-21 2020-09-21 Data processing method, intelligent device, intelligent equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011000227.8A CN113515707B (en) 2020-09-21 2020-09-21 Data processing method, intelligent device, intelligent equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113515707A CN113515707A (en) 2021-10-19
CN113515707B true CN113515707B (en) 2024-02-09

Family

ID=78060797

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011000227.8A Active CN113515707B (en) 2020-09-21 2020-09-21 Data processing method, intelligent device, intelligent equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113515707B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109474838A (en) * 2018-11-01 2019-03-15 腾讯科技(深圳)有限公司 A kind of data processing method, equipment, system and storage medium
CN109840429A (en) * 2019-01-08 2019-06-04 北京众享比特科技有限公司 Intelligent contract deployment, call method and device
CN110096424A (en) * 2019-05-14 2019-08-06 北京字节跳动网络技术有限公司 Processing method, device, electronic equipment and the storage medium of test
CN110554831A (en) * 2019-09-06 2019-12-10 腾讯科技(深圳)有限公司 Operation synchronization method, device, equipment and storage medium
CN110851517A (en) * 2019-11-08 2020-02-28 深圳市彬讯科技有限公司 Source data extraction method, device and equipment and computer storage medium
CN111190574A (en) * 2018-11-14 2020-05-22 广东万丈金数信息技术股份有限公司 Method, device, equipment and storage medium for selecting options of multi-stage linkage assembly
CN111460322A (en) * 2020-04-16 2020-07-28 腾讯科技(成都)有限公司 Data processing method, device, equipment and readable storage medium
CN111597077A (en) * 2020-05-13 2020-08-28 腾讯科技(深圳)有限公司 Data processing method, data processing device, computer equipment and storage medium
CN111614549A (en) * 2020-05-21 2020-09-01 腾讯科技(深圳)有限公司 Interaction processing method and device, computer equipment and storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109474838A (en) * 2018-11-01 2019-03-15 腾讯科技(深圳)有限公司 A kind of data processing method, equipment, system and storage medium
CN111190574A (en) * 2018-11-14 2020-05-22 广东万丈金数信息技术股份有限公司 Method, device, equipment and storage medium for selecting options of multi-stage linkage assembly
CN109840429A (en) * 2019-01-08 2019-06-04 北京众享比特科技有限公司 Intelligent contract deployment, call method and device
CN110096424A (en) * 2019-05-14 2019-08-06 北京字节跳动网络技术有限公司 Processing method, device, electronic equipment and the storage medium of test
CN110554831A (en) * 2019-09-06 2019-12-10 腾讯科技(深圳)有限公司 Operation synchronization method, device, equipment and storage medium
CN110851517A (en) * 2019-11-08 2020-02-28 深圳市彬讯科技有限公司 Source data extraction method, device and equipment and computer storage medium
CN111460322A (en) * 2020-04-16 2020-07-28 腾讯科技(成都)有限公司 Data processing method, device, equipment and readable storage medium
CN111597077A (en) * 2020-05-13 2020-08-28 腾讯科技(深圳)有限公司 Data processing method, data processing device, computer equipment and storage medium
CN111614549A (en) * 2020-05-21 2020-09-01 腾讯科技(深圳)有限公司 Interaction processing method and device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN113515707A (en) 2021-10-19

Similar Documents

Publication Publication Date Title
US11252245B2 (en) Information pushing method and device
CN109819284B (en) Short video recommendation method and device, computer equipment and storage medium
US10007933B2 (en) Systems and methods for integrating dynamic content into electronic media
CN109872242B (en) Information pushing method and device
CN106126524B (en) Information pushing method and device
US9830304B1 (en) Systems and methods for integrating dynamic content into electronic media
CN112818224B (en) Information recommendation method and device, electronic equipment and readable storage medium
CN113010777B (en) Data pushing method, device, equipment and storage medium
CN106487655B (en) Message interaction method and device and processing server
CN110837549B (en) Information processing method, device and storage medium
CN116775815B (en) Dialogue data processing method and device, electronic equipment and storage medium
US10372768B1 (en) Ranking content using sharing attribution
CN113515707B (en) Data processing method, intelligent device, intelligent equipment and storage medium
CN113886674A (en) Resource recommendation method and device, electronic equipment and storage medium
CN111125544A (en) User recommendation method and device
CN113608945B (en) Data processing method, device, equipment and computer readable storage medium
CN115795158A (en) Material sorting and neural network training method, device, equipment and storage medium
CN107004014A (en) Effectively find and the contents attribute that comes to the surface
CN118427449B (en) Data processing method, device, equipment and computer readable storage medium
CN116610868B (en) Sample labeling method, end-edge cloud cooperative training method and device
CN113377196B (en) Data recommendation method and device, electronic equipment and readable storage medium
US20230017667A1 (en) Data recommendation method and apparatus, computer device, and storage medium
US20220138799A1 (en) Streamless content aware ad insertion
CN117933396A (en) Memory flow construction method and device for generating intelligent agent
CN116992331A (en) User characteristic representation method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40052831

Country of ref document: HK

SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant