CN111859200A - Target object mark updating method, device and equipment - Google Patents

Target object mark updating method, device and equipment Download PDF

Info

Publication number
CN111859200A
CN111859200A CN202010559817.8A CN202010559817A CN111859200A CN 111859200 A CN111859200 A CN 111859200A CN 202010559817 A CN202010559817 A CN 202010559817A CN 111859200 A CN111859200 A CN 111859200A
Authority
CN
China
Prior art keywords
target object
current
priority
mark
updating
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
CN202010559817.8A
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.)
Koubei Shanghai Information Technology Co Ltd
Original Assignee
Koubei Shanghai Information 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 Koubei Shanghai Information Technology Co Ltd filed Critical Koubei Shanghai Information Technology Co Ltd
Priority to CN202010559817.8A priority Critical patent/CN111859200A/en
Publication of CN111859200A publication Critical patent/CN111859200A/en
Pending legal-status Critical Current

Links

Images

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/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • G06F16/9562Bookmark management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0241Advertisements
    • G06Q30/0251Targeted advertisements
    • G06Q30/0257User requested
    • G06Q30/0258Registration
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0241Advertisements
    • G06Q30/0277Online advertisement

Abstract

The application discloses a mark updating method of a target object, which is characterized by comprising the following steps: obtaining an update request for updating the mark of the target object; according to the updating request, acquiring the priority of the current updating operation and the timestamp information of the current updating operation; and updating the mark of the target object according to the priority of the current updating operation and the timestamp information of the current updating operation. By adopting the method, the problems that the marking method of the target object in the prior art cannot update the mark of the target object in real time and cannot meet the service scene with higher real-time requirement are solved.

Description

Target object mark updating method, device and equipment
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method for updating a tag of a target object, a device for updating a tag of a target object, an electronic device, and a computer-readable storage medium.
Background
The e-commerce field has a targeted delivery scenario, that is, in a specific period (such as promotion), a specific commodity can only be seen by a specific group, and in such a scenario, each user needs to be marked.
In the prior art, a common target object marking scheme is to judge whether the characteristic data of a target object meets a corresponding rule or not based on the offline characteristic data and the rule of the target object. In some service scenes, the marking state of a specific target object needs to be changed in real time, for example, when a user places an order, a new person mark of the user is removed, and after the order is placed, a new person commodity cannot be seen, so that the user can enjoy the advantage of the new person. The marking result of the user needs to be updated in real time in the scene, and the traditional marking scheme cannot meet the service scene.
In summary, the target object marking method in the prior art cannot update the mark of the target object in real time, and cannot meet the service scene requiring high real-time requirement.
Disclosure of Invention
The embodiment of the invention provides a target object mark updating method, electronic equipment and a computer readable storage medium, and aims to solve the problems that the marking method of the target object in the prior art cannot update the mark of the target object in real time and cannot meet the service scene with high real-time requirement.
In a first aspect, an embodiment of the present invention provides a method for updating a tag of a target object, including:
obtaining an update request for updating the mark of the target object;
according to the updating request, acquiring the priority of the current updating operation and the timestamp information of the current updating operation;
and updating the mark of the target object according to the priority of the current updating operation and the timestamp information of the current updating operation.
As an embodiment, the obtaining the priority of the current update operation and the timestamp information of the current update operation according to the update request includes:
and if the mark of the target object is not in a write-forbidden state, acquiring the priority of the current updating operation and the timestamp information of the current updating operation according to the updating request.
As an embodiment, after the step of obtaining an update request for updating the mark of the target object, the method further includes: and if the mark of the update request is in a write-forbidden state, storing the update request.
As an embodiment, the performing an update operation on the tag of the target object according to the priority of the current update operation and the timestamp information of the current update operation includes:
If the priority of the current updating operation is larger than the priority of the operation of modifying the mark of the target object last time, updating the mark of the target object, and storing the priority of the current updating operation and the timestamp information of the current updating operation;
if the priority of the current updating operation is less than the priority of the operation of modifying the mark of the target object last time, the mark of the target object is not updated;
and if the priority of the current updating operation is equal to the priority of the operation of modifying the mark of the target object last time, determining whether to update the mark of the target object according to the timestamp information of the current updating operation.
As an embodiment, if the priority of the current update operation is equal to the priority of the operation of last modifying the mark of the target object, determining whether to perform the update operation on the mark of the target object according to the timestamp information of the current operation includes:
if the priority of the current update operation is equal to the priority of the operation of last modifying the mark of the target object and the time represented by the timestamp information of the current update operation is after the time represented by the timestamp information of the operation of last modifying the mark of the target object, updating the mark of the target object and storing the timestamp information of the current operation;
If the priority of the current update operation is equal to the priority of the operation of last modifying the mark of the target object and the time indicated by the timestamp information of the current operation is before the time indicated by the timestamp information of the operation of last modifying the mark of the target object, the update operation is not performed on the mark of the target object.
As an implementation manner, the embodiment of the present invention further includes:
priority of an operation that last modified a marker of a target object and time stamp information of the operation that last modified the marker of the target object are obtained.
As an embodiment, the performing an update operation on the tag of the target object according to the priority of the current update operation and the timestamp information of the current update operation includes:
judging whether the mark of the target object is marked for the first time;
if so, updating the mark of the target object, and storing the priority of the current updating operation and the timestamp information of the current updating operation;
and if not, updating the mark of the target object according to the priority of the current updating operation and the timestamp information of the current updating operation.
As an implementation manner, the embodiment of the present invention further includes:
And obtaining the mark of the target object and sending the mark to a client.
As an embodiment, the update request includes at least one of the following information:
identification information of the target object;
identification information of a marker of the target object;
priority information of a current operation;
timestamp information of the current operation.
In a second aspect, an embodiment of the present invention provides a tag updating apparatus for a target object, including:
an update request obtaining unit configured to obtain an update request for updating the tag of the target object;
an information obtaining unit, configured to obtain, according to the update request, a priority of a current update operation and timestamp information of the current update operation;
and the mark updating unit is used for updating the mark of the target object according to the priority of the current updating operation and the timestamp information of the current updating operation.
As an embodiment, the information obtaining unit is specifically configured to:
and if the mark of the target object is not in a write-forbidden state, acquiring the priority of the current updating operation and the timestamp information of the current updating operation according to the updating request.
As an embodiment, the apparatus further comprises: an update request storage unit configured to store, after the step of obtaining an update request for updating a tag of a target object, the update request if the tag of the update request is in a write-prohibited state.
As an embodiment, the tag updating unit is specifically configured to:
if the priority of the current updating operation is larger than the priority of the operation of modifying the mark of the target object last time, updating the mark of the target object, and storing the priority of the current updating operation and the timestamp information of the current updating operation;
if the priority of the current updating operation is less than the priority of the operation of modifying the mark of the target object last time, the mark of the target object is not updated;
and if the priority of the current updating operation is equal to the priority of the operation of modifying the mark of the target object last time, determining whether to update the mark of the target object according to the timestamp information of the current updating operation.
As an embodiment, the tag updating unit is specifically configured to:
if the priority of the current update operation is equal to the priority of the operation of last modifying the mark of the target object and the time represented by the timestamp information of the current update operation is after the time represented by the timestamp information of the operation of last modifying the mark of the target object, updating the mark of the target object and storing the timestamp information of the current operation;
If the priority of the current update operation is equal to the priority of the operation of last modifying the mark of the target object and the time indicated by the timestamp information of the current operation is before the time indicated by the timestamp information of the operation of last modifying the mark of the target object, the update operation is not performed on the mark of the target object.
As an embodiment, the apparatus further comprises: last modified information obtaining unit for
Priority of an operation that last modified a marker of a target object and time stamp information of the operation that last modified the marker of the target object are obtained.
As an embodiment, the tag updating unit is specifically configured to:
judging whether the mark of the target object is marked for the first time;
if so, updating the mark of the target object, and storing the priority of the current updating operation and the timestamp information of the current updating operation;
and if not, updating the mark of the target object according to the priority of the current updating operation and the timestamp information of the current updating operation.
As an embodiment, the apparatus further comprises:
and the mark sending unit is used for obtaining the mark of the target object and sending the mark to the client.
As an embodiment, the update request includes at least one of the following information:
identification information of the target object;
identification information of a marker of the target object;
priority information of a current update operation;
timestamp information of the current update operation.
In a third aspect, an embodiment of the present invention provides an electronic device, where the electronic device includes:
a processor;
a memory for storing a program which, when read and executed by the processor, performs the method of any one of the embodiments of the invention of the first aspect.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to perform the method according to any one of the embodiments of the present invention in the first aspect
Compared with the prior art, the invention has the following advantages:
the invention provides a method and a device for updating a mark of a target object, electronic equipment and a computer readable storage medium, wherein the method comprises the following steps: obtaining an update request for updating the mark of the target object; according to the updating request, acquiring the priority of the current updating operation and the timestamp information of the current updating operation; and updating the mark of the target object according to the priority of the current updating operation and the timestamp information of the current updating operation. According to the method provided by the invention, the mark of the target object is updated according to the priority of the current operation and the timestamp information of the current operation, so that the real-time marking of the target object is realized, and the problems that the mark of the target object cannot be updated in real time and a service scene with higher real-time requirement cannot be met by the target object marking method in the prior art are solved.
Drawings
Fig. 1 is a flowchart of a method for updating a tag of a target object according to a first embodiment of the present invention.
Fig. 2 is a flowchart of another method for updating a tag of a target object according to a first embodiment of the present invention.
Fig. 3 is a schematic diagram of a tag updating apparatus for a target object according to a second embodiment of the present invention.
Detailed Description
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention. This invention may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein, but rather construed as limited to the embodiments set forth herein.
A first embodiment of the present invention provides a method for updating a tag of a target object, which is described below with reference to fig. 1.
As shown in fig. 1, in step S101, an update request for updating the mark of the target object is obtained.
The target object refers to an entity needing to update the mark. In the e-commerce domain, an entity refers to a person, a store, a merchant, etc. participating element.
A marker is an identification on a target object. For example, if a user is a "new person," the "new person" is a label for the user.
The update request may include:
identification information of the target object;
identification information of a marker of the target object;
priority information of a current update operation;
timestamp information of the current update operation.
The update request for updating the tag of the target object may be sent by an application program of the client, where the client has many application programs running, and there are multiple application programs that need to modify the tag of the target object.
As an embodiment, the obtaining the priority of the current update operation and the timestamp information of the current update operation according to the update request includes:
and if the mark of the target object is not in a write-forbidden state, acquiring the priority of the current updating operation and the timestamp information of the current updating operation according to the updating request.
After the step of obtaining the update request for updating the mark of the target object, the embodiment of the present invention may further include: and if the mark of the update request is in a write-forbidden state, storing the update request.
When the mark of the target object is in a write-forbidden state, the state of the mark of the target object cannot be updated, so that the information of the update request is stored firstly, and when the mark of the target object is in a non-write-forbidden state, the mark of the target object is updated according to the stored information of the update request.
As shown in fig. 1, in step S102, the priority of the current update operation and the timestamp information of the current update operation are obtained according to the update request.
The priority of the current update operation is related to the application that sent the update request.
The time stamp information of the current update operation and the priority of the current update operation may be obtained from the time stamp information and the priority information contained in the update request.
For example, 5 different applications may all modify the label of target object 1, 5 applications are application 1, application 2, application 3, application 4, and application 5, and application 1, application 2, application 3, application 4, and application 5 have different priorities for target object 1.
Priority level Application identification Target object
Priority 1 Applications 1 Target object 1
Priority 2 Applications 5 Target object 1
Priority 3 Application 3 Target object 1
Priority 4 Application 4 Target object 1
Priority 5 Application 2 Target object 1
As can be seen from the table, application 2 has the highest priority for target object 1 and application 1 has the lowest priority for target object 1. It should be noted that the same priority may correspond to a plurality of applications.
As shown in fig. 1, in step S103, an update operation is performed on the tag of the target object according to the priority of the current update operation and the timestamp information of the current update operation.
The updating the mark of the target object according to the priority of the current updating operation and the timestamp information of the current updating operation comprises the following steps:
if the priority of the current updating operation is larger than the priority of the operation of modifying the mark of the target object last time, updating the mark of the target object, and storing the priority of the current updating operation and the timestamp information of the current updating operation;
if the priority of the current updating operation is less than the priority of the operation of modifying the mark of the target object last time, the mark of the target object is not updated;
and if the priority of the current updating operation is equal to the priority of the operation of modifying the mark of the target object last time, determining whether to update the mark of the target object according to the timestamp information of the current updating operation.
Still following the above example, if the update request is a request of application 3, the priority of the current update operation is 3, the priority of the operation of last modifying the tag of the target object for target object 1 is 2, and thus the priority of the current update operation is greater than the priority of the operation of last modifying the tag of the target object, the tag of the target object is updated, and the priority of the current operation and the timestamp information of the current operation are stored. For example, if the target object 1 is a user, the flag information of the target object 1 included in the update request is "new user or not", the priority of the operation of the target object 1 to modify the flag of the target object last time is 2, "yes" in the flag state of "new user or not", the update request is a request of the application 3, the priority of the current update operation is 3, "no" in the flag state of "new user or not", and the flag state of "new user or not" of the update target object is "no".
If the update request is a request of an application 3, the priority of the current update operation is 3, and the priority of the operation for modifying the mark of the target object 1 last time is 5, so that the priority of the current update operation is less than the priority of the operation for modifying the mark of the target object last time, the update operation is not performed on the mark of the target object 1.
And if the update request is a request of an application 3, the priority of the current update operation is 3, and the priority of the operation for modifying the mark of the target object 1 last time is 3, namely the priority of the current update operation is equal to the priority of the operation for modifying the mark of the target object last time, determining whether to perform the update operation on the mark of the target object according to the timestamp information of the current update operation.
If the priority of the current updating operation is equal to the priority of the operation of modifying the mark of the target object last time, determining whether to perform the updating operation on the mark of the target object according to the timestamp information of the current operation, including:
if the priority of the current update operation is equal to the priority of the operation of last modifying the mark of the target object and the time represented by the timestamp information of the current update operation is after the time represented by the timestamp information of the operation of last modifying the mark of the target object, updating the mark of the target object and storing the timestamp information of the current operation;
If the priority of the current update operation is equal to the priority of the operation of last modifying the mark of the target object and the time indicated by the timestamp information of the current operation is before the time indicated by the timestamp information of the operation of last modifying the mark of the target object, the update operation is not performed on the mark of the target object.
For example, if the update request is a request of the application 3, the priority of the current update operation is 3, the priority of the operation of last modifying the marker of the target object for the target object 1 is 3, if the timestamp information of the current update operation is after the time indicated by the timestamp information of the operation of last modifying the marker of the target object, the marker of the target object is updated, and the timestamp information of the current operation is stored; if the time indicated by the timestamp information of the current operation is before the time indicated by the timestamp information of the operation of last modifying the tag of the target object, the tag of the target object is not subjected to the update operation.
As an implementation manner, the embodiment of the present invention may further include:
priority of an operation that last modified a marker of a target object and time stamp information of the operation that last modified the marker of the target object are obtained.
The updating the mark of the target object according to the priority of the current updating operation and the timestamp information of the current updating operation comprises the following steps:
judging whether the mark of the target object is marked for the first time;
if so, updating the mark of the target object, and storing the priority of the current updating operation and the timestamp information of the current updating operation;
and if not, updating the mark of the target object according to the priority of the current updating operation and the timestamp information of the current updating operation.
When the mark of the target object is updated according to the priority of the current updating operation and the timestamp information of the current updating operation, whether the mark is the first marking aiming at the target object needs to be considered, if the mark is the first marking, the mark of the target object is directly updated, and the priority of the current updating operation and the timestamp information of the current updating operation are stored; and if the mark is not marked for the first time, updating the mark of the target object according to the priority of the current updating operation and the timestamp information of the current updating operation.
As an embodiment, further comprising:
and obtaining the mark of the target object and sending the mark to a client.
And sending the latest state of the mark of the target object to the client, wherein the client can perform operations such as commodity display according to the latest state of the mark of the target object.
Fig. 2 is a flowchart of a scenario of another method for updating a mark of a target object according to a first embodiment of the present invention. In which some preferred embodiments of the invention are included. The tag update method of the target object may be performed at the server. As shown in fig. 2, when an application of a client sends an update request for updating a tag of a target object, a server first determines whether the tag is prohibited from writing after obtaining the update request, stores the update request (the current request in the figure) if the tag is prohibited, reads entity marking information and rule configuration information of the tag (including priority information of each application for the tag) if the update request is not prohibited, determines whether the tag needs to be modified according to the read configuration information, and writes marking state, priority and timestamp information if the update request is not prohibited.
Corresponding to the above-mentioned method for updating the mark of the target object, a second embodiment of the present invention further provides a device for updating the mark of the target object.
As shown in fig. 3, the tag update apparatus for the target object includes:
An update request obtaining unit 301 configured to obtain an update request for updating the tag of the target object;
an information obtaining unit 302, configured to obtain, according to the update request, a priority of a current update operation and timestamp information of the current update operation;
a tag updating unit 303, configured to perform an update operation on the tag of the target object according to the priority of the current update operation and the timestamp information of the current update operation.
As an embodiment, the information obtaining unit is specifically configured to:
and if the mark of the target object is not in a write-forbidden state, acquiring the priority of the current updating operation and the timestamp information of the current updating operation according to the updating request.
As an embodiment, the apparatus further comprises: an update request storage unit configured to store, after the step of obtaining an update request for updating a tag of a target object, the update request if the tag of the update request is in a write-prohibited state.
As an embodiment, the tag updating unit is specifically configured to:
if the priority of the current updating operation is larger than the priority of the operation of modifying the mark of the target object last time, updating the mark of the target object, and storing the priority of the current updating operation and the timestamp information of the current updating operation;
If the priority of the current updating operation is less than the priority of the operation of modifying the mark of the target object last time, the mark of the target object is not updated;
and if the priority of the current updating operation is equal to the priority of the operation of modifying the mark of the target object last time, determining whether to update the mark of the target object according to the timestamp information of the current updating operation.
As an embodiment, the tag updating unit is specifically configured to:
if the priority of the current update operation is equal to the priority of the operation of last modifying the mark of the target object and the time represented by the timestamp information of the current update operation is after the time represented by the timestamp information of the operation of last modifying the mark of the target object, updating the mark of the target object and storing the timestamp information of the current operation;
if the priority of the current update operation is equal to the priority of the operation of last modifying the mark of the target object and the time indicated by the timestamp information of the current operation is before the time indicated by the timestamp information of the operation of last modifying the mark of the target object, the update operation is not performed on the mark of the target object.
As an embodiment, the apparatus further comprises: last modified information obtaining unit for
Priority of an operation that last modified a marker of a target object and time stamp information of the operation that last modified the marker of the target object are obtained.
As an embodiment, the tag updating unit is specifically configured to:
judging whether the mark of the target object is marked for the first time;
if so, updating the mark of the target object, and storing the priority of the current updating operation and the timestamp information of the current updating operation;
and if not, updating the mark of the target object according to the priority of the current updating operation and the timestamp information of the current updating operation.
As an embodiment, the apparatus further comprises:
and the mark sending unit is used for obtaining the mark of the target object and sending the mark to the client.
As an embodiment, the update request includes at least one of the following information:
identification information of the target object;
identification information of a marker of the target object;
priority information of a current update operation;
timestamp information of the current update operation.
It should be noted that, for the detailed description of the apparatus provided in the second embodiment of the present invention, reference may be made to the related description of the first embodiment of the present application, and details are not repeated here.
Corresponding to the method provided above, the third embodiment of the present invention also provides an electronic device. The electronic device includes:
a processor;
a memory for storing a program which, when read and executed by the processor, performs the method of any one of the embodiments of the invention of the first aspect.
It should be noted that, for the detailed description of the electronic device provided in the third embodiment of the present invention, reference may be made to the related description of the first embodiment of the present application, and details are not repeated here.
In accordance with a method provided above, a fourth embodiment of the present invention further provides a computer readable storage medium, on which a computer program is stored, wherein the computer program, when executed by a processor, performs the method according to the first embodiment of the present invention.
It should be noted that, for the detailed description of the computer-readable storage medium provided in the fourth embodiment of the present invention, reference may be made to the related description of the first embodiment of the present application, and details are not repeated here.
Although the present application has been described with reference to the preferred embodiments, it is not intended to limit the present application, and those skilled in the art can make variations and modifications without departing from the spirit and scope of the present application, therefore, the scope of the present application should be determined by the claims that follow.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include non-transitory computer readable media (transient media), such as modulated data signals and carrier waves.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.

Claims (10)

1. A tag update method for a target object, comprising:
obtaining an update request for updating the mark of the target object;
according to the updating request, acquiring the priority of the current updating operation and the timestamp information of the current updating operation;
and updating the mark of the target object according to the priority of the current updating operation and the timestamp information of the current updating operation.
2. The method of claim 1, wherein obtaining the priority of the current update operation and the timestamp information of the current update operation according to the update request comprises:
and if the mark of the target object is not in a write-forbidden state, acquiring the priority of the current updating operation and the timestamp information of the current updating operation according to the updating request.
3. The method of claim 2, further comprising, after the step of obtaining an update request for updating the tag of the target object: and if the mark of the update request is in a write-forbidden state, storing the update request.
4. The method of claim 1, wherein the performing an update operation on the tag of the target object according to the priority of the current update operation and the timestamp information of the current update operation comprises:
if the priority of the current updating operation is larger than the priority of the operation of modifying the mark of the target object last time, updating the mark of the target object, and storing the priority of the current updating operation and the timestamp information of the current updating operation;
if the priority of the current updating operation is less than the priority of the operation of modifying the mark of the target object last time, the mark of the target object is not updated;
and if the priority of the current updating operation is equal to the priority of the operation of modifying the mark of the target object last time, determining whether to update the mark of the target object according to the timestamp information of the current updating operation.
5. The method of claim 4, wherein if the priority of the current update operation is equal to the priority of the operation that modified the tag of the target object last time, determining whether to perform the update operation on the tag of the target object according to the timestamp information of the current operation comprises:
If the priority of the current update operation is equal to the priority of the operation of last modifying the mark of the target object and the time represented by the timestamp information of the current update operation is after the time represented by the timestamp information of the operation of last modifying the mark of the target object, updating the mark of the target object and storing the timestamp information of the current operation;
if the priority of the current update operation is equal to the priority of the operation of last modifying the mark of the target object and the time indicated by the timestamp information of the current operation is before the time indicated by the timestamp information of the operation of last modifying the mark of the target object, the update operation is not performed on the mark of the target object.
6. The method of claim 4, further comprising:
priority of an operation that last modified a marker of a target object and time stamp information of the operation that last modified the marker of the target object are obtained.
7. The method of claim 1, wherein the performing an update operation on the tag of the target object according to the priority of the current update operation and the timestamp information of the current update operation comprises:
judging whether the mark of the target object is marked for the first time;
If so, updating the mark of the target object, and storing the priority of the current updating operation and the timestamp information of the current updating operation;
and if not, updating the mark of the target object according to the priority of the current updating operation and the timestamp information of the current updating operation.
8. A tag update apparatus for a target object, comprising:
an update request obtaining unit configured to obtain an update request for updating the tag of the target object;
an information obtaining unit, configured to obtain, according to the update request, a priority of a current update operation and timestamp information of the current update operation;
and the mark updating unit is used for updating the mark of the target object according to the priority of the current updating operation and the timestamp information of the current updating operation.
9. An electronic device, characterized in that the electronic device comprises:
a processor;
a memory for storing a program that, when read and executed by the processor, performs the method of any one of claims 1-7.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the method according to any one of claims 1-7.
CN202010559817.8A 2020-06-18 2020-06-18 Target object mark updating method, device and equipment Pending CN111859200A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010559817.8A CN111859200A (en) 2020-06-18 2020-06-18 Target object mark updating method, device and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010559817.8A CN111859200A (en) 2020-06-18 2020-06-18 Target object mark updating method, device and equipment

Publications (1)

Publication Number Publication Date
CN111859200A true CN111859200A (en) 2020-10-30

Family

ID=72987262

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010559817.8A Pending CN111859200A (en) 2020-06-18 2020-06-18 Target object mark updating method, device and equipment

Country Status (1)

Country Link
CN (1) CN111859200A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102158369A (en) * 2011-03-14 2011-08-17 杭州华三通信技术有限公司 Method and device for checking patch
US20160335074A1 (en) * 2015-05-14 2016-11-17 Twilio, Inc. System and method for signaling through data storage
CN106878370A (en) * 2016-09-19 2017-06-20 阿里巴巴集团控股有限公司 The update method and equipment of a kind of local cache
CN107948093A (en) * 2017-11-01 2018-04-20 北京小米移动软件有限公司 Adjust the method and device that network speed is applied in terminal device
CN108023908A (en) * 2016-10-31 2018-05-11 腾讯科技(深圳)有限公司 Data-updating method, apparatus and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102158369A (en) * 2011-03-14 2011-08-17 杭州华三通信技术有限公司 Method and device for checking patch
US20160335074A1 (en) * 2015-05-14 2016-11-17 Twilio, Inc. System and method for signaling through data storage
CN106878370A (en) * 2016-09-19 2017-06-20 阿里巴巴集团控股有限公司 The update method and equipment of a kind of local cache
CN108023908A (en) * 2016-10-31 2018-05-11 腾讯科技(深圳)有限公司 Data-updating method, apparatus and system
CN107948093A (en) * 2017-11-01 2018-04-20 北京小米移动软件有限公司 Adjust the method and device that network speed is applied in terminal device

Similar Documents

Publication Publication Date Title
US8769208B2 (en) Method, system and server of removing a distributed caching object
CN106897335B (en) Service data storage method, record identifier generation method and device
CN106528578B (en) Information display method and device
CN109447820B (en) Data processing method, device, computer equipment and storage medium
JP2017168143A (en) Distributed caching and cache analysis
CN107066588B (en) Database and corresponding method and equipment
CN106952085B (en) Method and device for data storage and service processing
CN111177093A (en) Method, device and medium for sharing scientific and technological resources
CN111859200A (en) Target object mark updating method, device and equipment
CN111369282B (en) Resource processing method and device
CN111881082A (en) Snapshot generation method and device, electronic equipment and storage medium
CN110874268B (en) Data processing method, device and equipment
CN112509164A (en) Attendance card-punching method, attendance card-punching device, attendance card-punching equipment and storage medium
CN113791805B (en) Micro-service gray level publishing method and device
US20180373807A1 (en) Data management apparatuses, methods, and non-transitory tangible machine-readable media thereof
CN112364030B (en) Business derivative record storage method based on credible account book database
CN112364031B (en) Business derivative record storage method based on credible account book database
CN111737600B (en) Information providing method, device and equipment and system for displaying customer information
CN112859874B (en) Dynamic environment area operation and maintenance method and equipment for mobile robot
CN110990414B (en) Data processing method and device
CN112383415A (en) Server side marking method and equipment
CN110019356B (en) Data query method and device
CN110795039A (en) Data management method and device based on object storage service and related components
CN113688122A (en) Data deduplication method and equipment
CN117541313A (en) Coupon management method, computing device, and readable storage medium

Legal Events

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