CN111210234A - Method and device for recording product condition state, electronic equipment and storage medium - Google Patents

Method and device for recording product condition state, electronic equipment and storage medium Download PDF

Info

Publication number
CN111210234A
CN111210234A CN202010005927.XA CN202010005927A CN111210234A CN 111210234 A CN111210234 A CN 111210234A CN 202010005927 A CN202010005927 A CN 202010005927A CN 111210234 A CN111210234 A CN 111210234A
Authority
CN
China
Prior art keywords
condition
state
product
necessary
field
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
CN202010005927.XA
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 Sankuai Online Technology Co Ltd
Original Assignee
Beijing Sankuai Online 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 Sankuai Online Technology Co Ltd filed Critical Beijing Sankuai Online Technology Co Ltd
Priority to CN202010005927.XA priority Critical patent/CN111210234A/en
Publication of CN111210234A publication Critical patent/CN111210234A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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/018Certifying business or products
    • 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/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0613Third-party assisted
    • 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/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0633Lists, e.g. purchase orders, compilation or processing
    • G06Q30/0635Processing of requisition or of purchase orders

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the application discloses a method, a device, electronic equipment and a storage medium for recording the condition state of a product, wherein the method comprises the following steps: when a product ordering request is received, determining necessary conditions corresponding to products in the product ordering request; generating fields with the same number of bits as the number according to the number of the necessary conditions; and acquiring the state of the necessary condition, and recording the state of the necessary condition through a bit corresponding to the necessary condition in the field. The embodiment of the application can record the state of each necessary condition through one field, and the state of each necessary condition can be obtained by inquiring the field, so that the state inquiry efficiency is improved, the state of each necessary condition in a system corresponding to each necessary condition is not required to be inquired any more, and if the system of each necessary condition is abnormal, and the state of the corresponding necessary condition is recorded through the field, the correct condition state can be inquired, so that the accuracy of state recording is improved.

Description

Method and device for recording product condition state, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of internet technologies, and in particular, to a method and an apparatus for recording product condition status, an electronic device, and a storage medium.
Background
When a merchant purchases corresponding products on a platform, the necessary conditions of some products (such as service products) are many (for example, the qualification of the merchant needs to be checked and passed by the platform), the processing time of the conditions is different, and the products can be effective only after the necessary conditions are achieved.
In the prior art, when the state of the necessary condition is determined, messages (including purchase results) that various necessary conditions take effect are monitored, each time a message that one necessary condition succeeds is monitored, whether other necessary conditions succeed or not needs to be inquired, if all the conditions succeed, the product takes effect, and if the conditions are unsuccessful, the next message that the necessary condition succeeds is continuously waited.
When a message that the necessary condition succeeds is monitored, the states of other necessary conditions are queried, because the states of the necessary conditions are recorded in different systems, the states of the necessary conditions need to be queried from different systems, the query efficiency is low, and a condition state error caused by service exception of the necessary condition query system exists.
Disclosure of Invention
The embodiment of the application provides a method, a device, an electronic device and a storage medium for recording the condition state of a product, which are beneficial to improving the query efficiency and the accuracy of state recording.
In order to solve the above problem, in a first aspect, an embodiment of the present application provides a method for recording a condition status of a product, including:
when a product ordering request is received, determining necessary conditions corresponding to products in the product ordering request;
generating fields with the same number of bits as the number according to the number of the necessary conditions;
and acquiring the state of the necessary condition, and recording the state of the necessary condition through a bit corresponding to the necessary condition in the field.
Optionally, obtaining the state of the requirement, and recording the state of the requirement through a bit in the field, including:
acquiring the initial state of the necessary condition, and recording the initial state through the bit in the field;
and updating the bit corresponding to the necessary condition in the field into a successful state when receiving an audit success message of the necessary condition.
Optionally, the method further includes:
and if the initial state of at least one necessary condition is the auditing failure state, refusing to create the order corresponding to the product.
Optionally, the method further includes:
if the initial state of the necessary condition does not comprise the auditing failure state, creating an order corresponding to the product;
and if an auditing failure message of a necessary condition is received, canceling the order.
Optionally, after the recording the state of the requirement by the bit corresponding to the requirement in the field, the method further includes:
and when the states of the necessary conditions are determined to be successful states according to the fields, the product takes effect.
Optionally, the field is a binary field.
In a second aspect, an embodiment of the present application provides an apparatus for recording a condition status of a product, including:
the system comprises a mandatory condition determining module, a product ordering module and a product ordering module, wherein the mandatory condition determining module is used for determining a mandatory condition corresponding to a product in a product ordering request when the product ordering request is received;
a field generating module, configured to generate a field with the same number of bits as the number according to the number of the necessary conditions;
and the condition state recording module is used for acquiring the state of the necessary condition and recording the state of the necessary condition through a bit corresponding to the necessary condition in the field.
Optionally, the condition status recording module includes:
an initial state recording unit, configured to obtain an initial state of the necessary condition, and record the initial state through a bit in the field;
and the adjustment state updating unit is used for updating the bit corresponding to the necessary condition in the field into a success state when receiving an audit success message of the necessary condition.
Optionally, the apparatus further comprises:
and the order rejection module is used for rejecting to create the order corresponding to the product if the initial state of the at least one necessary condition is the auditing failure state.
Optionally, the apparatus further comprises:
the order creating module is used for creating an order corresponding to the product if the initial state of the necessary condition does not comprise an auditing failure state;
and the order canceling module is used for canceling the order if an audit failure message of a necessary condition is received.
Optionally, the apparatus further comprises:
and the product validation module is used for validating the product when the states of the necessary conditions are determined to be successful states according to the fields after the states of the necessary conditions are recorded by the bits corresponding to the necessary conditions in the fields.
Optionally, the field is a binary field.
In a third aspect, an embodiment of the present application further discloses an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor executes the computer program to implement the method for recording a product condition state according to the embodiment of the present application.
In a fourth aspect, the present application provides a computer-readable storage medium, on which a computer program is stored, which when executed by a processor, performs the steps of the method for recording the condition status of a product disclosed in the embodiments of the present application.
The method, the device, the electronic equipment and the storage medium for recording the condition states of the products, which are disclosed by the embodiment of the application, determine the necessary conditions corresponding to the products in the product ordering request when the product ordering request is received, generate the fields with the same number of digits as the number according to the number of the necessary conditions, acquire the states of the necessary conditions, and record the states of the necessary conditions through the bits corresponding to the necessary conditions in the fields, so that the states of all the necessary conditions can be recorded through one field, the states of all the necessary conditions can be acquired by inquiring the field, the state inquiring efficiency is improved, the states of all the necessary conditions in the system corresponding to all the necessary conditions do not need to be inquired, and if the system of all the necessary conditions is abnormal, the correct states of all the necessary conditions can still be inquired when the states of the corresponding necessary conditions are recorded through the fields, thereby improving the accuracy of the status record.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
FIG. 1 is a flowchart of a method for recording a condition status of a product according to a first embodiment of the present application;
FIG. 2 is an interactive flowchart of a method for recording the condition status of a product according to a second embodiment of the present application;
fig. 3 is a schematic structural diagram of an apparatus for recording a product condition state according to a third embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Example one
The method for recording the condition status of a product disclosed in this embodiment, as shown in fig. 1, includes: step 110 to step 130.
Step 110, when a product ordering request is received, determining the necessary conditions corresponding to the product in the product ordering request.
When a user purchases a product, if the required conditions of the product are not completely met, the user may be allowed to purchase the product first and take effect when all the required conditions are in the audit pass state (that is, all the required conditions are met). Therefore, when a product ordering request is received, the necessary conditions corresponding to the product are determined according to the product requested in the product ordering request. The corresponding relation between the product and the necessary condition can be pre-established, so that when a product ordering request is received, the corresponding relation can be inquired according to the product requested in the product ordering request, and the necessary condition corresponding to the product is obtained.
And step 120, generating fields with the same number of bits as the number according to the number of the necessary conditions.
And generating a field according to the number of the necessary conditions, wherein the number of bits of the field is the same as the number of the necessary conditions, so that each bit in the field represents the state of one necessary condition, establishing the association relationship between each bit in the field and the necessary conditions, and representing the state of the necessary condition associated with each bit in the field by each bit in the field. For example, when a product has three required conditions, the generated field is a three-digit number, each digit represents a required condition, and a preset number is used in each digit to represent the corresponding state, such as 0 for the audit failure state, 1 for the audit in state, 2 for the audit success state, and the like.
Wherein the field may be selected as a binary field. Since whether the product is valid after the user purchases the product depends on whether the requisite condition of the product is the successful audit state, it is sufficient that each binary bit in the binary field represents the state of the corresponding requisite condition, that is, one binary bit represents the state of one requisite condition, and the states of the requisite condition include the successful audit state and the in-audit state, which may be respectively represented by 1 and 0, for example, 1 may represent the successful audit state and 0 represents the in-audit state. And for the state of failure of the audit of the requisite condition, the requisite condition is determined to be not satisfied, the order needs to be closed or the product is not allowed to be purchased, and the state does not need to be recorded, so that the state of the requisite condition can be represented by a binary field, and the state related to the product effectiveness is more clearly represented.
Step 130, obtaining the state of the necessary condition, and recording the state of the necessary condition through the bit corresponding to the necessary condition in the field.
And acquiring the state of each necessary condition from the system of each necessary condition, and assigning a value to a corresponding bit in the field according to the state of each necessary condition, so as to record the state of the necessary condition through the bit corresponding to the necessary condition in the field. And when receiving the state change message of each necessary condition, updating the record of the bit corresponding to the necessary condition in the field in time.
In an embodiment of the present application, acquiring the status of the requirement, and recording the status of the requirement by a bit in the field includes: acquiring the initial state of the necessary condition, and recording the initial state through the bit in the field; and updating the bit corresponding to the necessary condition in the field into a successful state when receiving an audit success message of the necessary condition.
After receiving a product ordering request of a user and generating fields corresponding to the necessary conditions, acquiring initial states of the necessary conditions from a system of each necessary condition, assigning corresponding bits in the fields according to the initial states, namely recording the initial states of the necessary conditions through the corresponding bits in the fields, monitoring the auditing process of each necessary condition, and updating the bits corresponding to the necessary conditions in the fields into a successful state when an auditing success message of the necessary conditions is received. Therefore, the states of all the necessary conditions can be recorded in real time, when an audit success message of one necessary condition is received, the states of other necessary conditions do not need to be inquired in systems of other necessary conditions, and the states of other necessary conditions can be intuitively known through the fields.
For example, when a product has three required conditions, the generated field is a three-digit number, each digit represents a required condition, and a preset number is used in each digit to represent the corresponding state, such as 0 for the audit failure state, 1 for the audit in state, 2 for the audit success state, and the like. When the initial states of the three necessary conditions are obtained, which are all in-audit states, the field may be represented as 111, and when an audit success message of the first necessary condition is received, the bit corresponding to the first necessary condition in the field is updated to a successful state in time, that is, the field is updated to 211.
The method for recording the condition state of the product disclosed by the embodiment of the application determines the necessary condition corresponding to the product in the product ordering request when the product ordering request is received, generating fields with the same number of bits as the number according to the number of the necessary conditions, acquiring the state of the necessary conditions, recording the state of the necessary conditions through the bits corresponding to the necessary conditions in the fields, therefore, the state of each necessary condition can be recorded through one field, the state of each necessary condition can be obtained by inquiring the field, thereby improving the state query efficiency, and the state of each necessary condition is not required to be queried in the system corresponding to each necessary condition, if the system exception for each prerequisite has recorded the state of the corresponding prerequisite via the field, the correct condition state can still be queried, thereby improving the accuracy of state recording.
In one embodiment of the present application, the method further optionally comprises:
and if the initial state of at least one necessary condition is the auditing failure state, refusing to create the order corresponding to the product.
After the initial state of each necessary condition is obtained, if the initial state of at least one necessary condition is an auditing failure state, the order corresponding to the product is refused to be created, and the user can be informed of the reason for refusing to create the order, so that the user is not allowed to purchase the product when the necessary condition corresponding to the product is not met. For example, when a user purchases a service product, the service product needs the store qualification of the user, and the state of the store qualification of the user is an audit failure state, the user can directly refuse to create an order corresponding to the product.
In one embodiment of the present application, the method further optionally comprises:
if the initial state of the necessary condition does not comprise the auditing failure state, creating an order corresponding to the product; and if an auditing failure message of a necessary condition is received, canceling the order.
After the initial state of each necessary condition is obtained, if the initial state of each necessary condition is not the audit failure state, an order corresponding to the product can be created, the user is allowed to purchase the product first, and the product is regenerated after all the necessary condition audits are passed. If an audit failure message of the necessary conditions is received in the audit process of the necessary conditions after the order corresponding to the product is created, the user is determined that the necessary conditions of the product do not meet the requirements, the order is directly cancelled, and refund is carried out on the user, so that the user can timely know the reason why the product cannot take effect.
On the basis of the above technical solution, after the recording the state of the requirement by the bit corresponding to the requirement in the field, the method further includes: and when the states of the necessary conditions are determined to be successful states according to the fields, the product takes effect.
The states of all the necessary conditions corresponding to the product are recorded through the fields, and the states of all the necessary conditions can be inquired only by inquiring the fields without inquiring the inquiry system of each necessary condition. If the inquiry field determines that the states of all the necessary conditions corresponding to the product are success states, the product can be validated. When a successful audit message of the necessary conditions is received, the states of the necessary conditions are timely updated in the fields for recording the states of the conditions, the fields are inquired to determine the states of the necessary conditions, if the states of all the necessary conditions are successful states, the product can take effect, the time for the system for inquiring the states of the necessary conditions is saved, and the timeliness of the product taking effect is improved.
Example two
In the method for recording the condition status of a product disclosed in this embodiment, a product includes three required conditions as an example, a field for recording the condition status is a binary field, and the three required conditions are a condition a, a condition B, and a payment condition. Fig. 2 is an interaction flowchart of a method for recording a product condition status according to a second embodiment of the present application, and as shown in fig. 2, the method includes:
in step 210, the merchant uploads the relevant information of the necessary condition a.
Step 220, the merchant uploads the relevant information of the necessary condition B.
At step 230, the merchant sends a product order request to the product vending system.
Step 240, the product vending system creates an order and generates a three-bit binary field, and if the initial states of the three necessary conditions are all the states under examination, the initial value of the binary field is 000.
In this embodiment, 0 indicates a status during the audit, and 1 indicates a status of successful audit. In this step, if at least one of the initial states of the three acquired essential conditions is an audit failure state, for example, the initial state of the essential condition a is an audit failure state, the creation of the order is rejected.
And step 250, jumping to a payment order of the cashier desk, returning a payment success message after the order payment is successful, and updating the binary field to 001 by the product selling system.
And step 260, the system of the necessary condition A audits the necessary condition A.
And 270, after the system of the necessary condition A passes the audit of the necessary condition A, returning an audit success message of the necessary condition A, and updating the binary field to 011 by the product selling system.
And step 280, the system of the necessary condition B audits the necessary condition B.
And 290, after the system of the necessary condition B passes the audit of the necessary condition B, returning an audit success message of the necessary condition B, and updating the binary field to 111 by the product selling system.
And if the product selling system receives the verification failure message of the system with the requisite condition A or receives the verification failure message of the system with the requisite condition B, canceling the order and entering a refund process to refund the merchant.
Step 2110, the product selling system determines that the states of all the necessary conditions are successful states according to the binary field, and then the product is validated.
The method for recording the condition state of the product can be applied to the field of value-added service purchase of merchants, for example, a merchant can firstly purchase the product and pass the product when the merchant still checks the qualification and contract of a store, and the merchant passes the scheme after the contract is validated and the qualification is checked.
The method for recording the condition states of the products, disclosed by the embodiment of the application, records the states of all the necessary conditions by using one binary field, is very simple and clear, can conveniently find out the reason that the products are not effective by inquiring the binary field, and can continuously take effect when the products are not effective, and can inquire the state of each necessary condition by inquiring the binary field without inquiring in a system of each necessary condition, so that the efficiency of state inquiry can be improved, the condition states recorded in the binary field are not influenced by the system abnormity of the necessary conditions, the accuracy of state recording can be improved, and the method is suitable for a scene that the products need to take effect only when the necessary conditions are reached after being purchased.
EXAMPLE III
In the apparatus for recording the condition status of a product disclosed in this embodiment, as shown in fig. 3, the apparatus 300 for recording the condition status of a product includes:
the required condition determining module 310 is configured to determine a required condition corresponding to a product in a product ordering request when the product ordering request is received;
a field generating module 320, configured to generate a field with the same number of bits as the number according to the number of the necessary conditions;
the condition status recording module 330 is configured to obtain the status of the required condition, and record the status of the required condition through a bit corresponding to the required condition in the field.
Optionally, the condition status recording module includes:
an initial state recording unit, configured to obtain an initial state of the necessary condition, and record the initial state through a bit in the field;
and the adjustment state updating unit is used for updating the bit corresponding to the necessary condition in the field into a success state when receiving an audit success message of the necessary condition.
Optionally, the apparatus further comprises:
and the order rejection module is used for rejecting to create the order corresponding to the product if the initial state of the at least one necessary condition is the auditing failure state.
Optionally, the apparatus further comprises:
the order creating module is used for creating an order corresponding to the product if the initial state of the necessary condition does not comprise an auditing failure state;
and the order canceling module is used for canceling the order if an audit failure message of a necessary condition is received.
Optionally, the apparatus further comprises:
and the product validation module is used for validating the product when the states of the necessary conditions are determined to be successful states according to the fields after the states of the necessary conditions are recorded by the bits corresponding to the necessary conditions in the fields.
Optionally, the field is a binary field.
The apparatus for recording a product condition state provided in the embodiment of the present application is configured to implement each step of the method for recording a product condition state described in the embodiment of the present application, and specific implementation of each module of the apparatus refers to the corresponding step, which is not described herein again.
The device for recording the condition state of the product disclosed in the embodiment of the application determines the necessary conditions corresponding to the product in the product ordering request when the necessary condition determining module receives the product ordering request, the field generating module generates the fields with the same number of digits according to the number of the necessary conditions, the condition state recording module acquires the states of the necessary conditions, and records the states of the necessary conditions through the bits corresponding to the necessary conditions in the fields, so that the states of all the necessary conditions can be recorded through one field, the states of all the necessary conditions can be obtained by inquiring the field, the state inquiring efficiency is improved, the states of all the necessary conditions in the system corresponding to all the necessary conditions do not need to be inquired, and if the system of all the necessary conditions is abnormal, when the states of the corresponding necessary conditions are recorded through the fields, the correct condition state can still be queried, thereby improving the accuracy of state recording.
Correspondingly, the embodiment of the present application further discloses an electronic device, which includes a memory, a processor, and a computer program stored on the memory and executable on the processor, and when the processor executes the computer program, the method for recording the product condition state according to the embodiment of the present application is implemented. The electronic device can be a PC, a mobile terminal, a personal digital assistant, a tablet computer and the like.
The embodiment of the application also discloses a computer readable storage medium, wherein a computer program is stored on the computer readable storage medium, and the computer program is used for realizing the steps of the method for recording the condition state of the product according to the embodiment of the application when being executed by a processor.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
The method, the apparatus, the electronic device and the storage medium for recording the condition status of the product provided by the embodiments of the present application are introduced in detail above, and a specific example is applied in the present application to explain the principle and the implementation of the present application, and the description of the above embodiments is only used to help understanding the method and the core idea of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.

Claims (10)

1. A method of recording a condition status of a product, comprising:
when a product ordering request is received, determining necessary conditions corresponding to products in the product ordering request;
generating fields with the same number of bits as the number according to the number of the necessary conditions;
and acquiring the state of the necessary condition, and recording the state of the necessary condition through a bit corresponding to the necessary condition in the field.
2. The method of claim 1, wherein obtaining the status of the prerequisite and recording the status of the prerequisite via a bit in the field comprises:
acquiring the initial state of the necessary condition, and recording the initial state through the bit in the field;
and updating the bit corresponding to the necessary condition in the field into a successful state when receiving an audit success message of the necessary condition.
3. The method of claim 2, further comprising:
and if the initial state of at least one necessary condition is the auditing failure state, refusing to create the order corresponding to the product.
4. The method of claim 2, further comprising:
if the initial state of the necessary condition does not comprise the auditing failure state, creating an order corresponding to the product;
and if an auditing failure message of a necessary condition is received, canceling the order.
5. The method of claim 1, further comprising, after the recording the status of the prerequisite by the bit in the field corresponding to the prerequisite:
and when the states of the necessary conditions are determined to be successful states according to the fields, the product takes effect.
6. The method of claim 1, wherein the field is a binary field.
7. An apparatus for recording the condition status of a product, comprising:
the system comprises a mandatory condition determining module, a product ordering module and a product ordering module, wherein the mandatory condition determining module is used for determining a mandatory condition corresponding to a product in a product ordering request when the product ordering request is received;
a field generating module, configured to generate a field with the same number of bits as the number according to the number of the necessary conditions;
and the condition state recording module is used for acquiring the state of the necessary condition and recording the state of the necessary condition through a bit corresponding to the necessary condition in the field.
8. The apparatus of claim 7, wherein the condition status recording module comprises:
an initial state recording unit, configured to obtain an initial state of the necessary condition, and record the initial state through a bit in the field;
and the adjustment state updating unit is used for updating the bit corresponding to the necessary condition in the field into a success state when receiving an audit success message of the necessary condition.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method of recording a condition status of a product according to any one of claims 1 to 6 when executing the computer program.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method of recording the condition status of a product according to any one of claims 1 to 6.
CN202010005927.XA 2020-01-03 2020-01-03 Method and device for recording product condition state, electronic equipment and storage medium Pending CN111210234A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010005927.XA CN111210234A (en) 2020-01-03 2020-01-03 Method and device for recording product condition state, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010005927.XA CN111210234A (en) 2020-01-03 2020-01-03 Method and device for recording product condition state, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN111210234A true CN111210234A (en) 2020-05-29

Family

ID=70786586

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010005927.XA Pending CN111210234A (en) 2020-01-03 2020-01-03 Method and device for recording product condition state, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111210234A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6195701B1 (en) * 1994-03-16 2001-02-27 International Business Machines Corporation Method and apparatus for synchronization and scheduling of multiple data streams and real time tasks
CN1635526A (en) * 2003-12-31 2005-07-06 宏碁股份有限公司 Financial transaction data processing method and system
CN106296129A (en) * 2016-08-16 2017-01-04 天脉聚源(北京)传媒科技有限公司 A kind of status indicator method and device
CN106604073A (en) * 2015-10-14 2017-04-26 北京国双科技有限公司 Data processing method and device
CN106875231A (en) * 2017-03-28 2017-06-20 宇龙计算机通信科技(深圳)有限公司 A kind of reward voucher application method and device
CN107016482A (en) * 2016-12-12 2017-08-04 蔚来汽车有限公司 Service condition management method and system
CN107766510A (en) * 2017-10-23 2018-03-06 中国银行股份有限公司 A kind of data processing method, data query method and device
CN110633273A (en) * 2018-05-31 2019-12-31 北京京东尚科信息技术有限公司 Authority management method and device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6195701B1 (en) * 1994-03-16 2001-02-27 International Business Machines Corporation Method and apparatus for synchronization and scheduling of multiple data streams and real time tasks
CN1635526A (en) * 2003-12-31 2005-07-06 宏碁股份有限公司 Financial transaction data processing method and system
CN106604073A (en) * 2015-10-14 2017-04-26 北京国双科技有限公司 Data processing method and device
CN106296129A (en) * 2016-08-16 2017-01-04 天脉聚源(北京)传媒科技有限公司 A kind of status indicator method and device
CN107016482A (en) * 2016-12-12 2017-08-04 蔚来汽车有限公司 Service condition management method and system
CN106875231A (en) * 2017-03-28 2017-06-20 宇龙计算机通信科技(深圳)有限公司 A kind of reward voucher application method and device
CN107766510A (en) * 2017-10-23 2018-03-06 中国银行股份有限公司 A kind of data processing method, data query method and device
CN110633273A (en) * 2018-05-31 2019-12-31 北京京东尚科信息技术有限公司 Authority management method and device

Similar Documents

Publication Publication Date Title
CN107392722B (en) Order processing method and device, electronic equipment and storage medium
CN104281940B (en) Method and apparatus for providing data processing mode list through communication network
US20160071104A1 (en) Securebuy merchant information analytics decision engine
CN108305055B (en) Payment testing method and device
US20140244451A1 (en) E-commerce transaction verification system and method
CN109614766B (en) Method and device for carrying out block chaining and evidence saving on webpage through file acquisition
CN106776973B (en) Blacklist data generation method and apparatus
CN112561633A (en) Order data verification method, device and equipment
CN113971560A (en) Transaction processing method and device
CN113179282A (en) Method and device for merging account numbers and server
CN114549068A (en) Short link generation method, equipment, device and computer readable storage medium
CN108038667A (en) Declaration form generation method, device and equipment
CN111210234A (en) Method and device for recording product condition state, electronic equipment and storage medium
KR20200061263A (en) Method and server for paying cards based on blockchain network
KR102070252B1 (en) Blockchain based payment service server and operating method thereof
CN114119176B (en) User right processing method and device, electronic equipment and storage medium
US20040078291A1 (en) Method of electronic commerce transaction
CA2877218C (en) Method for securing a transaction performed by bank card
CN113468059B (en) Information acquisition method and device, terminal and server
CN110008081B (en) Interactive data processing method and device
CN113298608B (en) Order information processing method and device and electronic equipment
JP2012203874A (en) Electronic commercial transaction system
CN116957723A (en) Concurrent order processing method, device, equipment and medium
CN114240335A (en) Data processing method and device
JP6155348B1 (en) User authentication and reliability providing method and user authentication and reliability providing system

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20200529

RJ01 Rejection of invention patent application after publication