CN115567411A - Service supply and demand matching method, device, equipment and storage medium - Google Patents

Service supply and demand matching method, device, equipment and storage medium Download PDF

Info

Publication number
CN115567411A
CN115567411A CN202211158876.XA CN202211158876A CN115567411A CN 115567411 A CN115567411 A CN 115567411A CN 202211158876 A CN202211158876 A CN 202211158876A CN 115567411 A CN115567411 A CN 115567411A
Authority
CN
China
Prior art keywords
service
matching
demand
quality index
information
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
CN202211158876.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.)
Sichuan Sac Communication Technology Co ltd
Original Assignee
Sichuan Sac Communication 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 Sichuan Sac Communication Technology Co ltd filed Critical Sichuan Sac Communication Technology Co ltd
Priority to CN202211158876.XA priority Critical patent/CN115567411A/en
Publication of CN115567411A publication Critical patent/CN115567411A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/50Network service management, e.g. ensuring proper service fulfilment according to agreements
    • H04L41/5041Network service management, e.g. ensuring proper service fulfilment according to agreements characterised by the time relationship between creation and deployment of a service
    • H04L41/5051Service on demand, e.g. definition and deployment of services in real time
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0893Assignment of logical groups to network elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/50Network service management, e.g. ensuring proper service fulfilment according to agreements
    • H04L41/5003Managing SLA; Interaction between SLA and QoS
    • H04L41/5009Determining service level performance parameters or violations of service level contracts, e.g. violations of agreed response time or mean time between failures [MTBF]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/50Network service management, e.g. ensuring proper service fulfilment according to agreements
    • H04L41/5041Network service management, e.g. ensuring proper service fulfilment according to agreements characterised by the time relationship between creation and deployment of a service

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention relates to an artificial intelligence technology, and discloses a service supply and demand matching method, which comprises the following steps: acquiring request information of service requirements and parameter information of a service provider; calculating a task quality index based on the request information and calculating an information quality index according to the parameter information; sending a pre-matching request to a corresponding service requirement according to the task quality index, and determining a pre-matching result according to the information quality index; constructing a demand preference list according to the task quality index and a service preference list according to the information quality index, and performing stable matching on the demand preference list and the service preference list to obtain a stable matching result; adding the stable matching result into the pre-matching result to obtain a final matching result; and generating an intelligent contract based on the final matching result, and storing the intelligent contract in the pre-constructed alliance chain node. The invention also provides a service supply and demand matching device, electronic equipment and a storage medium. The invention can improve the satisfaction of both service supply and demand parties.

Description

Service supply and demand matching method, device, equipment and storage medium
Technical Field
The invention relates to the technical field of artificial intelligence, in particular to a service supply and demand matching method and device, electronic equipment and a computer readable storage medium.
Background
For example, a plurality of business processes are usually required in an industrial value chain of each industry, a plurality of business links are involved in an automobile industrial value chain, a plurality of business processes such as research and development, purchase, logistics, manufacturing and the like are often required in a production process of a finished automobile, manufacturing resource requirements and manufacturing resource services involved also have the characteristics of high individuation and differentiation, and how to establish a connection between the individuation requirements and the differentiated services to meet the requirements of an enterprise in an actual business scene becomes a problem to be solved urgently.
Most of the existing supply and demand matching only considers the unilateral preference of the manufacturing service demand, but due to the limitation of service resources and service cost, the satisfaction of both service supply and demand parties is low because only the benefit preference of a demand party is considered and the benefit of a manufacturing service provider is not considered, and the development of the manufacturing service supply and demand industry is not facilitated.
Disclosure of Invention
The invention provides a service supply and demand matching method, a service supply and demand matching device and a computer readable storage medium, and mainly aims to solve the problem that satisfaction of supply and demand parties is low when service supply and demand matching is carried out.
In order to achieve the above object, the present invention provides a service supply and demand matching method, including:
acquiring request information of issued service demands and parameter information of available service providers;
calculating a task quality index of each service demand based on the request information and calculating an information quality index of each service provider based on the parameter information;
sending a pre-matching request to the corresponding service requirement according to the task quality index of each service requirement by adopting a quick sorting method, and determining a pre-matching result according to the information quality index corresponding to each service provider;
constructing a corresponding demand preference list according to the task quality index, constructing a corresponding service preference list according to the information quality index, and matching the demand preference list and the service preference list by using a stable matching algorithm to obtain a stable matching result;
adding the stable matching result to the pre-matching result to obtain a final matching result;
and generating an intelligent contract based on the final matching result, and storing the intelligent contract to a pre-constructed alliance chain node.
Optionally, the calculating a task quality indicator for each of the service demands based on the request information includes:
acquiring credit degree of the service requirement, minimum payment amount and Euclidean distance between the service requirement and a service provider based on the request information;
and calculating the task quality index by using a preset task quality index calculation formula according to the credit degree, the minimum payment amount and the Euclidean distance.
Optionally, the calculating the task quality index according to the reputation, the minimum payment amount, and the euclidean distance by using a preset task quality index calculation formula includes:
calculating the task quality index using the following task quality index formula:
Figure BDA0003859989320000021
wherein, the QoT is a task quality index, rep T Creditworthiness, min, for service requirements pay Minimum payment amount for service demand, d st Is the euclidean distance to the service provider.
Optionally, the calculating the information quality indicator of each service provider based on the parameter information includes:
acquiring the credit degree of the service provider, the expected completion time of the service and the Euclidean distance between the expected completion time and the service requirement based on the parameter information;
and calculating the corresponding information quality index by using a preset information quality index formula according to the credit degree, the expected completion time and the Euclidean distance.
Optionally, the sending, by using a fast ranking method, a pre-matching request to a corresponding service demand according to the task quality index of each service demand, and determining a pre-matching result according to the information quality index corresponding to each service provider includes:
sending a pre-matching request to the service requirement with the highest task quality index by each service provider to obtain a pre-matching request list of each service requirement;
judging whether the number of the pre-matching requests in the pre-matching request list is less than the number of preset manufacturing service providers allowing matching or not;
when the number of the pre-matching requests is less than the number of preset manufacturing service providers allowing matching, each pre-matching request in the pre-matching request list is received to obtain a pre-matching result;
when the number of the pre-matching requests is not less than the number of preset manufacturing service providers allowing matching, performing rapid descending sorting on the pre-matching request list according to the information quality index to obtain a pre-matching list;
and receiving a preset number of pre-matching requests of manufacturing service providers allowing matching from the pre-matching list to obtain a pre-matching result.
Optionally, the matching the demand preference list and the service preference list by using a stable matching algorithm to obtain a stable matching result includes:
selecting one service provider in the demand preference list as a target provider one by one;
sending stable matching requests to the service demands in the demand preference list corresponding to the target provider one by one to obtain a stable matching list of each service demand;
and performing stable matching on the service demand and the service provider by using a GSM stable matching algorithm based on the stable matching list to obtain a stable matching result.
Optionally, the generating an intelligent contract based on the final matching result includes:
acquiring a preset service execution logic of the intelligent contract according to the final matching result;
determining an intelligent contract template according to the service execution logic, wherein the intelligent contract template comprises a plurality of data operation rules;
and writing the final matching result into the intelligent contract template based on the data operation rule to obtain an intelligent contract.
In order to solve the above problem, the present invention further provides a service supply and demand matching apparatus, including:
the information acquisition module is used for acquiring request information of issued service demands and parameter information of available service providers;
the quality index calculation module is used for calculating the task quality index of each service demand based on the request information and calculating the information quality index of each service provider based on the parameter information;
the pre-matching module is used for sending a pre-matching request to the corresponding service requirement according to the task quality index of each service requirement by adopting a rapid sequencing method and determining a pre-matching result according to the information quality index corresponding to each service provider;
the stable matching module is used for constructing a corresponding demand preference list according to the task quality index, constructing a corresponding service preference list according to the information quality index, and matching the demand preference list and the service preference list by using a stable matching algorithm to obtain a stable matching result;
the matching result determining module is used for adding the stable matching result into the pre-matching result to obtain a final matching result;
and the intelligent contract generating module is used for generating an intelligent contract based on the final matching result and storing the intelligent contract to a pre-constructed alliance chain node.
In order to solve the above problem, the present invention also provides an electronic device, including:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein,
the memory stores a computer program executable by the at least one processor, the computer program being executable by the at least one processor to enable the at least one processor to perform the service supply and demand matching method described above.
In order to solve the above problem, the present invention further provides a computer-readable storage medium, in which at least one computer program is stored, and the at least one computer program is executed by a processor in an electronic device to implement the service supply and demand matching method described above.
The embodiment of the invention calculates the task quality index of the service demand and the information quality index of the service provider; sending a pre-matching request to a corresponding service requirement according to a task quality index, determining a matching result of the pre-matching request according to an information quality index corresponding to each service provider, and taking the task quality index and the information quality index as matching bases of a supply and demand party, so that the matching satisfaction of the supply and demand party can be improved; constructing a corresponding demand preference list and a service preference list according to the task quality index and the information quality index, and matching the demand preference list and the service preference list by using a stable matching algorithm to obtain stable matching results, so that each stable matching result has the highest matching degree, and each service demand can be distributed to a corresponding service provider; adding the stable matching result into the pre-matching result to obtain a final matching result, wherein the final matching result takes the stability of the supply and demand relationship and the preference of both the supply and demand parties into account, so that the satisfaction of both the supply and demand parties can be effectively improved; and generating an intelligent contract based on the final matching result and reaching the pre-constructed alliance chain node, so that the supply and demand parties can simultaneously trace the state of the matching result, and the satisfaction of the supply and demand parties is further improved. Therefore, the service supply and demand matching method, the service supply and demand matching device, the electronic equipment and the computer readable storage medium can solve the problem that satisfaction of supply and demand parties is low when service supply and demand matching is carried out.
Drawings
Fig. 1 is a schematic flow chart of a service supply and demand matching method according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart of pre-matching according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a process for building a requirement preference list according to an embodiment of the present invention;
FIG. 4 is a schematic flow chart of a stable matching process according to an embodiment of the present invention;
FIG. 5 is a functional block diagram of a service supply and demand matching apparatus according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of an electronic device for implementing the service supply and demand matching method according to an embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The embodiment of the application provides a service supply and demand matching method. The execution subject of the service supply and demand matching method includes, but is not limited to, at least one of electronic devices such as a server and a terminal that can be configured to execute the method provided by the embodiments of the present application. In other words, the service supply and demand matching method may be performed by software or hardware installed in the terminal device or the server device, and the software may be a block chain platform. The server includes but is not limited to: a single server, a server cluster, a cloud server or a cloud server cluster, and the like. The server may be an independent server, or may be a cloud server that provides basic cloud computing services such as a cloud service, a cloud database, cloud computing, a cloud function, cloud storage, a Network service, cloud communication, a middleware service, a domain name service, a security service, a Content Delivery Network (CDN), a big data and artificial intelligence platform, and the like.
Fig. 1 is a schematic flow chart of a service supply and demand matching method according to an embodiment of the present invention. In this embodiment, the service supply and demand matching method includes:
s1, acquiring request information of issued service demands and parameter information of available service providers;
in the embodiment of the present invention, the request information of the service requirement is information of a demand party about the requirement and basic information of the demand party, including, but not limited to, a demand budget, an expected target of the requirement, geographical location information, identity information, reputation, the number of service providers allowed to be matched, and the like, and the parameter information of the service providers includes parameter information such as historical evaluation information, an average completion period of the service, a demand reward, and an euclidean distance between the service requirement and the service provider, so as to evaluate the capability of the service provider in completing the service requirement.
In the embodiment of the present invention, a computer sentence (Python sentence, java sentence, or the like) having a data fetching function may be fetched from a storage space containing the request information and the parameter information, where the storage space may be a website for issuing a service requirement, a website for a service provider, a public number, or the like.
S2, calculating a task quality index of each service demand based on the request information and calculating an information quality index of each service provider based on the parameter information;
in the embodiment of the present invention, the task Quality indicator (QoT, quality of Tasks) is used to evaluate the reliability of the service requirement, and the Information Quality indicator (QoI, quality of Information) is used to reflect the capability of the service provider to execute a specific service requirement.
In detail, the calculating of the task quality indicator for each of the service demands based on the request information includes:
calculating the credit degree of the request information to obtain the service requirement, the minimum payment amount and the Euclidean distance between the request information and the service provider;
and calculating the task quality index by using a preset task quality index calculation formula according to the credit degree, the minimum payment amount and the Euclidean distance.
In detail, the embodiment of the present invention calculates the task quality index using the following task quality index formula:
Figure BDA0003859989320000061
wherein, the QoT is a task quality index, rep T Creditworthiness, min, for service demand pay Minimum payment amount for service demand, d st Is the euclidean distance to the service provider.
In the embodiment of the invention, the credibility represents the credibility of the service requirement, and is related to the requirement completion condition of each service requirement, and in the initial stage, the credibility can be set as an initial value and then updated according to the completion condition of each service.
One embodiment of the invention can utilize the following reputation degree calculation formula to calculate the reputation degree of the service requirement:
Figure BDA0003859989320000062
wherein the Rep T The credibility of the service demand is determined, gamma is a preset influence parameter, rep is an initial credibility, canceledReuests is the quantity of the service demands cancelled by the service demand publisher, and TotalRequests is the quantity of all the service demands published by the service demand publisher.
Further, the minimum payment amount is the minimum demand reward obtained in the manufacturing service demand, and is an important reference for the manufacturing service provider in selecting the manufacturing service demand.
The embodiment of the invention can calculate the minimum payment amount of the demander by using the following formula:
Figure BDA0003859989320000071
wherein, the min pay Is the minimum payment amount, beta is the influence degree of the current service demand on the demand budget, n t To allow the number of manufacturing service providers to match.
In the embodiment of the invention, the numerical value of beta is influenced according to the service emergency degree and the like of the service demand, the specific beta can be preset manually, meanwhile, one service demand may need a plurality of service providers to provide services together, n t The number of service providers allowed by a service requirement is specified.
In detail, the calculating of the information quality indicator of each service provider based on the parameter information includes:
acquiring the credit degree of the service provider, the expected completion time of the service and the Euclidean distance between the expected completion time and the service requirement based on the parameter information;
and calculating the corresponding information quality index by using a preset information quality index formula according to the credit degree, the expected completion time and the Euclidean distance.
Further, the embodiment of the invention calculates the information quality index by using the following information quality index formula:
Figure BDA0003859989320000072
wherein, the QoI is an information quality index, and the Rep I The CT is credit degree of service provider t For the expected completion time of the service, d st Is the euclidean distance to the service requirements.
Specifically, the Rep I The reputation degree of the service provider can be calculated by the reputation degree calculating method for calculating the reputation degree of the service requirement, which is not described herein again.
In the embodiment of the invention, the task quality index and the information quality index are used as the matching basis of the supply and demand parties, and the supply and demand parties match according to the corresponding quality indexes, so that the satisfaction of the supply and demand parties can be improved.
S3, sending a pre-matching request to the corresponding service requirement according to the task quality index of each service requirement by adopting a quick sequencing method, and determining a pre-matching result according to the information quality index corresponding to each service provider;
in the embodiment of the invention, the quick sequencing method is a method that each service provider only sends a pre-matching request to the corresponding service requirement with the highest task quality index, and the service requirement judges whether to accept the pre-matching request according to requirement preference.
In detail, referring to fig. 2, the sending a pre-matching request to a corresponding service demand according to a task quality index of each service demand by using a fast sorting method, and determining a pre-matching result according to an information quality index corresponding to each service provider includes:
s21, each service provider sends a pre-matching request to the service requirement with the highest task quality index to obtain a pre-matching request list of each service requirement;
s22, judging whether the number of the pre-matching requests in the pre-matching request list is less than the number of preset manufacturing service providers allowing matching or not;
s23, when the number of the pre-matching requests is less than the number of preset manufacturing service providers allowing matching, each pre-matching request in the pre-matching request list is received to obtain a pre-matching result;
s24, when the number of the pre-matching requests is not less than the number of preset manufacturing service providers allowing matching, performing rapid descending sorting on the pre-matching request list according to the information quality index to obtain a pre-matching list;
and S25, receiving a preset number of pre-matching requests of the manufacturing service providers allowing matching from the pre-matching list to obtain a pre-matching result.
Specifically, in the embodiment of the present invention, the service provider can only send the pre-matching request to the service requirement with the highest task index quality, that is, one service provider can only send the service requirement to one service requirement until each degree of service requirement matches the preset number of service providers.
In the embodiment of the invention, the service provider sends the pre-matching request according to the task quality index, the service requester selectively matches according to the information quality index of the service provider, and meanwhile, the preference of the service provider and the service requirement is considered, so that the satisfaction of both the supply and the demand can be effectively improved.
S4, constructing a corresponding demand preference list according to the task quality index, constructing a corresponding service preference list according to the information quality index, and matching the demand preference list and the service preference list by using a stable matching algorithm to obtain a stable matching result;
in the embodiment of the invention, the demand preference list and the service preference list are obtained by constructing the service demand and the service provider in descending order based on the numerical values of the task quality index and the information quality index.
In another embodiment of the present invention, the stable matching algorithm is a method for ensuring that each service requirement can be matched with a service provider with a high matching degree, so that each service requirement is in a stable release state, and the stability of the supply and demand relationship is ensured.
In detail, before the building the demand preference list according to the task quality index, the method further includes:
traversing Euclidean distances between each service provider and the service requirement, and judging whether the Euclidean distances meet a preset range;
and deleting the task quality index of which the Euclidean distance does not meet the preset range to obtain a final task quality index.
The embodiment of the invention can construct a corresponding demand preference list according to the final task quality index.
In detail, referring to fig. 3, the constructing a corresponding demand preference list according to the task quality index includes:
s31, acquiring corresponding list object information based on the task indexes;
s32, binding the list object information with corresponding task quality indexes to obtain a plurality of list data;
and S33, sequencing the plurality of list data in a descending order according to the task quality index to obtain a demand preference list.
In the embodiment of the invention, the list object information can be information which directly reflects service demand conditions, such as identity identification information and demand budget information in the request information, list data is generated according to the list object information and the task quality index, and the information of each service demand is visually displayed in the demand preference list.
In another embodiment of the present invention, the service preference list may be constructed by using the method for constructing a demand preference list according to the parameter information of the service provider, which is not described herein again.
Further, referring to fig. 4, the matching the demand preference list and the service preference list by using the stable matching algorithm to obtain a stable matching result includes:
s41, selecting one service provider in the demand preference list as a target provider one by one;
s42, sending stable matching requests to the service requirements in the requirement preference list corresponding to the target provider one by one to obtain a stable matching list of each service requirement;
and S43, based on the stable matching list, performing stable matching on the service demand and the service provider by using a GSM stable matching algorithm to obtain a stable matching result.
Specifically, in the embodiment of the present invention, a stable matching algorithm obtained by improving a bell-Sha Puli (Gale-sharing Match, GSM for short) algorithm needs to perform stable matching according to a service requirement and a preference list corresponding to the service provider, so as to implement stable high-quality supply and demand matching.
Further, the GSM stable matching algorithm selects a service requirement with the highest preference and without rejecting a service provider from a stable matching list as a matching suggestion, continuously monitors the stable matching list, and replaces the matching suggestion when a service provider with a higher preference appears until stable matching requests of all service providers are traversed.
In the embodiment of the invention, the demand preference list and the service preference list are used as matching bases between service demands and service providers, so that bidirectional matching between the two parties of supply and demand services is facilitated, and simultaneously, each service demand is stably matched by using a GSM stable matching algorithm, so that each stable matching result has the highest matching degree, and each service demand can be distributed to the corresponding service provider.
And S5, adding the stable matching result into the pre-matching result to obtain a final matching result.
In the embodiment of the invention, the pre-matching is mainly based on the information quality index and the task quality, so that not every service requirement can be matched with the corresponding service provider.
And S6, generating an intelligent contract based on the final matching result, and storing the intelligent contract to a pre-constructed alliance chain node.
In the embodiment of the invention, the intelligent Contract is a transactional digital agreement, and the intelligent Contract can store preset agreement terms, verify the agreement terms and automatically execute the agreement terms, wherein the embodiment of the invention comprises a demand management intelligent Contract (TMC) for maintaining a demand list of a service demand publisher; a User Manager Contract (UMC) for maintaining a request preference list and a service preference list of registered service requests issuer and provider; a Task Detailed intelligent Contract (TDC) for updating the execution progress of each service demand in time.
In another embodiment of the present invention, the federation link node is one node in a block chain managed by both the supply and demand parties, and both the supply and demand parties operate as a federation chain to jointly maintain the health of the block chain.
In detail, the generating of the intelligent contract based on the final matching result includes:
acquiring a preset service execution logic of the intelligent contract according to the final matching result;
determining an intelligent contract template according to the service execution logic, wherein the intelligent contract template comprises a plurality of data operation rules;
and writing the final matching result into the intelligent contract template based on the data operation rule to obtain an intelligent contract.
In the embodiment of the invention, because the intelligent contract comprises a demand management intelligent contract, a user management intelligent contract and a task detail intelligent contract, corresponding service execution logic can be obtained according to different intelligent contracts, such as: and a plurality of execution interfaces in the intelligent contract for demand management acquire the execution condition of the final matching result in real time so as to maintain the service demand list, and then determine a corresponding intelligent contract template according to different business execution logics to obtain the intelligent contract.
In the embodiment of the invention, the final matching result is stored in the pre-constructed alliance chain node in the form of an intelligent contract, so that the execution process between the supply and demand parties can be more efficient, transparent and autonomous, meanwhile, the credibility and traceability of the final matching result are ensured by utilizing the alliance chain, and the satisfaction of the supply and demand parties is further improved.
The embodiment of the invention calculates the task quality index of the service demand and the information quality index of the service provider; sending a pre-matching request to a corresponding service requirement according to a task quality index, determining a matching result of the pre-matching request according to an information quality index corresponding to each service provider, and taking the task quality index and the information quality index as matching bases of a supply and demand party, so that the matching satisfaction of the supply and demand party can be improved; constructing a corresponding demand preference list and a service preference list according to the task quality index and the information quality index, and matching the demand preference list and the service preference list by using a stable matching algorithm to obtain stable matching results, so that each stable matching result has the highest matching degree and each service demand can be distributed to a corresponding service provider; adding the stable matching result into the pre-matching result to obtain a final matching result, wherein the final matching result takes the stability of the supply and demand relationship and the preference of both the supply and demand parties into account, so that the satisfaction of both the supply and demand parties can be effectively improved; and generating an intelligent contract based on the final matching result and reaching the pre-constructed alliance chain node, so that the supply and demand parties can simultaneously trace the state of the matching result, and the satisfaction of the supply and demand parties is further improved. Therefore, the service supply and demand matching method provided by the invention can solve the problem of low satisfaction of supply and demand parties when the service supply and demand are matched.
Fig. 5 is a functional block diagram of a service supply and demand matching apparatus according to an embodiment of the present invention.
The service supply and demand matching apparatus 100 of the present invention can be installed in an electronic device. According to the realized functions, the service supply and demand matching device 100 may include an information obtaining module 101, a quality index calculating module 102, a pre-matching module 103, a stable matching module 104, a matching result determining module 105, and an intelligent contract generating module 106. The module of the present invention, which may also be referred to as a unit, refers to a series of computer program segments that can be executed by a processor of an electronic device and that can perform a fixed function, and that are stored in a memory of the electronic device.
In the present embodiment, the functions of the respective modules/units are as follows:
the information obtaining module 101 is configured to obtain request information of a published service demand and parameter information of an available service provider;
the quality index calculation module 102 is configured to calculate a task quality index of each service requirement based on the request information and calculate an information quality index of each service provider based on the parameter information;
the pre-matching module 103 is configured to send a pre-matching request to a corresponding service demand according to a task quality index of each service demand by using a fast sorting method, and determine a pre-matching result according to an information quality index corresponding to each service provider;
the stable matching module 104 is configured to construct a corresponding demand preference list according to the task quality index, construct a corresponding service preference list according to the information quality index, and match the demand preference list and the service preference list by using a stable matching algorithm to obtain a stable matching result;
the matching result determining module 105 is configured to add the stable matching result to the pre-matching result to obtain a final matching result;
and the intelligent contract generating module 106 is used for generating an intelligent contract based on the final matching result and storing the intelligent contract to the pre-constructed alliance link node.
In detail, when the modules in the service supply and demand matching apparatus 100 according to the embodiment of the present invention are used, the same technical means as the service supply and demand matching method described in fig. 1 to 4 are adopted, and the same technical effects can be produced, which is not described herein again.
Fig. 6 is a schematic structural diagram of an electronic device implementing a service supply and demand matching method according to an embodiment of the present invention.
The electronic device 1 may comprise a processor 10, a memory 11, a communication bus 12 and a communication interface 13, and may further comprise a computer program, such as a service supply and demand matching program, stored in the memory 11 and executable on the processor 10.
In some embodiments, the processor 10 may be composed of an integrated circuit, for example, a single packaged integrated circuit, or may be composed of a plurality of integrated circuits packaged with the same function or different functions, and includes one or more Central Processing Units (CPUs), a microprocessor, a digital Processing chip, a graphics processor, a combination of various control chips, and the like. The processor 10 is a Control Unit (Control Unit) of the electronic device, connects various components of the electronic device by using various interfaces and lines, and executes various functions and processes data of the electronic device by running or executing programs or modules (e.g., executing a service supply and demand matching program, etc.) stored in the memory 11 and calling data stored in the memory 11.
The memory 11 includes at least one type of readable storage medium including flash memory, removable hard disks, multimedia cards, card-type memory (e.g., SD or DX memory, etc.), magnetic memory, magnetic disks, optical disks, etc. The memory 11 may in some embodiments be an internal storage unit of the electronic device, for example a removable hard disk of the electronic device. The memory 11 may also be an external storage device of the electronic device in other embodiments, such as a plug-in mobile hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the electronic device. Further, the memory 11 may also include both an internal storage unit and an external storage device of the electronic device. The memory 11 may be used not only to store application software installed in the electronic device and various data, such as a code of a service supply and demand matching program, but also to temporarily store data that has been output or will be output.
The communication bus 12 may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The bus may be divided into an address bus, a data bus, a control bus, etc. The bus is arranged to enable connection communication between the memory 11 and at least one processor 10 or the like.
The communication interface 13 is used for communication between the electronic device and other devices, and includes a network interface and a user interface. Optionally, the network interface may include a wired interface and/or a wireless interface (e.g., WI-FI interface, bluetooth interface, etc.), which are commonly used to establish a communication connection between the electronic device and other electronic devices. The user interface may be a Display (Display), an input unit such as a Keyboard (Keyboard), and optionally a standard wired interface, a wireless interface. Alternatively, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch device, or the like. The display, which may also be referred to as a display screen or display unit, is suitable, among other things, for displaying information processed in the electronic device and for displaying a visualized user interface.
Only electronic devices having components are shown, and those skilled in the art will appreciate that the structures shown in the figures do not constitute limitations on the electronic devices, and may include fewer or more components than shown, or some components in combination, or a different arrangement of components.
For example, although not shown, the electronic device may further include a power supply (such as a battery) for supplying power to each component, and preferably, the power supply may be logically connected to the at least one processor 10 through a power management device, so that functions of charge management, discharge management, power consumption management and the like are realized through the power management device. The power supply may also include any component of one or more dc or ac power sources, recharging devices, power failure detection circuitry, power converters or inverters, power status indicators, and the like. The electronic device may further include various sensors, a bluetooth module, a Wi-Fi module, and the like, which are not described herein again.
It is to be understood that the embodiments described are illustrative only and are not to be construed as limiting the scope of the claims.
The service supply and demand matching program stored in the memory 11 of the electronic device 1 is a combination of a plurality of instructions, which when executed in the processor 10, can implement:
acquiring request information of issued service demands and parameter information of available service providers;
calculating a task quality index of each service demand based on the request information and calculating an information quality index of each service provider based on the parameter information;
sending a pre-matching request to the corresponding service requirement according to the task quality index of each service requirement by adopting a quick sequencing method, and determining a pre-matching result according to the information quality index corresponding to each service provider;
constructing a corresponding demand preference list according to the task quality index, constructing a corresponding service preference list according to the information quality index, and matching the demand preference list and the service preference list by using a stable matching algorithm to obtain a stable matching result;
adding the stable matching result to the pre-matching result to obtain a final matching result;
and generating an intelligent contract based on the final matching result, and storing the intelligent contract to a pre-constructed alliance chain node.
Specifically, the specific implementation method of the instruction by the processor 10 may refer to the description of the relevant steps in the embodiment corresponding to the drawings, which is not described herein again.
Further, the integrated modules/units of the electronic device 1 may be stored in a computer-readable storage medium if they are implemented in the form of software functional units and sold or used as separate products. The computer readable storage medium may be volatile or non-volatile. For example, the computer-readable medium may include: any entity or device capable of carrying said computer program code, recording medium, U-disk, removable hard disk, magnetic disk, optical disk, computer Memory, read-Only Memory (ROM).
The present invention also provides a computer-readable storage medium, storing a computer program which, when executed by a processor of an electronic device, may implement:
acquiring request information of issued service demands and parameter information of available service providers;
calculating a task quality index of each service demand based on the request information and calculating an information quality index of each service provider based on the parameter information;
sending a pre-matching request to the corresponding service requirement according to the task quality index of each service requirement by adopting a quick sequencing method, and determining a pre-matching result according to the information quality index corresponding to each service provider;
constructing a corresponding demand preference list according to the task quality index, constructing a corresponding service preference list according to the information quality index, and matching the demand preference list and the service preference list by using a stable matching algorithm to obtain a stable matching result;
adding the stable matching result to the pre-matching result to obtain a final matching result;
and generating an intelligent contract based on the final matching result, and storing the intelligent contract to a pre-constructed alliance chain node.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus, device and method can be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is only one logical functional division, and other divisions may be realized in practice.
The modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
In addition, functional modules in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional module.
It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential attributes thereof.
The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference signs in the claims shall not be construed as limiting the claim concerned.
The block chain is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, a consensus mechanism, an encryption algorithm and the like. A block chain (Blockchain), which is essentially a decentralized database, is a series of data blocks associated by using a cryptographic method, and each data block contains information of a batch of network transactions, so as to verify the validity (anti-counterfeiting) of the information and generate a next block. The blockchain may include a blockchain underlying platform, a platform product service layer, an application service layer, and the like.
The embodiment of the application can acquire and process related data based on an artificial intelligence technology. Among them, artificial Intelligence (AI) is a theory, method, technique and application system that simulates, extends and expands human Intelligence using a digital computer or a machine controlled by a digital computer, senses the environment, acquires knowledge and uses the knowledge to obtain the best result.
Furthermore, it is obvious that the word "comprising" does not exclude other elements or steps, and the singular does not exclude the plural. A plurality of units or means recited in the system claims may also be implemented by one unit or means in software or hardware. The terms first, second, etc. are used to denote names, but not any particular order.
Finally, it should be noted that the above embodiments are only for illustrating the technical solutions of the present invention and not for limiting, and although the present invention is described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that modifications or equivalent substitutions may be made on the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention.

Claims (10)

1. A method for service supply and demand matching, the method comprising:
acquiring request information of issued service demands and parameter information of available service providers;
calculating a task quality index of each service demand based on the request information and calculating an information quality index of each service provider based on the parameter information;
sending a pre-matching request to the corresponding service requirement according to the task quality index of each service requirement by adopting a quick sequencing method, and determining a pre-matching result according to the information quality index corresponding to each service provider;
constructing a corresponding demand preference list according to the task quality index, constructing a corresponding service preference list according to the information quality index, and matching the demand preference list and the service preference list by using a stable matching algorithm to obtain a stable matching result;
adding the stable matching result to the pre-matching result to obtain a final matching result;
and generating an intelligent contract based on the final matching result, and storing the intelligent contract to a pre-constructed alliance chain node.
2. The service supply and demand matching method according to claim 1, wherein the calculating of the task quality index for each of the service demands based on the request information comprises:
calculating the credit degree of the request information to obtain the service requirement, the minimum payment amount and the Euclidean distance between the request information and the service provider;
and calculating the task quality index by using a preset task quality index calculation formula according to the credit degree, the minimum payment amount and the Euclidean distance.
3. The service supply and demand matching method according to claim 2, wherein the calculating a task quality index using a preset task quality index calculation formula according to the reputation, the minimum payment amount, and the euclidean distance comprises:
calculating the task quality index using the following task quality index formula:
Figure FDA0003859989310000011
wherein, the QoT is a task quality index, rep T Creditworthiness, min, for service demand pay Minimum payment amount for service demand, d st Is the euclidean distance to the service provider.
4. The service supply and demand matching method according to claim 1, wherein the calculating of the information quality index of each of the service providers based on the parameter information includes:
acquiring the credit degree of the service provider, the expected completion time of the service and the Euclidean distance between the expected completion time and the service requirement based on the parameter information;
and calculating the corresponding information quality index by using a preset information quality index formula according to the credit degree, the expected completion time and the Euclidean distance.
5. The service supply and demand matching method according to claim 1, wherein the sending a pre-matching request to a corresponding service demand according to the task quality index of each service demand by using a quick ranking method, and determining a pre-matching result according to the information quality index corresponding to each service provider comprises:
sending a pre-matching request to the service requirement with the highest task quality index by each service provider to obtain a pre-matching request list of each service requirement;
judging whether the number of the pre-matching requests in the pre-matching request list is less than the number of preset manufacturing service providers allowing matching or not;
when the number of the pre-matching requests is less than the number of preset manufacturing service providers allowing matching, each pre-matching request in the pre-matching request list is received to obtain a pre-matching result;
when the number of the pre-matching requests is not less than the number of preset manufacturing service providers allowing matching, performing rapid descending sorting on the pre-matching request list according to the information quality index to obtain a pre-matching list;
and receiving a preset number of pre-matching requests of manufacturing service providers allowing matching from the pre-matching list to obtain a pre-matching result.
6. The service supply and demand matching method according to claim 1, wherein the matching the demand preference list and the service preference list using a stable matching algorithm to obtain a stable matching result comprises:
selecting one service provider in the demand preference list as a target provider one by one;
sending stable matching requests to the service requirements in the requirement preference list corresponding to the target provider one by one to obtain a stable matching list of each service requirement;
and performing stable matching on the service demand and the service provider by utilizing a GSM stable matching algorithm based on the stable matching list to obtain a stable matching result.
7. The service supply and demand matching method according to claim 1 wherein the generating an intelligent contract based on the final matching result comprises:
acquiring a preset service execution logic of the intelligent contract according to the final matching result;
determining an intelligent contract template according to the service execution logic, wherein the intelligent contract template comprises a plurality of data operation rules;
and writing the final matching result into the intelligent contract template based on the data operation rule to obtain an intelligent contract.
8. A service supply and demand matching apparatus, the apparatus comprising:
the information acquisition module is used for acquiring request information of issued service demands and parameter information of available service providers;
the quality index calculation module is used for calculating the task quality index of each service demand based on the request information and calculating the information quality index of each service provider based on the parameter information;
the pre-matching module is used for sending a pre-matching request to the corresponding service requirement according to the task quality index of each service requirement by adopting a rapid sequencing method and determining a pre-matching result according to the information quality index corresponding to each service provider;
the stable matching module is used for constructing a corresponding demand preference list according to the task quality index, constructing a corresponding service preference list according to the information quality index, and matching the demand preference list and the service preference list by using a stable matching algorithm to obtain a stable matching result;
the matching result determining module is used for adding the stable matching result into the pre-matching result to obtain a final matching result;
and the intelligent contract generating module is used for generating an intelligent contract based on the final matching result and storing the intelligent contract to a pre-constructed alliance chain node.
9. An electronic device, characterized in that the electronic device comprises:
at least one processor; and (c) a second step of,
a memory communicatively coupled to the at least one processor; wherein,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the service supply and demand matching method according to any one of claims 1 to 7.
10. A computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the service supply and demand matching method according to any one of claims 1 to 7.
CN202211158876.XA 2022-09-22 2022-09-22 Service supply and demand matching method, device, equipment and storage medium Pending CN115567411A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211158876.XA CN115567411A (en) 2022-09-22 2022-09-22 Service supply and demand matching method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211158876.XA CN115567411A (en) 2022-09-22 2022-09-22 Service supply and demand matching method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115567411A true CN115567411A (en) 2023-01-03

Family

ID=84741110

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211158876.XA Pending CN115567411A (en) 2022-09-22 2022-09-22 Service supply and demand matching method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115567411A (en)

Similar Documents

Publication Publication Date Title
WO2019032341A1 (en) Distributed reputational database
CN114663198A (en) Product recommendation method, device and equipment based on user portrait and storage medium
CN113657495A (en) Insurance product recommendation method, device and equipment based on probability prediction model
CN114881616A (en) Business process execution method and device, electronic equipment and storage medium
CN109544266A (en) Product data method for pushing, device and computer readable storage medium
CN115409439A (en) Multi-vehicle type supply chain scheduling method based on improved ant colony algorithm and electronic equipment
CN113868528A (en) Information recommendation method and device, electronic equipment and readable storage medium
CN111639706A (en) Personal risk portrait generation method based on image set and related equipment
CN113240351A (en) Business data consistency checking method and device, electronic equipment and medium
CN114202367A (en) Rights and interests allocation method, device, equipment and medium based on user portrait
CN114240162A (en) Personnel scheduling method, device, equipment and storage medium
CN111652282A (en) Big data based user preference analysis method and device and electronic equipment
CN114519084A (en) Block chain-based medical data inspection method, device, equipment and medium
CN116484296A (en) Financial fund collection risk analysis method, device, equipment and storage medium
CN115567411A (en) Service supply and demand matching method, device, equipment and storage medium
CN113657546A (en) Information classification method and device, electronic equipment and readable storage medium
CN114840388A (en) Data monitoring method and device, electronic equipment and storage medium
CN114399368A (en) Commodity recommendation method and device based on artificial intelligence, electronic equipment and medium
CN114820132A (en) Order distribution method and device, electronic equipment and storage medium
CN113918296A (en) Model training task scheduling execution method and device, electronic equipment and storage medium
CN114819590B (en) Policy intelligent recommendation method, device, equipment and storage medium
CN112561711B (en) Method and device for managing insurance industry
CN115225489B (en) Dynamic control method for queue service flow threshold, electronic equipment and storage medium
CN114723280A (en) Task object allocation method and device, electronic equipment and readable storage medium
CN117635210A (en) Client information integration method, device, equipment and medium

Legal Events

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