CN116418532A - Data processing method, apparatus, storage medium, and program product - Google Patents

Data processing method, apparatus, storage medium, and program product Download PDF

Info

Publication number
CN116418532A
CN116418532A CN202111665291.2A CN202111665291A CN116418532A CN 116418532 A CN116418532 A CN 116418532A CN 202111665291 A CN202111665291 A CN 202111665291A CN 116418532 A CN116418532 A CN 116418532A
Authority
CN
China
Prior art keywords
target
client
tag
function
executed
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.)
Pending
Application number
CN202111665291.2A
Other languages
Chinese (zh)
Inventor
冯子豪
唐文杰
刘家骏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Zitiao Network Technology Co Ltd
Original Assignee
Beijing Zitiao Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Zitiao Network Technology Co Ltd filed Critical Beijing Zitiao Network Technology Co Ltd
Priority to CN202111665291.2A priority Critical patent/CN116418532A/en
Publication of CN116418532A publication Critical patent/CN116418532A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • 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/903Querying
    • G06F16/9035Filtering based on additional data, e.g. user or group profiles
    • 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/903Querying
    • G06F16/9038Presentation of query results
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/36User authentication by graphic or iconic representation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0807Network architectures or network communication protocols for network security for authentication of entities using tickets, e.g. Kerberos

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Signal Processing (AREA)
  • Computational Linguistics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Data Mining & Analysis (AREA)
  • Software Systems (AREA)
  • Storage Device Security (AREA)

Abstract

The embodiment of the disclosure provides a data processing method, device, storage medium and program product, which are used for receiving a first processing request sent by a first client for adding a target label to a target object; acquiring a to-be-executed function associated with the target tag, determining a second client set for processing the first processing request according to the to-be-executed function, and acquiring a permission identifier of at least one second client; sending a second processing request to a second client set, wherein the second processing request comprises target object information, a target label, an associated function to be executed and a permission identifier of the second client, so that the second client with the permission identifier in the second client set processes the second processing request; and receiving an authorization message sent by the target second client, and adding a target label to the target object according to the authorization message. The embodiment of the disclosure can ensure the accuracy of the label adding process, accurately execute the label binding function to be executed, and ensure the stable operation of a label system.

Description

Data processing method, apparatus, storage medium, and program product
Technical Field
The embodiment of the disclosure relates to the technical field of computer and network communication, in particular to a data processing method, device, storage medium and program product.
Background
The user tag not only can conveniently divide the user into verticals or interests, but also can add the tag to the user and maintain the tag, so that the tag is an indispensable daily work for operation.
The existing label system can realize simple label tree-shaped relation and regular operations such as multiple selection, mutual exclusion and the like, but in the label adding process, labels are directly added to users by management staff generally, different management staff can possibly have different labels added to the same user, and the situation of errors can exist, so that the accuracy of the labels of the users can not be ensured, the functions related to the labels can not be accurately exerted, and the label system is unstable.
Disclosure of Invention
The embodiment of the disclosure provides a data processing method, device, storage medium and program product, so as to improve the accuracy of a process of adding labels to users.
In a first aspect, an embodiment of the present disclosure provides a data processing method, including:
receiving a first processing request which is sent by a first client and used for adding a target label to a target object;
acquiring a function to be executed associated with the target tag according to the first processing request, determining a second client set for processing the first processing request according to the function to be executed, and acquiring a permission identification of at least one second client in the second client set;
Sending a second processing request to the second client set, wherein the second processing request comprises target object information, the target label, an associated function to be executed and a permission identifier of the second client so that the second client with the permission identifier in the second client set processes the second processing request;
and receiving an authorization message sent by a target second client, and adding the target label to the target object according to the authorization message.
In a second aspect, embodiments of the present disclosure provide a data processing apparatus, including:
the receiving unit is used for receiving a first processing request which is sent by the first client and is used for adding a target label to the target object;
the processing unit is used for acquiring a function to be executed associated with the target tag according to the first processing request, determining a second client set for processing the first processing request according to the function to be executed, and acquiring a permission identification of at least one second client in the second client set;
a sending unit, configured to send a second processing request to the second client set, where the second processing request includes target object information, the target tag, an associated function to be executed, and a permission identifier of the second client, so that a second client having the permission identifier in the second client set processes the second processing request;
The receiving unit is further used for receiving an authorization message sent by the target second client;
the processing unit is further configured to add the target tag to the target object according to the authorization message.
In a third aspect, an embodiment of the present disclosure provides an electronic device, including: at least one processor and memory;
the memory stores computer-executable instructions;
the at least one processor executes computer-executable instructions stored in the memory such that the at least one processor performs the data processing method as described above in the first aspect and the various possible designs of the first aspect.
In a fourth aspect, embodiments of the present disclosure provide a computer-readable storage medium having stored therein computer-executable instructions which, when executed by a processor, implement the data processing method according to the first aspect and the various possible designs of the first aspect.
In a fifth aspect, embodiments of the present disclosure provide a computer program product comprising computer-executable instructions which, when executed by a processor, implement the data processing method according to the first aspect and the various possible designs of the first aspect.
The data processing method, device, storage medium and program product provided by the embodiment, the method includes that a first processing request for adding a target label to a target object, which is sent by a first client side, is received; acquiring a function to be executed associated with the target tag according to the first processing request, determining a second client set for processing the first processing request according to the function to be executed, and acquiring a permission identification of at least one second client in the second client set; sending a second processing request to the second client set, wherein the second processing request comprises target object information, a target label, an associated function to be executed and a permission identifier of the second client so that the second client with the permission identifier in the second client set processes the second processing request; and receiving an authorization message sent by the target second client, and adding a target label to the target object according to the authorization message. In the embodiment of the disclosure, the second client can be determined to be authorized according to the function to be executed associated with the target label when the target label is added to the target object, and the target label is added to the target object after the authorization is passed, so that the accuracy of the label adding process is ensured, the function to be executed bound by the label can be accurately executed, and the stable operation of the label system is ensured.
Drawings
In order to more clearly illustrate the embodiments of the present disclosure or the solutions in the prior art, a brief description will be given below of the drawings that are needed in the embodiments or the description of the prior art, it being obvious that the drawings in the following description are some embodiments of the present disclosure, and that other drawings may be obtained from these drawings without inventive effort to a person of ordinary skill in the art.
FIG. 1 is a diagram illustrating an exemplary architecture of a communication system for a data processing method according to an embodiment of the present disclosure;
FIG. 2 is a flow chart of a data processing method according to an embodiment of the disclosure;
FIG. 3 is a flow chart of a data processing method according to another embodiment of the present disclosure;
FIG. 4 is a flow chart of a data processing method according to another embodiment of the present disclosure;
FIG. 5 is a flow chart of a data processing method according to another embodiment of the present disclosure;
FIG. 6 is a flow chart of a data processing method according to another embodiment of the present disclosure;
FIG. 7 is a block diagram of a data processing apparatus provided by an embodiment of the present disclosure;
fig. 8 is a schematic hardware structure of an electronic device according to an embodiment of the disclosure.
Detailed Description
For the purposes of making the objects, technical solutions and advantages of the embodiments of the present disclosure more apparent, the technical solutions of the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present disclosure, and it is apparent that the described embodiments are some embodiments of the present disclosure, but not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art without inventive effort, based on the embodiments in this disclosure are intended to be within the scope of this disclosure.
The user tag not only can conveniently divide the user into verticals or interests, but also often binds complex functional algorithms such as recommended content and the like, and is an indispensable daily work for user marking and tag maintenance.
The existing label system can realize simple label tree relation and regular operations such as multiple selection, mutual exclusion and the like, but in the marking process, a user is directly marked by a manager generally, and enough authorization is lacked, particularly, labels with certain binding functions possibly have specific function algorithm operation, and the lack of enough authorization can lead to the safety risk and inaccuracy of the label system, and the label binding function cannot be accurately executed, so that the label system is unstable.
In order to solve the technical problems, in the embodiment of the disclosure, a target object can be confirmed and authorized through multiple parties when the target object is marked by a manager, and the label is added to the target object after the target object passes the authorization, so that the accuracy of the label adding process to the target object is ensured, the function to be executed of label binding can be accurately executed, and the stable operation of a label system is ensured.
The data processing method provided by the embodiment of the disclosure is applicable to the communication system shown in fig. 1, and includes: a server 101, a first client 102 of a manager, a second set of clients 110 of an auditor, wherein the second set of clients 110 may comprise a client 111 of an operator and/or a client 112 of a target object; the first client 102 may send a first processing request to the server 101 to add a target tag to the target object; the server 101 obtains a function to be executed associated with the target tag, determines a second client set 110 for processing the first processing request according to the function to be executed, and obtains a permission identification of at least one second client in the second client set 110; sending a second processing request to the second client set 110, where the second processing request includes target object information, a target tag, an associated function to be executed, and a permission identifier of the second client, so that the second client with the permission identifier determines whether to authorize adding the target tag to the target object; the second client may send an authorization message to the server 101 to cause the server 101 to add a target tag to the target object according to the authorization message.
If multiple operators are required to confirm and authorize, a second processing request is sent to a second client 111 of the operator, so that the second processing request is only displayed on a second client interface with the authority identification according to the authority identification; and/or if the target object is required to be confirmed and authorized, sending a second processing request to the client 112 of the target object so as to display the second processing request on the client interface of the target object. The client in the embodiments of the present disclosure includes, but is not limited to, a mobile phone, a personal computer, a notebook computer, a tablet computer, a personal digital assistant, and the like, where the server may be a server, a server cluster formed by a plurality of servers, or a cloud computing service center.
The data processing method provided by the embodiment of the present disclosure will be described in detail below with reference to specific embodiments.
Referring to fig. 2, fig. 2 is a flow chart of a data processing method according to an embodiment of the disclosure. The method of the embodiment can be applied to a terminal device or a server, and the data processing method comprises the following steps:
s201, a first processing request for adding a target label to a target object, which is sent by a first client side, is received.
In this embodiment, the administrator may specify the target label to be added for the target object, and trigger the marking process, that is, the administrator may send, through the first client, a first processing request to add the target label to the target object.
The target label can be selected from a label set, wherein the label set comprises a label which is created in advance, or the target label can be a newly created label and can be added into the label set. Different kinds of tags can be included in the tag set, each tag may have different attributes, such as a tag name, a tag description, and the like, and different functions to be executed may be associated, such as a recommended function for a user, and when the execution device detects that any object has the target tag, the execution device can execute the function to be executed to which the target tag is bound.
In this embodiment, the administrator may include different levels of administrator, such as a super administrator, a local operator, and the like, respectively assigned with different rights, for example, the super administrator may create and manage a cross-regional tag (including a cross-regional visible or cross-regional effective tag), the local administrator may only create and manage a local visible tag, a local effective tag, and a local effective tag created by the super administrator, and the normal operation may only see a local visible tag on a user account.
S202, acquiring a function to be executed associated with the target tag according to the first processing request, determining a second client set for processing the first processing request according to the function to be executed, and acquiring a permission identification of at least one second client in the second client set.
In this embodiment, since the target tag is associated with a function to be executed, in order to solve the problems of security and accuracy of the tag, the first processing request for adding the target tag to the target object by the first client needs to be confirmed and authorized by at least one second client.
In this embodiment, different confirmation procedures may be required for the target tags associated with different functions to be executed, that is, confirmation and authorization may be required through different second clients, including but not limited to: a second client of the user operator, a second client of the manager, etc.; in addition, in order to ensure the awareness of the target object, target object confirmation, authorization, and the like may be included. A different plurality of clients may be involved in the validation process, denoted as a second set of clients.
Optionally, in this embodiment, a confirmation procedure may be set for each function to be executed in advance, and then a corresponding confirmation procedure may be determined by the function to be executed associated with the target tag, that is, a second client set for processing the first processing request may be determined; or the confirmation flow corresponding to the function to be executed associated with the target label can be predetermined, the identification of the confirmation flow or the confirmation flow is written in the attribute information of the target label, or the identification of the second client set for processing the first processing request is written in the attribute information of the target label.
In addition, since the second client set has the authority for confirming and authorizing, for example, a plurality of user operators are needed, and in particular, which user operator confirms and authorizes, different labels can be confirmed and authorized by different personnel, and after the confirmation flow of the target label is determined, the authority identification of the second client capable of confirming and authorizing the target label can be obtained, and only the second client with the authority identification has the authority for confirming and authorizing. Optionally, the authority identifier of the second client capable of confirming and authorizing the target tag may be written in the attribute information of the target tag, and only the second client with the authority identifier can confirm and authorize the first processing request of the target tag.
S203, sending a second processing request to the second client set, wherein the second processing request comprises target object information, the target label, an associated function to be executed and a permission identifier of the second client, so that the second client with the permission identifier in the second client set processes the second processing request.
In this embodiment, a second processing request may be sent to a corresponding second client according to a confirmation procedure of the target tag, where the second processing request includes, but is not limited to, target object information, the target tag, an associated function to be executed, and a permission identifier of the second client, so that the second client with the permission identifier performs confirmation and authorization, for example, whether the target object information corresponds to the target tag, whether the target object is suitable for the function to be executed, whether the region where the target object is located corresponds to the effective region of the target tag, whether the target tag conflicts with other tags of the target object, whether the first client has permission to add the target tag to the target object, and so on, thereby finally determining whether to authorize adding the target tag to the target object.
Optionally, if the confirmation procedure of the target tag includes confirmation procedures of different operators, that is, the second client set includes second clients of multiple operators, respectively sending a second processing request to clients of each operator, so as to display the second processing request on a client interface with a permission identifier, so that the operator determines whether adding the target tag to the target object meets a preset rule; and/or
If the target tag confirmation process includes the target object confirmation process, that is, the second client set includes the client of the target object, a second processing request is sent to the terminal of the target object, so that the second processing request is displayed on the terminal interface of the target object, and the target object determines whether to authorize adding the target tag, so as to ensure the awareness of the target object.
S204, receiving an authorization message sent by a target second client, and adding the target label target object to the target object according to the authorization message.
In this embodiment, after receiving the authorization message sent by the second client, if all the second clients with the permission identifier are authorized, the target tag is added to the target object, for example, the target tag is added to the personal information of the target object, or is displayed in the personal homepage of the target object, on the user head portrait, or the like.
Optionally, if the confirmation process has multiple confirmation links, the next confirmation link can be entered after authorization of one confirmation link, that is, after authorization of a second client with authority identification, the second processing request is sent to the next second client with authority identification, otherwise, the confirmation process is ended, and no subsequent confirmation link is needed; in addition, if the target label needs target object authorization, in the last confirmation link of the confirmation process, a second processing request is sent to the client of the target object so as to display the second processing request on the client interface of the target object, if the authorization message of the client of the target object is received, the target label can be added to the target object, otherwise, the process is ended.
Alternatively, the above procedure may be adopted for the tag deletion process of the target object and other operations, and specifically, the tag deletion process may be: receiving a deleting request sent by a first client for deleting a target object from a target object, acquiring a function to be executed associated with the target object according to a first processing request, determining a second client set for processing the deleting request according to the function to be executed, acquiring a permission identification of at least one second client in the second client set, and sending a third processing request to the second client set, wherein the third processing request comprises target object information, the target object, the associated function to be executed and the permission identification of the second client, so that the second client with the permission identification determines whether to authorize the target object to delete the target object, receives an authorization message sent by the second client, and deletes the target object from the target object according to the authorization message.
According to the data processing method provided by the embodiment, a first processing request for adding a target label to a target object, which is sent by a first client side, is received; acquiring a function to be executed associated with the target tag according to the first processing request, determining a second client set for processing the first processing request according to the function to be executed, and acquiring a permission identification of at least one second client in the second client set; sending a second processing request to the second client set, wherein the second processing request comprises target object information, a target label, an associated function to be executed and a permission identifier of the second client so that the second client with the permission identifier in the second client set processes the second processing request; and receiving an authorization message sent by the target second client, and adding a target label to the target object according to the authorization message. In the embodiment of the disclosure, the second client can be determined to be authorized according to the function to be executed associated with the target label when the target label is added to the target object, and the target label is added to the target object after the authorization is passed, so that the accuracy of the label adding process is ensured, the function to be executed bound by the label can be accurately executed, and the stable operation of the label system is ensured.
On the basis of the foregoing embodiment, S203 may further include, before the sending the second processing request to the second client set:
and performing at least one of the following checks on the target object information and the target tag:
checking whether the area where the target object is located is consistent with the effective area of the target tag;
checking whether the target label has conflict with other labels of the target object;
and checking whether the first client has the authority to add the target label to the target object.
In this embodiment, before the confirmation process is started, the automatic verification may be further performed on the target object information and the target tag, where, because the target tag has a region attribute, that is, is visible or effective in some specific regions, whether the region where the target object is located is consistent with the effective region of the target tag or not may be verified, and if not, the subsequent confirmation process is not required; in addition, because mutual exclusion exists between some tags, for example, the tag A and the tag B are mutually exclusive, if the target object already has the tag A, the tag B is added to the target object at the moment, then the target object has a conflict with the tag A, and therefore, if the target tag is determined to have a conflict with other tags of the target object, a subsequent confirmation flow is not needed; because different managers have different authorities, some managers have authorities to add target labels to target objects, and some managers do not have authorities to add target labels to target objects, if the first client is determined not to have authorities to add target labels to target objects, a subsequent confirmation process is not needed. Of course, a specific check may be included, and will not be described in detail herein.
On the basis of any one of the foregoing embodiments, as shown in fig. 3, before receiving the first processing request sent by the first client to add the target tag to the target object, the method further includes:
s301, receiving a target label creation request sent by the first client, wherein the target label creation request comprises attribute information of the target label, and the attribute information of the target label is attribute information which can be configured for the target label in a right range corresponding to the first client;
s302, creating the target label according to the target label creation request, and adding the target label into a label set for the first client to select the target label added to the target object from the label set.
In this embodiment, the administrator may first create the target tag, may send a target tag creation request through the first client, and set attribute information of the target tag in the target tag creation request, and since different administrators have different rights, the administrator may only create the tag within the scope of their rights, and set attribute information that can be set in the scope of their rights for the tag.
For example, a first class administrator may set a cross-regional visible and/or cross-regional effective tag, such as a super administrator, and thus may receive a first target tag creation request sent by a first client of a first class, the first target tag creation request including first attribute information of the target tag, the first attribute information including at least one of: the tag visible region, the tag effective region, the authority identification of the second client, the function to be executed and whether the tag description is hidden or not;
For another example, the second class administrator may set a local visible and/or local validated tag, such as a local administrator, and thus may receive a second target tag creation request sent by the second class first client, where the second target tag creation request includes second attribute information of the target tag, where the second attribute information includes at least one of: whether the tag is visible in the local area, whether the tag is in effect in the local area, the rights identification of the second client, the function to be executed, whether the tag description is hidden.
In this embodiment, the tag visible region means that an operator and/or a user belonging to a specified region can see the tag; the tag effective area means that the user belongs to the appointed area and can be marked with the tag; the authority identification of the second client is to limit that only the authority identification can add and delete labels to the object; whether to hide the tag description is to set whether the tag description is presented to the operator and/or user.
In addition, on the basis of the embodiment, some management personnel can set tag attributes such as tag names, affiliated services, tag descriptions, tag levels, whether to select a single item or not and the like.
After creating the tags, the created tags may be added to the tag collection so that the tags may be selected from the tag collection directly for adding tags to other objects.
Based on any of the foregoing embodiments, the manager may further bind a function to be executed for the tag, and specifically, as shown in fig. 4, before obtaining the function to be executed associated with the target tag, the method further includes:
s401, receiving an association request of a target tag and a function to be executed, which is sent by the first client, and associating the target tag with the function to be executed;
s402, the association relation between the target label and the function to be executed is sent to execution equipment of the function to be executed, so that the execution equipment executes the function to be executed on any object when detecting that the object has the target label.
In this embodiment, the administrator may specify which function to be executed associated with the target tag, initiate an association request between the target tag and the function to be executed, store association information between the target tag and the function to be executed, and after associating the target tag with the function to be executed, send the association relation between the target tag and the function to be executed to the execution device of the function to be executed, where when the subsequent execution device detects that any object has the target tag, the function to be executed associated with the target tag may be executed, for example, the function to be executed is an early warning function, and when the function to be executed is triggered (for example, the user is reported) is triggered, early warning information may be sent.
Optionally, S401 receives a request for associating the target tag with the function to be executed, where the request is sent by the first client, and associates the target tag with the function to be executed, which may specifically include at least two ways:
mode one: receiving a function acquisition request sent by the first client, pulling a function list from a server according to the function acquisition request, sending the function list to the first client, receiving the association request sent by the first client, wherein the association request comprises the function to be executed selected from the function list by a manager, and associating the target tag with the function to be executed; or alternatively
Mode two: and receiving the association request sent by the first client, wherein the association request comprises identification information of the function to be executed, searching the function to be executed according to the identification information, and associating the target tag with the function to be executed.
In the first embodiment, the functions to be executed are dynamically generated by the server, and can be accessed in a service form, and the function list is pulled from the server for the manager to select the required functions to be executed from, which has the advantages that the function list can be dynamically generated, and only when the acquisition of the functions is required, interaction between systems exists, and execution of the functions is completed only inside the server after the association is completed; when the label system is accessed in a service form and firstly needs to realize a read-write mode IDL (Interface description language ) defined by the label system, when the label system configures the binding relation between the function to be executed and the label, the read service is called to acquire the current available function, and after the label system completes association, the service end is called back to inform the association relation and the ID of the function to be executed.
In the second mode, the function is not frequently changed, the server does not need to separately set two interfaces, and after the association is completed, the server needs to hard code (or TCC configuration) the ID of the function to be executed. When the to-be-executed function is required to be associated with the target tag, the association request can directly carry identification information (to-be-executed function ID) of the to-be-executed function to be associated, and the server can search the corresponding to-be-executed function according to the identification information of the to-be-executed function and associate the target tag with the to-be-executed function; or the server side can directly associate the target label with the identification information of the function to be executed, and then search the corresponding function to be executed according to the identification information of the function to be executed when the function to be executed needs to be executed.
On the basis of any one of the foregoing embodiments, as shown in fig. 5, the step of receiving a first processing request sent by a first client to add a target tag to a target object includes:
s501, receiving a batch processing request for adding labels to a plurality of target objects, which is sent by the first client, wherein the batch processing request comprises a request file, and the request file comprises a plurality of target objects and target labels to be added, which correspond to the target objects;
S502, analyzing the request file, obtaining the plurality of target objects and target labels to be added corresponding to the target objects, and adding the target objects and the target labels to be added into a message queue so as to consume the target objects and the target labels to be added corresponding to the target objects from the message queue in sequence.
In this embodiment, in view of the fact that there is a scenario that a lot of target objects need to be marked, in order to avoid waste of manpower and material resources, a manager may save a plurality of target objects and target tags to be added of each target object in a request file, where the plurality of target objects correspond to a same target tag to be added, or the plurality of target objects correspond to different target tags to be added, and further the first client may initiate a lot processing request, carry the request file in the lot processing request, parse the request file after receiving the lot processing request, obtain a plurality of target objects therein and target tags to be added corresponding to each target object, and add the target tags to a message queue, so as to consume each target object and corresponding target tag to be added in sequence from the message queue, and execute the flow of the foregoing embodiments S202-S204 will not be repeated herein. Optionally, in this embodiment, when the number of target objects exceeds the preset number, a method of batch processing the request may be used, and when the number does not exceed the preset number, a first processing request for adding the target tag may be independently initiated for each target object.
On the basis of any of the above embodiments, as shown in fig. 6, the periodic marking may also be performed in this embodiment, which may specifically include:
s601, acquiring a preset period and a detection rule;
s602, judging whether the target object with the added label is matched with the target object according to the detection rule for the target object with the added label every interval of a preset period;
s603, if the target object is not matched, creating a tag processing task, and adding the tag processing task into the stream processing platform, so that the first client side obtains the tag processing task from the stream processing platform and sends a first processing request for adding a target tag to the target object.
In this embodiment, because some situations of the target object may change, and thus the current tag is not applicable, a preset period and a detection rule may be obtained, the target object to which the tag has been added is detected at each preset period, whether the target object has an added tag matching with the target object is determined according to the detection rule, if not, a tag processing task, such as a dordado task Hive, may be created for the target object, and a stream processing platform, such as Kafka, may be added, and further the first client may obtain the tag processing task from the stream processing platform, and execute the flow of S201-S204 described above, which is not repeated herein.
Fig. 7 is a block diagram of a data processing apparatus according to an embodiment of the present disclosure, corresponding to the data processing method of the above embodiment. For ease of illustration, only portions relevant to embodiments of the present disclosure are shown. Referring to fig. 7, the data processing apparatus 700 includes: a receiving unit 701, a processing unit 702, and a transmitting unit 703.
The receiving unit 701 is configured to receive a first processing request sent by a first client to add a target tag to a target object;
the processing unit 702 is configured to obtain a to-be-executed function associated with the target tag according to the first processing request, determine a second client set for processing the first processing request according to the to-be-executed function, and obtain a permission identifier of at least one second client in the second client set;
a sending unit 703, configured to send a second processing request to the second client set, where the second processing request includes target object information, the target tag, an associated function to be executed, and a permission identifier of the second client, so that a second client having the permission identifier in the second client set processes the second processing request;
The receiving unit 701 is further configured to receive an authorization message sent by the target second client;
the processing unit 702 is further configured to add the target tag to the target object according to the authorization message.
In one or more embodiments of the present disclosure, the sending unit 703, when sending a second processing request to the second client set, is configured to:
if the second client set comprises a plurality of second clients, sending the second processing request to the plurality of second clients so as to display the second processing request only on a second client interface with the authority identification according to the authority identification; and/or
And if the second client set comprises the client of the target object, sending the second processing request to the client of the target object so as to display the second processing request on a client interface of the target object.
In one or more embodiments of the disclosure, before the sending the second processing request to the second set of clients, the processing unit 702 is further configured to:
and performing at least one of the following checks on the target object information and the target tag:
checking whether the area where the target object is located is consistent with the effective area of the target tag;
Checking whether the target label has conflict with other labels of the target object;
and checking whether the first client has the authority to add the target label to the target object.
In one or more embodiments of the present disclosure, before receiving the first processing request sent by the first client to add the target tag to the target object, the receiving unit 701 is further configured to:
receiving a target label creation request sent by the first client, wherein the target label creation request comprises attribute information of the target label, and the attribute information of the target label is attribute information which can be configured for the target label in a right range corresponding to the first client;
the processing unit 702 is further configured to create the target tag according to the target tag creation request, and add the target tag to a tag set for the first client to select a target tag added to a target object from the tag set.
In one or more embodiments of the present disclosure, the receiving unit 701, when receiving a target tag creation request sent by a first client, is configured to:
receiving a first target label creation request sent by a first client of a first type, wherein the first target label creation request comprises first attribute information of the target label, and the first attribute information comprises at least one of the following items: the tag visible region, the tag effective region, the authority identification of the second client, the function to be executed and whether the tag description is hidden or not; or alternatively
Receiving a second target label creation request sent by a second type first client, wherein the second target label creation request comprises second attribute information of the target label, and the second attribute information comprises at least one of the following items: whether the tag is visible in the local area, whether the tag is in effect in the local area, the rights identification of the second client, the function to be executed, whether the tag description is hidden.
In one or more embodiments of the present disclosure, before acquiring the function to be performed associated with the target tag, the receiving unit 701 is further configured to:
receiving an association request of a target label and a function to be executed, wherein the association request is sent by the first client;
the processing unit 702 is further configured to associate the target tag with the function to be executed; and sending the association relation between the target tag and the function to be executed to execution equipment of the function to be executed, so that the execution equipment executes the function to be executed on any object when detecting that the object has the target tag.
In one or more embodiments of the present disclosure, the receiving unit 701 is further configured to receive a function acquisition request sent by the first client;
the processing unit 702 is further configured to pull a function list from a server according to the function acquisition request, send the function list to the first client, receive the association request sent by the first client, where the association request includes the function to be executed selected from the function list by a manager, and associate the target tag with the function to be executed; or alternatively
The receiving unit 701 is further configured to receive the association request sent by the first client, where the association request includes identification information of the function to be executed;
the processing unit 702 is further configured to search for the function to be executed according to the identification information, and associate the target tag with the function to be executed.
In one or more embodiments of the present disclosure, when receiving a first processing request sent by a first client to add a target tag to a target object, the receiving unit 701 is configured to:
receiving a batch processing request for adding labels to a plurality of target objects, which is sent by the first client, wherein the batch processing request comprises a request file, and the request file comprises a plurality of target objects and target labels to be added, which correspond to the target objects;
analyzing the request file, obtaining the plurality of target objects and target labels to be added corresponding to the target objects, and adding the target objects and the target labels to be added into a message queue so as to consume the target objects and the target labels to be added corresponding to the target objects from the message queue in sequence.
In one or more embodiments of the present disclosure, the processing unit 702 is further configured to:
Acquiring a preset period and a detection rule;
judging whether the added label of the target object with the added label is matched with the target object according to the detection rule for each preset period;
if the target object is not matched with the first processing request, creating a tag processing task for the target object, adding the tag processing task into the stream processing platform, enabling the first client to acquire the tag processing task from the stream processing platform, and sending a first processing request for adding the target tag to the target object.
The data processing device provided in this embodiment may be used to execute the technical solution of the foregoing method embodiment, and its implementation principle and technical effects are similar, which is not described herein again.
Referring to fig. 8, there is shown a schematic structural diagram of an electronic device 800 suitable for use in implementing embodiments of the present disclosure, which electronic device 800 may be a terminal device or a server. The terminal device may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a personal digital assistant (Personal Digital Assistant, PDA for short), a tablet (Portable Android Device, PAD for short), a portable multimedia player (Portable Media Player, PMP for short), an in-vehicle terminal (e.g., an in-vehicle navigation terminal), and the like, and a fixed terminal such as a digital TV, a desktop computer, and the like. The electronic device shown in fig. 8 is merely an example and should not be construed to limit the functionality and scope of use of the disclosed embodiments.
As shown in fig. 8, the electronic device 800 may include a processing means (e.g., a central processor, a graphics processor, etc.) 801 that may perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 802 or a program loaded from a storage 808 into a random access Memory (Random Access Memory, RAM) 803. In the RAM 803, various programs and data required for the operation of the electronic device 800 are also stored. The processing device 801, the ROM 802, and the RAM 803 are connected to each other by a bus 804. An input/output (I/O) interface 805 is also connected to the bus 804.
In general, the following devices may be connected to the I/O interface 805: input devices 806 including, for example, a touch screen, touchpad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, and the like; an output device 807 including, for example, a liquid crystal display (Liquid Crystal Display, LCD for short), a speaker, a vibrator, and the like; storage 808 including, for example, magnetic tape, hard disk, etc.; communication means 809. The communication means 809 may allow the electronic device 800 to communicate wirelessly or by wire with other devices to exchange data. While fig. 8 shows an electronic device 800 having various means, it is to be understood that not all of the illustrated means are required to be implemented or provided. More or fewer devices may be implemented or provided instead.
In particular, according to embodiments of the present disclosure, the processes described above with reference to flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method shown in the flowcharts. In such an embodiment, the computer program may be downloaded and installed from a network via communication device 809, or installed from storage device 808, or installed from ROM 802. The above-described functions defined in the methods of the embodiments of the present disclosure are performed when the computer program is executed by the processing device 801.
It should be noted that the computer readable medium described in the present disclosure may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples of the computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this disclosure, a computer-readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present disclosure, however, the computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, with the computer-readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, fiber optic cables, RF (radio frequency), and the like, or any suitable combination of the foregoing.
The computer readable medium may be contained in the electronic device; or may exist alone without being incorporated into the electronic device.
The computer-readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to perform the methods shown in the above-described embodiments.
Computer program code for carrying out operations of the present disclosure may be written in one or more programming languages, including an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a local area network (Local Area Network, LAN for short) or a wide area network (Wide Area Network, WAN for short), or it may be connected to an external computer (e.g., connected via the internet using an internet service provider).
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units involved in the embodiments of the present disclosure may be implemented by means of software, or may be implemented by means of hardware. The name of the unit does not in any way constitute a limitation of the unit itself, for example the first acquisition unit may also be described as "unit acquiring at least two internet protocol addresses".
The functions described above herein may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: a Field Programmable Gate Array (FPGA), an Application Specific Integrated Circuit (ASIC), an Application Specific Standard Product (ASSP), a system on a chip (SOC), a Complex Programmable Logic Device (CPLD), and the like.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. The machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
According to a first aspect, according to one or more embodiments of the present disclosure, there is provided a data processing method, comprising:
receiving a first processing request which is sent by a first client and used for adding a target label to a target object;
acquiring a function to be executed associated with the target tag according to the first processing request, determining a second client set for processing the first processing request according to the function to be executed, and acquiring a permission identification of at least one second client in the second client set;
sending a second processing request to the second client set, wherein the second processing request comprises target object information, the target label, an associated function to be executed and a permission identifier of the second client so that the second client with the permission identifier in the second client set processes the second processing request;
and receiving an authorization message sent by a target second client, and adding the target label to the target object according to the authorization message.
According to one or more embodiments of the present disclosure, the sending a second processing request to the second set of clients includes:
if the second client set comprises a plurality of second clients, sending the second processing request to the plurality of second clients so as to display the second processing request only on a second client interface with the authority identification according to the authority identification; and/or
And if the second client set comprises the client of the target object, sending the second processing request to the client of the target object so as to display the second processing request on a client interface of the target object.
In accordance with one or more embodiments of the present disclosure, before the sending the second processing request to the second set of clients, the method further includes:
and performing at least one of the following checks on the target object information and the target tag:
checking whether the area where the target object is located is consistent with the effective area of the target tag;
checking whether the target label has conflict with other labels of the target object;
and checking whether the first client has the authority to add the target label to the target object.
According to one or more embodiments of the present disclosure, before receiving the first processing request sent by the first client to add the target tag to the target object, the method further includes:
receiving a target label creation request sent by the first client, wherein the target label creation request comprises attribute information of the target label, and the attribute information of the target label is attribute information which can be configured for the target label in a right range corresponding to the first client;
And creating the target label according to the target label creation request, and adding the target label into a label set for the first client to select the target label added to the target object from the label set.
According to one or more embodiments of the present disclosure, the receiving a target tag creation request sent by a first client includes:
receiving a first target label creation request sent by a first client of a first type, wherein the first target label creation request comprises first attribute information of the target label, and the first attribute information comprises at least one of the following items: the tag visible region, the tag effective region, the authority identification of the second client, the function to be executed and whether the tag description is hidden or not; or alternatively
Receiving a second target label creation request sent by a second type first client, wherein the second target label creation request comprises second attribute information of the target label, and the second attribute information comprises at least one of the following items: whether the tag is visible in the local area, whether the tag is in effect in the local area, the rights identification of the second client, the function to be executed, whether the tag description is hidden.
According to one or more embodiments of the present disclosure, before the obtaining the function to be performed associated with the target tag, the method further includes:
Receiving an association request of a target tag and a function to be executed, which is sent by the first client, and associating the target tag with the function to be executed;
and sending the association relation between the target tag and the function to be executed to execution equipment of the function to be executed, so that the execution equipment executes the function to be executed on any object when detecting that the object has the target tag.
According to one or more embodiments of the present disclosure, the receiving an association request of a target tag and a function to be executed, which is sent by a first client, associates the target tag with the function to be executed, includes:
receiving a function acquisition request sent by the first client, pulling a function list from a server according to the function acquisition request, sending the function list to the first client, receiving the association request sent by the first client, wherein the association request comprises the function to be executed selected from the function list by a manager, and associating the target label with the function to be executed; or alternatively
And receiving the association request sent by the first client, wherein the association request comprises identification information of the function to be executed, searching the function to be executed according to the identification information, and associating the target tag with the function to be executed.
According to one or more embodiments of the present disclosure, the receiving a first processing request sent by a first client to add a target tag to a target object includes:
receiving a batch processing request for adding labels to a plurality of target objects, which is sent by the first client, wherein the batch processing request comprises a request file, and the request file comprises a plurality of target objects and target labels to be added, which correspond to the target objects;
analyzing the request file, obtaining the plurality of target objects and target labels to be added corresponding to the target objects, and adding the target objects and the target labels to be added into a message queue so as to consume the target objects and the target labels to be added corresponding to the target objects from the message queue in sequence.
According to one or more embodiments of the present disclosure, the method further comprises:
acquiring a preset period and a detection rule;
judging whether the added label of the target object with the added label is matched with the target object according to the detection rule for each preset period;
if the target object is not matched with the first processing request, creating a tag processing task for the target object, adding the tag processing task into the stream processing platform, enabling the first client to acquire the tag processing task from the stream processing platform, and sending a first processing request for adding the target tag to the target object.
In a second aspect, according to one or more embodiments of the present disclosure, there is provided a data processing apparatus comprising:
the receiving unit is used for receiving a first processing request which is sent by the first client and is used for adding a target label to the target object;
the processing unit is used for acquiring a function to be executed associated with the target tag according to the first processing request, determining a second client set for processing the first processing request according to the function to be executed, and acquiring a permission identification of at least one second client in the second client set;
a sending unit, configured to send a second processing request to the second client set, where the second processing request includes target object information, the target tag, an associated function to be executed, and a permission identifier of the second client, so that a second client having the permission identifier in the second client set processes the second processing request;
the receiving unit is further used for receiving an authorization message sent by the target second client;
the processing unit is further configured to add the target tag to the target object according to the authorization message.
According to one or more embodiments of the present disclosure, the sending unit, when sending a second processing request to the second set of clients, is configured to:
if the second client set comprises a plurality of second clients, sending the second processing request to the plurality of second clients so as to display the second processing request only on a second client interface with the authority identification according to the authority identification; and/or
And if the second client set comprises the client of the target object, sending the second processing request to the client of the target object so as to display the second processing request on a client interface of the target object.
According to one or more embodiments of the present disclosure, the processing unit, before said sending the second processing request to the second set of clients, is further configured to:
and performing at least one of the following checks on the target object information and the target tag:
checking whether the area where the target object is located is consistent with the effective area of the target tag;
checking whether the target label has conflict with other labels of the target object;
and checking whether the first client has the authority to add the target label to the target object.
According to one or more embodiments of the present disclosure, before receiving the first processing request sent by the first client to add the target tag to the target object, the receiving unit is further configured to:
receiving a target label creation request sent by the first client, wherein the target label creation request comprises attribute information of the target label, and the attribute information of the target label is attribute information which can be configured for the target label in a right range corresponding to the first client;
the processing unit is further configured to create the target tag according to the target tag creation request, and add the target tag to a tag set, so that the first client pair selects a target tag added to a target object from the tag set.
According to one or more embodiments of the present disclosure, the receiving unit, when receiving a target tag creation request sent by a first client, is configured to:
receiving a first target label creation request sent by a first client of a first type, wherein the first target label creation request comprises first attribute information of the target label, and the first attribute information comprises at least one of the following items: the tag visible region, the tag effective region, the authority identification of the second client, the function to be executed and whether the tag description is hidden or not; or alternatively
Receiving a second target label creation request sent by a second type first client, wherein the second target label creation request comprises second attribute information of the target label, and the second attribute information comprises at least one of the following items: whether the tag is visible in the local area, whether the tag is in effect in the local area, the rights identification of the second client, the function to be executed, whether the tag description is hidden.
According to one or more embodiments of the present disclosure, before acquiring the function to be performed associated with the target tag, the receiving unit is further configured to:
receiving an association request of a target label and a function to be executed, wherein the association request is sent by the first client;
the processing unit is further used for associating the target tag with the function to be executed; and sending the association relation between the target tag and the function to be executed to execution equipment of the function to be executed, so that the execution equipment executes the function to be executed on any object when detecting that the object has the target tag.
According to one or more embodiments of the present disclosure, the receiving unit is further configured to receive a function acquisition request sent by the first client;
the processing unit is further configured to pull a function list from a server according to the function acquisition request, send the function list to the first client, receive the association request sent by the first client, and associate the target tag with the function to be executed, where the association request includes the function to be executed selected from the function list by a manager; or alternatively
The receiving unit is further configured to receive the association request sent by the first client, where the association request includes identification information of the function to be executed;
the processing unit is further configured to search the function to be executed according to the identification information, and associate the target tag with the function to be executed.
According to one or more embodiments of the present disclosure, when receiving a first processing request sent by a first client to add a target tag to a target object, the receiving unit is configured to:
receiving a batch processing request for adding labels to a plurality of target objects, which is sent by the first client, wherein the batch processing request comprises a request file, and the request file comprises a plurality of target objects and target labels to be added, which correspond to the target objects;
analyzing the request file, obtaining the plurality of target objects and target labels to be added corresponding to the target objects, and adding the target objects and the target labels to be added into a message queue so as to consume the target objects and the target labels to be added corresponding to the target objects from the message queue in sequence.
According to one or more embodiments of the present disclosure, the processing unit is further configured to:
Acquiring a preset period and a detection rule;
judging whether the added label of the target object with the added label is matched with the target object according to the detection rule for each preset period;
if the target object is not matched with the first processing request, creating a tag processing task for the target object, adding the tag processing task into the stream processing platform, enabling the first client to acquire the tag processing task from the stream processing platform, and sending a first processing request for adding the target tag to the target object.
In a third aspect, according to one or more embodiments of the present disclosure, there is provided an electronic device comprising: at least one processor and memory;
the memory stores computer-executable instructions;
the at least one processor executes computer-executable instructions stored in the memory such that the at least one processor performs the data processing method as described above in the first aspect and the various possible designs of the first aspect.
In a fourth aspect, according to one or more embodiments of the present disclosure, there is provided a computer-readable storage medium having stored therein computer-executable instructions which, when executed by a processor, implement the data processing method as described above in the first aspect and the various possible designs of the first aspect.
In a fifth aspect, according to one or more embodiments of the present disclosure, there is provided a computer program product comprising computer-executable instructions which, when executed by a processor, implement the data processing method as described above in the first aspect and in the various possible designs of the first aspect.
The foregoing description is only of the preferred embodiments of the present disclosure and description of the principles of the technology being employed. It will be appreciated by persons skilled in the art that the scope of the disclosure referred to in this disclosure is not limited to the specific combinations of features described above, but also covers other embodiments which may be formed by any combination of features described above or equivalents thereof without departing from the spirit of the disclosure. Such as those described above, are mutually substituted with the technical features having similar functions disclosed in the present disclosure (but not limited thereto).
Moreover, although operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. In certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limiting the scope of the present disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are example forms of implementing the claims.

Claims (13)

1. A method of data processing, comprising:
receiving a first processing request which is sent by a first client and used for adding a target label to a target object;
acquiring a function to be executed associated with the target tag according to the first processing request, determining a second client set for processing the first processing request according to the function to be executed, and acquiring a permission identification of at least one second client in the second client set;
sending a second processing request to the second client set, wherein the second processing request comprises target object information, the target label, an associated function to be executed and a permission identifier of the second client so that the second client with the permission identifier in the second client set processes the second processing request;
And receiving an authorization message sent by a target second client, and adding the target label to the target object according to the authorization message.
2. The method of claim 1, wherein the sending a second processing request to the second set of clients comprises:
if the second client set comprises a plurality of second clients, sending the second processing request to the plurality of second clients so as to display the second processing request only on a second client interface with the authority identification according to the authority identification; and/or
And if the second client set comprises the client of the target object, sending the second processing request to the client of the target object so as to display the second processing request on a client interface of the target object.
3. The method of claim 1 or 2, further comprising, prior to said sending a second processing request to said second set of clients:
and performing at least one of the following checks on the target object information and the target tag:
checking whether the area where the target object is located is consistent with the effective area of the target tag;
Checking whether the target label has conflict with other labels of the target object;
and checking whether the first client has the authority to add the target label to the target object.
4. The method according to claim 1, wherein before receiving the first processing request sent by the first client to add the target tag to the target object, the method further comprises:
receiving a target label creation request sent by the first client, wherein the target label creation request comprises attribute information of the target label, and the attribute information of the target label is attribute information which can be configured for the target label in a right range corresponding to the first client;
and creating the target label according to the target label creation request, and adding the target label into a label set for the first client to select the target label added to the target object from the label set.
5. The method of claim 4, wherein receiving the target tag creation request sent by the first client comprises:
receiving a first target label creation request sent by a first client of a first type, wherein the first target label creation request comprises first attribute information of the target label, and the first attribute information comprises at least one of the following items: the tag visible region, the tag effective region, the authority identification of the second client, the function to be executed and whether the tag description is hidden or not; or alternatively
Receiving a second target label creation request sent by a second type first client, wherein the second target label creation request comprises second attribute information of the target label, and the second attribute information comprises at least one of the following items: whether the tag is visible in the local area, whether the tag is in effect in the local area, the rights identification of the second client, the function to be executed, whether the tag description is hidden.
6. The method of claim 4, wherein before the obtaining the function to be performed associated with the target tag, further comprises:
receiving an association request of a target tag and a function to be executed, which is sent by the first client, and associating the target tag with the function to be executed;
and sending the association relation between the target tag and the function to be executed to execution equipment of the function to be executed, so that the execution equipment executes the function to be executed on any object when detecting that the object has the target tag.
7. The method of claim 6, wherein the receiving the request for associating the target tag with the function to be performed sent by the first client, associating the target tag with the function to be performed, comprises:
Receiving a function acquisition request sent by the first client, pulling a function list from a server according to the function acquisition request, sending the function list to the first client, receiving the association request sent by the first client, wherein the association request comprises the function to be executed selected from the function list by a manager, and associating the target label with the function to be executed; or alternatively
And receiving the association request sent by the first client, wherein the association request comprises identification information of the function to be executed, searching the function to be executed according to the identification information, and associating the target tag with the function to be executed.
8. The method of claim 1, wherein receiving the first processing request sent by the first client to add the target tag to the target object comprises:
receiving a batch processing request for adding labels to a plurality of target objects, which is sent by the first client, wherein the batch processing request comprises a request file, and the request file comprises a plurality of target objects and target labels to be added, which correspond to the target objects;
Analyzing the request file, obtaining the plurality of target objects and target labels to be added corresponding to the target objects, and adding the target objects and the target labels to be added into a message queue so as to consume the target objects and the target labels to be added corresponding to the target objects from the message queue in sequence.
9. The method according to claim 1, wherein the method further comprises:
acquiring a preset period and a detection rule;
judging whether the added label of the target object with the added label is matched with the target object according to the detection rule for each preset period;
if the target object is not matched with the first processing request, creating a tag processing task for the target object, adding the tag processing task into the stream processing platform, enabling the first client to acquire the tag processing task from the stream processing platform, and sending a first processing request for adding the target tag to the target object.
10. A data processing apparatus, comprising:
the receiving unit is used for receiving a first processing request which is sent by the first client and is used for adding a target label to the target object;
the processing unit is used for acquiring a function to be executed associated with the target tag according to the first processing request, determining a second client set for processing the first processing request according to the function to be executed, and acquiring a permission identification of at least one second client in the second client set;
A sending unit, configured to send a second processing request to the second client set, where the second processing request includes target object information, the target tag, an associated function to be executed, and a permission identifier of the second client, so that a second client having the permission identifier in the second client set processes the second processing request;
the receiving unit is further used for receiving an authorization message sent by the target second client;
the processing unit is further configured to add the target tag to the target object according to the authorization message.
11. An electronic device, comprising: at least one processor and memory;
the memory stores computer-executable instructions;
the at least one processor executing computer-executable instructions stored in the memory causes the at least one processor to perform the method of any one of claims 1-9.
12. A computer readable storage medium having stored therein computer executable instructions which, when executed by a processor, implement the method of any of claims 1-9.
13. A computer program product comprising computer-executable instructions which, when executed by a processor, implement the method of any of claims 1-9.
CN202111665291.2A 2021-12-31 2021-12-31 Data processing method, apparatus, storage medium, and program product Pending CN116418532A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111665291.2A CN116418532A (en) 2021-12-31 2021-12-31 Data processing method, apparatus, storage medium, and program product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111665291.2A CN116418532A (en) 2021-12-31 2021-12-31 Data processing method, apparatus, storage medium, and program product

Publications (1)

Publication Number Publication Date
CN116418532A true CN116418532A (en) 2023-07-11

Family

ID=87058372

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111665291.2A Pending CN116418532A (en) 2021-12-31 2021-12-31 Data processing method, apparatus, storage medium, and program product

Country Status (1)

Country Link
CN (1) CN116418532A (en)

Similar Documents

Publication Publication Date Title
CN110061909B (en) Method and apparatus for processing information
CN110390493B (en) Task management method and device, storage medium and electronic equipment
WO2022111290A1 (en) Display method and apparatus, and electronic device
CN110704833A (en) Data permission configuration method, device, electronic device and storage medium
CN115757400B (en) Data table processing method, device, electronic equipment and computer readable medium
CN110163001B (en) Information display method and device based on user relationship
CN116225886A (en) Test case generation method, device, equipment, storage medium and program product
CN110489326B (en) IDS-based HTTPAPI debugging method device, medium and equipment
CN116401117B (en) Data processing method combining stream computing system and traditional software application system
US20240275745A1 (en) Method, apparatus, terminal device and storage medium for information processing
CN116418532A (en) Data processing method, apparatus, storage medium, and program product
CN113204790B (en) View authority processing method, device, equipment and medium
CN111241368B (en) Data processing method, device, medium and equipment
CN110334763B (en) Model data file generation method, model data file generation device, model data file identification device, model data file generation apparatus, model data file identification apparatus, and model data file identification medium
WO2023093487A1 (en) Project stream determination method and apparatus, electronic device, and storage medium
CN110908763A (en) Acceptance method, device, equipment and storage medium
CN111538552A (en) Gift panel configuration method and device, readable medium and electronic equipment
CN114968621B (en) Data communication method, device, equipment, storage medium and system
CN115309612B (en) Method and device for monitoring data
CN114997118B (en) Document processing method, device, equipment and medium
CN111782410B (en) Lock jam monitoring method and device, electronic equipment and computer readable medium
CN115221178B (en) Data table binding method, device, electronic equipment and computer readable medium
CN112800122B (en) Data processing method and device and electronic equipment
CN118606968A (en) User authority information generation method, device, electronic equipment and readable medium
WO2023202669A1 (en) Information processing method and apparatus, device and medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination