CN104778115A - Mutual exclusion detection method and device - Google Patents

Mutual exclusion detection method and device Download PDF

Info

Publication number
CN104778115A
CN104778115A CN201410009517.7A CN201410009517A CN104778115A CN 104778115 A CN104778115 A CN 104778115A CN 201410009517 A CN201410009517 A CN 201410009517A CN 104778115 A CN104778115 A CN 104778115A
Authority
CN
China
Prior art keywords
parameter
current value
mutual exclusion
user
value
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.)
Granted
Application number
CN201410009517.7A
Other languages
Chinese (zh)
Other versions
CN104778115B (en
Inventor
任慧
李铭
廖凌浩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Peking University Founder Group Co Ltd
Beijing Founder Electronics Co Ltd
Original Assignee
Peking University Founder Group Co Ltd
Beijing Founder Electronics 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 Peking University Founder Group Co Ltd, Beijing Founder Electronics Co Ltd filed Critical Peking University Founder Group Co Ltd
Priority to CN201410009517.7A priority Critical patent/CN104778115B/en
Publication of CN104778115A publication Critical patent/CN104778115A/en
Application granted granted Critical
Publication of CN104778115B publication Critical patent/CN104778115B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention provides a mutual exclusion detection method and device. The method comprises the following steps: obtaining a current value of each first parameter from parameters set by a user; aiming at each first parameter, inquiring a mutual exclusion relation table, determining second parameters which have a mutual exclusion relation with the first parameters in the parameters set by the user; aiming at each second parameter, inquiring a current comparison relation table, and obtaining the standard value of each second parameter corresponding to the current value of each first parameter; and if the current value of the second parameter is different from the standard value of each second parameter corresponding to the current value of each first parameter, judging that the current value of the first parameter and the current value of the second parameter are subjected to mutual exclusion. The mutual exclusion detection method and device can conveniently and accurately detect whether the values of the parameters set by the user at present are subjected to the mutual exclusion or not.

Description

Mutual exclusion detection method and device
Technical Field
The invention relates to the field of printing and proofing, in particular to a mutual exclusion detection method and device.
Background
The existing printing and proofing equipment has more related driving parameters, and the driving parameters of different equipment relate to mutual restricted mutual exclusion relationship, for example, only paper with specific size can be bound in a certain mode, that is, the binding modes adopted by the paper with different sizes are different, if the adopted binding mode does not correspond to the size of the paper, mutual exclusion occurs; for another example, different binding methods are used, so that the parameters of the paper output box are also required correspondingly, and when the binding methods do not correspond to the parameter values of the paper output box, mutual exclusion also occurs, so that how to effectively and accurately detect whether mutual exclusion occurs between current values of each parameter becomes a problem to be solved urgently at present.
In contrast, the conventional mutual exclusion detection scheme is that a user manually detects parameter values set by the user according to an equipment specification. However, in actual printing and proofing, a plurality of parameters usually relate to mutual exclusion, that is, mutual exclusion may occur between values of the parameters, and sometimes after solving a mutual exclusion, mutual exclusion may occur between values of other parameters, and manual detection often misses some mutual exclusion. Therefore, whether the value of the current parameter is mutually exclusive or not cannot be conveniently and accurately detected by the conventional mutual exclusion detector.
Disclosure of Invention
The invention provides a mutual exclusion detection method and a device, which are used for solving the problem that the existing mutual exclusion detector cannot conveniently and accurately detect whether the value of the current parameter is mutually exclusive or not.
The first aspect of the present invention provides a mutual exclusion detection method, including:
determining a first parameter to be detected from parameters set by a user, and acquiring a current value of the first parameter;
for each first parameter, inquiring a mutual exclusion relationship table, and determining a second parameter related to a mutual exclusion relationship with the first parameter in the parameters set by the user, wherein the mutual exclusion relationship table comprises an identifier of the parameter related to the mutual exclusion relationship with each parameter;
for each second parameter, querying a first contrast relation table to obtain a standard value of the second parameter corresponding to a current value of the first parameter, where the first contrast relation table includes standard values of third parameters corresponding to respective values of the first parameter, the first parameter and the third parameters relate to a mutual exclusion relation, the third parameters include the second parameters, and mutual exclusion does not occur between the respective values of the first parameter and the standard values of the third parameters corresponding to the respective values;
and if the current value of the second parameter is different from the standard value of the second parameter corresponding to the current value of the first parameter, judging that mutual exclusion occurs between the current value of the first parameter and the current value of the second parameter.
Another aspect of the present invention is to provide a mutual exclusion detecting apparatus, including:
the first processing module is used for determining a first parameter to be detected from parameters set by a user and acquiring the current value of the first parameter;
a first query module, configured to query, for each first parameter, a mutual exclusion relationship table, and determine a second parameter related to a mutual exclusion relationship with the first parameter in the parameters set by the user, where the mutual exclusion relationship table includes an identifier of a parameter related to a mutual exclusion relationship with each parameter;
a second query module, configured to query a first lookup table for each second parameter to obtain a standard value of the second parameter corresponding to a current value of the first parameter, where the first lookup table includes standard values of third parameters corresponding to respective values of the first parameter, the first parameter and the third parameter relate to an exclusive relationship, the third parameter includes the second parameter, and mutual exclusion does not occur between the respective values of the first parameter and the standard values of the third parameter corresponding to the respective values of the first parameter;
and the judging module is used for judging that mutual exclusion occurs between the current value of the first parameter and the current value of the second parameter if the current value of the second parameter is different from the standard value of the second parameter corresponding to the current value of the first parameter.
According to the mutual exclusion detection method and device, according to a current contrast relation table, aiming at each first parameter set by a user, if a current value of a second parameter related to the mutual exclusion relation with the first parameter is detected to be different from a standard value of the second parameter corresponding to the current value of the first parameter, the mutual exclusion of the first parameter and the second parameter is judged to occur, and the contrast relation table comprises standard values of other parameters respectively corresponding to the values of the first parameter, so that whether the parameter value set by the user at present is mutually exclusive or not is conveniently and accurately detected.
Drawings
FIG. 1 is a flowchart illustrating a mutual exclusion detection method according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a mutex detection apparatus according to a second embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention.
Fig. 1 is a schematic flow chart of a mutual exclusion detection method according to an embodiment of the present invention, as shown in fig. 1, the method includes:
101. determining a first parameter to be detected from parameters set by a user, and acquiring a current value of the first parameter.
Optionally, the parameter set by the user may be directly used as the first parameter, or, to further improve the efficiency of mutual exclusion detection, the parameter set by the user may be first screened, and the screened parameter is used as the first parameter, specifically, before 101, the method may further include:
determining the mutual exclusion parameters in the parameters set by the user according to the pre-stored identification of each mutual exclusion parameter related to the mutual exclusion relationship;
correspondingly, in 101, determining the first parameter to be detected from the parameters set by the user may specifically include:
and taking the mutual exclusion parameter in the parameters set by the user as the first parameter.
102. And inquiring a mutual exclusion relation table aiming at each first parameter, and determining a second parameter related to the mutual exclusion relation with the first parameter in the parameters set by the user, wherein the mutual exclusion relation table comprises an identifier of the parameter related to the mutual exclusion relation with each parameter.
Specifically, the first parameter and the second parameter mentioned in this embodiment relate to an exclusive relationship, which means that the value of the first parameter and the value of the second parameter may be mutually exclusive. Further, if the value of the first parameter and the value of the second parameter have no influence on each other under any condition, the two parameters do not relate to a mutual exclusion relationship. Still further, the aforementioned mutual exclusion parameter has at least one parameter related to a mutual exclusion relationship therewith.
103. And inquiring a first contrast relation table aiming at each second parameter to obtain a standard value of the second parameter corresponding to the current value of the first parameter, wherein the first contrast relation table comprises standard values of third parameters respectively corresponding to the values of the first parameter, the first parameter and the third parameters relate to mutual exclusion relation, the third parameters comprise the second parameters, and mutual exclusion does not occur between each value of the first parameter and the standard value of the third parameter corresponding to the value of the first parameter.
In practical application, each value of each parameter is preset, and a user often selects from the preset values when setting the parameter, so that each value of any parameter includes the current value of the parameter set by the user in this embodiment.
In order to more intuitively understand the scheme of the present embodiment, the following examples are set forth, and it is understood that the example given in the present embodiment is only one specific implementation manner of the present embodiment, and does not limit other implementation manners of the present embodiment.
For example, assume that the parameters set by the current user include a parameter and B parameter, and the a parameter and the B parameter relate to a mutually exclusive relationship. Taking the parameter A as a first parameter and the parameter B as a second parameter, wherein the value of the parameter A comprises A1And A2And the current value of the parameter A set by the user is A1
Inquiring the standard values of the B parameters corresponding to the values of the A parameters stored in the comparison relation table, and assuming that the values A of the A parameters are in the comparison relation table1The corresponding standard value of the B parameter is B1And the value of the parameter A2Normalization of corresponding B parametersA value of B2I.e. when the value of the A parameter is A1And the value of the B parameter is B1Or when the value of the A parameter is A2And the value of the B parameter is B2When the two are not mutually exclusive. It can be derived that the current value of the A parameter, namely A1The corresponding standard value of the B parameter is B1
104. And if the current value of the second parameter is different from the standard value of the second parameter corresponding to the current value of the first parameter, judging that mutual exclusion occurs between the current value of the first parameter and the current value of the second parameter.
Optionally, after 103, the method may further include: and if the current value of the second parameter is the same as the standard value of the second parameter, judging that mutual exclusion does not occur between the current value of the first parameter and the current value of the second parameter. Further, if the current value of each first parameter is not mutually exclusive with the current value of any parameter in the parameters set by the user, it can be said that the current value of the parameter set by the user is not mutually exclusive.
Specifically, based on the foregoing example, the current value a of the parameter a is obtained1Corresponding standard value B of B parameter1Then, obtaining the current value of the B parameter, and if the current value of the B parameter set by the user is B1If the current value of the parameter a set by the user is not the same as the current value of the parameter B, the mutual exclusion between the current value of the parameter a and the current value of the parameter B set by the user is not the same as the mutual exclusion between the current value of the parameter a and the current value of the parameter B1E.g. as B2Then, it can be known that the mutual exclusion occurs between the current value of the parameter a and the current value of the parameter B set by the user. It is understood that the above example is only a specific embodiment of the present embodiment, and does not limit other embodiments of the present embodiment.
Further, when it is found that the current value of the parameter set by the user is mutually exclusive, the mutual exclusion needs to be eliminated by a corresponding scheme, and after the mutual exclusion between the current value of the first parameter and the current value of the second parameter is determined in step 104, the method may further include:
sending a mutual exclusion message to the user, wherein the mutual exclusion message comprises the identifiers and the current values of the first parameter and the second parameter;
and performing corresponding processing according to the instruction returned by the user so as to prevent mutual exclusion between the current value of the first parameter and the current value of the second parameter.
In a first situation in this embodiment, a user may select the first parameter as a priority parameter, and perform matching update on a current value of the second parameter that is mutually exclusive from the priority parameter with reference to the priority parameter, so as to perform corresponding processing according to an instruction returned by the user, which may specifically include:
receiving a first selection instruction returned by the user, wherein the first selection instruction comprises an identifier of the first parameter;
and updating the current value of the second parameter to the standard value of the second parameter.
In a second situation in this embodiment, a user may select the second parameter as a priority parameter, and perform matching update on a current value of the first parameter that is mutually exclusive from the priority parameter with reference to the priority parameter, so as to perform corresponding processing according to an instruction returned by the user, which may specifically include:
receiving a second selection instruction returned by the user, wherein the second selection instruction comprises an identifier of the second parameter;
inquiring a second contrast relation table to obtain a standard value of the first parameter corresponding to the current value of the second parameter, wherein the second contrast relation table comprises standard values of fourth parameters corresponding to the values of the second parameter respectively, mutual exclusion relation is involved between the second parameter and the fourth parameters, the fourth parameters comprise the first parameters, and mutual exclusion does not occur between the values of the second parameter and the standard values of the fourth parameters corresponding to the values of the second parameter;
and updating the current value of the first parameter to the standard value of the first parameter.
In this embodiment, the first comparison relationship table and the second comparison relationship table may be separately and independently set, or may be uniformly set in the same comparison relationship table. The format of each reference relation table may be an Extensible Markup Language (XML) file format.
In a third situation in this embodiment, if a user may find that information stored in a current lookup table is incorrect, as another specific embodiment of this embodiment, the performing corresponding processing according to an instruction returned by the user may specifically include:
receiving a third selection instruction returned by the user, wherein the third selection instruction comprises the identifiers and the current values of the first parameter and the second parameter;
storing the current value of the first parameter as a standard value of the first parameter corresponding to the current value of the second parameter in the comparison relation table;
and storing the current value of the second parameter into the comparison relation table as the standard value of the second parameter corresponding to the current value of the first parameter.
And storing the current values of the first parameter and the second parameter as corresponding standard values in the comparison relation table without the restriction of the sequence.
By the embodiment, the information stored in the comparison relation table can be corrected and updated, so that the accuracy of mutual exclusion detection is improved.
In the mutual exclusion detection method provided in this embodiment, according to a current comparison relationship table, for each first parameter set by a user, if a current value of a second parameter related to a mutual exclusion relationship with the first parameter is detected to be different from a standard value of the second parameter corresponding to the current value of the first parameter, it is determined that the first parameter and the second parameter are mutually exclusive, and the comparison relationship table includes standard values of other parameters corresponding to the respective values of the first parameter, so as to conveniently and accurately detect whether the parameter value set by the user at present is mutually exclusive.
Fig. 2 is a schematic structural diagram of a mutual exclusion detection apparatus according to a second embodiment of the present invention, as shown in fig. 2, the apparatus includes: a first processing module 21, a first query module 22, a second query module 23 and a decision module 24; wherein,
the first processing module 21 is configured to determine a first parameter to be detected from parameters set by a user, and obtain a current value of the first parameter;
a first query module 22, configured to query, for each first parameter, a mutual exclusion relationship table, and determine a second parameter related to a mutual exclusion relationship with the first parameter in the parameters set by the user, where the mutual exclusion relationship table includes an identifier of a parameter related to a mutual exclusion relationship with each parameter;
a second query module 23, configured to query a first lookup table for each second parameter to obtain a standard value of the second parameter corresponding to a current value of the first parameter, where the first lookup table includes standard values of third parameters corresponding to respective values of the first parameter, the first parameter and the third parameter relate to an exclusive relationship, the third parameter includes the second parameter, and no mutual exclusion occurs between the respective values of the first parameter and the standard values of the third parameter corresponding to the respective values;
a determining module 24, configured to determine that a mutual exclusion occurs between the current value of the first parameter and the current value of the second parameter if the current value of the second parameter is different from the standard value of the second parameter corresponding to the current value of the first parameter.
Optionally, the first processing module 21 may directly use the parameter set by the user as the first parameter, or, to further improve the efficiency of mutual exclusion detection, may first screen the parameter set by the user, and use the screened parameter as the first parameter, where the apparatus may further include:
the screening unit is used for determining the mutual exclusion parameters in the parameters set by the user according to the pre-stored identification of each mutual exclusion parameter related to the mutual exclusion relationship; correspondingly, the first processing module 21 may be specifically configured to use a mutual exclusion parameter in the parameters set by the user as the first parameter, and obtain a current value of the first parameter.
In practical application, each value of each parameter is preset, and a user often selects from the preset values when setting the parameter, so that each value of any parameter includes the current value of the parameter set by the user in this embodiment.
Optionally, the determining module 24 may be further configured to determine that no mutual exclusion occurs between the current value of the first parameter and the current value of the second parameter if the current value of the second parameter is the same as the standard value of the second parameter corresponding to the current value of the first parameter.
Further, when it is found that the current value of the parameter set by the user is mutually exclusive, the mutual exclusion needs to be eliminated by a corresponding scheme, and the apparatus may further include:
a sending module, configured to send a mutual exclusion message to the user after the determining module 24 determines that a mutual exclusion occurs between the current value of the first parameter and the current value of the second parameter, where the mutual exclusion message includes an identifier and a current value of the first parameter and the second parameter;
and the second processing module is used for carrying out corresponding processing according to the instruction returned by the user so as to prevent mutual exclusion between the current value of the first parameter and the current value of the second parameter.
In a first situation in this embodiment, a user may select the first parameter as a priority parameter, and perform matching update on a current value of the second parameter that is mutually exclusive from the priority parameter with reference to the priority parameter, where as a specific embodiment of this embodiment, the second processing module specifically includes:
a first receiving unit, configured to receive a first selection instruction returned by the user, where the first selection instruction includes an identifier of the first parameter;
and the first updating unit is used for updating the current value of the second parameter into the standard value of the second parameter corresponding to the current value of the first parameter.
In a second situation in this embodiment, a user may select the second parameter as a priority parameter, and perform matching update on a current value of the first parameter that is mutually exclusive from the priority parameter with reference to the priority parameter, where as another specific embodiment of this embodiment, the second processing module specifically includes:
a second receiving unit, configured to receive a second selection instruction returned by the user, where the second selection instruction includes an identifier of the second parameter;
the query unit is configured to query a second contrast relationship table, to obtain a standard value of the first parameter corresponding to a current value of the second parameter, where the second contrast relationship table includes standard values of fourth parameters corresponding to respective values of the second parameter, the second parameter and the fourth parameter relate to a mutual exclusion relationship, the fourth parameter includes the first parameter, and mutual exclusion does not occur between each value of the second parameter and the corresponding standard value of the fourth parameter;
and the second updating unit is used for updating the current value of the first parameter into the standard value of the first parameter corresponding to the current value of the second parameter.
In a third case of the present embodiment, if a user may find that the information stored in the current mapping table is incorrect, as another specific embodiment of the present embodiment, the second processing module includes:
a third receiving unit, configured to receive a third selection instruction returned by the user, where the third selection instruction includes an identifier and a current value of the first parameter and the second parameter;
a storage unit, configured to store the current value of the first parameter as a standard value of the first parameter corresponding to the current value of the second parameter in the comparison relationship table;
the storage unit is further configured to store the current value of the second parameter as a standard value of the second parameter corresponding to the current value of the first parameter in the comparison relationship table.
By the embodiment, the information stored in the comparison relation table can be corrected and updated, so that the accuracy of mutual exclusion detection is improved.
The mutual exclusion detection apparatus provided in this embodiment, according to a current comparison table, for each first parameter set by a user, if it is detected that a current value of a second parameter related to a mutual exclusion relationship with the first parameter is different from a standard value of the second parameter corresponding to the current value of the first parameter, it is determined that the first parameter and the second parameter are mutually exclusive, and the comparison table includes standard values of other parameters corresponding to respective values of the first parameter, so as to conveniently and accurately detect whether the parameter value set by the user currently is mutually exclusive.
It is to be understood that the apparatus of this embodiment may also be implemented in other ways, and the above-described embodiments of the apparatus are only illustrative, for example, the division of the modules and units is only a logical division, and there may be other divisions in actual implementation, for example, each functional unit may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working process of the apparatus described above may refer to the corresponding process in the foregoing method embodiment, and is not described herein again.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (10)

1. A mutual exclusion detection method is characterized by comprising the following steps:
determining a first parameter to be detected from parameters set by a user, and acquiring a current value of the first parameter;
for each first parameter, inquiring a mutual exclusion relationship table, and determining a second parameter related to a mutual exclusion relationship with the first parameter in the parameters set by the user, wherein the mutual exclusion relationship table comprises an identifier of the parameter related to the mutual exclusion relationship with each parameter;
for each second parameter, querying a first contrast relation table to obtain a standard value of the second parameter corresponding to a current value of the first parameter, where the first contrast relation table includes standard values of third parameters corresponding to respective values of the first parameter, the first parameter and the third parameters relate to a mutual exclusion relation, the third parameters include the second parameters, and mutual exclusion does not occur between the respective values of the first parameter and the standard values of the third parameters corresponding to the respective values;
and if the current value of the second parameter is different from the standard value of the second parameter corresponding to the current value of the first parameter, judging that mutual exclusion occurs between the current value of the first parameter and the current value of the second parameter.
2. The method of claim 1, wherein after determining that the mutual exclusion occurs between the current value of the first parameter and the current value of the second parameter, the method further comprises:
sending a mutual exclusion message to the user, wherein the mutual exclusion message comprises the identifiers and the current values of the first parameter and the second parameter;
and performing corresponding processing according to the instruction returned by the user so as to prevent mutual exclusion between the current value of the first parameter and the current value of the second parameter.
3. The method according to claim 2, wherein the performing corresponding processing according to the selection instruction returned by the user specifically includes:
receiving a first selection instruction returned by the user, wherein the first selection instruction comprises an identifier of the first parameter;
and updating the current value of the second parameter to the standard value of the second parameter corresponding to the current value of the first parameter.
4. The method according to claim 2, wherein the performing corresponding processing according to the selection instruction returned by the user specifically includes:
receiving a second selection instruction returned by the user, wherein the second selection instruction comprises an identifier of the second parameter;
inquiring a second contrast relation table to obtain a standard value of the first parameter corresponding to the current value of the second parameter, wherein the second contrast relation table comprises standard values of fourth parameters corresponding to the values of the second parameter respectively, mutual exclusion relation is involved between the second parameter and the fourth parameters, the fourth parameters comprise the first parameters, and mutual exclusion does not occur between the values of the second parameter and the standard values of the fourth parameters corresponding to the values of the second parameter;
and updating the current value of the first parameter to the standard value of the first parameter corresponding to the current value of the second parameter.
5. The method according to claim 2, wherein the performing corresponding processing according to the selection instruction returned by the user specifically includes:
receiving a third selection instruction returned by the user, wherein the third selection instruction comprises the identifiers and the current values of the first parameter and the second parameter;
storing the current value of the first parameter as a standard value of the first parameter corresponding to the current value of the second parameter in the comparison relation table;
and storing the current value of the second parameter into the comparison relation table as the standard value of the second parameter corresponding to the current value of the first parameter.
6. A mutual exclusion detection apparatus, comprising:
the first processing module is used for determining a first parameter to be detected from parameters set by a user and acquiring the current value of the first parameter;
a first query module, configured to query, for each first parameter, a mutual exclusion relationship table, and determine a second parameter related to a mutual exclusion relationship with the first parameter in the parameters set by the user, where the mutual exclusion relationship table includes an identifier of a parameter related to a mutual exclusion relationship with each parameter;
a second query module, configured to query a first lookup table for each second parameter to obtain a standard value of the second parameter corresponding to a current value of the first parameter, where the first lookup table includes standard values of third parameters corresponding to respective values of the first parameter, the first parameter and the third parameter relate to an exclusive relationship, the third parameter includes the second parameter, and mutual exclusion does not occur between the respective values of the first parameter and the standard values of the third parameter corresponding to the respective values of the first parameter;
and the judging module is used for judging that mutual exclusion occurs between the current value of the first parameter and the current value of the second parameter if the current value of the second parameter is different from the standard value of the second parameter corresponding to the current value of the first parameter.
7. The apparatus of claim 6, further comprising:
a sending module, configured to send a mutual exclusion message to the user after the determining module determines that a mutual exclusion occurs between the current value of the first parameter and the current value of the second parameter, where the mutual exclusion message includes an identifier and a current value of the first parameter and the second parameter;
and the second processing module is used for carrying out corresponding processing according to the instruction returned by the user so as to prevent mutual exclusion between the current value of the first parameter and the current value of the second parameter.
8. The apparatus of claim 7, wherein the second processing module comprises:
a first receiving unit, configured to receive a first selection instruction returned by the user, where the first selection instruction includes an identifier of the first parameter;
and the first updating unit is used for updating the current value of the second parameter into the standard value of the second parameter corresponding to the current value of the first parameter.
9. The apparatus of claim 7, wherein the second processing module comprises:
a second receiving unit, configured to receive a second selection instruction returned by the user, where the second selection instruction includes an identifier of the second parameter;
the query unit is configured to query a second contrast relationship table, to obtain a standard value of the first parameter corresponding to a current value of the second parameter, where the second contrast relationship table includes standard values of fourth parameters corresponding to respective values of the second parameter, the second parameter and the fourth parameter relate to a mutual exclusion relationship, the fourth parameter includes the first parameter, and mutual exclusion does not occur between each value of the second parameter and the corresponding standard value of the fourth parameter;
and the second updating unit is used for updating the current value of the first parameter into the standard value of the first parameter corresponding to the current value of the second parameter.
10. The apparatus of claim 7, wherein the second processing module comprises:
a third receiving unit, configured to receive a third selection instruction returned by the user, where the third selection instruction includes an identifier and a current value of the first parameter and the second parameter;
a storage unit, configured to store the current value of the first parameter as a standard value of the first parameter corresponding to the current value of the second parameter in the comparison relationship table;
the storage unit is further configured to store the current value of the second parameter as a standard value of the second parameter corresponding to the current value of the first parameter in the comparison relationship table.
CN201410009517.7A 2014-01-09 2014-01-09 Mutual exclusion detection method and device Expired - Fee Related CN104778115B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410009517.7A CN104778115B (en) 2014-01-09 2014-01-09 Mutual exclusion detection method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410009517.7A CN104778115B (en) 2014-01-09 2014-01-09 Mutual exclusion detection method and device

Publications (2)

Publication Number Publication Date
CN104778115A true CN104778115A (en) 2015-07-15
CN104778115B CN104778115B (en) 2017-08-25

Family

ID=53619595

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410009517.7A Expired - Fee Related CN104778115B (en) 2014-01-09 2014-01-09 Mutual exclusion detection method and device

Country Status (1)

Country Link
CN (1) CN104778115B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107704557A (en) * 2017-09-28 2018-02-16 金蝶蝶金云计算有限公司 Processing method, device, computer equipment and the storage medium of operation mutual exclusion data
CN111105312A (en) * 2019-12-26 2020-05-05 中国银行股份有限公司 Product testing method, system and equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101359283A (en) * 2008-09-17 2009-02-04 北大方正集团有限公司 Template parameter mutex processing method and system for customer terminal of print control unit
CN101765112A (en) * 2009-12-22 2010-06-30 中国联合网络通信集团有限公司 Value added service mutually exclusive authentication method and device
CN102103760A (en) * 2009-12-18 2011-06-22 北大方正集团有限公司 Typesetting method and system for text layout excluded by images
CN103218291A (en) * 2013-03-29 2013-07-24 迈普通信技术股份有限公司 Detecting method and device for abnormity of mutual exclusion semaphore in multi-task operation system
JP5423876B2 (en) * 2010-03-25 2014-02-19 富士通株式会社 Verification support program, verification support apparatus, and verification support method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101359283A (en) * 2008-09-17 2009-02-04 北大方正集团有限公司 Template parameter mutex processing method and system for customer terminal of print control unit
CN102103760A (en) * 2009-12-18 2011-06-22 北大方正集团有限公司 Typesetting method and system for text layout excluded by images
CN101765112A (en) * 2009-12-22 2010-06-30 中国联合网络通信集团有限公司 Value added service mutually exclusive authentication method and device
JP5423876B2 (en) * 2010-03-25 2014-02-19 富士通株式会社 Verification support program, verification support apparatus, and verification support method
CN103218291A (en) * 2013-03-29 2013-07-24 迈普通信技术股份有限公司 Detecting method and device for abnormity of mutual exclusion semaphore in multi-task operation system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
陈胜 等: "RBAC模型中角色互斥研究及应用", 《计算机技术与发展》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107704557A (en) * 2017-09-28 2018-02-16 金蝶蝶金云计算有限公司 Processing method, device, computer equipment and the storage medium of operation mutual exclusion data
CN107704557B (en) * 2017-09-28 2019-12-10 金蝶蝶金云计算有限公司 Processing method and device for operating mutually exclusive data, computer equipment and storage medium
CN111105312A (en) * 2019-12-26 2020-05-05 中国银行股份有限公司 Product testing method, system and equipment
CN111105312B (en) * 2019-12-26 2024-02-09 中国银行股份有限公司 Product testing method, system and equipment

Also Published As

Publication number Publication date
CN104778115B (en) 2017-08-25

Similar Documents

Publication Publication Date Title
US9872132B2 (en) Information processing apparatus and method of deciding correction amount in the information processing apparatus
US20150193296A1 (en) Run-time error repairing method, device and system
GB2606111A (en) Partially-ordered blockchain
CN106095432B (en) Method for identifying application type
CN112269588B (en) Algorithm upgrading method, device, terminal and computer readable storage medium
CN110866555A (en) Incremental data clustering method, device and equipment and readable storage medium
CN104778115B (en) Mutual exclusion detection method and device
CN108984328B (en) Stack backtracking method and device
KR20150118901A (en) Printing apparatus capable of counting the number of times of printing, method for controlling printing apparatus, and storage medium
CN112927247A (en) Graph cutting method based on target detection, graph cutting device and storage medium
CN112306004B (en) Semiconductor process recipe management method and system
KR101875301B1 (en) Hotknot based proximity detection method, apparatus and touch screen terminal
JP2016153992A5 (en)
CN107769947B (en) Method, device and equipment for replacing customized skin
CN117193088A (en) Industrial equipment monitoring method and device and server
TW201520906A (en) Image registration method
CN109962809B (en) Alarm forwarding processing method and device
KR102481797B1 (en) Server, electronic apparatus and controlling method thereof
CN110532274A (en) Configuration linkage method and device
CN117676550A (en) Reporting and processing method of terminal capability, terminal equipment, network equipment and medium
US8898589B2 (en) Flattening a subset of configuration user interface (UI) panels in a hierarchy of UI panels
CN110188748B (en) Image content identification method, device and computer readable storage medium
CN106503005B (en) Information processing method and terminal
US11395165B2 (en) Method for configuring user equipment measurement parameters and user equipment
CN109324871B (en) Virtual machine hardware configuration method and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20170825

Termination date: 20180109

CF01 Termination of patent right due to non-payment of annual fee