Disclosure of Invention
An object of the embodiments of the present application is to provide an order-splicing method and related apparatus, so as to solve the technical problems mentioned in the background above.
The embodiment of the application provides A1 and a method for splicing a bill, wherein the method comprises the following steps: in response to the fact that the matching information sent by the first electronic device is obtained, information matched with the matching information in a matching information set obtained in a preset time period is inquired; determining the sending equipment of the inquired information as second electronic equipment participating in order combination with the first electronic equipment; acquiring information of the to-be-pieced list objects on the first electronic equipment and the second electronic equipment, and sending the information to opposite-end equipment participating in the order piecing; respectively calculating respective order cost according to the information of the objects to be pieced together on the first electronic equipment and the second electronic equipment, and generating an order based on the acquired information of the objects to be pieced together; and respectively sending the information of the order containing the order fee to the first electronic equipment and the second electronic equipment.
A2, the method as defined in a1, wherein the matching information includes at least one of: position information, audio information collected by the audio collecting device, motion state information and short-distance wireless communication connection information.
A3, the method as recited in a2, wherein the motion state information is used for indicating a motion state of the device, and the motion state includes at least one of: bump, shake, flip.
A4, the method as described in a1, where the determining the sending device of the queried information as the second electronic device participating in the order spelling with the first electronic device includes: sending confirmation information for confirming the electronic equipment participating in the order spelling to the first electronic equipment, wherein the confirmation information comprises identification information of the sending equipment; and in response to the fact that the electronic equipment which is sent by the first electronic equipment and confirms to participate in the order sharing comprises the information of the sending equipment, determining the sending equipment as second electronic equipment which participates in the order sharing with the first electronic equipment.
A5, the method as recited in a1, wherein the generating an order based on the obtained information of the object to be stitched comprises: in response to receiving instruction information for modifying the information of the to-be-mosaicked list object, which is sent by the first electronic device or the electronic device participating in the mosaicking list, sending the modified information of the to-be-mosaicked list object to opposite-end equipment participating in the mosaicking list; and generating an order based on the modified information of the object to be pieced together.
A6, the method as defined in any one of a1-a5, wherein the calculating the respective order charges according to the information of the objects to be assembled on the first electronic device and the second electronic device respectively comprises: acquiring indication information which is sent by the first electronic device and/or the second electronic device and used for indicating an order cost sharing mode, wherein the order cost sharing mode comprises the following steps: sharing the selected object and the preset cost on average; and calculating the order charge of the first electronic equipment and the second electronic equipment according to the indication information.
The embodiment of the application provides B1 and a method for splicing a bill, wherein the method comprises the following steps: responding to the detected order-combining operation initiated by the user, acquiring information for matching and sending the information to a server; in response to the detection of the selection operation of the user on the to-be-spliced list object, acquiring the information of the to-be-spliced list object and sending the information to the server; receiving information of an object to be scripted on the electronic equipment participating in scripted form, which is sent by the server; and receiving the information of the order containing the order fee sent by the server.
B2, the method according to B1, wherein the matching information includes at least one of: position information, audio information collected by the audio collecting device, motion state information and short-distance wireless communication connection information.
B3, the method according to B2, the motion state information indicating a motion state of the device, the motion state including at least one of: bump, shake, flip.
B4, the method according to B1, wherein before the receiving the information of the object to be spelled on the electronic device participating in the spelling sent by the server, the method further comprises: receiving confirmation information which is sent by the server and used for confirming the electronic equipment participating in the order combination, wherein the confirmation information comprises identification information of the alternative electronic equipment; and in response to the operation that the electronic equipment for confirming participation in the order spelling comprises the alternative electronic equipment is detected, sending information for confirming that the electronic equipment for confirming participation in the order spelling comprises the alternative electronic equipment to the server.
B5, the method according to B1, wherein after receiving the information of the object to be spelled on the electronic device participating in the spelling order sent by the server, the method comprises: and sending instruction information for modifying the information of the to-be-pieced list object to the server in response to the detected operation for modifying the information of the to-be-pieced list object.
B6, the method according to any of the preceding claims B1-B5, wherein the receiving information of the order containing the order fee sent by the server comprises: transmitting indication information indicating an order cost sharing mode to the server, wherein the cost sharing mode includes: sharing on average, sharing according to the selected object, sharing according to the preset cost; and receiving the order information containing the order charge generated by the server according to the indication information.
The embodiment of this application provides C1, a piece together device, above-mentioned device includes: the query unit is used for responding to the acquired information for matching sent by the first electronic equipment and querying information matched with the information for matching in an information set for matching acquired within a preset time period; a determining unit, configured to determine a sending device of the queried information as a second electronic device participating in a form sharing with the first electronic device; an obtaining unit, configured to obtain information of an object to be stitched on the first electronic device and the second electronic device, and send the information to an opposite device participating in stitching; a generating unit, configured to calculate respective order charges according to information of the to-be-stitched sheet object on the first electronic device and the second electronic device, and generate an order based on the acquired information of the to-be-stitched sheet object; a first sending unit, configured to send information of the order including the order fee to the first electronic device and the second electronic device, respectively.
C2, the apparatus as defined in C1, wherein the matching information includes at least one of: position information, audio information collected by the audio collecting device, motion state information and short-distance wireless communication connection information.
C3, the apparatus as recited in C2, the motion state information indicating a motion state of the device, the motion state including at least one of: bump, shake, flip.
C4, the apparatus as in C1, the determining unit comprises: the first sending subunit is configured to send, to the first electronic device, confirmation information used for confirming the electronic device participating in the order splicing, where the confirmation information includes identification information of the sending device; and the determining subunit is configured to determine, in response to receiving that the electronic device that confirms participation in the order sent by the first electronic device includes the information of the sending device, the sending device as a second electronic device that participates in the order with the first electronic device.
C5, the apparatus as defined in C1, wherein the generating unit comprises: the second sending subunit is configured to send, in response to receiving instruction information for modifying information of an object to be scripted, sent by the first electronic device or the electronic device participating in scripted form, the modified information of the object to be scripted to an opposite device participating in scripted form; and the generating subunit is used for generating an order based on the modified information of the object to be pieced together.
C6, the apparatus of any one of C1-C5, the generating unit comprising: an obtaining subunit, configured to obtain indication information, which is sent by the first electronic device and/or the second electronic device and used to indicate an order cost sharing manner, where the order cost sharing manner includes: sharing the selected object and the preset cost on average; and the calculating subunit is used for calculating the order charge of the first electronic equipment and the second electronic equipment according to the indication information.
D1, a device for assembling sheets, the device comprising: the second sending unit is used for responding to the detected order splicing operation initiated by the user, acquiring the information for matching and sending the information to the server; the third sending unit is used for responding to the detection of the selection operation of the user on the to-be-pieced list object, acquiring the information of the to-be-pieced list object and sending the information to the server; the first receiving unit is used for receiving the information of the to-be-mosaiced order object on the electronic equipment participating in the mosaicing order, which is sent by the server; and the second receiving unit is used for receiving the order information containing the order fee sent by the server.
D2, the apparatus as defined in D1, wherein the matching information includes at least one of: position information, audio information collected by the audio collecting device, motion state information and short-distance wireless communication connection information.
D3, the apparatus as recited in D2, the motion status information indicating a motion status of the device, the motion status including at least one of: bump, shake, flip.
D4, the apparatus of D1, further comprising: a third receiving unit, configured to receive confirmation information sent by the server and used to confirm the electronic device participating in the order matching, where the confirmation information includes identification information of the alternative electronic device; and a fourth sending unit, configured to send, to the server, information that the electronic device that confirms participation in the order spelling includes the alternative electronic device in response to detecting that the electronic device that confirms participation in the order spelling includes the alternative electronic device.
D5, the apparatus of D1, further comprising: and the fifth sending unit is used for responding to the operation of detecting the information of the object to be pieced together and sending instruction information of the object to be pieced together to the server.
D6, the apparatus of any one of D1-D5, the second receiving unit comprising: a third sending subunit, configured to send, to the server, instruction information for instructing a sharing mode of the order cost, where the sharing mode of the order cost includes: sharing on average, sharing according to the selected object, sharing according to the preset cost; and the receiving subunit is used for receiving the order information which is generated by the server according to the indication information and contains the order fee.
An embodiment of the present application provides E1, an electronic device, including a memory and a processor; wherein the memory is configured to store one or more computer instructions, wherein the one or more computer instructions are executable by the processor to perform the steps of the method of A1-A6 or B1-B6.
The embodiment of the application provides F1, a computer readable storage medium, and a computer program stored thereon, wherein the computer program, when executed by a processor, implements the method as described in any of implementations A1 to A6 or the method as described in any of implementations B1 to B6.
According to the order splicing method and the related device, the second electronic equipment participating in order splicing with the first electronic equipment is determined through the matching information, then the information of the objects to be spliced on the first electronic equipment and the second electronic equipment is obtained and sent to the opposite end equipment participating in order splicing, the order cost of each electronic equipment is calculated according to the information of the objects to be spliced on the first electronic equipment and the second electronic equipment, an order is generated based on the obtained information of the objects to be spliced, and the information of the order containing the order cost is sent to the first electronic equipment and the second electronic equipment respectively, so that the order splicing efficiency is improved.
Detailed Description
The present application will be described in further detail with reference to the following drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the relevant invention and not restrictive of the invention. It should be noted that, for convenience of description, only the portions related to the related invention are shown in the drawings.
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
Fig. 1 illustrates an exemplary system architecture 100 to which embodiments of the present singulation method or singulation apparatus may be applied.
As shown in fig. 1, the system architecture 100 may include terminal devices 101, 102, 103, a network 104, and a server 105. Network 104 may provide a medium for communication links between terminal devices 101, 102, 103 and server 105. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
The user may use the terminal devices 101, 102, 103 to interact with the server 105 via the network 104 to receive or send messages or the like. Various client applications, such as e-commerce type applications, map type applications, web browser applications, search type applications, instant messaging tools, mailbox clients, social platform software, etc., may be installed on the terminal devices 101, 102, 103.
The server 105 may be a server providing various services, for example, a background server for applications installed in the terminal devices 101, 102, 103. The server 105 may query, in response to acquiring the matching information sent by the first electronic device, information matching the matching information in the matching information set acquired within a predetermined time period; determining the sending equipment of the inquired information as second electronic equipment participating in order combination with the first electronic equipment; acquiring information of to-be-pieced list objects on first electronic equipment and second electronic equipment, and sending the information to opposite-end equipment participating in the order piecing; respectively calculating respective order cost according to the information of the objects to be pieced together on the first electronic equipment and the second electronic equipment, and generating an order based on the acquired information of the objects to be pieced together; and respectively sending the information of the order containing the order fee to the first electronic equipment and the second electronic equipment.
The terminal devices 101, 102, 103 may be various electronic devices having a display screen including, but not limited to, smart phones, tablets, wearable devices, laptop portable computers, and the like. The terminal devices 101, 102 and 103 can respond to the detected order-splicing operation initiated by the user, acquire the information for matching and send the information to the server; in response to the detection of the selection operation of the user on the to-be-spliced list object, acquiring the information of the to-be-spliced list object and sending the information to the server; receiving information of an object to be scripted on the electronic equipment participating in scripted form, which is sent by a server; and receiving the information of the order containing the order fee sent by the server.
It should be noted that the method for spelling the single provided by the embodiment of the present application may be executed by the terminal device 101, 102, 103 or the server 105, and accordingly, the device for spelling the single may be disposed in the terminal device 101, 102, 103 or the server 105.
It should be understood that the number of terminal devices, networks, and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
With continued reference to fig. 2, a flow 200 of one embodiment of a method of stitching according to the present application is shown. The order combining method comprises the following steps:
step 201, in response to acquiring the matching information sent by the first electronic device, querying information matched with the matching information in the matching information set acquired within a predetermined time period.
In this embodiment, an electronic device (for example, a server shown in fig. 1) on which the party method operates may query, in response to acquiring the matching information sent by the first electronic device, information that matches the matching information in the matching information set acquired within a predetermined time period. The matching information is information for matching the electronic devices participating in the order matching. The predetermined time period can be set according to actual needs, and can be 1-5 minutes, for example. The electronic equipment receives the matching information sent by the target electronic equipment, can store the matching information into the database, sets the effective time of the matching information to be 1-5 minutes, and can inquire the matching information in the database when new matching information is obtained. The information matched with the matching information may be the same information as the matching information, information having a difference value within a preset range from the matching information, or information belonging to the same class according to a preset classification rule.
In some optional implementations of this embodiment, the information for matching includes at least one of: position information, audio information collected by the audio collecting device, motion state information and short-distance wireless communication connection information.
In this implementation manner, one kind of matching information may be selected according to actual needs, and may also be combined according to actual needs, for example, the matching information may include information of short-distance wireless communication connection, the information of short-distance wireless communication connection may be information of bluetooth connection, or information of an added WIFI network, and the information of bluetooth connection, or the information of an added WIFI network is the same and then matches. For another example, the information for matching includes position information, motion state information, or audio information acquired by an audio acquisition device, where the positions are in the same area range, and the matching is performed if the motion states are the same or the similarity of the audio information acquired by the audio acquisition device exceeds a preset threshold. In addition, when the information for matching includes the motion state information, the predetermined time period may be set to be short, so that several devices in the same motion state at the same time or in a very short time can be determined.
In some optional implementations of this embodiment, the motion state information is used to indicate a motion state of the device, the motion state including at least one of: bump, shake, flip.
Step 202, determining the sending device of the inquired information as a second electronic device participating in the order combination with the first electronic device.
In this embodiment, the electronic device may determine the sending device of the information queried in step 201 as a second electronic device participating in the order sharing with the first electronic device. The second electronic devices participating in the order spelling may be one or more.
In some optional implementations of this embodiment, determining the sending device of the queried information as a second electronic device participating in the order combining with the first electronic device includes: sending confirmation information for confirming the electronic equipment participating in the order combination to the first electronic equipment, wherein the confirmation information comprises identification information of the sending equipment; and in response to receiving the information which is sent by the first electronic device and confirms that the electronic device participating in the order spelling comprises the sending device, determining the sending device as a second electronic device participating in the order spelling with the first electronic device.
In this implementation, the identification information may include a brand, a model number of the device, a name of an account logged in on the device, a nickname, and the like. By sending the confirmation information, the accuracy of determining the second electronic equipment participating in the order combining is further improved.
Step 203, obtaining information of the to-be-pieced list objects on the first electronic device and the second electronic device, and sending the information to the opposite terminal device participating in the sheet piecing.
In this embodiment, the electronic device may obtain information of the first electronic device and the to-be-stitched list object on the second electronic device determined in step 202, and send the information to the peer device participating in the stitching. The object to be pieced together may be an item that the user has selected. Taking the take-out platform as an example, the object to be pieced together may be a dish that has been selected by the user. The information of the to-be-pieced list object can comprise identification, quantity, remark information and the like of the to-be-pieced list object. And relative to a certain electronic device in a group of electronic devices participating in the order combination, other electronic devices in the group of electronic devices are opposite-end devices of the electronic devices. As an example, if there is a device B participating in the form combination with the device a, the device a is an opposite-end device participating in the form combination with the device B, and the device B is an opposite-end device participating in the form combination with the device a, the information of the to-be-combined form object of the device a may be acquired and sent to the device B, and the information of the to-be-combined form object of the device B is acquired and sent to the device a.
And 204, respectively calculating respective order cost according to the information of the objects to be pieced on the first electronic equipment and the second electronic equipment, and generating an order based on the acquired information of the objects to be pieced.
In this embodiment, the electronic device may calculate respective order fees according to the information of the objects to be stitched on the first electronic device and the second electronic device acquired in step 203, and generate an order based on the acquired information of the objects to be stitched. The generated order may be an order to be paid for. The electronic device may adopt default settings, where the default settings may be to calculate order charges according to settings in a history of user order sharing or user order sharing, or may also calculate respective order charges of the first electronic device and the second electronic device through indication information sent by the first electronic device and the second electronic device.
In some optional implementation manners of this embodiment, calculating respective order charges according to the information of the object to be stitched on the first electronic device and the second electronic device respectively includes: acquiring indication information which is sent by first electronic equipment and/or second electronic equipment and used for indicating an order cost sharing mode, wherein the order cost sharing mode comprises the following steps: sharing the selected object and the preset cost on average; and calculating the order cost of the first electronic equipment and the second electronic equipment according to the indication information.
In this implementation manner, when the indication information sent by the first electronic device or the second electronic device is the same, the order fee may be calculated according to the indication information, when the indication information sent by a certain electronic device is different, the order fee may be calculated according to the indication information sent by the certain electronic device, or the order fee may be calculated according to default settings. The average sharing can be made by adopting an AA system, and all the users participating in the order sharing average the total order cost. The sharing of the selected object can be the cost of paying the object to be pieced together respectively, in addition, if the preferential activities are related, the preferential activities can be calculated in proportion, the distribution cost can be calculated in proportion, and the distribution cost can be shared averagely or assigned to a certain user to bear. The predetermined cost sharing may be calculating the order cost according to a user personalized setting, for example, a certain user requesting a customer may be set to bear the whole cost.
In some optional implementation manners of this embodiment, generating an order based on the acquired information of the object to be stitched includes: in response to receiving instruction information of modifying the information of the to-be-mosaicked list object sent by the first electronic equipment or the electronic equipment participating in the mosaicking list, sending the modified information of the to-be-mosaicked list object to opposite-end equipment participating in the mosaicking list; and generating an order based on the modified information of the object to be pieced together.
In this implementation manner, the modification of the to-be-mosaiced list object may be to increase or decrease the number of the to-be-mosaiced list objects or to delete the to-be-mosaiced list objects, so as to further improve the flexibility of the mosaicing list.
Step 205, sending the information of the order containing the order fee to the first electronic device and the second electronic device respectively.
In this embodiment, the electronic device may send the information of the order containing the order fee determined in step 204 to the first electronic device and the second electronic device, respectively. The information for the order may also include the order number, information about the object included in the order, the status of the order, the expected delivery time for the order, etc.
The method provided by the embodiment of the application determines the second electronic equipment participating in order combination with the first electronic equipment by matching the information, then obtains the information of the objects to be combined on the first electronic equipment and the second electronic equipment, sends the information to the opposite end equipment participating in order combination, calculates the respective order cost according to the information of the objects to be combined on the first electronic equipment and the second electronic equipment, generates an order based on the obtained information of the objects to be combined, and sends the information of the order containing the order cost to the first electronic equipment and the second electronic equipment, so that the order combination efficiency is improved.
With further reference to fig. 3, a flow 300 of yet another embodiment of a method of stitching is shown. The process 300 of the order combining method includes the following steps:
step 301, in response to detecting a form-splicing operation initiated by a user, obtaining information for matching, and sending the information to a server.
In this embodiment, an electronic device (for example, the terminal shown in fig. 1) on which the method of spelling is running may obtain information for matching in response to detecting a user-initiated operation of spelling, and send the information to the server. The order-spelling operation initiated by the user can be that the user clicks an order-spelling button in a page, inputs preset information for indicating to start the order-spelling mode by voice or characters, or executes preset gesture operation for indicating to start the order-spelling mode. The matching information is information for matching the electronic devices participating in the form of a spelling, and can be determined according to the indication information input by the user and indicating the matching information, that is, what matching mode can be set by the user. For example, when there are fewer surrounding users, the electronic device that participates in the order sharing may be determined by the location information, that is, the information for matching is the location information. When the number of surrounding users is large, the electronic equipment participating in the order combination can be determined through the position information and the motion state information, namely the information for matching is the position information and the motion state information.
In some optional implementations of this embodiment, the information for matching includes at least one of: position information, audio information collected by the audio collecting device, motion state information and short-distance wireless communication connection information.
As an example, the information for matching includes location information and audio information collected by the audio collection device, and the electronic device may start the sound collection device to collect sound in the surrounding environment to generate the audio information in response to acquiring a user-initiated order splicing operation.
In some optional implementations of this embodiment, the motion state information is used to indicate a motion state of the device, the motion state including at least one of: bump, shake, flip.
In this implementation manner, the motion state is collision, and may be that a sensor of the electronic device monitors that the device receives a certain pressure at a certain time, or that the moving speed is instantaneously and simultaneously reduced to 0 from a certain value. The motion state is shaking, and may be an action that a sensor of the electronic device monitors that the device moves back and forth rapidly within a certain period of time. The motion state is turning, and may be that a sensor of the electronic device monitors that the posture of the device is turned over in a positive and negative way within a certain time period.
Step 302, in response to the detection of the selection operation of the user on the to-be-mosaicked list object, obtaining the information of the to-be-mosaicked list object, and sending the information to the server.
In this embodiment, the electronic device may obtain information of the to-be-mosaicked single object in response to detecting a selection operation of the user on the to-be-mosaicked single object, and send the information to the server. It should be noted that the execution sequence of step 301 and step 302 may be to execute step 301 and then execute step 302, or to execute step 302 and then execute step 301, that is, the user may also start the order-sharing operation after selecting the object to be made up, for example, the user may click an order-sharing button after adding the required item into the shopping cart, obtain the information for matching, and send the information to the server. The selection operation may be to add the identifier of the online commodity in the e-commerce application to a list of the object to be pieced together or a shopping cart, or to delete the object to be pieced together in the list of the object to be pieced together or the shopping cart. The information of the to-be-pieced list object can comprise identification, quantity, remark information and the like of the to-be-pieced list object.
And step 303, receiving information of the to-be-mosaicked list object on the electronic equipment participating in the mosaicking list, which is sent by the server.
In this embodiment, the electronic device may receive information of an object to be scripted on the electronic device participating in the scripted form, where the information is sent by the server.
In some optional implementations of this embodiment, before receiving the information of the to-be-spelled item on the electronic device participating in the spelling order, the method further includes: receiving confirmation information which is sent by a server and used for confirming the electronic equipment participating in the order combination, wherein the confirmation information comprises identification information of the alternative electronic equipment; in response to detecting an operation confirming that the electronic device participating in the order spell includes the alternative electronic device, sending information confirming that the electronic device participating in the order spell includes the alternative electronic device to the server.
In some optional implementations of the embodiment, after receiving information of an object to be scripted on the electronic device participating in the scripted form, which is sent by the server, the method includes: and in response to the operation of modifying the information of the to-be-pieced list object, sending instruction information for modifying the information of the to-be-pieced list object to the server.
As shown in fig. 4, the electronic device may further display information of a local to-be-singled object and information of the to-be-singled object on the electronic device participating in the singling, detect an operation of modifying the information of the to-be-singled object in the displayed interface, and send instruction information of modifying the information of the to-be-singled object to the server, so that the server may synchronize the modification condition to the electronic device participating in the singling.
Step 304, receiving the information of the order containing the order fee sent by the server.
In this embodiment, the electronic device may receive information of an order containing an order fee sent by the server, where the information of the order may include an order number, information of an object included in the order, a status of the order, an expected delivery time of the order, and the like. The information of the order can also comprise a payment link, so that the user can conveniently complete payment through the payment link.
In some optional implementations of this embodiment, the receiving information of the order containing the order fee sent by the server includes: sending indication information for indicating an order cost sharing mode to a server, wherein the cost sharing mode comprises the following steps: sharing on average, sharing according to the selected object, sharing according to the preset cost; and receiving the information of the order containing the order fee generated by the server according to the indication information.
The method provided by the embodiment of the application acquires the information for matching and sends the information to the server by responding to the detected order splicing operation initiated by the user, acquires the information of the object to be spliced and sends the information to the server by responding to the detected selection operation of the user on the object to be spliced, and finally receives the information of the object to be spliced on the electronic equipment participating in the order splicing and sent by the server and the information of the order containing the order cost sent by the server, so that the efficiency of the order splicing is improved.
With further reference to fig. 5, as an implementation of the method shown in fig. 2, the present application provides an embodiment of a sheet splicing apparatus, which corresponds to the embodiment of the method shown in fig. 2, and which can be applied to various electronic devices.
As shown in fig. 5, the order combining device 500 of the present embodiment includes: the device comprises an inquiry unit 501, a determination unit 502, an acquisition unit 503, a generation unit 504 and a first sending unit 505. The query unit 501 is configured to query, in response to obtaining matching information sent by the first electronic device, information matched with the matching information in a matching information set obtained within a predetermined time period; a determining unit 502, configured to determine a sending device of the queried information as a second electronic device participating in a form sharing with the first electronic device; an obtaining unit 503, configured to obtain information of to-be-stitched list objects on the first electronic device and the second electronic device, and send the information to an opposite-end device participating in the stitching list; a generating unit 504, configured to calculate respective order fees according to information of the to-be-stitched sheet objects on the first electronic device and the second electronic device, and generate an order based on the acquired information of the to-be-stitched sheet object; a first sending unit 505, configured to send information of an order containing an order fee to the first electronic device and the second electronic device, respectively.
In this embodiment, the specific processing of the querying unit 501, the determining unit 502, the obtaining unit 503, the generating unit 504, and the first sending unit 505 of the form-piecing device 500 may refer to step 201, step 202, step 203, step 204, and step 205 in the corresponding embodiment of fig. 2.
In some optional implementations of this embodiment, the information for matching includes at least one of: position information, audio information collected by the audio collecting device, motion state information and short-distance wireless communication connection information.
In some optional implementations of this embodiment, the motion state information is used to indicate a motion state of the device, the motion state including at least one of: bump, shake, flip.
In some optional implementations of this embodiment, the determining unit 502 includes: a first sending subunit (not shown in the figure) configured to send, to the first electronic device, confirmation information for confirming the electronic device participating in the order splicing, where the confirmation information includes identification information of the sending device; and a determining subunit (not shown in the figure) configured to determine, in response to receiving the information that the electronic device that confirmed participation in the order from the first electronic device includes the sending device, the sending device as a second electronic device that participated in the order with the first electronic device.
In some optional implementations of this embodiment, the generating unit 504 includes: a second sending subunit (not shown in the figure), configured to send, in response to receiving instruction information for modifying information of a to-be-stitched sheet object sent by the first electronic device or the electronic device participating in the stitching, the modified information of the to-be-stitched sheet object to an opposite-end device participating in the stitching; a generating subunit (not shown in the figure) for generating an order based on the modified information of the object to be pieced together.
In some optional implementations of this embodiment, the generating unit 504 includes: an obtaining subunit (not shown in the figure), configured to obtain indication information, sent by the first electronic device and/or the second electronic device, for indicating an order cost sharing manner, where the order cost sharing manner includes: sharing the selected object and the preset cost on average; and a calculating subunit (not shown in the figure) for calculating the order cost of the first electronic device and the second electronic device according to the indication information.
In the apparatus provided by the above embodiment of the present application, information matching with matching information in a matching information set acquired within a predetermined time period is queried in response to acquiring the matching information sent by the first electronic device; determining the sending equipment of the inquired information as second electronic equipment participating in order combination with the first electronic equipment; acquiring information of to-be-pieced list objects on first electronic equipment and second electronic equipment, and sending the information to opposite-end equipment participating in the order piecing; respectively calculating respective order cost according to the information of the objects to be pieced together on the first electronic equipment and the second electronic equipment, and generating an order based on the acquired information of the objects to be pieced together; and the information of the order containing the order cost is respectively sent to the first electronic equipment and the second electronic equipment, so that the order combination efficiency is improved.
With further reference to fig. 6, as an implementation of the method shown in fig. 3, the present application provides an embodiment of a sheet splicing apparatus, which corresponds to the embodiment of the method shown in fig. 3, and which can be applied to various electronic devices.
As shown in fig. 6, the order combining device 600 of the present embodiment includes: second transmitting section 601, third transmitting section 602, first receiving section 603, and second receiving section 604. The second sending unit 601 is configured to, in response to detecting a form splicing operation initiated by a user, obtain information for matching, and send the information to the server; a third sending unit 602, configured to, in response to detecting that a user selects an object to be singled, obtain information of the object to be singled, and send the information to the server; a first receiving unit 603, configured to receive information of an object to be scripted on the electronic device participating in scripted and sent by the server; a second receiving unit 604, configured to receive information of the order including the order fee sent by the server.
In this embodiment, the specific processing of the second sending unit 601, the third sending unit 602, the first receiving unit 603, and the second receiving unit 604 of the singulation apparatus 600 may refer to step 301, step 302, step 303, and step 304 in the corresponding embodiment of fig. 3.
In some optional implementations of this embodiment, the information for matching includes at least one of: position information, audio information collected by the audio collecting device, motion state information and short-distance wireless communication connection information.
In some optional implementations of this embodiment, the motion state information is used to indicate a motion state of the device, the motion state including at least one of: bump, shake, flip.
In some optional implementations of this embodiment, the apparatus further comprises: a third receiving unit (not shown in the figure), configured to receive confirmation information sent by the server and used for confirming the electronic device participating in the order splicing, where the confirmation information includes identification information of the alternative electronic device; and a fourth sending unit (not shown in the figure) for sending information confirming that the electronic device participating in the order spelling includes the alternative electronic device to the server in response to detecting an operation confirming that the electronic device participating in the order spelling includes the alternative electronic device.
In some optional implementations of this embodiment, the apparatus further comprises: a fifth sending unit (not shown in the figure) for sending instruction information for modifying the information of the object to be pieced together to the server in response to detecting the operation for modifying the information of the object to be pieced together.
In some optional implementations of this embodiment, the second receiving unit 604 includes: a third sending subunit (not shown in the figure), configured to send, to the server, instruction information for instructing a cost sharing mode for the order, where the cost sharing mode includes: sharing on average, sharing according to the selected object, sharing according to the preset cost; and a receiving subunit (not shown in the figure) for receiving the information of the order containing the order fee generated by the server according to the indication information.
According to the device provided by the embodiment of the application, the information for matching is obtained by responding to the detected order-splicing operation initiated by the user and is sent to the server; in response to the detection of the selection operation of the user on the to-be-spliced list object, acquiring the information of the to-be-spliced list object and sending the information to the server; receiving information of an object to be scripted on the electronic equipment participating in scripted form, which is sent by a server; and the order information containing the order fee sent by the server is received, so that the order combination efficiency is improved.
Referring now to FIG. 7, shown is a block diagram of a computer system 700 suitable for use in implementing the electronic device of an embodiment of the present application. The electronic device shown in fig. 7 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present application.
As shown in fig. 7, the computer system 700 includes a Central Processing Unit (CPU)701, which can perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)702 or a program loaded from a storage section 708 into a Random Access Memory (RAM) 703. In the RAM 703, various programs and data necessary for the operation of the system 700 are also stored. The CPU 701, the ROM 702, and the RAM 703 are connected to each other via a bus 704. An input/output (I/O) interface 705 is also connected to bus 704.
The following components are connected to the I/O interface 705: an input portion 706 including a keyboard, a mouse, and the like; an output section 707 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage section 708 including a hard disk and the like; and a communication section 709 including a network interface card such as a LAN card, a modem, or the like. The communication section 709 performs communication processing via a network such as the internet. A drive 710 is also connected to the I/O interface 706 as needed. A removable medium 711 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 710 as necessary, so that a computer program read out therefrom is mounted into the storage section 708 as necessary.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program can be downloaded and installed from a network through the communication section 709, and/or installed from the removable medium 711. The computer program, when executed by a Central Processing Unit (CPU)701, performs the above-described functions defined in the method of the present application. It should be noted that the computer readable medium described herein can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present application, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In this application, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a unit, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present application may be implemented by software or hardware. The described units may also be provided in a processor, and may be described as: a processor comprises an inquiry unit, a determination unit, an acquisition unit, a generation unit and a first sending unit, or a processor comprises a second sending unit, a third sending unit, a first receiving unit and a second receiving unit. The names of these units do not constitute a limitation on the units themselves in some cases, and for example, the query unit may be further described as a "unit that queries, in response to the acquisition of the information for matching transmitted by the first electronic device, information that matches the information for matching in the set of information for matching acquired within a predetermined period of time".
As another aspect, the present application also provides a non-volatile computer storage medium, which may be the non-volatile computer storage medium included in the apparatus in the above-described embodiments; or it may be a non-volatile computer storage medium that exists separately and is not built into the electronic device. The non-volatile computer storage medium stores one or more programs that, when executed by a device, cause the device to: in response to the fact that the matching information sent by the first electronic device is obtained, information matched with the matching information in a matching information set obtained in a preset time period is inquired; determining the sending equipment of the inquired information as second electronic equipment participating in order combination with the first electronic equipment; acquiring information of to-be-pieced list objects on first electronic equipment and second electronic equipment, and sending the information to opposite-end equipment participating in the order piecing; respectively calculating respective order cost according to the information of the objects to be pieced together on the first electronic equipment and the second electronic equipment, and generating an order based on the acquired information of the objects to be pieced together; and respectively sending the information of the order containing the order fee to the first electronic equipment and the second electronic equipment.
Or the non-volatile computer storage medium storing one or more programs that, when executed by a device, cause the device to: responding to the detected order-combining operation initiated by the user, acquiring information for matching and sending the information to a server; in response to the detection of the selection operation of the user on the to-be-spliced list object, acquiring the information of the to-be-spliced list object and sending the information to the server; receiving information of an object to be scripted on the electronic equipment participating in scripted form, which is sent by a server; and receiving the information of the order containing the order fee sent by the server.
The above description is only a preferred embodiment of the application and is illustrative of the principles of the technology employed. It will be appreciated by a person skilled in the art that the scope of the invention as referred to in the present application is not limited to the embodiments with a specific combination of the above-mentioned features, but also covers other embodiments with any combination of the above-mentioned features or their equivalents without departing from the inventive concept. For example, the above features may be replaced with (but not limited to) features having similar functions disclosed in the present application.